Home
last modified time | relevance | path

Searched refs:DynamicMessage (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DDynamicMessageTest.java63 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
71 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
91 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
111 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
120 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
128 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
134 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
143 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSettersRejectNull()
149 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor())); in testDynamicMessageDefaults()
151 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()).build()); in testDynamicMessageDefaults()
[all …]
DMessageTest.java95 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic()
103 DynamicMessage result = in testDynamicMergeFrom()
104 DynamicMessage.newBuilder(MERGE_DEST) in testDynamicMergeFrom()
105 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom()
169 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamic()
182 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamicForeign()
291 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
300 DynamicMessage message = in testDynamicBuildPartial()
301 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
309 DynamicMessage.parseFrom(descriptor, ByteString.EMPTY); in testDynamicParseUnititialized()
[all …]
DWireFormatTest.java277 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
314 DynamicMessage source = in testParseMultipleExtensionRangesDynamic()
315 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
322 DynamicMessage dest = in testParseMultipleExtensionRangesDynamic()
323 DynamicMessage.parseFrom(descriptor, source.toByteString(), in testParseMultipleExtensionRangesDynamic()
DAbstractMessageTest.java247 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized()
480 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDynamicMessage.java50 public final class DynamicMessage extends AbstractMessage { class
66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() method in DynamicMessage
79 public static DynamicMessage getDefaultInstance(Descriptor type) { in getDefaultInstance()
82 return new DynamicMessage(type, FieldSet.<FieldDescriptor>emptySet(), in getDefaultInstance()
89 public static DynamicMessage parseFrom(Descriptor type, in parseFrom()
96 public static DynamicMessage parseFrom( in parseFrom()
105 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom()
111 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom()
118 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom()
124 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom()
[all …]
DGeneratedMessage.java810 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
1095 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc197 class DynamicMessage : public Message { class
219 const DynamicMessage* prototype;
230 DynamicMessage(const TypeInfo* type_info);
231 ~DynamicMessage();
247 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMessage);
269 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() function in google::protobuf::DynamicMessage
361 DynamicMessage::~DynamicMessage() { in ~DynamicMessage()
461 void DynamicMessage::CrossLinkPrototypes() { in CrossLinkPrototypes()
489 Message* DynamicMessage::New() const { in New()
492 return new(new_base) DynamicMessage(type_info_); in New()
[all …]
Ddynamic_message.h129 friend class DynamicMessage; variable
/external/protobuf/
DMakefile.am80 java/src/main/java/com/google/protobuf/DynamicMessage.java \
DCHANGES.txt9 * Updated DynamicMessage.setField() to handle repeated enum values
468 * Fixed alignment issue that caused crashes when using DynamicMessage on
DMakefile.in415 java/src/main/java/com/google/protobuf/DynamicMessage.java \