Home
last modified time | relevance | path

Searched refs:buildPartial (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java826 TestRequiredOptimizedForSize.newBuilder().buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
827 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
831 TestRequiredOptimizedForSize.newBuilder().setX(5).buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
832 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
840 TestRequiredOptimizedForSize.newBuilder().buildPartial()); in testUninitializedExtensionInOptimizedForSize()
842 assertFalse(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize()
846 TestRequiredOptimizedForSize.newBuilder().setX(10).buildPartial()); in testUninitializedExtensionInOptimizedForSize()
848 assertTrue(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize()
914 TestAllTypes expected = builder.buildPartial(); in testSerializePartial()
989 builder.buildPartial(); in testInvalidations()
[all …]
DSingleFieldBuilderTest.java58 builder.getBuilder().buildPartial()); in testBasicUseAndInvalidations()
141 .buildPartial()); in testMerge()
148 .buildPartial()); in testMerge()
151 .buildPartial()); in testMerge()
DFieldPresenceTest.java318 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized()
322 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
327 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized()
331 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
336 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized()
340 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
DMessageTest.java214 TestRequired message = TestRequired.newBuilder().buildPartial(); in testBuildPartial()
249 .buildPartial(); in testBuildNestedPartial()
268 .buildPartial().toByteString(); in testParseNestedUnititialized()
302 .buildPartial(); in testDynamicBuildPartial()
DAbstractMessageTest.java121 public AbstractMessageWrapper buildPartial() { in buildPartial() method in AbstractMessageTest.AbstractMessageWrapper.Builder
122 return new AbstractMessageWrapper(wrappedBuilder.buildPartial()); in buildPartial()
130 return clone().buildPartial().isInitialized(); in isInitialized()
258 ByteString bytes = builder.buildPartial().toByteString(); in testParsingUninitialized()
262 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
274 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
DNestedBuildersTest.java182 Vehicle vehicle = vehicleBuilder.buildPartial(); in testGettingBuilderMarksFieldAsHaving()
DDynamicMessageTest.java294 DynamicMessage message = builder.buildPartial(); in testDynamicOneofMessage()
DMapForProto2Test.java624 MessageWithRequiredFields.newBuilder().buildPartial()); in testRequiredMessage()
625 TestMap message = builder.buildPartial(); in testRequiredMessage()
DParserTest.java127 assertParsePartial(TestRequired.parser(), TestRequired.newBuilder().setA(1).buildPartial()); in testParsePartial()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDynamicMessage.java298 throw e.setUnfinishedMessage(builder.buildPartial()); in getParserForType()
301 .setUnfinishedMessage(builder.buildPartial()); in getParserForType()
303 return builder.buildPartial(); in getParserForType()
393 return buildPartial();
408 return buildPartial();
412 public DynamicMessage buildPartial() {
DMessageReflection.java473 return subBuilder.buildPartial(); in parseGroup()
497 return subBuilder.buildPartial(); in parseMessage()
521 return subBuilder.buildPartial(); in parseMessageFromBytes()
550 return builder.buildPartial(); in finish()
655 return subBuilder.buildPartial(); in parseGroup()
674 return subBuilder.buildPartial(); in parseMessage()
692 return subBuilder.buildPartial(); in parseMessageFromBytes()
DMapEntryLite.java195 return (T) subBuilder.buildPartial(); in mergeField()
285 MapEntryLite<K, V> result = buildPartial(); in build()
293 public MapEntryLite<K, V> buildPartial() { in buildPartial() method in MapEntryLite.Builder
DMapEntry.java275 MapEntry<K, V> result = buildPartial(); in build()
283 public MapEntry<K, V> buildPartial() { in buildPartial() method in MapEntry.Builder
285 data = dataBuilder.buildPartial(); in buildPartial()
DUnknownFieldSet.java356 public UnknownFieldSet buildPartial() { in buildPartial() method in UnknownFieldSet.Builder
1021 throw e.setUnfinishedMessage(builder.buildPartial()); in parsePartialFrom()
1024 .setUnfinishedMessage(builder.buildPartial()); in parsePartialFrom()
1026 return builder.buildPartial(); in parsePartialFrom()
DMessageLite.java167 MessageLite buildPartial(); in buildPartial() method
DSingleFieldBuilder.java112 message = (MType) builder.buildPartial(); in getMessage()
DMessage.java143 Message buildPartial(); in buildPartial() method
DGeneratedMessageLite.java353 builder.mergeFrom(buildPartial()); in clone()
358 public MessageType buildPartial() { in buildPartial() method in GeneratedMessageLite.Builder
371 MessageType result = buildPartial(); in build()
762 public final MessageType buildPartial() { in buildPartial() method in GeneratedMessageLite.ExtendableBuilder
768 return super.buildPartial(); in buildPartial()
1190 .buildPartial(); in readResolve()
DMapField.java98 return defaultEntry.newBuilderForType().setKey(key).setValue(value).buildPartial(); in convertKeyAndValueToMessage()
DGeneratedMessage.java440 builder.mergeFrom(buildPartial()); in clone()
2757 .mergeFrom((Message) value).buildPartial();
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java147 throw e.setUnfinishedMessage(builder.buildPartial());
150 e.getMessage()).setUnfinishedMessage(builder.buildPartial());
152 return builder.buildPartial();
401 com.google.protobuf.jruby.SentinelOuterClass.Sentinel result = buildPartial(); in build()
408 public com.google.protobuf.jruby.SentinelOuterClass.Sentinel buildPartial() { in buildPartial() method in SentinelOuterClass.Sentinel.Builder