Home
last modified time | relevance | path

Searched refs:newBuilderForType (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
DProtoBench.java93 … final Message sampleMessage = defaultMessage.newBuilderForType().mergeFrom(inputString).build(); in runTest()
130 defaultMessage.newBuilderForType().mergeFrom(inputString).build(); in runTest()
135 defaultMessage.newBuilderForType() in runTest()
141 defaultMessage.newBuilderForType() in runTest()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java461 subBuilder = defaultInstance.newBuilderForType(); in parseGroup()
485 subBuilder = defaultInstance.newBuilderForType(); in parseMessage()
509 subBuilder = defaultInstance.newBuilderForType(); in parseMessageFromBytes()
528 defaultInstance.newBuilderForType()); in newMergeTargetForField()
645 defaultInstance.newBuilderForType(); in parseGroup()
664 defaultInstance.newBuilderForType(); in parseMessage()
682 Message.Builder subBuilder = defaultInstance.newBuilderForType(); in parseMessageFromBytes()
DRpcUtil.java96 .newBuilderForType().mergeFrom(source).build();
DMessageLite.java138 Builder newBuilderForType(); in newBuilderForType() method
DSingleFieldBuilderV3.java142 builder = (BType) message.newBuilderForType(this); in getBuilder()
DSingleFieldBuilder.java142 builder = (BType) message.newBuilderForType(this); in getBuilder()
DMessage.java102 Builder newBuilderForType(); in newBuilderForType() method
DMapEntry.java167 public Builder<K, V> newBuilderForType() { in newBuilderForType() method in MapEntry
325 return ((Message) value).newBuilderForType(); in newBuilderForField()
DAbstractMessage.java87 protected Message.Builder newBuilderForType(BuilderParent parent) { in newBuilderForType() method in AbstractMessage
406 existingValue.newBuilderForType() in mergeFrom()
DDynamicMessage.java278 public Builder newBuilderForType() { in newBuilderForType() method in DynamicMessage
284 return newBuilderForType().mergeFrom(this); in toBuilder()
DGeneratedMessage.java369 protected abstract Message.Builder newBuilderForType(BuilderParent parent); in newBuilderForType() method in GeneratedMessage
372 protected Message.Builder newBuilderForType(final AbstractMessage.BuilderParent parent) { in newBuilderForType() method in GeneratedMessage
373 return newBuilderForType(new BuilderParent() { in newBuilderForType()
440 (BuilderType) getDefaultInstanceForType().newBuilderForType();
1881 return messageDefaultInstance.newBuilderForType()
2652 return mapEntryMessageDefaultInstance.newBuilderForType();
DGeneratedMessageLite.java85 public final BuilderType newBuilderForType() { in newBuilderForType() method in GeneratedMessageLite
352 (BuilderType) getDefaultInstanceForType().newBuilderForType(); in clone()
552 .newBuilderForType(); in parseUnknownField()
1188 return defaultInstance.newBuilderForType() in readResolve()
1215 return defaultInstance.newBuilderForType() in readResolveFallback()
DGeneratedMessageV3.java370 protected abstract Message.Builder newBuilderForType(BuilderParent parent); in newBuilderForType() method in GeneratedMessageV3
373 protected Message.Builder newBuilderForType(final AbstractMessage.BuilderParent parent) { in newBuilderForType() method in GeneratedMessageV3
374 return newBuilderForType(new BuilderParent() { in newBuilderForType()
441 (BuilderType) getDefaultInstanceForType().newBuilderForType();
2321 return mapEntryMessageDefaultInstance.newBuilderForType();
DMapField.java99 return defaultEntry.newBuilderForType().setKey(key).setValue(value).buildPartial(); in convertKeyAndValueToMessage()
DUnknownFieldSet.java272 public Builder newBuilderForType() { in newBuilderForType() method in UnknownFieldSet
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DUnknownEnumValueTest.java187 Message.Builder builder = dynamicMessageDefaultInstance.newBuilderForType(); in testUnknownEnumValueWithDynamicMessage()
205 .newBuilderForType() in testUnknownEnumValueWithDynamicMessage()
216 builder = dynamicMessageDefaultInstance.newBuilderForType(); in testUnknownEnumValueWithDynamicMessage()
DFieldPresenceTest.java270 DynamicMessage message = defaultInstance.newBuilderForType().build(); in testFieldPresenceDynamicMessage()
280 .newBuilderForType() in testFieldPresenceDynamicMessage()
DAbstractMessageTest.java101 public Builder newBuilderForType() { in newBuilderForType() method in AbstractMessageTest.AbstractMessageWrapper
102 return new Builder(wrappedMessage.newBuilderForType()); in newBuilderForType()
DMapForProto2Test.java782 .newBuilderForType().mergeFrom(message.toByteString()).build(); in testDynamicMessage()
797 Message.Builder b1 = dynamicDefaultInstance.newBuilderForType(); in testReflectionEqualsAndHashCode()
803 Message.Builder b2 = dynamicDefaultInstance.newBuilderForType(); in testReflectionEqualsAndHashCode()
DMapTest.java894 .newBuilderForType().mergeFrom(message.toByteString()).build(); in testDynamicMessage()
909 Message.Builder b1 = dynamicDefaultInstance.newBuilderForType(); in testReflectionEqualsAndHashCode()
915 Message.Builder b2 = dynamicDefaultInstance.newBuilderForType(); in testReflectionEqualsAndHashCode()
DGeneratedMessageTest.java976 newBuilderForType(mockParent); in testInvalidations()
1031 newBuilderForType(mockParent); in testInvalidations_Extensions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DAbstractMessageTest.java95 public Builder newBuilderForType() { in newBuilderForType() method in AbstractMessageTest.AbstractMessageWrapper
96 return new Builder(wrappedMessage.newBuilderForType()); in newBuilderForType()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java323 public Builder newBuilderForType() { return newBuilder(); } in newBuilderForType() method in SentinelOuterClass.Sentinel
330 protected Builder newBuilderForType( in newBuilderForType() method in SentinelOuterClass.Sentinel
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java134 Message.Builder builder = message.newBuilderForType(); in assertRoundTripEquals()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1233 DynamicMessage.getDefaultInstance(contentType).newBuilderForType(); in mergeAny()

12