blob: 94362b375a6ff753faa8158d5dbacc1fbfed9d05 [file] [log] [blame]
Herbie Ong6e67a1d2018-12-26 15:57:16 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: reflect/protoregistry/testprotos/test.proto
3
4package testprotos
5
6import (
7 proto "github.com/golang/protobuf/proto"
8 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
9 prototype "github.com/golang/protobuf/v2/reflect/prototype"
10 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
11)
12
13// This is a compile-time assertion to ensure that this generated file
14// is compatible with the proto package it is being compiled against.
15// A compilation error at this line likely means your copy of the
16// proto package needs to be updated.
17const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
18
19type Enum1 int32
20
21const (
22 Enum1_ONE Enum1 = 1
23)
24
25type xxx_Enum1 Enum1
26
27func (e Enum1) ProtoReflect() protoreflect.Enum {
28 return (xxx_Enum1)(e)
29}
30func (e xxx_Enum1) Type() protoreflect.EnumType {
31 return xxx_Test_ProtoFile_EnumTypes[0]
32}
33func (e xxx_Enum1) Number() protoreflect.EnumNumber {
34 return protoreflect.EnumNumber(e)
35}
36
37var Enum1_name = map[int32]string{
38 1: "ONE",
39}
40
41var Enum1_value = map[string]int32{
42 "ONE": 1,
43}
44
45func (x Enum1) Enum() *Enum1 {
46 p := new(Enum1)
47 *p = x
48 return p
49}
50
51func (x Enum1) String() string {
52 return proto.EnumName(Enum1_name, int32(x))
53}
54
55func (x *Enum1) UnmarshalJSON(data []byte) error {
56 value, err := proto.UnmarshalJSONEnum(Enum1_value, data, "Enum1")
57 if err != nil {
58 return err
59 }
60 *x = Enum1(value)
61 return nil
62}
63
64func (Enum1) EnumDescriptor() ([]byte, []int) {
65 return fileDescriptor_3628d63611f7063d, []int{0}
66}
67
68type Enum2 int32
69
70const (
71 Enum2_UNO Enum2 = 1
72)
73
74type xxx_Enum2 Enum2
75
76func (e Enum2) ProtoReflect() protoreflect.Enum {
77 return (xxx_Enum2)(e)
78}
79func (e xxx_Enum2) Type() protoreflect.EnumType {
80 return xxx_Test_ProtoFile_EnumTypes[1]
81}
82func (e xxx_Enum2) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(e)
84}
85
86var Enum2_name = map[int32]string{
87 1: "UNO",
88}
89
90var Enum2_value = map[string]int32{
91 "UNO": 1,
92}
93
94func (x Enum2) Enum() *Enum2 {
95 p := new(Enum2)
96 *p = x
97 return p
98}
99
100func (x Enum2) String() string {
101 return proto.EnumName(Enum2_name, int32(x))
102}
103
104func (x *Enum2) UnmarshalJSON(data []byte) error {
105 value, err := proto.UnmarshalJSONEnum(Enum2_value, data, "Enum2")
106 if err != nil {
107 return err
108 }
109 *x = Enum2(value)
110 return nil
111}
112
113func (Enum2) EnumDescriptor() ([]byte, []int) {
114 return fileDescriptor_3628d63611f7063d, []int{1}
115}
116
117type Enum3 int32
118
119const (
120 Enum3_YI Enum3 = 1
121)
122
123type xxx_Enum3 Enum3
124
125func (e Enum3) ProtoReflect() protoreflect.Enum {
126 return (xxx_Enum3)(e)
127}
128func (e xxx_Enum3) Type() protoreflect.EnumType {
129 return xxx_Test_ProtoFile_EnumTypes[2]
130}
131func (e xxx_Enum3) Number() protoreflect.EnumNumber {
132 return protoreflect.EnumNumber(e)
133}
134
135var Enum3_name = map[int32]string{
136 1: "YI",
137}
138
139var Enum3_value = map[string]int32{
140 "YI": 1,
141}
142
143func (x Enum3) Enum() *Enum3 {
144 p := new(Enum3)
145 *p = x
146 return p
147}
148
149func (x Enum3) String() string {
150 return proto.EnumName(Enum3_name, int32(x))
151}
152
153func (x *Enum3) UnmarshalJSON(data []byte) error {
154 value, err := proto.UnmarshalJSONEnum(Enum3_value, data, "Enum3")
155 if err != nil {
156 return err
157 }
158 *x = Enum3(value)
159 return nil
160}
161
162func (Enum3) EnumDescriptor() ([]byte, []int) {
163 return fileDescriptor_3628d63611f7063d, []int{2}
164}
165
166type Message1 struct {
167 XXX_NoUnkeyedLiteral struct{} `json:"-"`
168 proto.XXX_InternalExtensions `json:"-"`
169 XXX_unrecognized []byte `json:"-"`
170 XXX_sizecache int32 `json:"-"`
171}
172
173type xxx_Message1 struct{ m *Message1 }
174
175func (m *Message1) ProtoReflect() protoreflect.Message {
176 return xxx_Message1{m}
177}
178func (m xxx_Message1) Type() protoreflect.MessageType {
179 return xxx_Test_ProtoFile_MessageTypes[0].Type
180}
181func (m xxx_Message1) KnownFields() protoreflect.KnownFields {
182 return xxx_Test_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m)
183}
184func (m xxx_Message1) UnknownFields() protoreflect.UnknownFields {
185 return xxx_Test_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m)
186}
187func (m xxx_Message1) Interface() protoreflect.ProtoMessage {
188 return m.m
189}
190
191func (m *Message1) Reset() { *m = Message1{} }
192func (m *Message1) String() string { return proto.CompactTextString(m) }
193func (*Message1) ProtoMessage() {}
194func (*Message1) Descriptor() ([]byte, []int) {
195 return fileDescriptor_3628d63611f7063d, []int{0}
196}
197
198var extRange_Message1 = []proto.ExtensionRange{
199 {Start: 10, End: 536870911},
200}
201
202func (*Message1) ExtensionRangeArray() []proto.ExtensionRange {
203 return extRange_Message1
204}
205
206func (m *Message1) XXX_Unmarshal(b []byte) error {
207 return xxx_messageInfo_Message1.Unmarshal(m, b)
208}
209func (m *Message1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
210 return xxx_messageInfo_Message1.Marshal(b, m, deterministic)
211}
212func (m *Message1) XXX_Merge(src proto.Message) {
213 xxx_messageInfo_Message1.Merge(m, src)
214}
215func (m *Message1) XXX_Size() int {
216 return xxx_messageInfo_Message1.Size(m)
217}
218func (m *Message1) XXX_DiscardUnknown() {
219 xxx_messageInfo_Message1.DiscardUnknown(m)
220}
221
222var xxx_messageInfo_Message1 proto.InternalMessageInfo
223
224type Message2 struct {
225 XXX_NoUnkeyedLiteral struct{} `json:"-"`
226 XXX_unrecognized []byte `json:"-"`
227 XXX_sizecache int32 `json:"-"`
228}
229
230type xxx_Message2 struct{ m *Message2 }
231
232func (m *Message2) ProtoReflect() protoreflect.Message {
233 return xxx_Message2{m}
234}
235func (m xxx_Message2) Type() protoreflect.MessageType {
236 return xxx_Test_ProtoFile_MessageTypes[1].Type
237}
238func (m xxx_Message2) KnownFields() protoreflect.KnownFields {
239 return xxx_Test_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m)
240}
241func (m xxx_Message2) UnknownFields() protoreflect.UnknownFields {
242 return xxx_Test_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m)
243}
244func (m xxx_Message2) Interface() protoreflect.ProtoMessage {
245 return m.m
246}
247
248func (m *Message2) Reset() { *m = Message2{} }
249func (m *Message2) String() string { return proto.CompactTextString(m) }
250func (*Message2) ProtoMessage() {}
251func (*Message2) Descriptor() ([]byte, []int) {
252 return fileDescriptor_3628d63611f7063d, []int{1}
253}
254
255func (m *Message2) XXX_Unmarshal(b []byte) error {
256 return xxx_messageInfo_Message2.Unmarshal(m, b)
257}
258func (m *Message2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
259 return xxx_messageInfo_Message2.Marshal(b, m, deterministic)
260}
261func (m *Message2) XXX_Merge(src proto.Message) {
262 xxx_messageInfo_Message2.Merge(m, src)
263}
264func (m *Message2) XXX_Size() int {
265 return xxx_messageInfo_Message2.Size(m)
266}
267func (m *Message2) XXX_DiscardUnknown() {
268 xxx_messageInfo_Message2.DiscardUnknown(m)
269}
270
271var xxx_messageInfo_Message2 proto.InternalMessageInfo
272
273type Message3 struct {
274 XXX_NoUnkeyedLiteral struct{} `json:"-"`
275 XXX_unrecognized []byte `json:"-"`
276 XXX_sizecache int32 `json:"-"`
277}
278
279type xxx_Message3 struct{ m *Message3 }
280
281func (m *Message3) ProtoReflect() protoreflect.Message {
282 return xxx_Message3{m}
283}
284func (m xxx_Message3) Type() protoreflect.MessageType {
285 return xxx_Test_ProtoFile_MessageTypes[2].Type
286}
287func (m xxx_Message3) KnownFields() protoreflect.KnownFields {
288 return xxx_Test_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m)
289}
290func (m xxx_Message3) UnknownFields() protoreflect.UnknownFields {
291 return xxx_Test_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m)
292}
293func (m xxx_Message3) Interface() protoreflect.ProtoMessage {
294 return m.m
295}
296
297func (m *Message3) Reset() { *m = Message3{} }
298func (m *Message3) String() string { return proto.CompactTextString(m) }
299func (*Message3) ProtoMessage() {}
300func (*Message3) Descriptor() ([]byte, []int) {
301 return fileDescriptor_3628d63611f7063d, []int{2}
302}
303
304func (m *Message3) XXX_Unmarshal(b []byte) error {
305 return xxx_messageInfo_Message3.Unmarshal(m, b)
306}
307func (m *Message3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
308 return xxx_messageInfo_Message3.Marshal(b, m, deterministic)
309}
310func (m *Message3) XXX_Merge(src proto.Message) {
311 xxx_messageInfo_Message3.Merge(m, src)
312}
313func (m *Message3) XXX_Size() int {
314 return xxx_messageInfo_Message3.Size(m)
315}
316func (m *Message3) XXX_DiscardUnknown() {
317 xxx_messageInfo_Message3.DiscardUnknown(m)
318}
319
320var xxx_messageInfo_Message3 proto.InternalMessageInfo
321
322type Message4 struct {
323 BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
324 XXX_NoUnkeyedLiteral struct{} `json:"-"`
325 XXX_unrecognized []byte `json:"-"`
326 XXX_sizecache int32 `json:"-"`
327}
328
329type xxx_Message4 struct{ m *Message4 }
330
331func (m *Message4) ProtoReflect() protoreflect.Message {
332 return xxx_Message4{m}
333}
334func (m xxx_Message4) Type() protoreflect.MessageType {
335 return xxx_Test_ProtoFile_MessageTypes[3].Type
336}
337func (m xxx_Message4) KnownFields() protoreflect.KnownFields {
338 return xxx_Test_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m)
339}
340func (m xxx_Message4) UnknownFields() protoreflect.UnknownFields {
341 return xxx_Test_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m)
342}
343func (m xxx_Message4) Interface() protoreflect.ProtoMessage {
344 return m.m
345}
346
347func (m *Message4) Reset() { *m = Message4{} }
348func (m *Message4) String() string { return proto.CompactTextString(m) }
349func (*Message4) ProtoMessage() {}
350func (*Message4) Descriptor() ([]byte, []int) {
351 return fileDescriptor_3628d63611f7063d, []int{3}
352}
353
354func (m *Message4) XXX_Unmarshal(b []byte) error {
355 return xxx_messageInfo_Message4.Unmarshal(m, b)
356}
357func (m *Message4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
358 return xxx_messageInfo_Message4.Marshal(b, m, deterministic)
359}
360func (m *Message4) XXX_Merge(src proto.Message) {
361 xxx_messageInfo_Message4.Merge(m, src)
362}
363func (m *Message4) XXX_Size() int {
364 return xxx_messageInfo_Message4.Size(m)
365}
366func (m *Message4) XXX_DiscardUnknown() {
367 xxx_messageInfo_Message4.DiscardUnknown(m)
368}
369
370var xxx_messageInfo_Message4 proto.InternalMessageInfo
371
372func (m *Message4) GetBoolField() bool {
373 if m != nil && m.BoolField != nil {
374 return *m.BoolField
375 }
376 return false
377}
378
379var E_StringField = &proto.ExtensionDesc{
380 ExtendedType: (*Message1)(nil),
381 ExtensionType: (*string)(nil),
382 Field: 11,
383 Name: "testprotos.string_field",
384 Tag: "bytes,11,opt,name=string_field",
385 Filename: "reflect/protoregistry/testprotos/test.proto",
386}
387
388var E_EnumField = &proto.ExtensionDesc{
389 ExtendedType: (*Message1)(nil),
390 ExtensionType: (*Enum1)(nil),
391 Field: 12,
392 Name: "testprotos.enum_field",
393 Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
394 Filename: "reflect/protoregistry/testprotos/test.proto",
395}
396
397var E_MessageField = &proto.ExtensionDesc{
398 ExtendedType: (*Message1)(nil),
399 ExtensionType: (*Message2)(nil),
400 Field: 13,
401 Name: "testprotos.message_field",
402 Tag: "bytes,13,opt,name=message_field",
403 Filename: "reflect/protoregistry/testprotos/test.proto",
404}
405
406var E_Message4_MessageField = &proto.ExtensionDesc{
407 ExtendedType: (*Message1)(nil),
408 ExtensionType: (*Message2)(nil),
409 Field: 21,
410 Name: "testprotos.Message4.message_field",
411 Tag: "bytes,21,opt,name=message_field",
412 Filename: "reflect/protoregistry/testprotos/test.proto",
413}
414
415var E_Message4_EnumField = &proto.ExtensionDesc{
416 ExtendedType: (*Message1)(nil),
417 ExtensionType: (*Enum1)(nil),
418 Field: 22,
419 Name: "testprotos.Message4.enum_field",
420 Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
421 Filename: "reflect/protoregistry/testprotos/test.proto",
422}
423
424var E_Message4_StringField = &proto.ExtensionDesc{
425 ExtendedType: (*Message1)(nil),
426 ExtensionType: (*string)(nil),
427 Field: 23,
428 Name: "testprotos.Message4.string_field",
429 Tag: "bytes,23,opt,name=string_field",
430 Filename: "reflect/protoregistry/testprotos/test.proto",
431}
432
433func init() {
434 proto.RegisterFile("reflect/protoregistry/testprotos/test.proto", fileDescriptor_3628d63611f7063d)
435 proto.RegisterEnum("testprotos.Enum1", Enum1_name, Enum1_value)
436 proto.RegisterEnum("testprotos.Enum2", Enum2_name, Enum2_value)
437 proto.RegisterEnum("testprotos.Enum3", Enum3_name, Enum3_value)
438 proto.RegisterType((*Message1)(nil), "testprotos.Message1")
439 proto.RegisterType((*Message2)(nil), "testprotos.Message2")
440 proto.RegisterType((*Message3)(nil), "testprotos.Message3")
441 proto.RegisterType((*Message4)(nil), "testprotos.Message4")
442 proto.RegisterExtension(E_StringField)
443 proto.RegisterExtension(E_EnumField)
444 proto.RegisterExtension(E_MessageField)
445 proto.RegisterExtension(E_Message4_MessageField)
446 proto.RegisterExtension(E_Message4_EnumField)
447 proto.RegisterExtension(E_Message4_StringField)
448}
449
450var fileDescriptor_3628d63611f7063d = []byte{
451 // 304 bytes of a gzipped FileDescriptorProto
452 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x4a, 0x4d, 0xcb,
453 0x49, 0x4d, 0x2e, 0xd1, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0x4a, 0x4d, 0xcf, 0x2c, 0x2e, 0x29,
454 0xaa, 0xd4, 0x2f, 0x49, 0x2d, 0x2e, 0x01, 0x8b, 0x14, 0x83, 0x99, 0x7a, 0x60, 0xb6, 0x10, 0x17,
455 0x42, 0x58, 0x49, 0x84, 0x8b, 0xc3, 0x37, 0xb5, 0xb8, 0x38, 0x31, 0x3d, 0xd5, 0x50, 0x8b, 0x83,
456 0x83, 0x4b, 0xa0, 0xa1, 0xa1, 0xa1, 0x81, 0x49, 0x89, 0x0b, 0x2e, 0x6a, 0x84, 0xc4, 0x36, 0x56,
457 0xfa, 0xcd, 0x08, 0xe7, 0x98, 0x08, 0xc9, 0x72, 0x71, 0x25, 0xe5, 0xe7, 0xe7, 0xc4, 0xa7, 0x65,
458 0xa6, 0xe6, 0xa4, 0x48, 0xc8, 0x29, 0x30, 0x6a, 0x70, 0x04, 0x71, 0x82, 0x44, 0xdc, 0x40, 0x02,
459 0x46, 0xfe, 0x5c, 0xbc, 0xb9, 0x10, 0xa5, 0x10, 0x15, 0x42, 0x22, 0x7a, 0x08, 0x7b, 0xf5, 0x60,
460 0x96, 0x4a, 0x88, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x61, 0x93, 0x33, 0x0a, 0xe2, 0x81, 0x1a, 0x00,
461 0x31, 0xd0, 0x8d, 0x8b, 0x2b, 0x35, 0xaf, 0x34, 0x17, 0xaf, 0x69, 0x62, 0x0a, 0x8c, 0x1a, 0x7c,
462 0x46, 0x82, 0xc8, 0x72, 0xae, 0x79, 0xa5, 0xb9, 0x86, 0x41, 0x9c, 0x20, 0xad, 0x10, 0x73, 0xcc,
463 0xb9, 0x78, 0x8a, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0xf1, 0x9a, 0x24, 0xae, 0xc0, 0xa8, 0xc1, 0x19,
464 0xc4, 0x0d, 0x51, 0x09, 0xd6, 0xa8, 0x25, 0xc0, 0xc5, 0x0a, 0x36, 0x4c, 0x88, 0x9d, 0x8b, 0xd9,
465 0xdf, 0xcf, 0x55, 0x80, 0x11, 0x26, 0x62, 0x04, 0x12, 0x09, 0xf5, 0xf3, 0x17, 0x60, 0xd4, 0xe2,
466 0x87, 0x88, 0x18, 0x0b, 0xb1, 0x71, 0x31, 0x45, 0x7a, 0x0a, 0x30, 0x5a, 0x11, 0x67, 0x1b, 0x37,
467 0x86, 0x6d, 0x56, 0xc4, 0x78, 0x97, 0x87, 0xb0, 0x77, 0xad, 0x88, 0x8c, 0x07, 0x5e, 0x62, 0xe3,
468 0xc1, 0xc9, 0x21, 0xca, 0x2e, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f,
469 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x1d, 0x92, 0xee, 0x92, 0x4a, 0xd3, 0xf4, 0xcb, 0x8c, 0xf4, 0x09,
470 0xa5, 0x45, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x64, 0x81, 0x59, 0xae, 0x02, 0x00, 0x00,
471}
472
473func init() {
474 xxx_Test_ProtoFile_FileDesc.Enums = xxx_Test_ProtoFile_EnumDescs[0:3]
475 xxx_Test_ProtoFile_FileDesc.Messages = xxx_Test_ProtoFile_MessageDescs[0:4]
476 var err error
477 Test_ProtoFile, err = prototype.NewFile(&xxx_Test_ProtoFile_FileDesc)
478 if err != nil {
479 panic(err)
480 }
481}
482
483const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
484
485var Test_ProtoFile protoreflect.FileDescriptor
486
487var xxx_Test_ProtoFile_FileDesc = prototype.File{
488 Syntax: protoreflect.Proto2,
489 Path: "reflect/protoregistry/testprotos/test.proto",
490 Package: "testprotos",
491}
492var xxx_Test_ProtoFile_EnumTypes = [3]protoreflect.EnumType{
493 prototype.GoEnum(
494 xxx_Test_ProtoFile_EnumDescs[0].Reference(),
495 func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
496 return Enum1(n)
497 },
498 ),
499 prototype.GoEnum(
500 xxx_Test_ProtoFile_EnumDescs[1].Reference(),
501 func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
502 return Enum2(n)
503 },
504 ),
505 prototype.GoEnum(
506 xxx_Test_ProtoFile_EnumDescs[2].Reference(),
507 func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
508 return Enum3(n)
509 },
510 ),
511}
512var xxx_Test_ProtoFile_EnumDescs = [3]prototype.Enum{
513 {
514 Name: "Enum1",
515 Values: []prototype.EnumValue{
516 {Name: "ONE", Number: 1},
517 },
518 },
519 {
520 Name: "Enum2",
521 Values: []prototype.EnumValue{
522 {Name: "UNO", Number: 1},
523 },
524 },
525 {
526 Name: "Enum3",
527 Values: []prototype.EnumValue{
528 {Name: "YI", Number: 1},
529 },
530 },
531}
532var xxx_Test_ProtoFile_MessageTypes = [4]protoimpl.MessageType{
533 {Type: prototype.GoMessage(
534 xxx_Test_ProtoFile_MessageDescs[0].Reference(),
535 func(protoreflect.MessageType) protoreflect.ProtoMessage {
536 return new(Message1)
537 },
538 )},
539 {Type: prototype.GoMessage(
540 xxx_Test_ProtoFile_MessageDescs[1].Reference(),
541 func(protoreflect.MessageType) protoreflect.ProtoMessage {
542 return new(Message2)
543 },
544 )},
545 {Type: prototype.GoMessage(
546 xxx_Test_ProtoFile_MessageDescs[2].Reference(),
547 func(protoreflect.MessageType) protoreflect.ProtoMessage {
548 return new(Message3)
549 },
550 )},
551 {Type: prototype.GoMessage(
552 xxx_Test_ProtoFile_MessageDescs[3].Reference(),
553 func(protoreflect.MessageType) protoreflect.ProtoMessage {
554 return new(Message4)
555 },
556 )},
557}
558var xxx_Test_ProtoFile_MessageDescs = [4]prototype.Message{
559 {
560 Name: "Message1",
561 ExtensionRanges: [][2]protoreflect.FieldNumber{{10, 536870912}},
562 },
563 {
564 Name: "Message2",
565 },
566 {
567 Name: "Message3",
568 },
569 {
570 Name: "Message4",
571 Fields: []prototype.Field{
572 {
573 Name: "bool_field",
574 Number: 30,
575 Cardinality: protoreflect.Optional,
576 Kind: protoreflect.BoolKind,
577 JSONName: "boolField",
578 IsPacked: prototype.False,
579 },
580 },
581 },
582}