Searched refs:DynamicMessage (Results 1 – 12 of 12) sorted by relevance
63 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 …]
95 .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 …]
277 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()
247 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized()480 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
50 public final class DynamicMessage extends AbstractMessage { class66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() method in DynamicMessage79 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 …]
810 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()1095 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
197 class DynamicMessage : public Message { class219 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::DynamicMessage361 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 …]
129 friend class DynamicMessage; variable
80 java/src/main/java/com/google/protobuf/DynamicMessage.java \
9 * Updated DynamicMessage.setField() to handle repeated enum values468 * Fixed alignment issue that caused crashes when using DynamicMessage on
415 java/src/main/java/com/google/protobuf/DynamicMessage.java \
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...