blob: 72a9bfc323d52643fdcc41c11c48cd9888bdcc69 [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"
Damien Neil1ec33152018-09-13 13:12:36 -070010)
11
Damien Neil46abb572018-09-07 12:45:37 -070012// EnumType1 comment.
13type EnumType1 int32
14
15const (
16 // EnumType1_ONE comment.
17 EnumType1_ONE EnumType1 = 1
18 // EnumType1_TWO comment.
19 EnumType1_TWO EnumType1 = 2
20)
21
Damien Neila8593ba2019-01-08 16:18:07 -080022func (e EnumType1) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -080023 return xxx_File_proto2_enum_proto_enumTypes[0]
Joe Tsaib6405bd2018-11-15 14:44:37 -080024}
Damien Neila8593ba2019-01-08 16:18:07 -080025func (e EnumType1) Number() protoreflect.EnumNumber {
Joe Tsaib6405bd2018-11-15 14:44:37 -080026 return protoreflect.EnumNumber(e)
27}
28
Joe Tsai8e506a82019-03-16 00:05:34 -070029// Deprecated: Use EnumType1.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070030var EnumType1_name = map[int32]string{
31 1: "ONE",
32 2: "TWO",
33}
34
Joe Tsai8e506a82019-03-16 00:05:34 -070035// Deprecated: Use EnumType1.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070036var EnumType1_value = map[string]int32{
37 "ONE": 1,
38 "TWO": 2,
39}
40
41func (x EnumType1) Enum() *EnumType1 {
Joe Tsai8e506a82019-03-16 00:05:34 -070042 return &x
Damien Neil46abb572018-09-07 12:45:37 -070043}
44
45func (x EnumType1) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070046 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -070047}
48
Joe Tsai8e506a82019-03-16 00:05:34 -070049// Deprecated: Do not use.
50func (x *EnumType1) UnmarshalJSON(b []byte) error {
51 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -070052 if err != nil {
53 return err
54 }
Joe Tsai8e506a82019-03-16 00:05:34 -070055 *x = EnumType1(num)
Damien Neil46abb572018-09-07 12:45:37 -070056 return nil
57}
58
Joe Tsai8e506a82019-03-16 00:05:34 -070059// Deprecated: Use EnumType1.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -070060func (EnumType1) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -080061 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0}
Damien Neil46abb572018-09-07 12:45:37 -070062}
63
64type EnumType2 int32
65
66const (
67 EnumType2_duplicate1 EnumType2 = 1
68 EnumType2_duplicate2 EnumType2 = 1
69)
70
Damien Neila8593ba2019-01-08 16:18:07 -080071func (e EnumType2) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -080072 return xxx_File_proto2_enum_proto_enumTypes[1]
Joe Tsaib6405bd2018-11-15 14:44:37 -080073}
Damien Neila8593ba2019-01-08 16:18:07 -080074func (e EnumType2) Number() protoreflect.EnumNumber {
Joe Tsaib6405bd2018-11-15 14:44:37 -080075 return protoreflect.EnumNumber(e)
76}
77
Joe Tsai8e506a82019-03-16 00:05:34 -070078// Deprecated: Use EnumType2.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070079var EnumType2_name = map[int32]string{
80 1: "duplicate1",
81 // Duplicate value: 1: "duplicate2",
82}
83
Joe Tsai8e506a82019-03-16 00:05:34 -070084// Deprecated: Use EnumType2.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -070085var EnumType2_value = map[string]int32{
86 "duplicate1": 1,
87 "duplicate2": 1,
88}
89
90func (x EnumType2) Enum() *EnumType2 {
Joe Tsai8e506a82019-03-16 00:05:34 -070091 return &x
Damien Neil46abb572018-09-07 12:45:37 -070092}
93
94func (x EnumType2) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070095 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -070096}
97
Joe Tsai8e506a82019-03-16 00:05:34 -070098// Deprecated: Do not use.
99func (x *EnumType2) UnmarshalJSON(b []byte) error {
100 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700101 if err != nil {
102 return err
103 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700104 *x = EnumType2(num)
Damien Neil46abb572018-09-07 12:45:37 -0700105 return nil
106}
107
Joe Tsai8e506a82019-03-16 00:05:34 -0700108// Deprecated: Use EnumType2.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700109func (EnumType2) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800110 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{1}
Damien Neil46abb572018-09-07 12:45:37 -0700111}
112
113// NestedEnumType1A comment.
114type EnumContainerMessage1_NestedEnumType1A int32
115
116const (
117 // NestedEnumType1A_VALUE comment.
118 EnumContainerMessage1_NESTED_1A_VALUE EnumContainerMessage1_NestedEnumType1A = 0
119)
120
Damien Neila8593ba2019-01-08 16:18:07 -0800121func (e EnumContainerMessage1_NestedEnumType1A) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -0800122 return xxx_File_proto2_enum_proto_enumTypes[2]
Joe Tsaib6405bd2018-11-15 14:44:37 -0800123}
Damien Neila8593ba2019-01-08 16:18:07 -0800124func (e EnumContainerMessage1_NestedEnumType1A) Number() protoreflect.EnumNumber {
Joe Tsaib6405bd2018-11-15 14:44:37 -0800125 return protoreflect.EnumNumber(e)
126}
127
Joe Tsai8e506a82019-03-16 00:05:34 -0700128// Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700129var EnumContainerMessage1_NestedEnumType1A_name = map[int32]string{
130 0: "NESTED_1A_VALUE",
131}
132
Joe Tsai8e506a82019-03-16 00:05:34 -0700133// Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700134var EnumContainerMessage1_NestedEnumType1A_value = map[string]int32{
135 "NESTED_1A_VALUE": 0,
136}
137
138func (x EnumContainerMessage1_NestedEnumType1A) Enum() *EnumContainerMessage1_NestedEnumType1A {
Joe Tsai8e506a82019-03-16 00:05:34 -0700139 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700140}
141
142func (x EnumContainerMessage1_NestedEnumType1A) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700143 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700144}
145
Joe Tsai8e506a82019-03-16 00:05:34 -0700146// Deprecated: Do not use.
147func (x *EnumContainerMessage1_NestedEnumType1A) UnmarshalJSON(b []byte) error {
148 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700149 if err != nil {
150 return err
151 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700152 *x = EnumContainerMessage1_NestedEnumType1A(num)
Damien Neil46abb572018-09-07 12:45:37 -0700153 return nil
154}
155
Joe Tsai8e506a82019-03-16 00:05:34 -0700156// Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700157func (EnumContainerMessage1_NestedEnumType1A) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800158 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0, 0}
Damien Neil46abb572018-09-07 12:45:37 -0700159}
160
161type EnumContainerMessage1_NestedEnumType1B int32
162
163const (
164 EnumContainerMessage1_NESTED_1B_VALUE EnumContainerMessage1_NestedEnumType1B = 0
165)
166
Damien Neila8593ba2019-01-08 16:18:07 -0800167func (e EnumContainerMessage1_NestedEnumType1B) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -0800168 return xxx_File_proto2_enum_proto_enumTypes[3]
Joe Tsaib6405bd2018-11-15 14:44:37 -0800169}
Damien Neila8593ba2019-01-08 16:18:07 -0800170func (e EnumContainerMessage1_NestedEnumType1B) Number() protoreflect.EnumNumber {
Joe Tsaib6405bd2018-11-15 14:44:37 -0800171 return protoreflect.EnumNumber(e)
172}
173
Joe Tsai8e506a82019-03-16 00:05:34 -0700174// Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700175var EnumContainerMessage1_NestedEnumType1B_name = map[int32]string{
176 0: "NESTED_1B_VALUE",
177}
178
Joe Tsai8e506a82019-03-16 00:05:34 -0700179// Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700180var EnumContainerMessage1_NestedEnumType1B_value = map[string]int32{
181 "NESTED_1B_VALUE": 0,
182}
183
184func (x EnumContainerMessage1_NestedEnumType1B) Enum() *EnumContainerMessage1_NestedEnumType1B {
Joe Tsai8e506a82019-03-16 00:05:34 -0700185 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700186}
187
188func (x EnumContainerMessage1_NestedEnumType1B) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700189 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700190}
191
Joe Tsai8e506a82019-03-16 00:05:34 -0700192// Deprecated: Do not use.
193func (x *EnumContainerMessage1_NestedEnumType1B) UnmarshalJSON(b []byte) error {
194 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700195 if err != nil {
196 return err
197 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700198 *x = EnumContainerMessage1_NestedEnumType1B(num)
Damien Neil46abb572018-09-07 12:45:37 -0700199 return nil
200}
201
Joe Tsai8e506a82019-03-16 00:05:34 -0700202// Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700203func (EnumContainerMessage1_NestedEnumType1B) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800204 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0, 1}
Damien Neil46abb572018-09-07 12:45:37 -0700205}
206
Damien Neil46abb572018-09-07 12:45:37 -0700207// NestedEnumType2A comment.
208type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A int32
209
210const (
211 // NestedEnumType2A_VALUE comment.
212 EnumContainerMessage1_EnumContainerMessage2_NESTED_2A_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A = 0
213)
214
Damien Neila8593ba2019-01-08 16:18:07 -0800215func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -0800216 return xxx_File_proto2_enum_proto_enumTypes[4]
Joe Tsaib6405bd2018-11-15 14:44:37 -0800217}
Damien Neila8593ba2019-01-08 16:18:07 -0800218func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Number() protoreflect.EnumNumber {
Joe Tsaib6405bd2018-11-15 14:44:37 -0800219 return protoreflect.EnumNumber(e)
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 Tsai8e506a82019-03-16 00:05:34 -0700240// Deprecated: Do not use.
241func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) UnmarshalJSON(b []byte) error {
242 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700243 if err != nil {
244 return err
245 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700246 *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A(num)
Damien Neil46abb572018-09-07 12:45:37 -0700247 return nil
248}
249
Joe Tsai8e506a82019-03-16 00:05:34 -0700250// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700251func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800252 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0, 0, 0}
Damien Neil46abb572018-09-07 12:45:37 -0700253}
254
255type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B int32
256
257const (
258 EnumContainerMessage1_EnumContainerMessage2_NESTED_2B_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B = 0
259)
260
Damien Neila8593ba2019-01-08 16:18:07 -0800261func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -0800262 return xxx_File_proto2_enum_proto_enumTypes[5]
Joe Tsaib6405bd2018-11-15 14:44:37 -0800263}
Damien Neila8593ba2019-01-08 16:18:07 -0800264func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Number() protoreflect.EnumNumber {
Joe Tsaib6405bd2018-11-15 14:44:37 -0800265 return protoreflect.EnumNumber(e)
266}
267
Joe Tsai8e506a82019-03-16 00:05:34 -0700268// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700269var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_name = map[int32]string{
270 0: "NESTED_2B_VALUE",
271}
272
Joe Tsai8e506a82019-03-16 00:05:34 -0700273// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead.
Damien Neil46abb572018-09-07 12:45:37 -0700274var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_value = map[string]int32{
275 "NESTED_2B_VALUE": 0,
276}
277
278func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B {
Joe Tsai8e506a82019-03-16 00:05:34 -0700279 return &x
Damien Neil46abb572018-09-07 12:45:37 -0700280}
281
282func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700283 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Damien Neil46abb572018-09-07 12:45:37 -0700284}
285
Joe Tsai8e506a82019-03-16 00:05:34 -0700286// Deprecated: Do not use.
287func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) UnmarshalJSON(b []byte) error {
288 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Damien Neil46abb572018-09-07 12:45:37 -0700289 if err != nil {
290 return err
291 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700292 *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B(num)
Damien Neil46abb572018-09-07 12:45:37 -0700293 return nil
294}
295
Joe Tsai8e506a82019-03-16 00:05:34 -0700296// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type instead.
Damien Neil46abb572018-09-07 12:45:37 -0700297func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800298 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0, 0, 1}
Damien Neil46abb572018-09-07 12:45:37 -0700299}
300
Damien Neilce36f8d2018-09-13 15:19:08 -0700301type EnumContainerMessage1 struct {
Damien Neila485fbd2018-10-26 13:28:37 -0700302 DefaultDuplicate1 *EnumType2 `protobuf:"varint,1,opt,name=default_duplicate1,json=defaultDuplicate1,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate1,omitempty"`
303 DefaultDuplicate2 *EnumType2 `protobuf:"varint,2,opt,name=default_duplicate2,json=defaultDuplicate2,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate2,omitempty"`
304 XXX_NoUnkeyedLiteral struct{} `json:"-"`
305 XXX_unrecognized []byte `json:"-"`
306 XXX_sizecache int32 `json:"-"`
Damien Neilce36f8d2018-09-13 15:19:08 -0700307}
308
Joe Tsaib6405bd2018-11-15 14:44:37 -0800309func (m *EnumContainerMessage1) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800310 return xxx_File_proto2_enum_proto_messageTypes[0].MessageOf(m)
Joe Tsaib6405bd2018-11-15 14:44:37 -0800311}
Damien Neilce36f8d2018-09-13 15:19:08 -0700312func (m *EnumContainerMessage1) Reset() { *m = EnumContainerMessage1{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700313func (m *EnumContainerMessage1) String() string { return protoimpl.X.MessageStringOf(m) }
Damien Neilce36f8d2018-09-13 15:19:08 -0700314func (*EnumContainerMessage1) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700315
316// Deprecated: Use EnumContainerMessage1.ProtoReflect.Type instead.
Damien Neilce36f8d2018-09-13 15:19:08 -0700317func (*EnumContainerMessage1) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800318 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0}
Damien Neilce36f8d2018-09-13 15:19:08 -0700319}
Damien Neil993c04d2018-09-14 15:41:11 -0700320
Damien Neila485fbd2018-10-26 13:28:37 -0700321const Default_EnumContainerMessage1_DefaultDuplicate1 EnumType2 = EnumType2_duplicate1
322const Default_EnumContainerMessage1_DefaultDuplicate2 EnumType2 = EnumType2_duplicate2
323
324func (m *EnumContainerMessage1) GetDefaultDuplicate1() EnumType2 {
325 if m != nil && m.DefaultDuplicate1 != nil {
326 return *m.DefaultDuplicate1
327 }
328 return Default_EnumContainerMessage1_DefaultDuplicate1
329}
330
331func (m *EnumContainerMessage1) GetDefaultDuplicate2() EnumType2 {
332 if m != nil && m.DefaultDuplicate2 != nil {
333 return *m.DefaultDuplicate2
334 }
335 return Default_EnumContainerMessage1_DefaultDuplicate2
336}
337
Damien Neil46abb572018-09-07 12:45:37 -0700338type EnumContainerMessage1_EnumContainerMessage2 struct {
Damien Neil658051b2018-09-10 12:26:21 -0700339 XXX_NoUnkeyedLiteral struct{} `json:"-"`
340 XXX_unrecognized []byte `json:"-"`
341 XXX_sizecache int32 `json:"-"`
Damien Neil46abb572018-09-07 12:45:37 -0700342}
343
Joe Tsaib6405bd2018-11-15 14:44:37 -0800344func (m *EnumContainerMessage1_EnumContainerMessage2) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800345 return xxx_File_proto2_enum_proto_messageTypes[1].MessageOf(m)
Joe Tsaib6405bd2018-11-15 14:44:37 -0800346}
Damien Neila1c6abc2018-09-12 13:36:34 -0700347func (m *EnumContainerMessage1_EnumContainerMessage2) Reset() {
348 *m = EnumContainerMessage1_EnumContainerMessage2{}
349}
350func (m *EnumContainerMessage1_EnumContainerMessage2) String() string {
Joe Tsai35ec98f2019-03-25 14:41:32 -0700351 return protoimpl.X.MessageStringOf(m)
Damien Neila1c6abc2018-09-12 13:36:34 -0700352}
353func (*EnumContainerMessage1_EnumContainerMessage2) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700354
355// Deprecated: Use EnumContainerMessage1_EnumContainerMessage2.ProtoReflect.Type instead.
Damien Neila1c6abc2018-09-12 13:36:34 -0700356func (*EnumContainerMessage1_EnumContainerMessage2) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800357 return xxx_File_proto2_enum_proto_rawdesc_gzipped, []int{0, 0}
Damien Neila1c6abc2018-09-12 13:36:34 -0700358}
Damien Neil993c04d2018-09-14 15:41:11 -0700359
Joe Tsai40692112019-02-27 20:25:51 -0800360var xxx_File_proto2_enum_proto_rawdesc = []byte{
Damien Neil8012b442019-01-18 09:32:24 -0800361 // 624 bytes of the wire-encoded FileDescriptorProto
362 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72,
363 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
364 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x22, 0x8e, 0x03, 0x0a, 0x15, 0x45,
365 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73,
366 0x61, 0x67, 0x65, 0x31, 0x12, 0x5b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
367 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
368 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
369 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70,
370 0x65, 0x32, 0x3a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x31, 0x52, 0x11,
371 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65,
372 0x31, 0x12, 0x5b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x75, 0x70,
373 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,
374 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70,
375 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x3a,
376 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x52, 0x11, 0x64, 0x65, 0x66,
377 0x61, 0x75, 0x6c, 0x74, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x1a, 0x69,
378 0x0a, 0x15, 0x45, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d,
379 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65,
380 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x41, 0x12, 0x13, 0x0a, 0x0f, 0x4e,
381 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x32, 0x41, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00,
382 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79,
383 0x70, 0x65, 0x32, 0x42, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x32,
384 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73,
385 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x31, 0x41, 0x12, 0x13, 0x0a,
386 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x31, 0x41, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45,
387 0x10, 0x00, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
388 0x54, 0x79, 0x70, 0x65, 0x31, 0x42, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44,
389 0x5f, 0x31, 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x2a, 0x1d, 0x0a, 0x09, 0x45,
390 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10,
391 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x2a, 0x51, 0x0a, 0x09, 0x45, 0x6e,
392 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x12, 0x0e, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69,
393 0x63, 0x61, 0x74, 0x65, 0x31, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69,
394 0x63, 0x61, 0x74, 0x65, 0x32, 0x10, 0x01, 0x1a, 0x02, 0x10, 0x01, 0x22, 0x04, 0x08, 0x02, 0x10,
395 0x02, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x2a, 0x09, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45,
396 0x44, 0x31, 0x2a, 0x09, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x32, 0x42, 0x41, 0x5a,
397 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61,
398 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x63,
399 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f,
400 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32,
Damien Neil46abb572018-09-07 12:45:37 -0700401}
Joe Tsaib6405bd2018-11-15 14:44:37 -0800402
Joe Tsai8e506a82019-03-16 00:05:34 -0700403var xxx_File_proto2_enum_proto_rawdesc_gzipped = protoimpl.X.CompressGZIP(xxx_File_proto2_enum_proto_rawdesc)
Joe Tsaib6405bd2018-11-15 14:44:37 -0800404
405const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
406
Joe Tsai40692112019-02-27 20:25:51 -0800407var File_proto2_enum_proto protoreflect.FileDescriptor
Joe Tsaib6405bd2018-11-15 14:44:37 -0800408
Damien Neil6bb8dec2019-03-01 13:22:30 -0800409var xxx_File_proto2_enum_proto_enumTypes = make([]protoreflect.EnumType, 6)
410var xxx_File_proto2_enum_proto_messageTypes = make([]protoimpl.MessageType, 2)
Joe Tsai40692112019-02-27 20:25:51 -0800411var xxx_File_proto2_enum_proto_goTypes = []interface{}{
Damien Neil8012b442019-01-18 09:32:24 -0800412 (EnumType1)(0), // 0: goproto.protoc.proto2.EnumType1
413 (EnumType2)(0), // 1: goproto.protoc.proto2.EnumType2
414 (EnumContainerMessage1_NestedEnumType1A)(0), // 2: goproto.protoc.proto2.EnumContainerMessage1.NestedEnumType1A
415 (EnumContainerMessage1_NestedEnumType1B)(0), // 3: goproto.protoc.proto2.EnumContainerMessage1.NestedEnumType1B
416 (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A)(0), // 4: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2.NestedEnumType2A
417 (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B)(0), // 5: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2.NestedEnumType2B
418 (*EnumContainerMessage1)(nil), // 6: goproto.protoc.proto2.EnumContainerMessage1
419 (*EnumContainerMessage1_EnumContainerMessage2)(nil), // 7: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2
Joe Tsaib6405bd2018-11-15 14:44:37 -0800420}
Joe Tsai40692112019-02-27 20:25:51 -0800421var xxx_File_proto2_enum_proto_depIdxs = []int32{
Damien Neil8012b442019-01-18 09:32:24 -0800422 1, // goproto.protoc.proto2.EnumContainerMessage1.default_duplicate1:type_name -> goproto.protoc.proto2.EnumType2
423 1, // goproto.protoc.proto2.EnumContainerMessage1.default_duplicate2:type_name -> goproto.protoc.proto2.EnumType2
Joe Tsaib6405bd2018-11-15 14:44:37 -0800424}
Damien Neil8012b442019-01-18 09:32:24 -0800425
Damien Neil0fc22452019-03-08 17:18:11 -0800426func init() { xxx_File_proto2_enum_proto_init() }
427func xxx_File_proto2_enum_proto_init() {
428 if File_proto2_enum_proto != nil {
429 return
430 }
Joe Tsai40692112019-02-27 20:25:51 -0800431 File_proto2_enum_proto = protoimpl.FileBuilder{
432 RawDescriptor: xxx_File_proto2_enum_proto_rawdesc,
433 GoTypes: xxx_File_proto2_enum_proto_goTypes,
434 DependencyIndexes: xxx_File_proto2_enum_proto_depIdxs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800435 EnumOutputTypes: xxx_File_proto2_enum_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700436 MessageOutputTypes: xxx_File_proto2_enum_proto_messageTypes,
437 FilesRegistry: protoregistry.GlobalFiles,
438 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil8012b442019-01-18 09:32:24 -0800439 }.Init()
Joe Tsai40692112019-02-27 20:25:51 -0800440 xxx_File_proto2_enum_proto_goTypes = nil
441 xxx_File_proto2_enum_proto_depIdxs = nil
Joe Tsaib6405bd2018-11-15 14:44:37 -0800442}