blob: 5cce8029ef2817a63ce2162e44eef4351311dfc8 [file] [log] [blame]
Herbie Ong6e67a1d2018-12-26 15:57:16 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08002// source: test.proto
Herbie Ong6e67a1d2018-12-26 15:57:16 -08003
4package testprotos
5
6import (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
8 protoregistry "google.golang.org/protobuf/reflect/protoregistry"
9 protoiface "google.golang.org/protobuf/runtime/protoiface"
10 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070011 sync "sync"
Herbie Ong6e67a1d2018-12-26 15:57:16 -080012)
13
Joe Tsai58b42d82019-05-22 16:27:51 -040014const (
15 // Verify that runtime/protoimpl is sufficiently up-to-date.
16 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
19)
Joe Tsai5d72cc22019-03-28 01:13:26 -070020
Herbie Ong6e67a1d2018-12-26 15:57:16 -080021type Enum1 int32
22
23const (
24 Enum1_ONE Enum1 = 1
25)
26
Joe Tsai8e506a82019-03-16 00:05:34 -070027// Deprecated: Use Enum1.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080028var Enum1_name = map[int32]string{
29 1: "ONE",
30}
31
Joe Tsai8e506a82019-03-16 00:05:34 -070032// Deprecated: Use Enum1.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080033var Enum1_value = map[string]int32{
34 "ONE": 1,
35}
36
37func (x Enum1) Enum() *Enum1 {
Joe Tsai09b5b462019-04-10 15:29:01 -070038 p := new(Enum1)
39 *p = x
40 return p
Herbie Ong6e67a1d2018-12-26 15:57:16 -080041}
42
43func (x Enum1) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070044 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -080045}
46
Joe Tsai0fc49f82019-05-01 12:29:25 -070047func (Enum1) Descriptor() protoreflect.EnumDescriptor {
48 return file_test_proto_enumTypes[0].Descriptor()
49}
50
51// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -070052func (Enum1) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -070053 return file_test_proto_enumTypes[0]
Joe Tsai61968ce2019-04-01 12:59:24 -070054}
55
56func (x Enum1) Number() protoreflect.EnumNumber {
57 return protoreflect.EnumNumber(x)
58}
59
Joe Tsai8e506a82019-03-16 00:05:34 -070060// Deprecated: Do not use.
61func (x *Enum1) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070062 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080063 if err != nil {
64 return err
65 }
Joe Tsai8e506a82019-03-16 00:05:34 -070066 *x = Enum1(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080067 return nil
68}
69
Joe Tsai8e506a82019-03-16 00:05:34 -070070// Deprecated: Use Enum1.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080071func (Enum1) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070072 return file_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -080073}
74
75type Enum2 int32
76
77const (
78 Enum2_UNO Enum2 = 1
79)
80
Joe Tsai8e506a82019-03-16 00:05:34 -070081// Deprecated: Use Enum2.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080082var Enum2_name = map[int32]string{
83 1: "UNO",
84}
85
Joe Tsai8e506a82019-03-16 00:05:34 -070086// Deprecated: Use Enum2.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080087var Enum2_value = map[string]int32{
88 "UNO": 1,
89}
90
91func (x Enum2) Enum() *Enum2 {
Joe Tsai09b5b462019-04-10 15:29:01 -070092 p := new(Enum2)
93 *p = x
94 return p
Herbie Ong6e67a1d2018-12-26 15:57:16 -080095}
96
97func (x Enum2) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070098 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -080099}
100
Joe Tsai0fc49f82019-05-01 12:29:25 -0700101func (Enum2) Descriptor() protoreflect.EnumDescriptor {
102 return file_test_proto_enumTypes[1].Descriptor()
103}
104
105// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -0700106func (Enum2) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -0700107 return file_test_proto_enumTypes[1]
Joe Tsai61968ce2019-04-01 12:59:24 -0700108}
109
110func (x Enum2) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112}
113
Joe Tsai8e506a82019-03-16 00:05:34 -0700114// Deprecated: Do not use.
115func (x *Enum2) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700116 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800117 if err != nil {
118 return err
119 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700120 *x = Enum2(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800121 return nil
122}
123
Joe Tsai8e506a82019-03-16 00:05:34 -0700124// Deprecated: Use Enum2.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800125func (Enum2) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700126 return file_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800127}
128
129type Enum3 int32
130
131const (
132 Enum3_YI Enum3 = 1
133)
134
Joe Tsai8e506a82019-03-16 00:05:34 -0700135// Deprecated: Use Enum3.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800136var Enum3_name = map[int32]string{
137 1: "YI",
138}
139
Joe Tsai8e506a82019-03-16 00:05:34 -0700140// Deprecated: Use Enum3.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800141var Enum3_value = map[string]int32{
142 "YI": 1,
143}
144
145func (x Enum3) Enum() *Enum3 {
Joe Tsai09b5b462019-04-10 15:29:01 -0700146 p := new(Enum3)
147 *p = x
148 return p
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800149}
150
151func (x Enum3) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700152 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800153}
154
Joe Tsai0fc49f82019-05-01 12:29:25 -0700155func (Enum3) Descriptor() protoreflect.EnumDescriptor {
156 return file_test_proto_enumTypes[2].Descriptor()
157}
158
159// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -0700160func (Enum3) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -0700161 return file_test_proto_enumTypes[2]
Joe Tsai61968ce2019-04-01 12:59:24 -0700162}
163
164func (x Enum3) Number() protoreflect.EnumNumber {
165 return protoreflect.EnumNumber(x)
166}
167
Joe Tsai8e506a82019-03-16 00:05:34 -0700168// Deprecated: Do not use.
169func (x *Enum3) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700170 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800171 if err != nil {
172 return err
173 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700174 *x = Enum3(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800175 return nil
176}
177
Joe Tsai8e506a82019-03-16 00:05:34 -0700178// Deprecated: Use Enum3.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800179func (Enum3) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700180 return file_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800181}
182
183type Message1 struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700184 XXX_NoUnkeyedLiteral struct{} `json:"-"`
185 XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
186 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
187 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800188}
189
Joe Tsai61968ce2019-04-01 12:59:24 -0700190func (x *Message1) Reset() {
191 *x = Message1{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800192}
Joe Tsai61968ce2019-04-01 12:59:24 -0700193
194func (x *Message1) String() string {
195 return protoimpl.X.MessageStringOf(x)
196}
197
198func (*Message1) ProtoMessage() {}
199
200func (x *Message1) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700201 return file_test_proto_msgTypes[0].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700202}
Joe Tsai8e506a82019-03-16 00:05:34 -0700203
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700204func (m *Message1) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700205 return file_test_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700206}
207
Joe Tsai8e506a82019-03-16 00:05:34 -0700208// Deprecated: Use Message1.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800209func (*Message1) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700210 return file_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800211}
212
Joe Tsai4fddeba2019-03-20 18:29:32 -0700213var extRange_Message1 = []protoiface.ExtensionRangeV1{
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800214 {Start: 10, End: 536870911},
215}
216
Joe Tsai8e506a82019-03-16 00:05:34 -0700217// Deprecated: Use Message1.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700218func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800219 return extRange_Message1
220}
221
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800222type Message2 struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700223 XXX_NoUnkeyedLiteral struct{} `json:"-"`
224 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
225 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800226}
227
Joe Tsai61968ce2019-04-01 12:59:24 -0700228func (x *Message2) Reset() {
229 *x = Message2{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800230}
Joe Tsai61968ce2019-04-01 12:59:24 -0700231
232func (x *Message2) String() string {
233 return protoimpl.X.MessageStringOf(x)
234}
235
236func (*Message2) ProtoMessage() {}
237
238func (x *Message2) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700239 return file_test_proto_msgTypes[1].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700240}
Joe Tsai8e506a82019-03-16 00:05:34 -0700241
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700242func (m *Message2) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700243 return file_test_proto_msgTypes[1].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700244}
245
Joe Tsai8e506a82019-03-16 00:05:34 -0700246// Deprecated: Use Message2.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800247func (*Message2) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700248 return file_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800249}
250
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800251type Message3 struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700252 XXX_NoUnkeyedLiteral struct{} `json:"-"`
253 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
254 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800255}
256
Joe Tsai61968ce2019-04-01 12:59:24 -0700257func (x *Message3) Reset() {
258 *x = Message3{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800259}
Joe Tsai61968ce2019-04-01 12:59:24 -0700260
261func (x *Message3) String() string {
262 return protoimpl.X.MessageStringOf(x)
263}
264
265func (*Message3) ProtoMessage() {}
266
267func (x *Message3) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700268 return file_test_proto_msgTypes[2].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700269}
Joe Tsai8e506a82019-03-16 00:05:34 -0700270
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700271func (m *Message3) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700272 return file_test_proto_msgTypes[2].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700273}
274
Joe Tsai8e506a82019-03-16 00:05:34 -0700275// Deprecated: Use Message3.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800276func (*Message3) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700277 return file_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800278}
279
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800280type Message4 struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700281 BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
282 XXX_NoUnkeyedLiteral struct{} `json:"-"`
283 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
284 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800285}
286
Joe Tsai61968ce2019-04-01 12:59:24 -0700287func (x *Message4) Reset() {
288 *x = Message4{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800289}
Joe Tsai61968ce2019-04-01 12:59:24 -0700290
291func (x *Message4) String() string {
292 return protoimpl.X.MessageStringOf(x)
293}
294
295func (*Message4) ProtoMessage() {}
296
297func (x *Message4) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700298 return file_test_proto_msgTypes[3].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700299}
Joe Tsai8e506a82019-03-16 00:05:34 -0700300
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700301func (m *Message4) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700302 return file_test_proto_msgTypes[3].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700303}
304
Joe Tsai8e506a82019-03-16 00:05:34 -0700305// Deprecated: Use Message4.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800306func (*Message4) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700307 return file_test_proto_rawDescGZIP(), []int{3}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800308}
309
Joe Tsai61968ce2019-04-01 12:59:24 -0700310func (x *Message4) GetBoolField() bool {
311 if x != nil && x.BoolField != nil {
312 return *x.BoolField
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800313 }
314 return false
315}
316
Joe Tsai7ca70982019-04-15 13:57:56 -0700317var file_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -0700318 {
319 ExtendedType: (*Message1)(nil),
320 ExtensionType: (*string)(nil),
321 Field: 11,
322 Name: "testprotos.string_field",
323 Tag: "bytes,11,opt,name=string_field",
324 Filename: "test.proto",
325 },
326 {
327 ExtendedType: (*Message1)(nil),
328 ExtensionType: (*Enum1)(nil),
329 Field: 12,
330 Name: "testprotos.enum_field",
331 Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
332 Filename: "test.proto",
333 },
334 {
335 ExtendedType: (*Message1)(nil),
336 ExtensionType: (*Message2)(nil),
337 Field: 13,
338 Name: "testprotos.message_field",
339 Tag: "bytes,13,opt,name=message_field",
340 Filename: "test.proto",
341 },
342 {
343 ExtendedType: (*Message1)(nil),
344 ExtensionType: (*Message2)(nil),
345 Field: 21,
346 Name: "testprotos.Message4.message_field",
347 Tag: "bytes,21,opt,name=message_field",
348 Filename: "test.proto",
349 },
350 {
351 ExtendedType: (*Message1)(nil),
352 ExtensionType: (*Enum1)(nil),
353 Field: 22,
354 Name: "testprotos.Message4.enum_field",
355 Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
356 Filename: "test.proto",
357 },
358 {
359 ExtendedType: (*Message1)(nil),
360 ExtensionType: (*string)(nil),
361 Field: 23,
362 Name: "testprotos.Message4.string_field",
363 Tag: "bytes,23,opt,name=string_field",
364 Filename: "test.proto",
365 },
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800366}
Joe Tsaiafb455e2019-03-14 16:08:22 -0700367var (
368 // extend testprotos.Message1 { optional string string_field = 11; }
Joe Tsai7ca70982019-04-15 13:57:56 -0700369 E_StringField = &file_test_proto_extDescs[0]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800370
Joe Tsaiafb455e2019-03-14 16:08:22 -0700371 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 12; }
Joe Tsai7ca70982019-04-15 13:57:56 -0700372 E_EnumField = &file_test_proto_extDescs[1]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800373
Joe Tsaiafb455e2019-03-14 16:08:22 -0700374 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 13; }
Joe Tsai7ca70982019-04-15 13:57:56 -0700375 E_MessageField = &file_test_proto_extDescs[2]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800376
Joe Tsaiafb455e2019-03-14 16:08:22 -0700377 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -0700378 E_Message4_MessageField = &file_test_proto_extDescs[3]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800379
Joe Tsaiafb455e2019-03-14 16:08:22 -0700380 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -0700381 E_Message4_EnumField = &file_test_proto_extDescs[4]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800382
Joe Tsaiafb455e2019-03-14 16:08:22 -0700383 // extend testprotos.Message1 { optional string string_field = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -0700384 E_Message4_StringField = &file_test_proto_extDescs[5]
Joe Tsaiafb455e2019-03-14 16:08:22 -0700385)
Joe Tsai5d72cc22019-03-28 01:13:26 -0700386var File_test_proto protoreflect.FileDescriptor
387
Joe Tsai7ca70982019-04-15 13:57:56 -0700388var file_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -0800389 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65,
390 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73,
391 0x61, 0x67, 0x65, 0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a,
392 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65,
393 0x73, 0x73, 0x61, 0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
394 0x67, 0x65, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c,
395 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65,
396 0x6c, 0x64, 0x32, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69,
397 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
398 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
399 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73,
400 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69,
401 0x65, 0x6c, 0x64, 0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c,
Damien Neil8012b442019-01-18 09:32:24 -0800402 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d,
Joe Tsai19058432019-02-27 21:46:29 -0800403 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
Damien Neil8012b442019-01-18 09:32:24 -0800404 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31,
Joe Tsai19058432019-02-27 21:46:29 -0800405 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73,
406 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
407 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
408 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46,
409 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a,
410 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12,
411 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d,
412 0x33, 0x12, 0x06, 0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72,
413 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74,
414 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18,
415 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65,
416 0x6c, 0x64, 0x3a, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
417 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
418 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74,
419 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52,
420 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65,
421 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
422 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
423 0x31, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
424 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d,
Damien Neile89e6242019-05-13 23:55:40 -0700425 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x3d, 0x5a, 0x3b, 0x67,
426 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
427 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63,
428 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f,
429 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800430}
431
Joe Tsai5d72cc22019-03-28 01:13:26 -0700432var (
Joe Tsai7ca70982019-04-15 13:57:56 -0700433 file_test_proto_rawDescOnce sync.Once
434 file_test_proto_rawDescData = file_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -0700435)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800436
Joe Tsai7ca70982019-04-15 13:57:56 -0700437func file_test_proto_rawDescGZIP() []byte {
438 file_test_proto_rawDescOnce.Do(func() {
439 file_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -0700440 })
Joe Tsai7ca70982019-04-15 13:57:56 -0700441 return file_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -0700442}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800443
Joe Tsai7ca70982019-04-15 13:57:56 -0700444var file_test_proto_enumTypes = make([]protoreflect.EnumType, 3)
Joe Tsai4fe96632019-05-22 05:12:36 -0400445var file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
Joe Tsai7ca70982019-04-15 13:57:56 -0700446var file_test_proto_goTypes = []interface{}{
Damien Neil8012b442019-01-18 09:32:24 -0800447 (Enum1)(0), // 0: testprotos.Enum1
448 (Enum2)(0), // 1: testprotos.Enum2
449 (Enum3)(0), // 2: testprotos.Enum3
450 (*Message1)(nil), // 3: testprotos.Message1
451 (*Message2)(nil), // 4: testprotos.Message2
452 (*Message3)(nil), // 5: testprotos.Message3
453 (*Message4)(nil), // 6: testprotos.Message4
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800454}
Joe Tsai7ca70982019-04-15 13:57:56 -0700455var file_test_proto_depIdxs = []int32{
Damien Neil8012b442019-01-18 09:32:24 -0800456 3, // testprotos.string_field:extendee -> testprotos.Message1
457 3, // testprotos.enum_field:extendee -> testprotos.Message1
458 3, // testprotos.message_field:extendee -> testprotos.Message1
459 3, // testprotos.Message4.message_field:extendee -> testprotos.Message1
460 3, // testprotos.Message4.enum_field:extendee -> testprotos.Message1
461 3, // testprotos.Message4.string_field:extendee -> testprotos.Message1
462 0, // testprotos.enum_field:type_name -> testprotos.Enum1
463 4, // testprotos.message_field:type_name -> testprotos.Message2
464 4, // testprotos.Message4.message_field:type_name -> testprotos.Message2
465 0, // testprotos.Message4.enum_field:type_name -> testprotos.Enum1
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800466}
Damien Neil8012b442019-01-18 09:32:24 -0800467
Joe Tsai7ca70982019-04-15 13:57:56 -0700468func init() { file_test_proto_init() }
469func file_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -0800470 if File_test_proto != nil {
471 return
472 }
Damien Neil6bb8dec2019-03-01 13:22:30 -0800473 extensionTypes := make([]protoreflect.ExtensionType, 6)
Joe Tsai19058432019-02-27 21:46:29 -0800474 File_test_proto = protoimpl.FileBuilder{
Joe Tsai7ca70982019-04-15 13:57:56 -0700475 RawDescriptor: file_test_proto_rawDesc,
476 GoTypes: file_test_proto_goTypes,
477 DependencyIndexes: file_test_proto_depIdxs,
478 LegacyExtensions: file_test_proto_extDescs,
479 EnumOutputTypes: file_test_proto_enumTypes,
480 MessageOutputTypes: file_test_proto_msgTypes,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800481 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700482 FilesRegistry: protoregistry.GlobalFiles,
483 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil8012b442019-01-18 09:32:24 -0800484 }.Init()
Joe Tsai7ca70982019-04-15 13:57:56 -0700485 file_test_proto_rawDesc = nil
486 file_test_proto_goTypes = nil
487 file_test_proto_depIdxs = nil
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800488}