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