Home
last modified time | relevance | path

Searched defs:EnumValueDescriptor (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/protobuf/src/reflect/
Denums.rs14 pub struct EnumValueDescriptor { struct
15 proto: &'static EnumValueDescriptorProto, argument
18 impl Copy for EnumValueDescriptor {} implementation
20 impl EnumValueDescriptor { impl
116 pub fn value_by_name<'a>(&'a self, name: &str) -> &'a EnumValueDescriptor { in value_by_name()
123 pub fn value_by_number<'a>(&'a self, number: i32) -> &'a EnumValueDescriptor { in value_by_number()
Dfield.rs121 pub fn get_enum(&self, m: &dyn Message) -> &'static EnumValueDescriptor { in get_enum()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DEnumValueDescriptor.cs41 public sealed class EnumValueDescriptor : DescriptorBase class
46 internal EnumValueDescriptor(EnumValueDescriptorProto proto, FileDescriptor file, in EnumValueDescriptor() method in Google.Protobuf.Reflection.EnumValueDescriptor
/external/starlark-go/lib/proto/
Dproto.go1188 type EnumValueDescriptor struct { struct
1201 func (e EnumValueDescriptor) Type() string { return "proto.EnumValueDescriptor" }
1202 func (e EnumValueDescriptor) Truth() starlark.Bool { return true }
1203 func (e EnumValueDescriptor) Freeze() {} // immutable
1204 func (e EnumValueDescriptor) Hash() (h uint32, err error) { return uint32(e.Desc.Number()), nil }
1205 func (e EnumValueDescriptor) AttrNames() []string {
1208 func (e EnumValueDescriptor) Attr(name string) (starlark.Value, error) {
1222 …EnumValueDescriptor) CompareSameType(op syntax.Token, y_ starlark.Value, depth int) (bool, error) {
/external/protobuf/php/src/Google/Protobuf/
DEnumValueDescriptor.php35 class EnumValueDescriptor class
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.h50 class EnumValueDescriptor; variable
/external/rust/crates/protobuf/src/
Denums.rs19 fn descriptor(&self) -> &'static EnumValueDescriptor { in descriptor()
/external/protobuf/php/src/Google/Protobuf/Internal/
DEnumBuilderContext.php36 use Google\Protobuf\EnumValueDescriptor; alias
DEnumDescriptor.php5 use Google\Protobuf\EnumValueDescriptor; alias
/external/rust/crates/protobuf/src/reflect/acc/
Dv1.rs34 fn get_enum_generic(&self, m: &dyn Message) -> &'static EnumValueDescriptor; in get_enum_generic()
63 fn get_enum(&self, m: &M) -> &'static EnumValueDescriptor; in get_enum()
71 fn get_enum(&self, m: &M) -> &'static EnumValueDescriptor { in get_enum()
84 fn get_enum_item(&self, m: &M, index: usize) -> &'static EnumValueDescriptor; in get_enum_item()
246 fn get_enum_generic(&self, m: &dyn Message) -> &'static EnumValueDescriptor { in get_enum_generic()
/external/protobuf/src/google/protobuf/util/
Dfield_comparator.h48 class EnumValueDescriptor; variable
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py151 class EnumValueDescriptor(messages.Message): class
/external/protobuf/src/google/protobuf/
Ddescriptor.h85 class EnumValueDescriptor; variable
1063 friend class EnumValueDescriptor; variable
1142 EnumValueDescriptor() {} in EnumValueDescriptor() function
1506 friend class EnumValueDescriptor; variable
Ddescriptor.cc6070 EnumValueDescriptor* /* enum_value */, in ValidateEnumValueOptions() argument
/external/protobuf/php/ext/google/protobuf/
Ddef.c340 PHP_METHOD(EnumValueDescriptor, getName) { in PHP_METHOD() argument
345 PHP_METHOD(EnumValueDescriptor, getNumber) { in PHP_METHOD() argument
Dprotobuf.h634 typedef struct EnumValueDescriptor EnumValueDescriptor; typedef
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1774 public static final class EnumValueDescriptor extends GenericDescriptor class in Descriptors
1840 private EnumValueDescriptor( in EnumValueDescriptor() method in Descriptors.EnumValueDescriptor
1858 private EnumValueDescriptor( in EnumValueDescriptor() method in Descriptors.EnumValueDescriptor
/external/protobuf/python/google/protobuf/
Ddescriptor.py673 class EnumValueDescriptor(DescriptorBase): class