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 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 25 | // Deprecated: Use EnumType1.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 26 | var EnumType1_name = map[int32]string{ |
| 27 | 1: "ONE", |
| 28 | 2: "TWO", |
| 29 | } |
| 30 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 31 | // Deprecated: Use EnumType1.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 32 | var EnumType1_value = map[string]int32{ |
| 33 | "ONE": 1, |
| 34 | "TWO": 2, |
| 35 | } |
| 36 | |
| 37 | func (x EnumType1) Enum() *EnumType1 { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 38 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | func (x EnumType1) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 42 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 43 | } |
| 44 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 45 | func (EnumType1) Type() protoreflect.EnumType { |
| 46 | return xxx_File_proto2_enum_proto_enumTypes[0] |
| 47 | } |
| 48 | |
| 49 | func (x EnumType1) Number() protoreflect.EnumNumber { |
| 50 | return protoreflect.EnumNumber(x) |
| 51 | } |
| 52 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 53 | // Deprecated: Do not use. |
| 54 | func (x *EnumType1) UnmarshalJSON(b []byte) error { |
| 55 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 56 | if err != nil { |
| 57 | return err |
| 58 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 59 | *x = EnumType1(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 60 | return nil |
| 61 | } |
| 62 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 63 | // Deprecated: Use EnumType1.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 64 | func (EnumType1) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 65 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | type EnumType2 int32 |
| 69 | |
| 70 | const ( |
| 71 | EnumType2_duplicate1 EnumType2 = 1 |
| 72 | EnumType2_duplicate2 EnumType2 = 1 |
| 73 | ) |
| 74 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 75 | // Deprecated: Use EnumType2.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 76 | var EnumType2_name = map[int32]string{ |
| 77 | 1: "duplicate1", |
| 78 | // Duplicate value: 1: "duplicate2", |
| 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_value = map[string]int32{ |
| 83 | "duplicate1": 1, |
| 84 | "duplicate2": 1, |
| 85 | } |
| 86 | |
| 87 | func (x EnumType2) Enum() *EnumType2 { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 88 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 89 | } |
| 90 | |
| 91 | func (x EnumType2) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 92 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 93 | } |
| 94 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 95 | func (EnumType2) Type() protoreflect.EnumType { |
| 96 | return xxx_File_proto2_enum_proto_enumTypes[1] |
| 97 | } |
| 98 | |
| 99 | func (x EnumType2) Number() protoreflect.EnumNumber { |
| 100 | return protoreflect.EnumNumber(x) |
| 101 | } |
| 102 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 103 | // Deprecated: Do not use. |
| 104 | func (x *EnumType2) UnmarshalJSON(b []byte) error { |
| 105 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 106 | if err != nil { |
| 107 | return err |
| 108 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 109 | *x = EnumType2(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 110 | return nil |
| 111 | } |
| 112 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 113 | // Deprecated: Use EnumType2.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 114 | func (EnumType2) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 115 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{1} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 116 | } |
| 117 | |
| 118 | // NestedEnumType1A comment. |
| 119 | type EnumContainerMessage1_NestedEnumType1A int32 |
| 120 | |
| 121 | const ( |
| 122 | // NestedEnumType1A_VALUE comment. |
| 123 | EnumContainerMessage1_NESTED_1A_VALUE EnumContainerMessage1_NestedEnumType1A = 0 |
| 124 | ) |
| 125 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 126 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 127 | var EnumContainerMessage1_NestedEnumType1A_name = map[int32]string{ |
| 128 | 0: "NESTED_1A_VALUE", |
| 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_value = map[string]int32{ |
| 133 | "NESTED_1A_VALUE": 0, |
| 134 | } |
| 135 | |
| 136 | func (x EnumContainerMessage1_NestedEnumType1A) Enum() *EnumContainerMessage1_NestedEnumType1A { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 137 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 138 | } |
| 139 | |
| 140 | func (x EnumContainerMessage1_NestedEnumType1A) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 141 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 142 | } |
| 143 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 144 | func (EnumContainerMessage1_NestedEnumType1A) Type() protoreflect.EnumType { |
| 145 | return xxx_File_proto2_enum_proto_enumTypes[2] |
| 146 | } |
| 147 | |
| 148 | func (x EnumContainerMessage1_NestedEnumType1A) Number() protoreflect.EnumNumber { |
| 149 | return protoreflect.EnumNumber(x) |
| 150 | } |
| 151 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 152 | // Deprecated: Do not use. |
| 153 | func (x *EnumContainerMessage1_NestedEnumType1A) UnmarshalJSON(b []byte) error { |
| 154 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 155 | if err != nil { |
| 156 | return err |
| 157 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 158 | *x = EnumContainerMessage1_NestedEnumType1A(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 159 | return nil |
| 160 | } |
| 161 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 162 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1A.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 163 | func (EnumContainerMessage1_NestedEnumType1A) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 164 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 165 | } |
| 166 | |
| 167 | type EnumContainerMessage1_NestedEnumType1B int32 |
| 168 | |
| 169 | const ( |
| 170 | EnumContainerMessage1_NESTED_1B_VALUE EnumContainerMessage1_NestedEnumType1B = 0 |
| 171 | ) |
| 172 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 173 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 174 | var EnumContainerMessage1_NestedEnumType1B_name = map[int32]string{ |
| 175 | 0: "NESTED_1B_VALUE", |
| 176 | } |
| 177 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 178 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 179 | var EnumContainerMessage1_NestedEnumType1B_value = map[string]int32{ |
| 180 | "NESTED_1B_VALUE": 0, |
| 181 | } |
| 182 | |
| 183 | func (x EnumContainerMessage1_NestedEnumType1B) Enum() *EnumContainerMessage1_NestedEnumType1B { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 184 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 185 | } |
| 186 | |
| 187 | func (x EnumContainerMessage1_NestedEnumType1B) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 188 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 189 | } |
| 190 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 191 | func (EnumContainerMessage1_NestedEnumType1B) Type() protoreflect.EnumType { |
| 192 | return xxx_File_proto2_enum_proto_enumTypes[3] |
| 193 | } |
| 194 | |
| 195 | func (x EnumContainerMessage1_NestedEnumType1B) Number() protoreflect.EnumNumber { |
| 196 | return protoreflect.EnumNumber(x) |
| 197 | } |
| 198 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 199 | // Deprecated: Do not use. |
| 200 | func (x *EnumContainerMessage1_NestedEnumType1B) UnmarshalJSON(b []byte) error { |
| 201 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 202 | if err != nil { |
| 203 | return err |
| 204 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 205 | *x = EnumContainerMessage1_NestedEnumType1B(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 206 | return nil |
| 207 | } |
| 208 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 209 | // Deprecated: Use EnumContainerMessage1_NestedEnumType1B.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 210 | func (EnumContainerMessage1_NestedEnumType1B) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 211 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 1} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 212 | } |
| 213 | |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 214 | // NestedEnumType2A comment. |
| 215 | type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A int32 |
| 216 | |
| 217 | const ( |
| 218 | // NestedEnumType2A_VALUE comment. |
| 219 | EnumContainerMessage1_EnumContainerMessage2_NESTED_2A_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A = 0 |
| 220 | ) |
| 221 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 222 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 223 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A_name = map[int32]string{ |
| 224 | 0: "NESTED_2A_VALUE", |
| 225 | } |
| 226 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 227 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 228 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A_value = map[string]int32{ |
| 229 | "NESTED_2A_VALUE": 0, |
| 230 | } |
| 231 | |
| 232 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 233 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 234 | } |
| 235 | |
| 236 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 237 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 238 | } |
| 239 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 240 | func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Type() protoreflect.EnumType { |
| 241 | return xxx_File_proto2_enum_proto_enumTypes[4] |
| 242 | } |
| 243 | |
| 244 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) Number() protoreflect.EnumNumber { |
| 245 | return protoreflect.EnumNumber(x) |
| 246 | } |
| 247 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 248 | // Deprecated: Do not use. |
| 249 | func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) UnmarshalJSON(b []byte) error { |
| 250 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 251 | if err != nil { |
| 252 | return err |
| 253 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 254 | *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 255 | return nil |
| 256 | } |
| 257 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 258 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 259 | func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2A) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 260 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0, 0} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 261 | } |
| 262 | |
| 263 | type EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B int32 |
| 264 | |
| 265 | const ( |
| 266 | EnumContainerMessage1_EnumContainerMessage2_NESTED_2B_VALUE EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B = 0 |
| 267 | ) |
| 268 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 269 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 270 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_name = map[int32]string{ |
| 271 | 0: "NESTED_2B_VALUE", |
| 272 | } |
| 273 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 274 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type.Values instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 275 | var EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B_value = map[string]int32{ |
| 276 | "NESTED_2B_VALUE": 0, |
| 277 | } |
| 278 | |
| 279 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Enum() *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 280 | return &x |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 281 | } |
| 282 | |
| 283 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) String() string { |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 284 | return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x)) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 285 | } |
| 286 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 287 | func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Type() protoreflect.EnumType { |
| 288 | return xxx_File_proto2_enum_proto_enumTypes[5] |
| 289 | } |
| 290 | |
| 291 | func (x EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) Number() protoreflect.EnumNumber { |
| 292 | return protoreflect.EnumNumber(x) |
| 293 | } |
| 294 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 295 | // Deprecated: Do not use. |
| 296 | func (x *EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) UnmarshalJSON(b []byte) error { |
| 297 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 298 | if err != nil { |
| 299 | return err |
| 300 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 301 | *x = EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B(num) |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 302 | return nil |
| 303 | } |
| 304 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 305 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B.Type instead. |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 306 | func (EnumContainerMessage1_EnumContainerMessage2_NestedEnumType2B) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 307 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0, 1} |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 308 | } |
| 309 | |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 310 | type EnumContainerMessage1 struct { |
Damien Neil | a485fbd | 2018-10-26 13:28:37 -0700 | [diff] [blame] | 311 | 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 Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 316 | } |
| 317 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 318 | func (x *EnumContainerMessage1) Reset() { |
| 319 | *x = EnumContainerMessage1{} |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 320 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 321 | |
| 322 | func (x *EnumContainerMessage1) String() string { |
| 323 | return protoimpl.X.MessageStringOf(x) |
| 324 | } |
| 325 | |
| 326 | func (*EnumContainerMessage1) ProtoMessage() {} |
| 327 | |
| 328 | func (x *EnumContainerMessage1) ProtoReflect() protoreflect.Message { |
| 329 | return xxx_File_proto2_enum_proto_messageTypes[0].MessageOf(x) |
| 330 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 331 | |
| 332 | // Deprecated: Use EnumContainerMessage1.ProtoReflect.Type instead. |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 333 | func (*EnumContainerMessage1) Descriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 334 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0} |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 335 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 336 | |
Damien Neil | a485fbd | 2018-10-26 13:28:37 -0700 | [diff] [blame] | 337 | const Default_EnumContainerMessage1_DefaultDuplicate1 EnumType2 = EnumType2_duplicate1 |
| 338 | const Default_EnumContainerMessage1_DefaultDuplicate2 EnumType2 = EnumType2_duplicate2 |
| 339 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 340 | func (x *EnumContainerMessage1) GetDefaultDuplicate1() EnumType2 { |
| 341 | if x != nil && x.DefaultDuplicate1 != nil { |
| 342 | return *x.DefaultDuplicate1 |
Damien Neil | a485fbd | 2018-10-26 13:28:37 -0700 | [diff] [blame] | 343 | } |
| 344 | return Default_EnumContainerMessage1_DefaultDuplicate1 |
| 345 | } |
| 346 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 347 | func (x *EnumContainerMessage1) GetDefaultDuplicate2() EnumType2 { |
| 348 | if x != nil && x.DefaultDuplicate2 != nil { |
| 349 | return *x.DefaultDuplicate2 |
Damien Neil | a485fbd | 2018-10-26 13:28:37 -0700 | [diff] [blame] | 350 | } |
| 351 | return Default_EnumContainerMessage1_DefaultDuplicate2 |
| 352 | } |
| 353 | |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 354 | type EnumContainerMessage1_EnumContainerMessage2 struct { |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 355 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 356 | XXX_unrecognized []byte `json:"-"` |
| 357 | XXX_sizecache int32 `json:"-"` |
Damien Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 358 | } |
| 359 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 360 | func (x *EnumContainerMessage1_EnumContainerMessage2) Reset() { |
| 361 | *x = EnumContainerMessage1_EnumContainerMessage2{} |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 362 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 363 | |
| 364 | func (x *EnumContainerMessage1_EnumContainerMessage2) String() string { |
| 365 | return protoimpl.X.MessageStringOf(x) |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 366 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 367 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 368 | func (*EnumContainerMessage1_EnumContainerMessage2) ProtoMessage() {} |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 369 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 370 | func (x *EnumContainerMessage1_EnumContainerMessage2) ProtoReflect() protoreflect.Message { |
| 371 | return xxx_File_proto2_enum_proto_messageTypes[1].MessageOf(x) |
| 372 | } |
| 373 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 374 | // Deprecated: Use EnumContainerMessage1_EnumContainerMessage2.ProtoReflect.Type instead. |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 375 | func (*EnumContainerMessage1_EnumContainerMessage2) Descriptor() ([]byte, []int) { |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 376 | return xxx_File_proto2_enum_proto_rawDescGZIP(), []int{0, 0} |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 377 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 378 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 379 | var File_proto2_enum_proto protoreflect.FileDescriptor |
| 380 | |
| 381 | var xxx_File_proto2_enum_proto_rawDesc = []byte{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 382 | 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 Neil | 46abb57 | 2018-09-07 12:45:37 -0700 | [diff] [blame] | 421 | } |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 422 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 423 | var ( |
| 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 Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 427 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 428 | func 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 Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 434 | |
Damien Neil | 6bb8dec | 2019-03-01 13:22:30 -0800 | [diff] [blame] | 435 | var xxx_File_proto2_enum_proto_enumTypes = make([]protoreflect.EnumType, 6) |
| 436 | var xxx_File_proto2_enum_proto_messageTypes = make([]protoimpl.MessageType, 2) |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 437 | var xxx_File_proto2_enum_proto_goTypes = []interface{}{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 438 | (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 Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 446 | } |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 447 | var xxx_File_proto2_enum_proto_depIdxs = []int32{ |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 448 | 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 Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 450 | } |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 451 | |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 452 | func init() { xxx_File_proto2_enum_proto_init() } |
| 453 | func xxx_File_proto2_enum_proto_init() { |
| 454 | if File_proto2_enum_proto != nil { |
| 455 | return |
| 456 | } |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 457 | File_proto2_enum_proto = protoimpl.FileBuilder{ |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 458 | RawDescriptor: xxx_File_proto2_enum_proto_rawDesc, |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 459 | GoTypes: xxx_File_proto2_enum_proto_goTypes, |
| 460 | DependencyIndexes: xxx_File_proto2_enum_proto_depIdxs, |
Damien Neil | 6bb8dec | 2019-03-01 13:22:30 -0800 | [diff] [blame] | 461 | EnumOutputTypes: xxx_File_proto2_enum_proto_enumTypes, |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 462 | MessageOutputTypes: xxx_File_proto2_enum_proto_messageTypes, |
| 463 | FilesRegistry: protoregistry.GlobalFiles, |
| 464 | TypesRegistry: protoregistry.GlobalTypes, |
Damien Neil | 8012b44 | 2019-01-18 09:32:24 -0800 | [diff] [blame] | 465 | }.Init() |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 466 | xxx_File_proto2_enum_proto_rawDesc = nil |
Joe Tsai | 4069211 | 2019-02-27 20:25:51 -0800 | [diff] [blame] | 467 | xxx_File_proto2_enum_proto_goTypes = nil |
| 468 | xxx_File_proto2_enum_proto_depIdxs = nil |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame] | 469 | } |