Searched refs:toBuilder (Results 1 – 17 of 17) sorted by relevance
134 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed()140 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed()141 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
106 TestAllExtensionsLite message2 = message.toBuilder().build(); in testLiteExtensions()
111 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
123 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
175 Vehicle vehicle3 = vehicle1.toBuilder().build(); in testMerge()
97 public Builder toBuilder() { in toBuilder() method in AbstractMessageTest.AbstractMessageWrapper98 return new Builder(wrappedMessage.toBuilder()); in toBuilder()
276 DynamicMessage derived = message.toBuilder().build(); in testToBuilder()
527 messageSet.toBuilder().mergeFrom(data, extensionRegistry).build(); in testMergeLazyMessageSetExtensionWithFlag()
164 TestAllTypes value2 = value1.toBuilder().build(); in testProtosShareRepeatedArraysIfDidntChange()844 TestUtil.assertAllFieldsSet(message.toBuilder().build()); in testToBuilder()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
144 Builder toBuilder(); in toBuilder() method
101 Builder toBuilder(); in toBuilder() method
271 public Builder toBuilder() { in toBuilder() method in DynamicMessage
578 subBuilder = existingValue.toBuilder(); in parseUnknownField()
265 public Builder toBuilder() { in toBuilder() method in UnknownFieldSet
526 ((MessageLite) value).toBuilder(), (MessageLite) otherValue) in mergeFromField()
387 * Message interface has new method toBuilder() which is equivalent to