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