blob: ca359dd1a1bd59c45406691215ed1079e0db6a39 [file] [log] [blame]
Damien Neil46abb572018-09-07 12:45:37 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: proto2/enum.proto
3
4package proto2
5
Damien Neil1ec33152018-09-13 13:12:36 -07006import (
Joe Tsaib6405bd2018-11-15 14:44:37 -08007 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
Joe Tsai35ec98f2019-03-25 14:41:32 -07008 protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
Joe Tsaib6405bd2018-11-15 14:44:37 -08009 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070010 sync "sync"
Damien Neil1ec33152018-09-13 13:12:36 -070011)
12
Joe Tsai5d72cc22019-03-28 01:13:26 -070013const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
14
Damien Neil46abb572018-09-07 12:45:37 -070015// EnumType1 comment.
16type EnumType1 int32
17
18const (
19 // EnumType1_ONE comment.
20 EnumType1_ONE EnumType1 = 1
21 // EnumType1_TWO comment.
22 EnumType1_TWO EnumType1 = 2
23)
24
Joe Tsai8e506a82019-03-16 00:05:34 -070025// Deprecated: Use EnumType1.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070026var EnumType1_name = map[int32]string{
27 1: "ONE",
28 2: "TWO",
29}
30
Joe Tsai8e506a82019-03-16 00:05:34 -070031// Deprecated: Use EnumType1.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070032var EnumType1_value = map[string]int32{
33 "ONE": 1,
34 "TWO": 2,
35}
36
37func (x EnumType1) Enum() *EnumType1 {
Joe Tsai8e506a82019-03-16 00:05:34 -070038 return &x
Damien Neil46abb572018-09-07 12:45:37 -070039}
40
41func (x EnumType1) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070042 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -070043}
44
Joe Tsai61968ce2019-04-01 12:59:24 -070045func (EnumType1) Type() protoreflect.EnumType {
46 return xxx_File_proto2_enum_proto_enumTypes[0]
47}
48
49func (x EnumType1) Number() protoreflect.EnumNumber {
50 return protoreflect.EnumNumber(x)
51}
52
Joe Tsai8e506a82019-03-16 00:05:34 -070053// Deprecated: Do not use.
54func (x *EnumType1) UnmarshalJSON(b []byte) error {
55 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -070056 if err != nil {
57 return err
58 }
Joe Tsai8e506a82019-03-16 00:05:34 -070059 *x = EnumType1(num)
Damien Neil46abb572018-09-07 12:45:37 -070060 return nil
61}
62
Joe Tsai8e506a82019-03-16 00:05:34 -070063// Deprecated: Use EnumType1.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -070064func (EnumType1) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -070065 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0}
Damien Neil46abb572018-09-07 12:45:37 -070066}
67
68type EnumType2 int32
69
70const (
71 EnumType2_duplicate1 EnumType2 = 1
72 EnumType2_duplicate2 EnumType2 = 1
73)
74
Joe Tsai8e506a82019-03-16 00:05:34 -070075// Deprecated: Use EnumType2.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070076var EnumType2_name = map[int32]string{
77 1: "duplicate1",
78 // Duplicate value: 1: "duplicate2",
79}
80
Joe Tsai8e506a82019-03-16 00:05:34 -070081// Deprecated: Use EnumType2.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070082var EnumType2_value = map[string]int32{
83 "duplicate1": 1,
84 "duplicate2": 1,
85}
86
87func (x EnumType2) Enum() *EnumType2 {
Joe Tsai8e506a82019-03-16 00:05:34 -070088 return &x
Damien Neil46abb572018-09-07 12:45:37 -070089}
90
91func (x EnumType2) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070092 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -070093}
94
Joe Tsai61968ce2019-04-01 12:59:24 -070095func (EnumType2) Type() protoreflect.EnumType {
96 return xxx_File_proto2_enum_proto_enumTypes[1]
97}
98
99func (x EnumType2) Number() protoreflect.EnumNumber {
100 return protoreflect.EnumNumber(x)
101}
102
Joe Tsai8e506a82019-03-16 00:05:34 -0700103// Deprecated: Do not use.
104func (x *EnumType2) UnmarshalJSON(b []byte) error {
105 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700106 if err != nil {
107 return err
108 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700109 *x = EnumType2(num)
Damien Neil46abb572018-09-07 12:45:37 -0700110 return nil
111}
112
Joe Tsai8e506a82019-03-16 00:05:34 -0700113// Deprecated: Use EnumType2.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700114func (EnumType2) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700115 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{1}
Damien Neil46abb572018-09-07 12:45:37 -0700116}
117
118// NestedEnumType1A comment.
119type EnumContainerMessage1_NestedEnumType1A int32
120
121const (
122 // NestedEnumType1A_VALUE comment.
123 EnumContainerMessage1_NESTED_1A_VALUE EnumContainerMessage1_NestedEnumType1A = 0
124)
125
Joe Tsai8e506a82019-03-16 00:05:34 -0700126// Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700127var EnumContainerMessage1_NestedEnumType1A_name = map[int32]string{
128 0: "NESTED_1A_VALUE",
129}
130
Joe Tsai8e506a82019-03-16 00:05:34 -0700131// Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700132var EnumContainerMessage1_NestedEnumType1A_value = map[string]int32{
133 "NESTED_1A_VALUE": 0,
134}
135
136func (x EnumContainerMessage1_NestedEnumType1A) Enum() *EnumContainerMessage1_NestedEnumType1A {
Joe Tsai8e506a82019-03-16 00:05:34 -0700137 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700138}
139
140func (x EnumContainerMessage1_NestedEnumType1A) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700141 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700142}
143
Joe Tsai61968ce2019-04-01 12:59:24 -0700144func (EnumContainerMessage1_NestedEnumType1A) Type() protoreflect.EnumType {
145 return xxx_File_proto2_enum_proto_enumTypes[2]
146}
147
148func (x EnumContainerMessage1_NestedEnumType1A) Number() protoreflect.EnumNumber {
149 return protoreflect.EnumNumber(x)
150}
151
Joe Tsai8e506a82019-03-16 00:05:34 -0700152// Deprecated: Do not use.
153func (x *EnumContainerMessage1_NestedEnumType1A) UnmarshalJSON(b []byte) error {
154 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700155 if err != nil {
156 return err
157 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700158 *x = EnumContainerMessage1_NestedEnumType1A(num)
Damien Neil46abb572018-09-07 12:45:37 -0700159 return nil
160}
161
Joe Tsai8e506a82019-03-16 00:05:34 -0700162// Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700163func (EnumContainerMessage1_NestedEnumType1A) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700164 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0}
Damien Neil46abb572018-09-07 12:45:37 -0700165}
166
167type EnumContainerMessage1_NestedEnumType1B int32
168
169const (
170 EnumContainerMessage1_NESTED_1B_VALUE EnumContainerMessage1_NestedEnumType1B = 0
171)
172
Joe Tsai8e506a82019-03-16 00:05:34 -0700173// Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700174var EnumContainerMessage1_NestedEnumType1B_name = map[int32]string{
175 0: "NESTED_1B_VALUE",
176}
177
Joe Tsai8e506a82019-03-16 00:05:34 -0700178// Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700179var EnumContainerMessage1_NestedEnumType1B_value = map[string]int32{
180 "NESTED_1B_VALUE": 0,
181}
182
183func (x EnumContainerMessage1_NestedEnumType1B) Enum() *EnumContainerMessage1_NestedEnumType1B {
Joe Tsai8e506a82019-03-16 00:05:34 -0700184 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700185}
186
187func (x EnumContainerMessage1_NestedEnumType1B) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700188 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700189}
190
Joe Tsai61968ce2019-04-01 12:59:24 -0700191func (EnumContainerMessage1_NestedEnumType1B) Type() protoreflect.EnumType {
192 return xxx_File_proto2_enum_proto_enumTypes[3]
193}
194
195func (x EnumContainerMessage1_NestedEnumType1B) Number() protoreflect.EnumNumber {
196 return protoreflect.EnumNumber(x)
197}
198
Joe Tsai8e506a82019-03-16 00:05:34 -0700199// Deprecated: Do not use.
200func (x *EnumContainerMessage1_NestedEnumType1B) UnmarshalJSON(b []byte) error {
201 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700202 if err != nil {
203 return err
204 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700205 *x = EnumContainerMessage1_NestedEnumType1B(num)
Damien Neil46abb572018-09-07 12:45:37 -0700206 return nil
207}
208
Joe Tsai8e506a82019-03-16 00:05:34 -0700209// Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700210func (EnumContainerMessage1_NestedEnumType1B) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700211 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 1}
Damien Neil46abb572018-09-07 12:45:37 -0700212}
213
Damien Neil46abb572018-09-07 12:45:37 -0700214// NestedEnumType2A comment.
215type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A int32
216
217const (
218 // NestedEnumType2A_VALUE comment.
219 EnumContainerMessage1_EnumContainerMessage2_NESTED_2A_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A = 0
220)
221
Joe Tsai8e506a82019-03-16 00:05:34 -0700222// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700223var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A_name = map[int32]string{
224 0: "NESTED_2A_VALUE",
225}
226
Joe Tsai8e506a82019-03-16 00:05:34 -0700227// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700228var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A_value = map[string]int32{
229 "NESTED_2A_VALUE": 0,
230}
231
232func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A {
Joe Tsai8e506a82019-03-16 00:05:34 -0700233 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700234}
235
236func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700237 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700238}
239
Joe Tsai61968ce2019-04-01 12:59:24 -0700240func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Type() protoreflect.EnumType {
241 return xxx_File_proto2_enum_proto_enumTypes[4]
242}
243
244func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Number() protoreflect.EnumNumber {
245 return protoreflect.EnumNumber(x)
246}
247
Joe Tsai8e506a82019-03-16 00:05:34 -0700248// Deprecated: Do not use.
249func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) UnmarshalJSON(b []byte) error {
250 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700251 if err != nil {
252 return err
253 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700254 *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A(num)
Damien Neil46abb572018-09-07 12:45:37 -0700255 return nil
256}
257
Joe Tsai8e506a82019-03-16 00:05:34 -0700258// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700259func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700260 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0, 0}
Damien Neil46abb572018-09-07 12:45:37 -0700261}
262
263type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B int32
264
265const (
266 EnumContainerMessage1_EnumContainerMessage2_NESTED_2B_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B = 0
267)
268
Joe Tsai8e506a82019-03-16 00:05:34 -0700269// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700270var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_name = map[int32]string{
271 0: "NESTED_2B_VALUE",
272}
273
Joe Tsai8e506a82019-03-16 00:05:34 -0700274// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700275var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_value = map[string]int32{
276 "NESTED_2B_VALUE": 0,
277}
278
279func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B {
Joe Tsai8e506a82019-03-16 00:05:34 -0700280 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700281}
282
283func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700284 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700285}
286
Joe Tsai61968ce2019-04-01 12:59:24 -0700287func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Type() protoreflect.EnumType {
288 return xxx_File_proto2_enum_proto_enumTypes[5]
289}
290
291func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Number() protoreflect.EnumNumber {
292 return protoreflect.EnumNumber(x)
293}
294
Joe Tsai8e506a82019-03-16 00:05:34 -0700295// Deprecated: Do not use.
296func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) UnmarshalJSON(b []byte) error {
297 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700298 if err != nil {
299 return err
300 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700301 *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B(num)
Damien Neil46abb572018-09-07 12:45:37 -0700302 return nil
303}
304
Joe Tsai8e506a82019-03-16 00:05:34 -0700305// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700306func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700307 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0, 1}
Damien Neil46abb572018-09-07 12:45:37 -0700308}
309
Damien Neilce36f8d2018-09-13 15:19:08 -0700310type EnumContainerMessage1 struct {
Damien Neila485fbd2018-10-26 13:28:37 -0700311 DefaultDuplicate1 *EnumType2 `protobuf:"varint,1,opt,name=default_duplicate1,json=defaultDuplicate1,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate1,omitempty"`
312 DefaultDuplicate2 *EnumType2 `protobuf:"varint,2,opt,name=default_duplicate2,json=defaultDuplicate2,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate2,omitempty"`
313 XXX_NoUnkeyedLiteral struct{} `json:"-"`
314 XXX_unrecognized []byte `json:"-"`
315 XXX_sizecache int32 `json:"-"`
Damien Neilce36f8d2018-09-13 15:19:08 -0700316}
317
Joe Tsai61968ce2019-04-01 12:59:24 -0700318func (x *EnumContainerMessage1) Reset() {
319 *x = EnumContainerMessage1{}
Joe Tsaib6405bd2018-11-15 14:44:37 -0800320}
Joe Tsai61968ce2019-04-01 12:59:24 -0700321
322func (x *EnumContainerMessage1) String() string {
323 return protoimpl.X.MessageStringOf(x)
324}
325
326func (*EnumContainerMessage1) ProtoMessage() {}
327
328func (x *EnumContainerMessage1) ProtoReflect() protoreflect.Message {
329 return xxx_File_proto2_enum_proto_messageTypes[0].MessageOf(x)
330}
Joe Tsai8e506a82019-03-16 00:05:34 -0700331
332// Deprecated: Use EnumContainerMessage1.ProtoReflect.Type instead.
Damien Neilce36f8d2018-09-13 15:19:08 -0700333func (*EnumContainerMessage1) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700334 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0}
Damien Neilce36f8d2018-09-13 15:19:08 -0700335}
Damien Neil993c04d2018-09-14 15:41:11 -0700336
Damien Neila485fbd2018-10-26 13:28:37 -0700337const Default_EnumContainerMessage1_DefaultDuplicate1 EnumType2 = EnumType2_duplicate1
338const Default_EnumContainerMessage1_DefaultDuplicate2 EnumType2 = EnumType2_duplicate2
339
Joe Tsai61968ce2019-04-01 12:59:24 -0700340func (x *EnumContainerMessage1) GetDefaultDuplicate1() EnumType2 {
341 if x != nil && x.DefaultDuplicate1 != nil {
342 return *x.DefaultDuplicate1
Damien Neila485fbd2018-10-26 13:28:37 -0700343 }
344 return Default_EnumContainerMessage1_DefaultDuplicate1
345}
346
Joe Tsai61968ce2019-04-01 12:59:24 -0700347func (x *EnumContainerMessage1) GetDefaultDuplicate2() EnumType2 {
348 if x != nil && x.DefaultDuplicate2 != nil {
349 return *x.DefaultDuplicate2
Damien Neila485fbd2018-10-26 13:28:37 -0700350 }
351 return Default_EnumContainerMessage1_DefaultDuplicate2
352}
353
Damien Neil46abb572018-09-07 12:45:37 -0700354type EnumContainerMessage1_EnumContainerMessage2 struct {
Damien Neil658051b2018-09-10 12:26:21 -0700355 XXX_NoUnkeyedLiteral struct{} `json:"-"`
356 XXX_unrecognized []byte `json:"-"`
357 XXX_sizecache int32 `json:"-"`
Damien Neil46abb572018-09-07 12:45:37 -0700358}
359
Joe Tsai61968ce2019-04-01 12:59:24 -0700360func (x *EnumContainerMessage1_EnumContainerMessage2) Reset() {
361 *x = EnumContainerMessage1_EnumContainerMessage2{}
Joe Tsaib6405bd2018-11-15 14:44:37 -0800362}
Joe Tsai61968ce2019-04-01 12:59:24 -0700363
364func (x *EnumContainerMessage1_EnumContainerMessage2) String() string {
365 return protoimpl.X.MessageStringOf(x)
Damien Neila1c6abc2018-09-12 13:36:34 -0700366}
Joe Tsai61968ce2019-04-01 12:59:24 -0700367
Damien Neila1c6abc2018-09-12 13:36:34 -0700368func (*EnumContainerMessage1_EnumContainerMessage2) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700369
Joe Tsai61968ce2019-04-01 12:59:24 -0700370func (x *EnumContainerMessage1_EnumContainerMessage2) ProtoReflect() protoreflect.Message {
371 return xxx_File_proto2_enum_proto_messageTypes[1].MessageOf(x)
372}
373
Joe Tsai8e506a82019-03-16 00:05:34 -0700374// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2.ProtoReflect.Type instead.
Damien Neila1c6abc2018-09-12 13:36:34 -0700375func (*EnumContainerMessage1_EnumContainerMessage2) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700376 return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0}
Damien Neila1c6abc2018-09-12 13:36:34 -0700377}
Damien Neil993c04d2018-09-14 15:41:11 -0700378
Joe Tsai5d72cc22019-03-28 01:13:26 -0700379var File_proto2_enum_proto protoreflect.FileDescriptor
380
381var xxx_File_proto2_enum_proto_rawDesc = []byte{
Damien Neil8012b442019-01-18 09:32:24 -0800382 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72,
383 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
384 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x22, 0x8e, 0x03, 0x0a, 0x15, 0x45,
385 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73,
386 0x61, 0x67, 0x65, 0x31, 0x12, 0x5b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
387 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
388 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
389 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70,
390 0x65, 0x32, 0x3a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x31, 0x52, 0x11,
391 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65,
392 0x31, 0x12, 0x5b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x75, 0x70,
393 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,
394 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70,
395 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x3a,
396 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x52, 0x11, 0x64, 0x65, 0x66,
397 0x61, 0x75, 0x6c, 0x74, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x1a, 0x69,
398 0x0a, 0x15, 0x45, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d,
399 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65,
400 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x41, 0x12, 0x13, 0x0a, 0x0f, 0x4e,
401 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x32, 0x41, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00,
402 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79,
403 0x70, 0x65, 0x32, 0x42, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x32,
404 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73,
405 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x31, 0x41, 0x12, 0x13, 0x0a,
406 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x31, 0x41, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45,
407 0x10, 0x00, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
408 0x54, 0x79, 0x70, 0x65, 0x31, 0x42, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44,
409 0x5f, 0x31, 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x2a, 0x1d, 0x0a, 0x09, 0x45,
410 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10,
411 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x2a, 0x51, 0x0a, 0x09, 0x45, 0x6e,
412 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x12, 0x0e, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69,
413 0x63, 0x61, 0x74, 0x65, 0x31, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69,
414 0x63, 0x61, 0x74, 0x65, 0x32, 0x10, 0x01, 0x1a, 0x02, 0x10, 0x01, 0x22, 0x04, 0x08, 0x02, 0x10,
415 0x02, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x2a, 0x09, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45,
416 0x44, 0x31, 0x2a, 0x09, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x32, 0x42, 0x41, 0x5a,
417 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61,
418 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x63,
419 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f,
420 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32,
Damien Neil46abb572018-09-07 12:45:37 -0700421}
Joe Tsaib6405bd2018-11-15 14:44:37 -0800422
Joe Tsai5d72cc22019-03-28 01:13:26 -0700423var (
424 xxx_File_proto2_enum_proto_rawDesc_once sync.Once
425 xxx_File_proto2_enum_proto_rawDesc_data = xxx_File_proto2_enum_proto_rawDesc
426)
Joe Tsaib6405bd2018-11-15 14:44:37 -0800427
Joe Tsai5d72cc22019-03-28 01:13:26 -0700428func xxx_File_proto2_enum_proto_rawDescGZIP() []byte {
429 xxx_File_proto2_enum_proto_rawDesc_once.Do(func() {
430 xxx_File_proto2_enum_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_proto2_enum_proto_rawDesc_data)
431 })
432 return xxx_File_proto2_enum_proto_rawDesc_data
433}
Joe Tsaib6405bd2018-11-15 14:44:37 -0800434
Damien Neil6bb8dec2019-03-01 13:22:30 -0800435var xxx_File_proto2_enum_proto_enumTypes = make([]protoreflect.EnumType, 6)
436var xxx_File_proto2_enum_proto_messageTypes = make([]protoimpl.MessageType, 2)
Joe Tsai40692112019-02-27 20:25:51 -0800437var xxx_File_proto2_enum_proto_goTypes = []interface{}{
Damien Neil8012b442019-01-18 09:32:24 -0800438 (EnumType1)(0), // 0: goproto.protoc.proto2.EnumType1
439 (EnumType2)(0), // 1: goproto.protoc.proto2.EnumType2
440 (EnumContainerMessage1_NestedEnumType1A)(0), // 2: goproto.protoc.proto2.EnumContainerMessage1.NestedEnumType1A
441 (EnumContainerMessage1_NestedEnumType1B)(0), // 3: goproto.protoc.proto2.EnumContainerMessage1.NestedEnumType1B
442 (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A)(0), // 4: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2.NestedEnumType2A
443 (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B)(0), // 5: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2.NestedEnumType2B
444 (*EnumContainerMessage1)(nil), // 6: goproto.protoc.proto2.EnumContainerMessage1
445 (*EnumContainerMessage1_EnumContainerMessage2)(nil), // 7: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2
Joe Tsaib6405bd2018-11-15 14:44:37 -0800446}
Joe Tsai40692112019-02-27 20:25:51 -0800447var xxx_File_proto2_enum_proto_depIdxs = []int32{
Damien Neil8012b442019-01-18 09:32:24 -0800448 1, // goproto.protoc.proto2.EnumContainerMessage1.default_duplicate1:type_name -> goproto.protoc.proto2.EnumType2
449 1, // goproto.protoc.proto2.EnumContainerMessage1.default_duplicate2:type_name -> goproto.protoc.proto2.EnumType2
Joe Tsaib6405bd2018-11-15 14:44:37 -0800450}
Damien Neil8012b442019-01-18 09:32:24 -0800451
Damien Neil0fc22452019-03-08 17:18:11 -0800452func init() { xxx_File_proto2_enum_proto_init() }
453func xxx_File_proto2_enum_proto_init() {
454 if File_proto2_enum_proto != nil {
455 return
456 }
Joe Tsai40692112019-02-27 20:25:51 -0800457 File_proto2_enum_proto = protoimpl.FileBuilder{
Joe Tsai5d72cc22019-03-28 01:13:26 -0700458 RawDescriptor: xxx_File_proto2_enum_proto_rawDesc,
Joe Tsai40692112019-02-27 20:25:51 -0800459 GoTypes: xxx_File_proto2_enum_proto_goTypes,
460 DependencyIndexes: xxx_File_proto2_enum_proto_depIdxs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800461 EnumOutputTypes: xxx_File_proto2_enum_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700462 MessageOutputTypes: xxx_File_proto2_enum_proto_messageTypes,
463 FilesRegistry: protoregistry.GlobalFiles,
464 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil8012b442019-01-18 09:32:24 -0800465 }.Init()
Joe Tsai5d72cc22019-03-28 01:13:26 -0700466 xxx_File_proto2_enum_proto_rawDesc = nil
Joe Tsai40692112019-02-27 20:25:51 -0800467 xxx_File_proto2_enum_proto_goTypes = nil
468 xxx_File_proto2_enum_proto_depIdxs = nil
Joe Tsaib6405bd2018-11-15 14:44:37 -0800469}