/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 914 .setO(TestRequiredOptimizedForSize.newBuilder().buildPartial()) in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 915 .buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 920 .setO(TestRequiredOptimizedForSize.newBuilder().setX(5).buildPartial()) in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 921 .buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 929 TestRequiredOptimizedForSize.newBuilder().buildPartial()); in testUninitializedExtensionInOptimizedForSize() 931 assertFalse(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize() 936 TestRequiredOptimizedForSize.newBuilder().setX(10).buildPartial()); in testUninitializedExtensionInOptimizedForSize() 938 assertTrue(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize() 1002 TestAllTypes expected = builder.buildPartial(); in testSerializePartial() 1122 builder.buildPartial(); in testInvalidations() [all …]
|
D | SingleFieldBuilderV3Test.java | 51 assertEquals(TestAllTypes.getDefaultInstance(), builder.getBuilder().buildPartial()); in testBasicUseAndInvalidations() 119 builder.mergeFrom(TestAllTypes.newBuilder().setOptionalDouble(4.0).buildPartial()); in testMerge() 124 builder.setMessage(TestAllTypes.newBuilder().setOptionalInt32(10).buildPartial()); in testMerge() 125 builder.mergeFrom(TestAllTypes.newBuilder().setOptionalDouble(5.0).buildPartial()); in testMerge()
|
D | MessageTest.java | 214 TestRequired message = TestRequired.newBuilder().buildPartial(); in testBuildPartial() 249 .buildPartial(); in testBuildNestedPartial() 268 .buildPartial() in testParseNestedUnititialized() 301 DynamicMessage message = DynamicMessage.newBuilder(TestRequired.getDescriptor()).buildPartial(); in testDynamicBuildPartial()
|
D | AbstractMessageTest.java | 131 public AbstractMessageWrapper buildPartial() { in buildPartial() method in AbstractMessageTest.AbstractMessageWrapper.Builder 132 return new AbstractMessageWrapper(wrappedBuilder.buildPartial()); in buildPartial() 142 return clone().buildPartial().isInitialized(); in isInitialized() 282 ByteString bytes = builder.buildPartial().toByteString(); in testParsingUninitialized() 286 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized() 298 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
|
D | FieldPresenceTest.java | 455 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized() 459 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized() 464 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized() 468 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized() 473 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized() 477 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
|
D | Proto2MessageLiteFactory.java | 471 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields() 478 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields() 485 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields() 492 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields()
|
D | Proto2MessageFactory.java | 468 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields() 475 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields() 482 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields() 489 results.add(builder.buildPartial()); in newMessagesMissingRequiredFields()
|
D | NestedBuildersTest.java | 155 Vehicle vehicle = vehicleBuilder.buildPartial(); in testGettingBuilderMarksFieldAsHaving()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | GeneratedMessageTest.java | 650 TestRequiredOptimizedForSize.newBuilder().buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 651 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 655 TestRequiredOptimizedForSize.newBuilder().setX(5).buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 656 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize() 664 TestRequiredOptimizedForSize.newBuilder().buildPartial()); in testUninitializedExtensionInOptimizedForSize() 666 assertFalse(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize() 670 TestRequiredOptimizedForSize.newBuilder().setX(10).buildPartial()); in testUninitializedExtensionInOptimizedForSize() 672 assertTrue(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize() 738 TestAllTypes expected = builder.buildPartial(); in testSerializePartial() 781 TestAllTypes message = builder.buildPartial(); in testBaseMessageOrBuilder() [all …]
|
D | AbstractMessageTest.java | 112 public AbstractMessageWrapper buildPartial() { in buildPartial() method in AbstractMessageTest.AbstractMessageWrapper.Builder 113 return new AbstractMessageWrapper(wrappedBuilder.buildPartial()); in buildPartial() 119 return clone().buildPartial().isInitialized(); in isInitialized() 235 ByteString bytes = builder.buildPartial().toByteString(); in testParsingUninitialized() 239 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized() 251 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
|
D | MessageTest.java | 215 TestRequired message = TestRequired.newBuilder().buildPartial(); in testBuildPartial() 250 .buildPartial(); in testBuildNestedPartial() 269 .buildPartial().toByteString(); in testParseNestedUnititialized() 303 .buildPartial(); in testDynamicBuildPartial()
|
D | NestedBuildersTest.java | 183 Vehicle vehicle = vehicleBuilder.buildPartial(); in testGettingBuilderMarksFieldAsHaving()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 293 throw e.setUnfinishedMessage(builder.buildPartial()); in getParserForType() 295 throw new InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial()); in getParserForType() 297 return builder.buildPartial(); in getParserForType() 404 return buildPartial(); 421 return buildPartial(); 425 public DynamicMessage buildPartial() {
|
D | MessageReflection.java | 451 return subBuilder.buildPartial(); in parseGroup() 475 return subBuilder.buildPartial(); in parseMessage() 499 return subBuilder.buildPartial(); in parseMessageFromBytes() 546 return builder.buildPartial(); in finish() 647 return subBuilder.buildPartial(); in parseGroup() 665 return subBuilder.buildPartial(); in parseMessage() 683 return subBuilder.buildPartial(); in parseMessageFromBytes()
|
D | MessageLite.java | 152 MessageLite buildPartial(); in buildPartial() method
|
D | SingleFieldBuilder.java | 101 message = (MType) builder.buildPartial(); in getMessage()
|
D | SingleFieldBuilderV3.java | 101 message = (MType) builder.buildPartial(); in getMessage()
|
D | GeneratedMessageLite.java | 385 builder.mergeFrom(buildPartial()); in clone() 390 public MessageType buildPartial() { in buildPartial() method in GeneratedMessageLite.Builder 403 MessageType result = buildPartial(); in build() 946 public final MessageType buildPartial() { in buildPartial() method in GeneratedMessageLite.ExtendableBuilder 952 return super.buildPartial(); in buildPartial() 1351 return defaultInstance.newBuilderForType().mergeFrom(asBytes).buildPartial(); in readResolve() 1378 .buildPartial(); in readResolveFallback()
|
D | UnknownFieldSet.java | 349 public UnknownFieldSet buildPartial() { in buildPartial() method in UnknownFieldSet.Builder 1067 throw e.setUnfinishedMessage(builder.buildPartial()); in parsePartialFrom() 1069 throw new InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial()); in parsePartialFrom() 1071 return builder.buildPartial(); in parsePartialFrom()
|
D | Message.java | 135 Message buildPartial(); in buildPartial() method
|
D | MapEntry.java | 296 MapEntry<K, V> result = buildPartial(); in build() 304 public MapEntry<K, V> buildPartial() { in buildPartial() method in MapEntry.Builder
|
D | MapEntryLite.java | 129 return (T) subBuilder.buildPartial(); in parseField()
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | SentinelOuterClass.java | 147 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
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskTreeTest.java | 148 .mergeFrom(builder.buildPartial().toByteArray()); in merge() 156 builder.mergeFrom(newBuilder.buildPartial()); in merge()
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 294 destination.setField(field, childBuilder.buildPartial()); in merge()
|