Home
last modified time | relevance | path

Searched refs:toBuilder (Results 1 – 25 of 32) sorted by relevance

12

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyStringEndToEndTest.java123 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed()
129 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed()
130 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
DMapForProto2LiteTest.java327 builder = message.toBuilder(); in testGettersAndSetters()
332 builder = message.toBuilder(); in testGettersAndSetters()
337 builder = message.toBuilder(); in testGettersAndSetters()
361 builder = message.toBuilder(); in testSerializeAndParse()
368 builder = message.toBuilder(); in testSerializeAndParse()
DMapTest.java307 builder = message.toBuilder(); in testGettersAndSetters()
312 builder = message.toBuilder(); in testGettersAndSetters()
317 builder = message.toBuilder(); in testGettersAndSetters()
357 builder = message.toBuilder(); in testSerializeAndParse()
364 builder = message.toBuilder(); in testSerializeAndParse()
619 Message.Builder mapEntryBuilder = mapEntry.toBuilder(); in testReflectionApi()
711 builder = message.toBuilder(); in testUnknownEnumValues()
747 Message.Builder mapEntryBuilder = mapEntry.toBuilder(); in testUnknownEnumValuesInReflectionApi()
DMapForProto2Test.java306 builder = message.toBuilder(); in testGettersAndSetters()
311 builder = message.toBuilder(); in testGettersAndSetters()
316 builder = message.toBuilder(); in testGettersAndSetters()
340 builder = message.toBuilder(); in testSerializeAndParse()
347 builder = message.toBuilder(); in testSerializeAndParse()
526 Message.Builder mapEntryBuilder = mapEntry.toBuilder(); in testReflectionApi()
DLiteEqualsAndHashTest.java103 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithUnknownFields()
DLazyFieldTest.java112 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
DAnyTest.java66 TestAny.Builder containerBuilder = container.toBuilder(); in testAnyGeneratedApi()
DNestedBuildersTest.java175 Vehicle vehicle3 = vehicle1.toBuilder().build(); in testMerge()
DAbstractMessageTest.java105 public Builder toBuilder() { in toBuilder() method in AbstractMessageTest.AbstractMessageWrapper
106 return new Builder(wrappedMessage.toBuilder()); in toBuilder()
DLiteTest.java126 TestAllExtensionsLite message2 = message.toBuilder().build(); in testLiteExtensions()
1412 extendableMessageBuilder = extendableMessage.toBuilder(); in testSanityCopyOnWrite()
1639 one = one.toBuilder().mergeFrom(one).build(); in testMergeFrom_sanity()
1640 two = two.toBuilder().mergeFrom(bytes).build(); in testMergeFrom_sanity()
1649 TestAllTypesLite two = one.toBuilder().mergeFrom(one).mergeFrom(bytes).build(); in testEquals_notEqual()
2184 one.toBuilder().mergeFrom(two).build(), in testEquals_sanity()
2185 two.toBuilder().mergeFrom(two.toByteArray()).build()); in testEquals_sanity()
2193 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithUnknownFields()
DUnknownEnumValueTest.java77 builder = message.toBuilder(); in testUnknownEnumValues()
DLazyFieldLiteTest.java261 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
DDynamicMessageTest.java276 DynamicMessage derived = message.toBuilder().build(); in testToBuilder()
DWireFormatTest.java527 messageSet.toBuilder().mergeFrom(data, extensionRegistry).build(); in testMergeLazyMessageSetExtensionWithFlag()
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskTreeTest.java220 NestedTestAllTypes clearedSource = source.toBuilder().clearPayload().build(); in testMerge()
242 builder = source.toBuilder(); in testMerge()
245 builder = source.toBuilder(); in testMerge()
254 builder = source.toBuilder(); in testMerge()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java345 setValue(value.toBuilder().mergeFrom(input, extensionRegistry).build()); in mergeFrom()
355 return value.toBuilder().mergeFrom(otherBytes, extensionRegistry).build(); in mergeValueAndBytes()
DMessageLite.java144 Builder toBuilder(); in toBuilder() method
DMapEntryLite.java193 MessageLite.Builder subBuilder = ((MessageLite) value).toBuilder(); in mergeField()
216 public Builder<K, V> toBuilder() { in toBuilder() method in MapEntryLite
DMessage.java105 Builder toBuilder(); in toBuilder() method
DMapEntry.java144 public Builder<K, V> toBuilder() { in toBuilder() method in MapEntry
245 dataBuilder = data.toBuilder(); in ensureMutable()
DDynamicMessage.java283 public Builder toBuilder() { in toBuilder() method in DynamicMessage
DGeneratedMessageLite.java224 public final BuilderType toBuilder() { in toBuilder() method in GeneratedMessageLite
547 subBuilder = existingValue.toBuilder(); in parseUnknownField()
2117 return (T) mine.toBuilder().mergeFrom(other).build(); in visitMessage()
DUnknownFieldSet.java275 public Builder toBuilder() { in toBuilder() method in UnknownFieldSet
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java327 public Builder toBuilder() { return newBuilder(this); } in toBuilder() method in SentinelOuterClass.Sentinel

12