Home
last modified time | relevance | path

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

12345

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java196 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
214 assert source.getDescriptorForType() == destination.getDescriptorForType(); in merge()
216 Descriptor descriptor = source.getDescriptorForType(); in merge()
DJsonFormat.java454 message.getDescriptorForType().getFullName()); in print()
560 Descriptor descriptor = message.getDescriptorForType(); in printAny()
600 Descriptor descriptor = message.getDescriptorForType(); in printWrapper()
639 Descriptor descriptor = message.getDescriptorForType(); in printStruct()
669 Descriptor descriptor = message.getDescriptorForType(); in printListValue()
691 for (FieldDescriptor field : message.getDescriptorForType().getFields()) { in print()
1093 builder.getDescriptorForType().getFullName()); in merge()
1128 getFieldNameMap(builder.getDescriptorForType()); in mergeMessage()
1137 + builder.getDescriptorForType().getFullName()); in mergeMessage()
1145 Descriptor descriptor = builder.getDescriptorForType(); in mergeAny()
[all …]
DFieldMaskUtil.java135 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); in fromFieldNumbers()
153 Internal.getDefaultInstance(type).getDescriptorForType(); in isValid()
175 Internal.getDefaultInstance(type).getDescriptorForType(); in isValid()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractMessage.java119 if (getDescriptorForType() != otherMessage.getDescriptorForType()) { in equals()
131 hash = (19 * hash) + getDescriptorForType().hashCode(); in hashCode()
170 Descriptors.Descriptor descriptor = entry.getDescriptorForType(); in convertMapEntryListToMap()
351 if (other.getDescriptorForType() != getDescriptorForType()) { in mergeFrom()
416 getDescriptorForType(), in mergeFrom()
DMessageReflection.java55 message.getDescriptorForType().getOptions().getMessageSetWireFormat(); in writeMessageTo()
59 message.getDescriptorForType().getFields()) { in writeMessageTo()
91 message.getDescriptorForType().getOptions().getMessageSetWireFormat(); in getSerializedSize()
131 .getDescriptorForType() in isInitialized()
187 message.getDescriptorForType().getFields()) { in findMissingFields()
236 public Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() method
375 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in MessageReflection.BuilderAdapter
376 return builder.getDescriptorForType(); in getDescriptorForType()
565 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in MessageReflection.ExtensionAdapter
DDynamicMessage.java153 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); in newBuilder()
160 public Descriptor getDescriptorForType() { in getDescriptorForType() method in DynamicMessage
435 public Descriptor getDescriptorForType() {
584 if (getDescriptorForType().getFile().getSyntax()
595 if (getDescriptorForType().getFile().getSyntax()
DGeneratedMessage.java107 public Descriptor getDescriptorForType() { in getDescriptorForType() method in GeneratedMessage
167 for (final FieldDescriptor field : getDescriptorForType().getFields()) { in isInitialized()
463 public Descriptor getDescriptorForType() { in getDescriptorForType() method in GeneratedMessage.Builder
622 for (final FieldDescriptor field : getDescriptorForType().getFields()) { in isInitialized()
817 getDescriptorForType()) { in verifyExtensionContainingType()
823 getDescriptorForType().getFullName() + "\"."); in verifyExtensionContainingType()
901 input, unknownFields, extensionRegistry, getDescriptorForType(), in parseUnknownField()
1062 if (field.getContainingType() != getDescriptorForType()) { in verifyContainingType()
1150 getDescriptorForType()) { in verifyExtensionContainingType()
1156 getDescriptorForType().getFullName() + "\"."); in verifyExtensionContainingType()
[all …]
DProtocolMessageEnum.java58 EnumDescriptor getDescriptorForType(); in getDescriptorForType() method
DBlockingService.java43 Descriptors.ServiceDescriptor getDescriptorForType(); in getDescriptorForType() method
DService.java52 Descriptors.ServiceDescriptor getDescriptorForType(); in getDescriptorForType() method
DMessageOrBuilder.java73 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() method
DMessage.java160 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() method
DMapEntry.java154 public Descriptor getDescriptorForType() { in getDescriptorForType() method in MapEntry
292 public Descriptor getDescriptorForType() { in getDescriptorForType() method in MapEntry.Builder
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMessageTest.java324 assertTrue(result.getField(result.getDescriptorForType() in testDynamicRepeatedMessageNull()
326 assertEquals(result.getRepeatedFieldCount(result.getDescriptorForType() in testDynamicRepeatedMessageNull()
348 assertTrue(result.getField(result.getDescriptorForType() in testDynamicRepeatedMessageNotNull()
350 assertEquals(result.getRepeatedFieldCount(result.getDescriptorForType() in testDynamicRepeatedMessageNotNull()
DTestBadIdentifiers.java56 .getDefaultInstance().getDescriptorForType(); in testGetDescriptor()
61 .getDescriptorForType(); in testGetDescriptor()
DMapForProto2Test.java402 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue()
408 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue()
434 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry()
436 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry()
437 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry()
448 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues()
659 .getDefaultInstance().getDescriptorForType().getName()); in testMapInitializationOrder()
666 message.getDescriptorForType().findFieldByName("map_field"), 0); in testMapInitializationOrder()
DGeneratedMessageTest.java1119 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
1128 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
1137 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
1148 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()
1157 foreignFieldBuilder2.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()
1166 importFieldBuilder2.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()
1247 assertTrue(message.getDescriptorForType() == in testConflictingOuterClassName()
1555 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetRepeatedFieldBuilder()
1563 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetRepeatedFieldBuilder()
1572 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetRepeatedFieldBuilder()
[all …]
DAbstractMessageTest.java68 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in AbstractMessageTest.AbstractMessageWrapper
69 return wrappedMessage.getDescriptorForType(); in getDescriptorForType()
133 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() method in AbstractMessageTest.AbstractMessageWrapper.Builder
134 return wrappedBuilder.getDescriptorForType(); in getDescriptorForType()
DMapTest.java495 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue()
501 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue()
527 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry()
529 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry()
530 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry()
541 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues()
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
DProtoUtils.java46 instance.getDescriptorForType().getFullName() + Metadata.BINARY_HEADER_SUFFIX, in keyForProto()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckResponse.java159 getDescriptorForType() { in getDescriptorForType() method in HealthCheckResponse.ServingStatus
398 getDescriptorForType() { in getDescriptorForType() method in HealthCheckResponse.Builder
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelConnectivityState.java191 getDescriptorForType() { in getDescriptorForType() method in ChannelConnectivityState.State
435 getDescriptorForType() { in getDescriptorForType() method in ChannelConnectivityState.Builder
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DPeer.java217 getDescriptorForType() { in getDescriptorForType() method in Peer.PeerType
558 getDescriptorForType() { in getDescriptorForType() method in Peer.Builder
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DNestedTypeOuter.java451 getDescriptorForType() { in getDescriptorForType() method in NestedTypeOuter.Middle.Inner.Builder
808 getDescriptorForType() { in getDescriptorForType() method in NestedTypeOuter.Middle.Builder
1122 getDescriptorForType() { in getDescriptorForType() method in NestedTypeOuter.Builder
/external/grpc-grpc-java/alts/src/generated/main/java/io/grpc/alts/internal/
DTransportSecurityCommon.java98 getDescriptorForType() { in getDescriptorForType() method in TransportSecurityCommon.SecurityLevel
611 getDescriptorForType() { in getDescriptorForType() method in TransportSecurityCommon.RpcProtocolVersions.Version.Builder
1099 getDescriptorForType() { in getDescriptorForType() method in TransportSecurityCommon.RpcProtocolVersions.Builder

12345