Home
last modified time | relevance | path

Searched refs:getDescriptorForType (Results 1 – 25 of 117) sorted by relevance

12345

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java200 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
218 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
222 source.getDescriptorForType(), destination.getDescriptorForType())); in merge()
225 Descriptor descriptor = source.getDescriptorForType(); in merge()
DFieldMaskUtil.java136 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in fromFieldNumbers()
184 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in isValid()
205 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in isValid()
DJsonFormat.java690 wellKnownTypePrinters.get(message.getDescriptorForType().getFullName()); in print()
796 Descriptor descriptor = message.getDescriptorForType(); in printAny()
835 Descriptor descriptor = message.getDescriptorForType(); in printWrapper()
873 Descriptor descriptor = message.getDescriptorForType(); in printStruct()
903 Descriptor descriptor = message.getDescriptorForType(); in printListValue()
924 for (FieldDescriptor field : message.getDescriptorForType().getFields()) { in print()
1372 wellKnownTypeParsers.get(builder.getDescriptorForType().getFullName()); in merge()
1403 Map<String, FieldDescriptor> fieldNameMap = getFieldNameMap(builder.getDescriptorForType()); in mergeMessage()
1417 + builder.getDescriptorForType().getFullName()); in mergeMessage()
1425 Descriptor descriptor = builder.getDescriptorForType(); in mergeAny()
[all …]
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestBadIdentifiers.java57 .getDefaultInstance().getDescriptorForType(); in testGetDescriptor()
62 .getDescriptorForType(); in testGetDescriptor()
DMessageTest.java325 assertTrue(result.getField(result.getDescriptorForType() in testDynamicRepeatedMessageNull()
327 assertEquals(result.getRepeatedFieldCount(result.getDescriptorForType() in testDynamicRepeatedMessageNull()
349 assertTrue(result.getField(result.getDescriptorForType() in testDynamicRepeatedMessageNotNull()
351 assertEquals(result.getRepeatedFieldCount(result.getDescriptorForType() in testDynamicRepeatedMessageNotNull()
DAbstractMessageTest.java69 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in AbstractMessageTest.AbstractMessageWrapper
70 return wrappedMessage.getDescriptorForType(); in getDescriptorForType()
121 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in AbstractMessageTest.AbstractMessageWrapper.Builder
122 return wrappedBuilder.getDescriptorForType(); in getDescriptorForType()
DGeneratedMessageTest.java842 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
851 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
860 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
871 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
880 foreignFieldBuilder2.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
889 importFieldBuilder2.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractMessage.java151 if (getDescriptorForType() != otherMessage.getDescriptorForType()) { in equals()
163 hash = (19 * hash) + getDescriptorForType().hashCode(); in hashCode()
199 Descriptors.Descriptor descriptor = entry.getDescriptorForType(); in convertMapEntryListToMap()
375 if (other.getDescriptorForType() != getDescriptorForType()) { in mergeFrom()
439 input, unknownFields, extensionRegistry, getDescriptorForType(), builderAdapter, tag)) { in mergeFrom()
DMessageReflection.java54 message.getDescriptorForType().getOptions().getMessageSetWireFormat(); in writeMessageTo()
57 for (final FieldDescriptor field : message.getDescriptorForType().getFields()) { in writeMessageTo()
87 message.getDescriptorForType().getOptions().getMessageSetWireFormat(); in getSerializedSize()
126 for (final Descriptors.FieldDescriptor field : message.getDescriptorForType().getFields()) { in isInitialized()
173 for (final Descriptors.FieldDescriptor field : message.getDescriptorForType().getFields()) { in findMissingFields()
218 public Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() method
354 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in MessageReflection.BuilderAdapter
355 return builder.getDescriptorForType(); in getDescriptorForType()
560 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in MessageReflection.ExtensionAdapter
DProtocolMessageEnum.java51 EnumDescriptor getDescriptorForType(); in getDescriptorForType() method
DBlockingService.java41 Descriptors.ServiceDescriptor getDescriptorForType(); in getDescriptorForType() method
DService.java48 Descriptors.ServiceDescriptor getDescriptorForType(); in getDescriptorForType() method
DMessageOrBuilder.java70 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() method
DGeneratedMessage.java107 public Descriptor getDescriptorForType() { in getDescriptorForType() method in GeneratedMessage
167 for (final FieldDescriptor field : getDescriptorForType().getFields()) { in isInitialized()
464 public Descriptor getDescriptorForType() {
623 for (final FieldDescriptor field : getDescriptorForType().getFields()) {
845 getDescriptorForType()) {
851 getDescriptorForType().getFullName() + "\".");
978 input, unknownFields, extensionRegistry, getDescriptorForType(),
1139 if (field.getContainingType() != getDescriptorForType()) {
1227 getDescriptorForType()) {
1233 getDescriptorForType().getFullName() + "\".");
[all …]
DDynamicMessage.java149 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); in newBuilder()
156 public Descriptor getDescriptorForType() { in getDescriptorForType() method in DynamicMessage
448 public Descriptor getDescriptorForType() {
DMessage.java149 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() method
DGeneratedMessageV3.java125 public Descriptor getDescriptorForType() { in getDescriptorForType() method in GeneratedMessageV3
200 for (final FieldDescriptor field : getDescriptorForType().getFields()) { in isInitialized()
613 public Descriptor getDescriptorForType() {
783 for (final FieldDescriptor field : getDescriptorForType().getFields()) {
993 getDescriptorForType()) {
999 getDescriptorForType().getFullName() + "\".");
1127 getDescriptorForType(), new MessageReflection.ExtensionAdapter(extensions), tag);
1300 if (field.getContainingType() != getDescriptorForType()) {
1380 getDescriptorForType()) {
1386 getDescriptorForType().getFullName() + "\".");
[all …]
DMapEntry.java183 public Descriptor getDescriptorForType() { in getDescriptorForType() method in MapEntry
309 public Descriptor getDescriptorForType() { in getDescriptorForType() method in MapEntry.Builder
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMessageTest.java324 result.getField(result.getDescriptorForType().findFieldByName("repeated_foreign_message")) in testDynamicRepeatedMessageNull()
329 result.getDescriptorForType().findFieldByName("repeated_foreign_message"))); in testDynamicRepeatedMessageNull()
350 result.getField(result.getDescriptorForType().findFieldByName("repeated_foreign_message")) in testDynamicRepeatedMessageNotNull()
355 result.getDescriptorForType().findFieldByName("repeated_foreign_message"))); in testDynamicRepeatedMessageNotNull()
DTestBadIdentifiers.java53 TestBadIdentifiersProto.Descriptor.getDefaultInstance().getDescriptorForType(); in testGetDescriptor()
55 TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance().getDescriptorForType(); in testGetDescriptor()
DGeneratedMessageTest.java1086 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
1096 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
1106 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
1117 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
1127 foreignFieldBuilder2.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
1137 importFieldBuilder2.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
1213 message.getDescriptorForType() in testConflictingOuterClassName()
1519 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetRepeatedFieldBuilder()
1526 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetRepeatedFieldBuilder()
1533 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetRepeatedFieldBuilder()
[all …]
DAbstractMessageTest.java69 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in AbstractMessageTest.AbstractMessageWrapper
70 return wrappedMessage.getDescriptorForType(); in getDescriptorForType()
146 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in AbstractMessageTest.AbstractMessageWrapper.Builder
147 return wrappedBuilder.getDescriptorForType(); in getDescriptorForType()
DMapForProto2Test.java622 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue()
628 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue()
653 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry()
655 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry()
656 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry()
667 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues()
1151 .getDescriptorForType() in testMapInitializationOrder()
1161 message.getDescriptorForType().findFieldByName("map_field"), 0); in testMapInitializationOrder()
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
DProtoUtils.java67 instance.getDescriptorForType().getFullName() + Metadata.BINARY_HEADER_SUFFIX, in keyForProto()
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskTreeTest.java115 DynamicMessage.newBuilder(source.getDescriptorForType()) in merge()
118 DynamicMessage.newBuilder(source.getDescriptorForType()) in merge()

12345