Home
last modified time | relevance | path

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

12

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnum.java54 … Descriptors.EnumValueDescriptor value = descriptor.findValueByNumber(RubyNumeric.num2int(number)); in lookup()
DRubyDescriptorPool.java130 if (enumDescriptor.findValueByNumber(0) == null) { in buildFileDescriptor()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java211 T findValueByNumber(int number); in findValueByNumber() method
434 T result = enumMap.findValueByNumber(value); in newEnumConverter()
DExtensionSchemaFull.java199 extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
221 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
DDescriptorMessageInfoFactory.java286 return fd.getEnumType().findValueByNumber(number) != null; in convertProto2()
310 return valueField.getEnumType().findValueByNumber(number) != null; in convertProto2()
DMessageReflection.java806 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
845 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
DGeneratedMessageLite.java571 Object value = extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseExtension()
614 value = extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseExtension()
1256 return descriptor.enumTypeMap.findValueByNumber((Integer) value); in singularFromFieldSetType()
DSchemaUtil.java918 if (enumMap.findValueByNumber(enumValue) != null) { in filterUnknownEnumList()
933 if (enumMap.findValueByNumber(enumValue) == null) { in filterUnknownEnumList()
DExtensionSchemaLite.java199 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
DDescriptors.java1660 public EnumValueDescriptor findValueByNumber(final int number) { in findValueByNumber() method in Descriptors.EnumDescriptor
1669 EnumValueDescriptor result = findValueByNumber(number); in findValueByNumberCreatingIfUnknown()
DArrayDecoders.java879 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(registers.int1); in decodeExtension()
DTextFormat.java1898 value = enumType.findValueByNumber(number); in consumeFieldValue()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java488 assertEquals(value, map.findValueByNumber(value.getNumber())); in testEnumMap()
491 assertTrue(map.findValueByNumber(12345) == null); in testEnumMap()
DDescriptorsTest.java314 assertEquals(value, enumType.findValueByNumber(4)); in testEnumDescriptor()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckResponse.java166 public ServingStatus findValueByNumber(int number) {
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelConnectivityState.java181 public State findValueByNumber(int number) {
DChannelTraceEvent.java215 public Severity findValueByNumber(int number) {
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1/
DAddress.java201 public Type findValueByNumber(int number) {
DGrpcLogEntry.java389 public EventType findValueByNumber(int number) {
500 public Logger findValueByNumber(int number) {
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1831 result = enumDescriptor.findValueByNumber(numericValue); in parseEnum()
1859 return field.getEnumType().findValueByNumber(0); in parseFieldValue()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DPeer.java207 public PeerType findValueByNumber(int number) {
DGrpcLogEntry.java305 public Type findValueByNumber(int number) {
416 public Logger findValueByNumber(int number) {
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java549 assertEquals(value, map.findValueByNumber(value.getNumber())); in testEnumMap()
552 assertTrue(map.findValueByNumber(12345) == null); in testEnumMap()
DDescriptorsTest.java300 assertEquals(value, enumType.findValueByNumber(4)); in testEnumDescriptor()
DProto2MessageInfoFactory.java888 return map.findValueByNumber(number) != null; in asVerifier()

12