Home
last modified time | relevance | path

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

12

/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java241 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
259 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
263 source.getDescriptorForType(), destination.getDescriptorForType())); in merge()
266 Descriptor descriptor = source.getDescriptorForType(); in merge()
DFieldMaskUtil.java107 return fromStringList(Internal.getDefaultInstance(type).getDescriptorForType(), paths); in fromStringList()
159 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in fromFieldNumbers()
207 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in isValid()
228 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in isValid()
DJsonFormat.java764 wellKnownTypePrinters.get(message.getDescriptorForType().getFullName()); in print()
870 Descriptor descriptor = message.getDescriptorForType(); in printAny()
912 Descriptor descriptor = message.getDescriptorForType(); in printWrapper()
950 Descriptor descriptor = message.getDescriptorForType(); in printStruct()
980 Descriptor descriptor = message.getDescriptorForType(); in printListValue()
1001 for (FieldDescriptor field : message.getDescriptorForType().getFields()) { in print()
1455 wellKnownTypeParsers.get(builder.getDescriptorForType().getFullName()); in merge()
1486 Map<String, FieldDescriptor> fieldNameMap = getFieldNameMap(builder.getDescriptorForType()); in mergeMessage()
1500 + builder.getDescriptorForType().getFullName()); in mergeMessage()
1508 Descriptor descriptor = builder.getDescriptorForType(); in mergeAny()
[all …]
/third_party/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()
/third_party/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.java132 public Descriptor getDescriptorForType() { in getDescriptorForType() method in GeneratedMessageV3
207 for (final FieldDescriptor field : getDescriptorForType().getFields()) { in isInitialized()
620 public Descriptor getDescriptorForType() {
790 for (final FieldDescriptor field : getDescriptorForType().getFields()) {
1000 getDescriptorForType()) {
1006 getDescriptorForType().getFullName() + "\".");
1134 getDescriptorForType(), new MessageReflection.ExtensionAdapter(extensions), tag);
1307 if (field.getContainingType() != getDescriptorForType()) {
1387 getDescriptorForType()) {
1393 getDescriptorForType().getFullName() + "\".");
[all …]
DMapEntry.java183 public Descriptor getDescriptorForType() { in getDescriptorForType() method in MapEntry
309 public Descriptor getDescriptorForType() { in getDescriptorForType() method in MapEntry.Builder
/third_party/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()
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()
DGeneratedMessageTest.java1245 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
1255 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
1265 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
1276 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
1286 foreignFieldBuilder2.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
1296 importFieldBuilder2.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
1372 message.getDescriptorForType() in testConflictingOuterClassName()
1678 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetRepeatedFieldBuilder()
1685 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetRepeatedFieldBuilder()
1692 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetRepeatedFieldBuilder()
[all …]
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()
DMapTest.java713 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue()
719 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue()
744 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry()
746 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry()
747 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry()
758 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskTreeTest.java147 DynamicMessage.newBuilder(source.getDescriptorForType()) in merge()
150 DynamicMessage.newBuilder(source.getDescriptorForType()) in merge()

12