Home
last modified time | relevance | path

Searched refs:EnumNumber (Results 1 – 25 of 66) sorted by relevance

123

/external/golang-protobuf/internal/testprotos/benchmarks/datasets/google_message4/
Dbenchmark_message4_3.pb.go69 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 func (x UnusedEnum) Number() protoreflect.EnumNumber {
81 return protoreflect.EnumNumber(x)
143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
154 func (x Enum2593) Number() protoreflect.EnumNumber {
155 return protoreflect.EnumNumber(x)
202 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
213 func (x Enum2834) Number() protoreflect.EnumNumber {
214 return protoreflect.EnumNumber(x)
297 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
[all …]
/external/golang-protobuf/internal/testprotos/benchmarks/datasets/google_message3/
Dbenchmark_message3_8.pb.go69 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 func (x Enum720) Number() protoreflect.EnumNumber {
81 return protoreflect.EnumNumber(x)
671 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
682 func (x Enum3476) Number() protoreflect.EnumNumber {
683 return protoreflect.EnumNumber(x)
757 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
768 func (x Enum3805) Number() protoreflect.EnumNumber {
769 return protoreflect.EnumNumber(x)
867 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
[all …]
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto2/
Denum.pb.go46 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
57 func (x EnumType1) Number() protoreflect.EnumNumber {
58 return protoreflect.EnumNumber(x)
102 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
113 func (x EnumType2) Number() protoreflect.EnumNumber {
114 return protoreflect.EnumNumber(x)
157 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
168 func (x EnumContainerMessage1_NestedEnumType1A) Number() protoreflect.EnumNumber {
169 return protoreflect.EnumNumber(x)
210 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
[all …]
/external/golang-protobuf/cmd/protoc-gen-go/testdata/import_public/sub/
Da.pb.go46 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
57 func (x E) Number() protoreflect.EnumNumber {
58 return protoreflect.EnumNumber(x)
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
110 func (x M_Subenum) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
152 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
163 func (x M_Submessage_Submessage_Subenum) Number() protoreflect.EnumNumber {
164 return protoreflect.EnumNumber(x)
/external/golang-protobuf/internal/testprotos/registry/
Dtest.pb.go42 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
53 func (x Enum1) Number() protoreflect.EnumNumber {
54 return protoreflect.EnumNumber(x)
95 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
106 func (x Enum2) Number() protoreflect.EnumNumber {
107 return protoreflect.EnumNumber(x)
148 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
159 func (x Enum3) Number() protoreflect.EnumNumber {
160 return protoreflect.EnumNumber(x)
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto3/
Denum.pb.go46 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
57 func (x Enum) Number() protoreflect.EnumNumber {
58 return protoreflect.EnumNumber(x)
/external/golang-protobuf/types/known/typepb/
Dtype.pb.go74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
85 func (x Syntax) Number() protoreflect.EnumNumber {
86 return protoreflect.EnumNumber(x)
191 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
202 func (x Field_Kind) Number() protoreflect.EnumNumber {
203 return protoreflect.EnumNumber(x)
248 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
259 func (x Field_Cardinality) Number() protoreflect.EnumNumber {
260 return protoreflect.EnumNumber(x)
/external/golang-protobuf/internal/testprotos/enums/
Denums.pb.go61 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 func (x Enum) Number() protoreflect.EnumNumber {
73 return protoreflect.EnumNumber(x)
/external/golang-protobuf/cmd/protoc-gen-go/testdata/comments/
Ddeprecated.pb.go42 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
53 func (x DeprecatedEnum) Number() protoreflect.EnumNumber {
54 return protoreflect.EnumNumber(x)
/external/golang-protobuf/internal/testprotos/test3/
Dtest_import.pb.go40 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 func (x ImportEnum) Number() protoreflect.EnumNumber {
52 return protoreflect.EnumNumber(x)
/external/golang-protobuf/cmd/protoc-gen-go/testdata/retention/
Dretention.pb.go41 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
52 func (x TopLevelEnum) Number() protoreflect.EnumNumber {
53 return protoreflect.EnumNumber(x)
94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
105 func (x TopLevelMessage_NestedEnum) Number() protoreflect.EnumNumber {
106 return protoreflect.EnumNumber(x)
/external/golang-protobuf/internal/testprotos/test/
Dtest_import.pb.go40 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 func (x ImportEnum) Number() protoreflect.EnumNumber {
52 return protoreflect.EnumNumber(x)
/external/golang-protobuf/cmd/protoc-gen-go/testdata/annotations/
Dannotations.pb.go40 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 func (x AnnotationsTestEnum) Number() protoreflect.EnumNumber {
52 return protoreflect.EnumNumber(x)
/external/golang-protobuf/reflect/protoreflect/
Dvalue_union.go110 case EnumNumber:
171 func ValueOfEnum(v EnumNumber) Value { argument
331 func (v Value) Enum() EnumNumber {
334 return EnumNumber(v.num)
Dtype.go554 New(n EnumNumber) Enum argument
587 Number() EnumNumber
605 ByNumber(n EnumNumber) EnumValueDescriptor argument
Dproto.go400 type EnumNumber int32 type
407 Get(i int) [2]EnumNumber // start inclusive; end inclusive
409 Has(n EnumNumber) bool argument
/external/golang-protobuf/types/descriptorpb/
Ddescriptor.pb.go136 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
147 func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber {
148 return protoreflect.EnumNumber(x)
196 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
207 func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber {
208 return protoreflect.EnumNumber(x)
257 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
268 func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber {
269 return protoreflect.EnumNumber(x)
317 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
[all …]
/external/golang-protobuf/cmd/protoc-gen-go/testdata/nopackage/
Dnopackage.pb.go40 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 func (x Enum) Number() protoreflect.EnumNumber {
52 return protoreflect.EnumNumber(x)
/external/golang-protobuf/internal/impl/
Dlegacy_enum.go38 return et.New(protoreflect.EnumNumber(v.Int()))
70 func (t *legacyEnumType) New(n protoreflect.EnumNumber) protoreflect.Enum {
83 num protoreflect.EnumNumber
94 func (e *legacyEnumWrapper) Number() protoreflect.EnumNumber {
Dlegacy_export.go39 func (Export) UnmarshalJSONEnum(ed protoreflect.EnumDescriptor, b []byte) (protoreflect.EnumNumber,…
51 var num protoreflect.EnumNumber
/external/golang-protobuf/internal/testprotos/conformance/
Dconformance.pb.go78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
89 func (x WireFormat) Number() protoreflect.EnumNumber {
90 return protoreflect.EnumNumber(x)
145 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
156 func (x TestCategory) Number() protoreflect.EnumNumber {
157 return protoreflect.EnumNumber(x)
Dtest_messages_proto3.pb.go85 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
96 func (x ForeignEnum) Number() protoreflect.EnumNumber {
97 return protoreflect.EnumNumber(x)
137 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
148 func (x TestAllTypesProto3_NestedEnum) Number() protoreflect.EnumNumber {
149 return protoreflect.EnumNumber(x)
195 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
206 func (x TestAllTypesProto3_AliasedEnum) Number() protoreflect.EnumNumber {
207 return protoreflect.EnumNumber(x)
241 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
[all …]
/external/golang-protobuf/cmd/protoc-gen-go/testdata/imports/test_a_1/
Dm1.pb.go40 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 func (x E1) Number() protoreflect.EnumNumber {
52 return protoreflect.EnumNumber(x)
/external/golang-protobuf/internal/filedesc/
Ddesc_list.go69 List [][2]protoreflect.EnumNumber // start inclusive; end inclusive
71 sorted [][2]protoreflect.EnumNumber // protected by once
75 func (p *EnumRanges) Get(i int) [2]protoreflect.EnumNumber { return p.List[i] }
76 func (p *EnumRanges) Has(n protoreflect.EnumNumber) bool {
119 type enumRange [2]protoreflect.EnumNumber
121 func (r enumRange) Start() protoreflect.EnumNumber { return r[0] } // inclusive
122 func (r enumRange) End() protoreflect.EnumNumber { return r[1] } // inclusive
/external/golang-protobuf/internal/testprotos/news/
Dnews.pb.go48 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
59 func (x Article_Status) Number() protoreflect.EnumNumber {
60 return protoreflect.EnumNumber(x)

123