Home
last modified time | relevance | path

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

/external/protobuf/java/core/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.java271 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized()
504 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
DFieldPresenceTest.java364 DynamicMessage dynamicOptionalOnlyMessage = in testUnknownFields()
365 DynamicMessage.getDefaultInstance( in testUnknownFields()
DUnknownEnumValueTest.java185 Message dynamicMessageDefaultInstance = DynamicMessage.getDefaultInstance(descriptor); in testUnknownEnumValueWithDynamicMessage()
DMapForProto2Test.java557 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testDynamicMessage()
571 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testReflectionEqualsAndHashCode()
DMapTest.java650 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testDynamicMessage()
664 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testReflectionEqualsAndHashCode()
/external/protobuf/java/core/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.java1028 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
1325 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc219 class DynamicMessage : public Message { class
242 const DynamicMessage* prototype;
253 DynamicMessage(const TypeInfo* type_info);
254 ~DynamicMessage();
282 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMessage);
283 DynamicMessage(const TypeInfo* type_info, ::google::protobuf::Arena* arena);
305 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() function in google::protobuf::DynamicMessage
311 DynamicMessage::DynamicMessage(const TypeInfo* type_info, in DynamicMessage() function in google::protobuf::DynamicMessage
318 void DynamicMessage::SharedCtor() { in SharedCtor()
420 DynamicMessage::~DynamicMessage() { in ~DynamicMessage()
[all …]
Ddynamic_message.h133 friend class DynamicMessage; variable
Ddrop_unknown_fields_test.cc68 TEST(DropUnknownFieldsTest, DynamicMessage) { in TEST() argument
Dmap_field.h49 class DynamicMessage; variable
158 friend class ::google::protobuf::DynamicMessage;
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java70 this.builder = DynamicMessage.newBuilder(this.descriptor); in initialize()
366 protected DynamicMessage build(ThreadContext context) { in build()
370 protected DynamicMessage build(ThreadContext context, int depth) { in build()
377 for (DynamicMessage kv : maps.get(fieldDescriptor).build(context, mapDescriptor)) { in build()
432 private IRubyObject buildFrom(ThreadContext context, DynamicMessage dynamicMessage) { in buildFrom()
565 return msg.buildFrom(context, (DynamicMessage) value); in wrapField()
619DynamicMessage message = (DynamicMessage) this.builder.getRepeatedField(fieldDescriptor, i); in getField()
756 private DynamicMessage.Builder builder;
DRubyMap.java36 import com.google.protobuf.DynamicMessage;
364 protected List<DynamicMessage> build(ThreadContext context, RubyDescriptor descriptor) { in build()
365 List<DynamicMessage> list = new ArrayList<DynamicMessage>(); in build()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java54 import com.google.protobuf.DynamicMessage;
578 Message contentMessage = DynamicMessage.getDefaultInstance(type) in printAny()
1174 DynamicMessage.getDefaultInstance(contentType).newBuilderForType(); in mergeAny()
/external/protobuf/
DCHANGES.txt598 * Updated DynamicMessage.setField() to handle repeated enum values
1057 * Fixed alignment issue that caused crashes when using DynamicMessage on
DMakefile.am208 java/core/src/main/java/com/google/protobuf/DynamicMessage.java \