Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: proto2/enum.proto |
| 3 | |
| 4 | package proto2 |
| 5 | |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 6 | import ( |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 7 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 8 | protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry" |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 9 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 10 | sync "sync" |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 11 | ) |
| 12 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 13 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 14 | |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 15 | // EnumType1 comment. |
| 16 | type EnumType1 int32 |
| 17 | |
| 18 | const ( |
| 19 | // EnumType1_ONE comment. |
| 20 | EnumType1_ONE EnumType1 = 1 |
| 21 | // EnumType1_TWO comment. |
| 22 | EnumType1_TWO EnumType1 = 2 |
| 23 | ) |
| 24 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 25 | func (e EnumType1) Type() protoreflect.EnumType { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 26 | return xxx_File_proto2_enum_proto_enumTypes[0] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 27 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 28 | func (e EnumType1) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 29 | return protoreflect.EnumNumber(e) |
| 30 | } |
| 31 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 32 | // Deprecated: Use EnumType1.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 33 | var EnumType1_name = map[int32]string{ |
| 34 | 1: "ONE", |
| 35 | 2: "TWO", |
| 36 | } |
| 37 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 38 | // Deprecated: Use EnumType1.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 39 | var EnumType1_value = map[string]int32{ |
| 40 | "ONE": 1, |
| 41 | "TWO": 2, |
| 42 | } |
| 43 | |
| 44 | func (x EnumType1) Enum() *EnumType1 { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 45 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | func (x EnumType1) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 49 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 50 | } |
| 51 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 52 | // Deprecated: Do not use. |
| 53 | func (x *EnumType1) UnmarshalJSON(b []byte) error { |
| 54 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 55 | if err != nil { |
| 56 | return err |
| 57 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 58 | *x = EnumType1(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 59 | return nil |
| 60 | } |
| 61 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 62 | // Deprecated: Use EnumType1.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 63 | func (EnumType1) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 64 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | type EnumType2 int32 |
| 68 | |
| 69 | const ( |
| 70 | EnumType2_duplicate1 EnumType2 = 1 |
| 71 | EnumType2_duplicate2 EnumType2 = 1 |
| 72 | ) |
| 73 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 74 | func (e EnumType2) Type() protoreflect.EnumType { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 75 | return xxx_File_proto2_enum_proto_enumTypes[1] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 76 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 77 | func (e EnumType2) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 78 | return protoreflect.EnumNumber(e) |
| 79 | } |
| 80 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 81 | // Deprecated: Use EnumType2.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 82 | var EnumType2_name = map[int32]string{ |
| 83 | 1: "duplicate1", |
| 84 | // Duplicate value: 1: "duplicate2", |
| 85 | } |
| 86 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 87 | // Deprecated: Use EnumType2.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 88 | var EnumType2_value = map[string]int32{ |
| 89 | "duplicate1": 1, |
| 90 | "duplicate2": 1, |
| 91 | } |
| 92 | |
| 93 | func (x EnumType2) Enum() *EnumType2 { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 94 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 95 | } |
| 96 | |
| 97 | func (x EnumType2) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 98 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 99 | } |
| 100 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 101 | // Deprecated: Do not use. |
| 102 | func (x *EnumType2) UnmarshalJSON(b []byte) error { |
| 103 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 104 | if err != nil { |
| 105 | return err |
| 106 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 107 | *x = EnumType2(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 108 | return nil |
| 109 | } |
| 110 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 111 | // Deprecated: Use EnumType2.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 112 | func (EnumType2) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 113 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{1} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 114 | } |
| 115 | |
| 116 | // NestedEnumType1A comment. |
| 117 | type EnumContainerMessage1_NestedEnumType1A int32 |
| 118 | |
| 119 | const ( |
| 120 | // NestedEnumType1A_VALUE comment. |
| 121 | EnumContainerMessage1_NESTED_1A_VALUE EnumContainerMessage1_NestedEnumType1A = 0 |
| 122 | ) |
| 123 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 124 | func (e EnumContainerMessage1_NestedEnumType1A) Type() protoreflect.EnumType { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 125 | return xxx_File_proto2_enum_proto_enumTypes[2] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 126 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 127 | func (e EnumContainerMessage1_NestedEnumType1A) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 128 | return protoreflect.EnumNumber(e) |
| 129 | } |
| 130 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 131 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 132 | var EnumContainerMessage1_NestedEnumType1A_name = map[int32]string{ |
| 133 | 0: "NESTED_1A_VALUE", |
| 134 | } |
| 135 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 136 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 137 | var EnumContainerMessage1_NestedEnumType1A_value = map[string]int32{ |
| 138 | "NESTED_1A_VALUE": 0, |
| 139 | } |
| 140 | |
| 141 | func (x EnumContainerMessage1_NestedEnumType1A) Enum() *EnumContainerMessage1_NestedEnumType1A { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 142 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | func (x EnumContainerMessage1_NestedEnumType1A) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 146 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 147 | } |
| 148 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 149 | // Deprecated: Do not use. |
| 150 | func (x *EnumContainerMessage1_NestedEnumType1A) UnmarshalJSON(b []byte) error { |
| 151 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 152 | if err != nil { |
| 153 | return err |
| 154 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 155 | *x = EnumContainerMessage1_NestedEnumType1A(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 156 | return nil |
| 157 | } |
| 158 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 159 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 160 | func (EnumContainerMessage1_NestedEnumType1A) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 161 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 162 | } |
| 163 | |
| 164 | type EnumContainerMessage1_NestedEnumType1B int32 |
| 165 | |
| 166 | const ( |
| 167 | EnumContainerMessage1_NESTED_1B_VALUE EnumContainerMessage1_NestedEnumType1B = 0 |
| 168 | ) |
| 169 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 170 | func (e EnumContainerMessage1_NestedEnumType1B) Type() protoreflect.EnumType { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 171 | return xxx_File_proto2_enum_proto_enumTypes[3] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 172 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 173 | func (e EnumContainerMessage1_NestedEnumType1B) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 174 | return protoreflect.EnumNumber(e) |
| 175 | } |
| 176 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 177 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 178 | var EnumContainerMessage1_NestedEnumType1B_name = map[int32]string{ |
| 179 | 0: "NESTED_1B_VALUE", |
| 180 | } |
| 181 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 182 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 183 | var EnumContainerMessage1_NestedEnumType1B_value = map[string]int32{ |
| 184 | "NESTED_1B_VALUE": 0, |
| 185 | } |
| 186 | |
| 187 | func (x EnumContainerMessage1_NestedEnumType1B) Enum() *EnumContainerMessage1_NestedEnumType1B { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 188 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 189 | } |
| 190 | |
| 191 | func (x EnumContainerMessage1_NestedEnumType1B) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 192 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 193 | } |
| 194 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 195 | // Deprecated: Do not use. |
| 196 | func (x *EnumContainerMessage1_NestedEnumType1B) UnmarshalJSON(b []byte) error { |
| 197 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 198 | if err != nil { |
| 199 | return err |
| 200 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 201 | *x = EnumContainerMessage1_NestedEnumType1B(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 202 | return nil |
| 203 | } |
| 204 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 205 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 206 | func (EnumContainerMessage1_NestedEnumType1B) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 207 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 1} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 208 | } |
| 209 | |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 210 | // NestedEnumType2A comment. |
| 211 | type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A int32 |
| 212 | |
| 213 | const ( |
| 214 | // NestedEnumType2A_VALUE comment. |
| 215 | EnumContainerMessage1_EnumContainerMessage2_NESTED_2A_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A = 0 |
| 216 | ) |
| 217 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 218 | func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Type() protoreflect.EnumType { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 219 | return xxx_File_proto2_enum_proto_enumTypes[4] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 220 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 221 | func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 222 | return protoreflect.EnumNumber(e) |
| 223 | } |
| 224 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 225 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 226 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A_name = map[int32]string{ |
| 227 | 0: "NESTED_2A_VALUE", |
| 228 | } |
| 229 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 230 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 231 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A_value = map[string]int32{ |
| 232 | "NESTED_2A_VALUE": 0, |
| 233 | } |
| 234 | |
| 235 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 236 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 237 | } |
| 238 | |
| 239 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 240 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 241 | } |
| 242 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 243 | // Deprecated: Do not use. |
| 244 | func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) UnmarshalJSON(b []byte) error { |
| 245 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 246 | if err != nil { |
| 247 | return err |
| 248 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 249 | *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 250 | return nil |
| 251 | } |
| 252 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 253 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 254 | func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 255 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0, 0} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 256 | } |
| 257 | |
| 258 | type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B int32 |
| 259 | |
| 260 | const ( |
| 261 | EnumContainerMessage1_EnumContainerMessage2_NESTED_2B_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B = 0 |
| 262 | ) |
| 263 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 264 | func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Type() protoreflect.EnumType { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 265 | return xxx_File_proto2_enum_proto_enumTypes[5] |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 266 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 267 | func (e EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Number() protoreflect.EnumNumber { |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 268 | return protoreflect.EnumNumber(e) |
| 269 | } |
| 270 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 271 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 272 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_name = map[int32]string{ |
| 273 | 0: "NESTED_2B_VALUE", |
| 274 | } |
| 275 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 276 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 277 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_value = map[string]int32{ |
| 278 | "NESTED_2B_VALUE": 0, |
| 279 | } |
| 280 | |
| 281 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 282 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 283 | } |
| 284 | |
| 285 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 286 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 287 | } |
| 288 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 289 | // Deprecated: Do not use. |
| 290 | func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) UnmarshalJSON(b []byte) error { |
| 291 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 292 | if err != nil { |
| 293 | return err |
| 294 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 295 | *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 296 | return nil |
| 297 | } |
| 298 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 299 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 300 | func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 301 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0, 1} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 302 | } |
| 303 | |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 304 | type EnumContainerMessage1 struct { |
Damien Neil | a485fbd | 2018-10-26 13:28:37 -0700 | [diff] [blame] | 305 | DefaultDuplicate1 *EnumType2 `protobuf:"varint,1,opt,name=default_duplicate1,json=defaultDuplicate1,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate1,omitempty"` |
| 306 | DefaultDuplicate2 *EnumType2 `protobuf:"varint,2,opt,name=default_duplicate2,json=defaultDuplicate2,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate2,omitempty"` |
| 307 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 308 | XXX_unrecognized []byte `json:"-"` |
| 309 | XXX_sizecache int32 `json:"-"` |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 310 | } |
| 311 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 312 | func (m *EnumContainerMessage1) ProtoReflect() protoreflect.Message { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 313 | return xxx_File_proto2_enum_proto_messageTypes[0].MessageOf(m) |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 314 | } |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 315 | func (m *EnumContainerMessage1) Reset() { *m = EnumContainerMessage1{} } |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 316 | func (m *EnumContainerMessage1) String() string { return protoimpl.X.MessageStringOf(m) } |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 317 | func (*EnumContainerMessage1) ProtoMessage() {} |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 318 | |
| 319 | // Deprecated: Use EnumContainerMessage1.ProtoReflect.Type instead. |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 320 | func (*EnumContainerMessage1) Descriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 321 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0} |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 322 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 323 | |
Damien Neil | a485fbd | 2018-10-26 13:28:37 -0700 | [diff] [blame] | 324 | const Default_EnumContainerMessage1_DefaultDuplicate1 EnumType2 = EnumType2_duplicate1 |
| 325 | const Default_EnumContainerMessage1_DefaultDuplicate2 EnumType2 = EnumType2_duplicate2 |
| 326 | |
| 327 | func (m *EnumContainerMessage1) GetDefaultDuplicate1() EnumType2 { |
| 328 | if m != nil && m.DefaultDuplicate1 != nil { |
| 329 | return *m.DefaultDuplicate1 |
| 330 | } |
| 331 | return Default_EnumContainerMessage1_DefaultDuplicate1 |
| 332 | } |
| 333 | |
| 334 | func (m *EnumContainerMessage1) GetDefaultDuplicate2() EnumType2 { |
| 335 | if m != nil && m.DefaultDuplicate2 != nil { |
| 336 | return *m.DefaultDuplicate2 |
| 337 | } |
| 338 | return Default_EnumContainerMessage1_DefaultDuplicate2 |
| 339 | } |
| 340 | |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 341 | type EnumContainerMessage1_EnumContainerMessage2 struct { |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 342 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 343 | XXX_unrecognized []byte `json:"-"` |
| 344 | XXX_sizecache int32 `json:"-"` |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 345 | } |
| 346 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 347 | func (m *EnumContainerMessage1_EnumContainerMessage2) ProtoReflect() protoreflect.Message { |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 348 | return xxx_File_proto2_enum_proto_messageTypes[1].MessageOf(m) |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 349 | } |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 350 | func (m *EnumContainerMessage1_EnumContainerMessage2) Reset() { |
| 351 | *m = EnumContainerMessage1_EnumContainerMessage2{} |
| 352 | } |
| 353 | func (m *EnumContainerMessage1_EnumContainerMessage2) String() string { |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 354 | return protoimpl.X.MessageStringOf(m) |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 355 | } |
| 356 | func (*EnumContainerMessage1_EnumContainerMessage2) ProtoMessage() {} |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 357 | |
| 358 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2.ProtoReflect.Type instead. |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 359 | func (*EnumContainerMessage1_EnumContainerMessage2) Descriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 360 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0} |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 361 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 362 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 363 | var File_proto2_enum_proto protoreflect.FileDescriptor |
| 364 | |
| 365 | var xxx_File_proto2_enum_proto_rawDesc = []byte{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 366 | 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, |
| 367 | 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, |
| 368 | 0x74, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x22, 0x8e, 0x03, 0x0a, 0x15, 0x45, |
| 369 | 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, |
| 370 | 0x61, 0x67, 0x65, 0x31, 0x12, 0x5b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, |
| 371 | 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, |
| 372 | 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 373 | 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, |
| 374 | 0x65, 0x32, 0x3a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x31, 0x52, 0x11, |
| 375 | 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, |
| 376 | 0x31, 0x12, 0x5b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x75, 0x70, |
| 377 | 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, |
| 378 | 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x70, |
| 379 | 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x3a, |
| 380 | 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x52, 0x11, 0x64, 0x65, 0x66, |
| 381 | 0x61, 0x75, 0x6c, 0x74, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x32, 0x1a, 0x69, |
| 382 | 0x0a, 0x15, 0x45, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d, |
| 383 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, |
| 384 | 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x41, 0x12, 0x13, 0x0a, 0x0f, 0x4e, |
| 385 | 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x32, 0x41, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, |
| 386 | 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, |
| 387 | 0x70, 0x65, 0x32, 0x42, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x32, |
| 388 | 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, |
| 389 | 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x31, 0x41, 0x12, 0x13, 0x0a, |
| 390 | 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x31, 0x41, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, |
| 391 | 0x10, 0x00, 0x22, 0x27, 0x0a, 0x10, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, |
| 392 | 0x54, 0x79, 0x70, 0x65, 0x31, 0x42, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, |
| 393 | 0x5f, 0x31, 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x2a, 0x1d, 0x0a, 0x09, 0x45, |
| 394 | 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, |
| 395 | 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x2a, 0x51, 0x0a, 0x09, 0x45, 0x6e, |
| 396 | 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x32, 0x12, 0x0e, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, |
| 397 | 0x63, 0x61, 0x74, 0x65, 0x31, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x6c, 0x69, |
| 398 | 0x63, 0x61, 0x74, 0x65, 0x32, 0x10, 0x01, 0x1a, 0x02, 0x10, 0x01, 0x22, 0x04, 0x08, 0x02, 0x10, |
| 399 | 0x02, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x2a, 0x09, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, |
| 400 | 0x44, 0x31, 0x2a, 0x09, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x32, 0x42, 0x41, 0x5a, |
| 401 | 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, |
| 402 | 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x63, |
| 403 | 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, |
| 404 | 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 405 | } |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 406 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 407 | var ( |
| 408 | xxx_File_proto2_enum_proto_rawDesc_once sync.Once |
| 409 | xxx_File_proto2_enum_proto_rawDesc_data = xxx_File_proto2_enum_proto_rawDesc |
| 410 | ) |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 411 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 412 | func xxx_File_proto2_enum_proto_rawDescGZIP() []byte { |
| 413 | xxx_File_proto2_enum_proto_rawDesc_once.Do(func() { |
| 414 | xxx_File_proto2_enum_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_proto2_enum_proto_rawDesc_data) |
| 415 | }) |
| 416 | return xxx_File_proto2_enum_proto_rawDesc_data |
| 417 | } |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 418 | |
Damien Neil | 6bb8dec | 2019-03-01 13:22:30 -0800 | [diff] [blame] | 419 | var xxx_File_proto2_enum_proto_enumTypes = make([]protoreflect.EnumType, 6) |
| 420 | var xxx_File_proto2_enum_proto_messageTypes = make([]protoimpl.MessageType, 2) |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 421 | var xxx_File_proto2_enum_proto_goTypes = []interface{}{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 422 | (EnumType1)(0), // 0: goproto.protoc.proto2.EnumType1 |
| 423 | (EnumType2)(0), // 1: goproto.protoc.proto2.EnumType2 |
| 424 | (EnumContainerMessage1_NestedEnumType1A)(0), // 2: goproto.protoc.proto2.EnumContainerMessage1.NestedEnumType1A |
| 425 | (EnumContainerMessage1_NestedEnumType1B)(0), // 3: goproto.protoc.proto2.EnumContainerMessage1.NestedEnumType1B |
| 426 | (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A)(0), // 4: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2.NestedEnumType2A |
| 427 | (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B)(0), // 5: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2.NestedEnumType2B |
| 428 | (*EnumContainerMessage1)(nil), // 6: goproto.protoc.proto2.EnumContainerMessage1 |
| 429 | (*EnumContainerMessage1_EnumContainerMessage2)(nil), // 7: goproto.protoc.proto2.EnumContainerMessage1.EnumContainerMessage2 |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 430 | } |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 431 | var xxx_File_proto2_enum_proto_depIdxs = []int32{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 432 | 1, // goproto.protoc.proto2.EnumContainerMessage1.default_duplicate1:type_name -> goproto.protoc.proto2.EnumType2 |
| 433 | 1, // goproto.protoc.proto2.EnumContainerMessage1.default_duplicate2:type_name -> goproto.protoc.proto2.EnumType2 |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 434 | } |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 435 | |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 436 | func init() { xxx_File_proto2_enum_proto_init() } |
| 437 | func xxx_File_proto2_enum_proto_init() { |
| 438 | if File_proto2_enum_proto != nil { |
| 439 | return |
| 440 | } |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 441 | File_proto2_enum_proto = protoimpl.FileBuilder{ |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 442 | RawDescriptor: xxx_File_proto2_enum_proto_rawDesc, |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 443 | GoTypes: xxx_File_proto2_enum_proto_goTypes, |
| 444 | DependencyIndexes: xxx_File_proto2_enum_proto_depIdxs, |
Damien Neil | 6bb8dec | 2019-03-01 13:22:30 -0800 | [diff] [blame] | 445 | EnumOutputTypes: xxx_File_proto2_enum_proto_enumTypes, |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 446 | MessageOutputTypes: xxx_File_proto2_enum_proto_messageTypes, |
| 447 | FilesRegistry: protoregistry.GlobalFiles, |
| 448 | TypesRegistry: protoregistry.GlobalTypes, |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 449 | }.Init() |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 450 | xxx_File_proto2_enum_proto_rawDesc = nil |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 451 | xxx_File_proto2_enum_proto_goTypes = nil |
| 452 | xxx_File_proto2_enum_proto_depIdxs = nil |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 453 | } |