Home
last modified time | relevance | path

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

12

/third_party/protobuf/php/src/Google/Protobuf/Internal/
DDescriptorPool.php71 foreach ($file->getEnumType() as $desc) {
102 foreach ($descriptor->getEnumType() as $enum_type) {
167 $proto = $field->getEnumType();
DFileDescriptor.php62 public function getEnumType() function in Google\\Protobuf\\Internal\\FileDescriptor
80 foreach ($proto->getEnumType() as $enum_proto) {
DDescriptor.php104 public function getEnumType() function in Google\\Protobuf\\Internal\\Descriptor
207 foreach ($proto->getEnumType() as $enum_proto) {
DMessage.php118 $value_field->getEnumType()->getClass());
140 $field->getEnumType()->getClass());
565 $value_field->getEnumType()->getClass());
587 $field->getEnumType()->getClass());
872 $enum_value = $field->getEnumType()->getValueByName($value);
1726 $enum_desc = $field->getEnumType();
DDescriptorProto.php191 public function getEnumType() function in Google\\Protobuf\\Internal\\DescriptorProto
DFieldDescriptor.php157 public function getEnumType() function in Google\\Protobuf\\Internal\\FieldDescriptor
DFileDescriptorProto.php310 public function getEnumType() function in Google\\Protobuf\\Internal\\FileDescriptorProto
DGPBJsonWire.php199 $enum_desc = $field->getEnumType();
/third_party/protobuf/php/src/Google/Protobuf/
DFieldDescriptor.php101 public function getEnumType() function in Google\\Protobuf\\FieldDescriptor
104 return $this->getPublicDescriptor($this->internal_desc->getEnumType());
/third_party/protobuf/php/tests/
DDescriptorsTest.php157 $this->assertInstanceOf('\Google\Protobuf\EnumDescriptor', $fieldDesc->getEnumType());
216 $fieldDesc->getEnumType();
DPhpImplementationTest.php325 $this->assertSame(0, sizeof($file_desc->getEnumType()));
332 $this->assertSame(0, sizeof($desc->getEnumType()));
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java225 enumField.getEnumType()); in testFieldDescriptor()
643 assertTrue(field.getEnumType().getName().equals("MyEnum")); in testComplexNamespacePublicDependency()
644 assertTrue(field.getEnumType().getFile().getName().equals("bar.proto")); in testComplexNamespacePublicDependency()
645 assertTrue(field.getEnumType().getFile().getPackage().equals( in testComplexNamespacePublicDependency()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java804 field, field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom()
806 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
843 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()
845 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
DMapEntry.java222 result = field.getEnumType().findValueByNumberCreatingIfUnknown((java.lang.Integer) result); in getField()
419 result = field.getEnumType().findValueByNumberCreatingIfUnknown((Integer) result); in getField()
DExtensionSchemaLite.java183 extension.descriptor.getEnumType(), in parseExtension()
199 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
DExtensionSchemaFull.java199 extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
221 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
DDescriptors.java543 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); in FileDescriptor()
609 enumTypes[i].setProto(proto.getEnumType(i)); in setProto()
885 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), file, this, i); in Descriptor()
952 enumTypes[i].setProto(proto.getEnumType(i)); in setProto()
1221 public EnumDescriptor getEnumType() { in getEnumType() method in Descriptors.FieldDescriptor
DDescriptorMessageInfoFactory.java286 return fd.getEnumType().findValueByNumber(number) != null; in convertProto2()
310 return valueField.getEnumType().findValueByNumber(number) != null; in convertProto2()
DGeneratedMessageLite.java580 Object value = extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseExtension()
623 value = extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseExtension()
1128 public Internal.EnumLiteMap<?> getEnumType() { in getEnumType() method in GeneratedMessageLite.ExtensionDescriptor
DArrayDecoders.java861 extension.descriptor.getEnumType(), in decodeExtension()
879 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(registers.int1); in decodeExtension()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java213 assertEquals(TestAllTypes.NestedEnum.getDescriptor(), enumField.getEnumType()); in testFieldDescriptor()
696 assertTrue(field.getEnumType().getName().equals("MyEnum")); in testComplexNamespacePublicDependency()
697 assertTrue(field.getEnumType().getFile().getName().equals("bar.proto")); in testComplexNamespacePublicDependency()
698 assertTrue(field.getEnumType().getFile().getPackage().equals("a.b.c.d.bar.shared")); in testComplexNamespacePublicDependency()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java153 … runtime.newString(Utils.unescapeIdentifier(fieldDescriptor.getEnumType().getName()))); in buildFileDescriptor()
DRubyMessage.java555 Descriptors.EnumDescriptor enumDescriptor = fieldDescriptor.getEnumType(); in convert()
718 Descriptors.EnumDescriptor enumDescriptor = fieldDescriptor.getEnumType(); in setField()
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1243 if (field.getEnumType().getFullName().equals("google.protobuf.NullValue")) { in printSingleFieldValue()
1943 && field.getEnumType().getFullName().equals(NullValue.getDescriptor().getFullName())) { in parseFieldValue()
1945 return field.getEnumType().findValueByNumber(0); in parseFieldValue()
1992 return parseEnum(field.getEnumType(), json); in parseFieldValue()
/third_party/protobuf/php/ext/google/protobuf/
Ddef.c445 PHP_METHOD(FieldDescriptor, getEnumType) { in PHP_METHOD() argument
488 PHP_ME(FieldDescriptor, getEnumType, NULL, ZEND_ACC_PUBLIC)

12