1
2
3
4 package one
5
6 import (
7 bytes "bytes"
8 compress_gzip "compress/gzip"
9 encoding_binary "encoding/binary"
10 fmt "fmt"
11 _ "github.com/gogo/protobuf/gogoproto"
12 github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
13 proto "github.com/gogo/protobuf/proto"
14 github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
15 github_com_gogo_protobuf_test_casttype "github.com/gogo/protobuf/test/casttype"
16 github_com_gogo_protobuf_test_custom "github.com/gogo/protobuf/test/custom"
17 io "io"
18 io_ioutil "io/ioutil"
19 math "math"
20 math_bits "math/bits"
21 reflect "reflect"
22 strings "strings"
23 )
24
25
26 var _ = proto.Marshal
27 var _ = fmt.Errorf
28 var _ = math.Inf
29
30
31
32
33
34 const _ = proto.GoGoProtoPackageIsVersion3
35
36 type Subby struct {
37 Sub *string `protobuf:"bytes,1,opt,name=sub" json:"sub,omitempty"`
38 XXX_NoUnkeyedLiteral struct{} `json:"-"`
39 XXX_unrecognized []byte `json:"-"`
40 XXX_sizecache int32 `json:"-"`
41 }
42
43 func (m *Subby) Reset() { *m = Subby{} }
44 func (*Subby) ProtoMessage() {}
45 func (*Subby) Descriptor() ([]byte, []int) {
46 return fileDescriptor_5ca5df6bbfd2f47d, []int{0}
47 }
48 func (m *Subby) XXX_Unmarshal(b []byte) error {
49 return m.Unmarshal(b)
50 }
51 func (m *Subby) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
52 if deterministic {
53 return xxx_messageInfo_Subby.Marshal(b, m, deterministic)
54 } else {
55 b = b[:cap(b)]
56 n, err := m.MarshalToSizedBuffer(b)
57 if err != nil {
58 return nil, err
59 }
60 return b[:n], nil
61 }
62 }
63 func (m *Subby) XXX_Merge(src proto.Message) {
64 xxx_messageInfo_Subby.Merge(m, src)
65 }
66 func (m *Subby) XXX_Size() int {
67 return m.Size()
68 }
69 func (m *Subby) XXX_DiscardUnknown() {
70 xxx_messageInfo_Subby.DiscardUnknown(m)
71 }
72
73 var xxx_messageInfo_Subby proto.InternalMessageInfo
74
75 type AllTypesOneOf struct {
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93 TestOneof isAllTypesOneOf_TestOneof `protobuf_oneof:"test_oneof"`
94 XXX_NoUnkeyedLiteral struct{} `json:"-"`
95 XXX_unrecognized []byte `json:"-"`
96 XXX_sizecache int32 `json:"-"`
97 }
98
99 func (m *AllTypesOneOf) Reset() { *m = AllTypesOneOf{} }
100 func (*AllTypesOneOf) ProtoMessage() {}
101 func (*AllTypesOneOf) Descriptor() ([]byte, []int) {
102 return fileDescriptor_5ca5df6bbfd2f47d, []int{1}
103 }
104 func (m *AllTypesOneOf) XXX_Unmarshal(b []byte) error {
105 return m.Unmarshal(b)
106 }
107 func (m *AllTypesOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
108 if deterministic {
109 return xxx_messageInfo_AllTypesOneOf.Marshal(b, m, deterministic)
110 } else {
111 b = b[:cap(b)]
112 n, err := m.MarshalToSizedBuffer(b)
113 if err != nil {
114 return nil, err
115 }
116 return b[:n], nil
117 }
118 }
119 func (m *AllTypesOneOf) XXX_Merge(src proto.Message) {
120 xxx_messageInfo_AllTypesOneOf.Merge(m, src)
121 }
122 func (m *AllTypesOneOf) XXX_Size() int {
123 return m.Size()
124 }
125 func (m *AllTypesOneOf) XXX_DiscardUnknown() {
126 xxx_messageInfo_AllTypesOneOf.DiscardUnknown(m)
127 }
128
129 var xxx_messageInfo_AllTypesOneOf proto.InternalMessageInfo
130
131 type isAllTypesOneOf_TestOneof interface {
132 isAllTypesOneOf_TestOneof()
133 Equal(interface{}) bool
134 VerboseEqual(interface{}) error
135 MarshalTo([]byte) (int, error)
136 Size() int
137 Compare(interface{}) int
138 }
139
140 type AllTypesOneOf_Field1 struct {
141 Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof" json:"Field1,omitempty"`
142 }
143 type AllTypesOneOf_Field2 struct {
144 Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof" json:"Field2,omitempty"`
145 }
146 type AllTypesOneOf_Field3 struct {
147 Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof" json:"Field3,omitempty"`
148 }
149 type AllTypesOneOf_Field4 struct {
150 Field4 int64 `protobuf:"varint,4,opt,name=Field4,oneof" json:"Field4,omitempty"`
151 }
152 type AllTypesOneOf_Field5 struct {
153 Field5 uint32 `protobuf:"varint,5,opt,name=Field5,oneof" json:"Field5,omitempty"`
154 }
155 type AllTypesOneOf_Field6 struct {
156 Field6 uint64 `protobuf:"varint,6,opt,name=Field6,oneof" json:"Field6,omitempty"`
157 }
158 type AllTypesOneOf_Field7 struct {
159 Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,oneof" json:"Field7,omitempty"`
160 }
161 type AllTypesOneOf_Field8 struct {
162 Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,oneof" json:"Field8,omitempty"`
163 }
164 type AllTypesOneOf_Field9 struct {
165 Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,oneof" json:"Field9,omitempty"`
166 }
167 type AllTypesOneOf_Field10 struct {
168 Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,oneof" json:"Field10,omitempty"`
169 }
170 type AllTypesOneOf_Field11 struct {
171 Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,oneof" json:"Field11,omitempty"`
172 }
173 type AllTypesOneOf_Field12 struct {
174 Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,oneof" json:"Field12,omitempty"`
175 }
176 type AllTypesOneOf_Field13 struct {
177 Field13 bool `protobuf:"varint,13,opt,name=Field13,oneof" json:"Field13,omitempty"`
178 }
179 type AllTypesOneOf_Field14 struct {
180 Field14 string `protobuf:"bytes,14,opt,name=Field14,oneof" json:"Field14,omitempty"`
181 }
182 type AllTypesOneOf_Field15 struct {
183 Field15 []byte `protobuf:"bytes,15,opt,name=Field15,oneof" json:"Field15,omitempty"`
184 }
185 type AllTypesOneOf_SubMessage struct {
186 SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof" json:"sub_message,omitempty"`
187 }
188
189 func (*AllTypesOneOf_Field1) isAllTypesOneOf_TestOneof() {}
190 func (*AllTypesOneOf_Field2) isAllTypesOneOf_TestOneof() {}
191 func (*AllTypesOneOf_Field3) isAllTypesOneOf_TestOneof() {}
192 func (*AllTypesOneOf_Field4) isAllTypesOneOf_TestOneof() {}
193 func (*AllTypesOneOf_Field5) isAllTypesOneOf_TestOneof() {}
194 func (*AllTypesOneOf_Field6) isAllTypesOneOf_TestOneof() {}
195 func (*AllTypesOneOf_Field7) isAllTypesOneOf_TestOneof() {}
196 func (*AllTypesOneOf_Field8) isAllTypesOneOf_TestOneof() {}
197 func (*AllTypesOneOf_Field9) isAllTypesOneOf_TestOneof() {}
198 func (*AllTypesOneOf_Field10) isAllTypesOneOf_TestOneof() {}
199 func (*AllTypesOneOf_Field11) isAllTypesOneOf_TestOneof() {}
200 func (*AllTypesOneOf_Field12) isAllTypesOneOf_TestOneof() {}
201 func (*AllTypesOneOf_Field13) isAllTypesOneOf_TestOneof() {}
202 func (*AllTypesOneOf_Field14) isAllTypesOneOf_TestOneof() {}
203 func (*AllTypesOneOf_Field15) isAllTypesOneOf_TestOneof() {}
204 func (*AllTypesOneOf_SubMessage) isAllTypesOneOf_TestOneof() {}
205
206 func (m *AllTypesOneOf) GetTestOneof() isAllTypesOneOf_TestOneof {
207 if m != nil {
208 return m.TestOneof
209 }
210 return nil
211 }
212
213 func (m *AllTypesOneOf) GetField1() float64 {
214 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field1); ok {
215 return x.Field1
216 }
217 return 0
218 }
219
220 func (m *AllTypesOneOf) GetField2() float32 {
221 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field2); ok {
222 return x.Field2
223 }
224 return 0
225 }
226
227 func (m *AllTypesOneOf) GetField3() int32 {
228 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field3); ok {
229 return x.Field3
230 }
231 return 0
232 }
233
234 func (m *AllTypesOneOf) GetField4() int64 {
235 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field4); ok {
236 return x.Field4
237 }
238 return 0
239 }
240
241 func (m *AllTypesOneOf) GetField5() uint32 {
242 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field5); ok {
243 return x.Field5
244 }
245 return 0
246 }
247
248 func (m *AllTypesOneOf) GetField6() uint64 {
249 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field6); ok {
250 return x.Field6
251 }
252 return 0
253 }
254
255 func (m *AllTypesOneOf) GetField7() int32 {
256 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field7); ok {
257 return x.Field7
258 }
259 return 0
260 }
261
262 func (m *AllTypesOneOf) GetField8() int64 {
263 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field8); ok {
264 return x.Field8
265 }
266 return 0
267 }
268
269 func (m *AllTypesOneOf) GetField9() uint32 {
270 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field9); ok {
271 return x.Field9
272 }
273 return 0
274 }
275
276 func (m *AllTypesOneOf) GetField10() int32 {
277 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field10); ok {
278 return x.Field10
279 }
280 return 0
281 }
282
283 func (m *AllTypesOneOf) GetField11() uint64 {
284 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field11); ok {
285 return x.Field11
286 }
287 return 0
288 }
289
290 func (m *AllTypesOneOf) GetField12() int64 {
291 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field12); ok {
292 return x.Field12
293 }
294 return 0
295 }
296
297 func (m *AllTypesOneOf) GetField13() bool {
298 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field13); ok {
299 return x.Field13
300 }
301 return false
302 }
303
304 func (m *AllTypesOneOf) GetField14() string {
305 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field14); ok {
306 return x.Field14
307 }
308 return ""
309 }
310
311 func (m *AllTypesOneOf) GetField15() []byte {
312 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field15); ok {
313 return x.Field15
314 }
315 return nil
316 }
317
318 func (m *AllTypesOneOf) GetSubMessage() *Subby {
319 if x, ok := m.GetTestOneof().(*AllTypesOneOf_SubMessage); ok {
320 return x.SubMessage
321 }
322 return nil
323 }
324
325
326 func (*AllTypesOneOf) XXX_OneofWrappers() []interface{} {
327 return []interface{}{
328 (*AllTypesOneOf_Field1)(nil),
329 (*AllTypesOneOf_Field2)(nil),
330 (*AllTypesOneOf_Field3)(nil),
331 (*AllTypesOneOf_Field4)(nil),
332 (*AllTypesOneOf_Field5)(nil),
333 (*AllTypesOneOf_Field6)(nil),
334 (*AllTypesOneOf_Field7)(nil),
335 (*AllTypesOneOf_Field8)(nil),
336 (*AllTypesOneOf_Field9)(nil),
337 (*AllTypesOneOf_Field10)(nil),
338 (*AllTypesOneOf_Field11)(nil),
339 (*AllTypesOneOf_Field12)(nil),
340 (*AllTypesOneOf_Field13)(nil),
341 (*AllTypesOneOf_Field14)(nil),
342 (*AllTypesOneOf_Field15)(nil),
343 (*AllTypesOneOf_SubMessage)(nil),
344 }
345 }
346
347 type TwoOneofs struct {
348
349
350
351
352 One isTwoOneofs_One `protobuf_oneof:"one"`
353
354
355
356
357 Two isTwoOneofs_Two `protobuf_oneof:"two"`
358 XXX_NoUnkeyedLiteral struct{} `json:"-"`
359 XXX_unrecognized []byte `json:"-"`
360 XXX_sizecache int32 `json:"-"`
361 }
362
363 func (m *TwoOneofs) Reset() { *m = TwoOneofs{} }
364 func (*TwoOneofs) ProtoMessage() {}
365 func (*TwoOneofs) Descriptor() ([]byte, []int) {
366 return fileDescriptor_5ca5df6bbfd2f47d, []int{2}
367 }
368 func (m *TwoOneofs) XXX_Unmarshal(b []byte) error {
369 return m.Unmarshal(b)
370 }
371 func (m *TwoOneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
372 if deterministic {
373 return xxx_messageInfo_TwoOneofs.Marshal(b, m, deterministic)
374 } else {
375 b = b[:cap(b)]
376 n, err := m.MarshalToSizedBuffer(b)
377 if err != nil {
378 return nil, err
379 }
380 return b[:n], nil
381 }
382 }
383 func (m *TwoOneofs) XXX_Merge(src proto.Message) {
384 xxx_messageInfo_TwoOneofs.Merge(m, src)
385 }
386 func (m *TwoOneofs) XXX_Size() int {
387 return m.Size()
388 }
389 func (m *TwoOneofs) XXX_DiscardUnknown() {
390 xxx_messageInfo_TwoOneofs.DiscardUnknown(m)
391 }
392
393 var xxx_messageInfo_TwoOneofs proto.InternalMessageInfo
394
395 type isTwoOneofs_One interface {
396 isTwoOneofs_One()
397 Equal(interface{}) bool
398 VerboseEqual(interface{}) error
399 MarshalTo([]byte) (int, error)
400 Size() int
401 Compare(interface{}) int
402 }
403 type isTwoOneofs_Two interface {
404 isTwoOneofs_Two()
405 Equal(interface{}) bool
406 VerboseEqual(interface{}) error
407 MarshalTo([]byte) (int, error)
408 Size() int
409 Compare(interface{}) int
410 }
411
412 type TwoOneofs_Field1 struct {
413 Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof" json:"Field1,omitempty"`
414 }
415 type TwoOneofs_Field2 struct {
416 Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof" json:"Field2,omitempty"`
417 }
418 type TwoOneofs_Field3 struct {
419 Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof" json:"Field3,omitempty"`
420 }
421 type TwoOneofs_Field34 struct {
422 Field34 string `protobuf:"bytes,34,opt,name=Field34,oneof" json:"Field34,omitempty"`
423 }
424 type TwoOneofs_Field35 struct {
425 Field35 []byte `protobuf:"bytes,35,opt,name=Field35,oneof" json:"Field35,omitempty"`
426 }
427 type TwoOneofs_SubMessage2 struct {
428 SubMessage2 *Subby `protobuf:"bytes,36,opt,name=sub_message2,json=subMessage2,oneof" json:"sub_message2,omitempty"`
429 }
430
431 func (*TwoOneofs_Field1) isTwoOneofs_One() {}
432 func (*TwoOneofs_Field2) isTwoOneofs_One() {}
433 func (*TwoOneofs_Field3) isTwoOneofs_One() {}
434 func (*TwoOneofs_Field34) isTwoOneofs_Two() {}
435 func (*TwoOneofs_Field35) isTwoOneofs_Two() {}
436 func (*TwoOneofs_SubMessage2) isTwoOneofs_Two() {}
437
438 func (m *TwoOneofs) GetOne() isTwoOneofs_One {
439 if m != nil {
440 return m.One
441 }
442 return nil
443 }
444 func (m *TwoOneofs) GetTwo() isTwoOneofs_Two {
445 if m != nil {
446 return m.Two
447 }
448 return nil
449 }
450
451 func (m *TwoOneofs) GetField1() float64 {
452 if x, ok := m.GetOne().(*TwoOneofs_Field1); ok {
453 return x.Field1
454 }
455 return 0
456 }
457
458 func (m *TwoOneofs) GetField2() float32 {
459 if x, ok := m.GetOne().(*TwoOneofs_Field2); ok {
460 return x.Field2
461 }
462 return 0
463 }
464
465 func (m *TwoOneofs) GetField3() int32 {
466 if x, ok := m.GetOne().(*TwoOneofs_Field3); ok {
467 return x.Field3
468 }
469 return 0
470 }
471
472 func (m *TwoOneofs) GetField34() string {
473 if x, ok := m.GetTwo().(*TwoOneofs_Field34); ok {
474 return x.Field34
475 }
476 return ""
477 }
478
479 func (m *TwoOneofs) GetField35() []byte {
480 if x, ok := m.GetTwo().(*TwoOneofs_Field35); ok {
481 return x.Field35
482 }
483 return nil
484 }
485
486 func (m *TwoOneofs) GetSubMessage2() *Subby {
487 if x, ok := m.GetTwo().(*TwoOneofs_SubMessage2); ok {
488 return x.SubMessage2
489 }
490 return nil
491 }
492
493
494 func (*TwoOneofs) XXX_OneofWrappers() []interface{} {
495 return []interface{}{
496 (*TwoOneofs_Field1)(nil),
497 (*TwoOneofs_Field2)(nil),
498 (*TwoOneofs_Field3)(nil),
499 (*TwoOneofs_Field34)(nil),
500 (*TwoOneofs_Field35)(nil),
501 (*TwoOneofs_SubMessage2)(nil),
502 }
503 }
504
505 type CustomOneof struct {
506
507
508
509
510
511 Custom isCustomOneof_Custom `protobuf_oneof:"custom"`
512 XXX_NoUnkeyedLiteral struct{} `json:"-"`
513 XXX_unrecognized []byte `json:"-"`
514 XXX_sizecache int32 `json:"-"`
515 }
516
517 func (m *CustomOneof) Reset() { *m = CustomOneof{} }
518 func (*CustomOneof) ProtoMessage() {}
519 func (*CustomOneof) Descriptor() ([]byte, []int) {
520 return fileDescriptor_5ca5df6bbfd2f47d, []int{3}
521 }
522 func (m *CustomOneof) XXX_Unmarshal(b []byte) error {
523 return m.Unmarshal(b)
524 }
525 func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
526 if deterministic {
527 return xxx_messageInfo_CustomOneof.Marshal(b, m, deterministic)
528 } else {
529 b = b[:cap(b)]
530 n, err := m.MarshalToSizedBuffer(b)
531 if err != nil {
532 return nil, err
533 }
534 return b[:n], nil
535 }
536 }
537 func (m *CustomOneof) XXX_Merge(src proto.Message) {
538 xxx_messageInfo_CustomOneof.Merge(m, src)
539 }
540 func (m *CustomOneof) XXX_Size() int {
541 return m.Size()
542 }
543 func (m *CustomOneof) XXX_DiscardUnknown() {
544 xxx_messageInfo_CustomOneof.DiscardUnknown(m)
545 }
546
547 var xxx_messageInfo_CustomOneof proto.InternalMessageInfo
548
549 type isCustomOneof_Custom interface {
550 isCustomOneof_Custom()
551 Equal(interface{}) bool
552 VerboseEqual(interface{}) error
553 MarshalTo([]byte) (int, error)
554 Size() int
555 Compare(interface{}) int
556 }
557
558 type CustomOneof_Stringy struct {
559 Stringy string `protobuf:"bytes,34,opt,name=Stringy,oneof" json:"Stringy,omitempty"`
560 }
561 type CustomOneof_CustomType struct {
562 CustomType github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,35,opt,name=CustomType,oneof,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"CustomType,omitempty"`
563 }
564 type CustomOneof_CastType struct {
565 CastType github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,36,opt,name=CastType,oneof,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"CastType,omitempty"`
566 }
567 type CustomOneof_MyCustomName struct {
568 MyCustomName int64 `protobuf:"varint,37,opt,name=CustomName,oneof" json:"CustomName,omitempty"`
569 }
570
571 func (*CustomOneof_Stringy) isCustomOneof_Custom() {}
572 func (*CustomOneof_CustomType) isCustomOneof_Custom() {}
573 func (*CustomOneof_CastType) isCustomOneof_Custom() {}
574 func (*CustomOneof_MyCustomName) isCustomOneof_Custom() {}
575
576 func (m *CustomOneof) GetCustom() isCustomOneof_Custom {
577 if m != nil {
578 return m.Custom
579 }
580 return nil
581 }
582
583 func (m *CustomOneof) GetStringy() string {
584 if x, ok := m.GetCustom().(*CustomOneof_Stringy); ok {
585 return x.Stringy
586 }
587 return ""
588 }
589
590 func (m *CustomOneof) GetCastType() github_com_gogo_protobuf_test_casttype.MyUint64Type {
591 if x, ok := m.GetCustom().(*CustomOneof_CastType); ok {
592 return x.CastType
593 }
594 return 0
595 }
596
597 func (m *CustomOneof) GetMyCustomName() int64 {
598 if x, ok := m.GetCustom().(*CustomOneof_MyCustomName); ok {
599 return x.MyCustomName
600 }
601 return 0
602 }
603
604
605 func (*CustomOneof) XXX_OneofWrappers() []interface{} {
606 return []interface{}{
607 (*CustomOneof_Stringy)(nil),
608 (*CustomOneof_CustomType)(nil),
609 (*CustomOneof_CastType)(nil),
610 (*CustomOneof_MyCustomName)(nil),
611 }
612 }
613
614 func init() {
615 proto.RegisterType((*Subby)(nil), "one.Subby")
616 proto.RegisterType((*AllTypesOneOf)(nil), "one.AllTypesOneOf")
617 proto.RegisterType((*TwoOneofs)(nil), "one.TwoOneofs")
618 proto.RegisterType((*CustomOneof)(nil), "one.CustomOneof")
619 }
620
621 func init() { proto.RegisterFile("combos/both/one.proto", fileDescriptor_5ca5df6bbfd2f47d) }
622
623 var fileDescriptor_5ca5df6bbfd2f47d = []byte{
624
625 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0xbf, 0x4f, 0xdb, 0x4e,
626 0x14, 0x00, 0x70, 0x3f, 0x42, 0x42, 0xb8, 0x84, 0x2f, 0xf9, 0x5a, 0xaa, 0x74, 0x65, 0x38, 0x4e,
627 0x69, 0x2b, 0xdd, 0x50, 0x12, 0xe2, 0xd8, 0xfc, 0x18, 0x6b, 0xa4, 0x2a, 0x0b, 0x45, 0x32, 0x30,
628 0xa3, 0x98, 0x9a, 0x10, 0x89, 0xf8, 0x10, 0x77, 0x16, 0xf2, 0xc6, 0xdf, 0xd0, 0xbf, 0x82, 0xb1,
629 0x63, 0xff, 0x04, 0xc6, 0x8c, 0x55, 0x87, 0x08, 0x9b, 0xa5, 0x23, 0x23, 0xea, 0x54, 0x9d, 0x4d,
630 0xee, 0x2a, 0x55, 0x55, 0x97, 0x4e, 0xf1, 0x7b, 0x1f, 0xdf, 0xcb, 0x7b, 0xbe, 0x3b, 0xf4, 0xe2,
631 0x94, 0x4f, 0x42, 0x2e, 0xba, 0x21, 0x97, 0xe7, 0x5d, 0x1e, 0x47, 0x9d, 0xcb, 0x2b, 0x2e, 0xb9,
632 0x5d, 0xe1, 0x71, 0xb4, 0xb6, 0x31, 0x1a, 0xcb, 0xf3, 0x24, 0xec, 0x9c, 0xf2, 0x49, 0x77, 0xc4,
633 0x47, 0xbc, 0x5b, 0x58, 0x98, 0x9c, 0x15, 0x51, 0x11, 0x14, 0x4f, 0xe5, 0x9a, 0xf6, 0x4b, 0x54,
634 0x3d, 0x4c, 0xc2, 0x30, 0xb5, 0x5b, 0xa8, 0x22, 0x92, 0x10, 0x03, 0x05, 0xb6, 0x1c, 0xa8, 0xc7,
635 0xf6, 0xac, 0x82, 0x56, 0xde, 0x5d, 0x5c, 0x1c, 0xa5, 0x97, 0x91, 0x38, 0x88, 0xa3, 0x83, 0x33,
636 0x1b, 0xa3, 0xda, 0xfb, 0x71, 0x74, 0xf1, 0xb1, 0x57, 0xbc, 0x06, 0x03, 0x2b, 0x78, 0x8e, 0xb5,
637 0x38, 0x78, 0x81, 0x02, 0x5b, 0xd0, 0xe2, 0x68, 0x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660 0x27, 0x70, 0x97, 0x13, 0x98, 0xe6, 0x04, 0xee, 0x73, 0x02, 0xdf, 0x73, 0x62, 0x3d, 0xe6, 0x04,
661 0x9e, 0x72, 0x62, 0xdd, 0x3c, 0x10, 0xeb, 0xf6, 0x81, 0xc0, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff,
662 0x65, 0x14, 0xd5, 0x6f, 0x79, 0x04, 0x00, 0x00,
663 }
664
665 func (this *Subby) Compare(that interface{}) int {
666 if that == nil {
667 if this == nil {
668 return 0
669 }
670 return 1
671 }
672
673 that1, ok := that.(*Subby)
674 if !ok {
675 that2, ok := that.(Subby)
676 if ok {
677 that1 = &that2
678 } else {
679 return 1
680 }
681 }
682 if that1 == nil {
683 if this == nil {
684 return 0
685 }
686 return 1
687 } else if this == nil {
688 return -1
689 }
690 if this.Sub != nil && that1.Sub != nil {
691 if *this.Sub != *that1.Sub {
692 if *this.Sub < *that1.Sub {
693 return -1
694 }
695 return 1
696 }
697 } else if this.Sub != nil {
698 return 1
699 } else if that1.Sub != nil {
700 return -1
701 }
702 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
703 return c
704 }
705 return 0
706 }
707 func (this *AllTypesOneOf) Compare(that interface{}) int {
708 if that == nil {
709 if this == nil {
710 return 0
711 }
712 return 1
713 }
714
715 that1, ok := that.(*AllTypesOneOf)
716 if !ok {
717 that2, ok := that.(AllTypesOneOf)
718 if ok {
719 that1 = &that2
720 } else {
721 return 1
722 }
723 }
724 if that1 == nil {
725 if this == nil {
726 return 0
727 }
728 return 1
729 } else if this == nil {
730 return -1
731 }
732 if that1.TestOneof == nil {
733 if this.TestOneof != nil {
734 return 1
735 }
736 } else if this.TestOneof == nil {
737 return -1
738 } else {
739 thisType := -1
740 switch this.TestOneof.(type) {
741 case *AllTypesOneOf_Field1:
742 thisType = 0
743 case *AllTypesOneOf_Field2:
744 thisType = 1
745 case *AllTypesOneOf_Field3:
746 thisType = 2
747 case *AllTypesOneOf_Field4:
748 thisType = 3
749 case *AllTypesOneOf_Field5:
750 thisType = 4
751 case *AllTypesOneOf_Field6:
752 thisType = 5
753 case *AllTypesOneOf_Field7:
754 thisType = 6
755 case *AllTypesOneOf_Field8:
756 thisType = 7
757 case *AllTypesOneOf_Field9:
758 thisType = 8
759 case *AllTypesOneOf_Field10:
760 thisType = 9
761 case *AllTypesOneOf_Field11:
762 thisType = 10
763 case *AllTypesOneOf_Field12:
764 thisType = 11
765 case *AllTypesOneOf_Field13:
766 thisType = 12
767 case *AllTypesOneOf_Field14:
768 thisType = 13
769 case *AllTypesOneOf_Field15:
770 thisType = 14
771 case *AllTypesOneOf_SubMessage:
772 thisType = 15
773 default:
774 panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.TestOneof))
775 }
776 that1Type := -1
777 switch that1.TestOneof.(type) {
778 case *AllTypesOneOf_Field1:
779 that1Type = 0
780 case *AllTypesOneOf_Field2:
781 that1Type = 1
782 case *AllTypesOneOf_Field3:
783 that1Type = 2
784 case *AllTypesOneOf_Field4:
785 that1Type = 3
786 case *AllTypesOneOf_Field5:
787 that1Type = 4
788 case *AllTypesOneOf_Field6:
789 that1Type = 5
790 case *AllTypesOneOf_Field7:
791 that1Type = 6
792 case *AllTypesOneOf_Field8:
793 that1Type = 7
794 case *AllTypesOneOf_Field9:
795 that1Type = 8
796 case *AllTypesOneOf_Field10:
797 that1Type = 9
798 case *AllTypesOneOf_Field11:
799 that1Type = 10
800 case *AllTypesOneOf_Field12:
801 that1Type = 11
802 case *AllTypesOneOf_Field13:
803 that1Type = 12
804 case *AllTypesOneOf_Field14:
805 that1Type = 13
806 case *AllTypesOneOf_Field15:
807 that1Type = 14
808 case *AllTypesOneOf_SubMessage:
809 that1Type = 15
810 default:
811 panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.TestOneof))
812 }
813 if thisType == that1Type {
814 if c := this.TestOneof.Compare(that1.TestOneof); c != 0 {
815 return c
816 }
817 } else if thisType < that1Type {
818 return -1
819 } else if thisType > that1Type {
820 return 1
821 }
822 }
823 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
824 return c
825 }
826 return 0
827 }
828 func (this *AllTypesOneOf_Field1) Compare(that interface{}) int {
829 if that == nil {
830 if this == nil {
831 return 0
832 }
833 return 1
834 }
835
836 that1, ok := that.(*AllTypesOneOf_Field1)
837 if !ok {
838 that2, ok := that.(AllTypesOneOf_Field1)
839 if ok {
840 that1 = &that2
841 } else {
842 return 1
843 }
844 }
845 if that1 == nil {
846 if this == nil {
847 return 0
848 }
849 return 1
850 } else if this == nil {
851 return -1
852 }
853 if this.Field1 != that1.Field1 {
854 if this.Field1 < that1.Field1 {
855 return -1
856 }
857 return 1
858 }
859 return 0
860 }
861 func (this *AllTypesOneOf_Field2) Compare(that interface{}) int {
862 if that == nil {
863 if this == nil {
864 return 0
865 }
866 return 1
867 }
868
869 that1, ok := that.(*AllTypesOneOf_Field2)
870 if !ok {
871 that2, ok := that.(AllTypesOneOf_Field2)
872 if ok {
873 that1 = &that2
874 } else {
875 return 1
876 }
877 }
878 if that1 == nil {
879 if this == nil {
880 return 0
881 }
882 return 1
883 } else if this == nil {
884 return -1
885 }
886 if this.Field2 != that1.Field2 {
887 if this.Field2 < that1.Field2 {
888 return -1
889 }
890 return 1
891 }
892 return 0
893 }
894 func (this *AllTypesOneOf_Field3) Compare(that interface{}) int {
895 if that == nil {
896 if this == nil {
897 return 0
898 }
899 return 1
900 }
901
902 that1, ok := that.(*AllTypesOneOf_Field3)
903 if !ok {
904 that2, ok := that.(AllTypesOneOf_Field3)
905 if ok {
906 that1 = &that2
907 } else {
908 return 1
909 }
910 }
911 if that1 == nil {
912 if this == nil {
913 return 0
914 }
915 return 1
916 } else if this == nil {
917 return -1
918 }
919 if this.Field3 != that1.Field3 {
920 if this.Field3 < that1.Field3 {
921 return -1
922 }
923 return 1
924 }
925 return 0
926 }
927 func (this *AllTypesOneOf_Field4) Compare(that interface{}) int {
928 if that == nil {
929 if this == nil {
930 return 0
931 }
932 return 1
933 }
934
935 that1, ok := that.(*AllTypesOneOf_Field4)
936 if !ok {
937 that2, ok := that.(AllTypesOneOf_Field4)
938 if ok {
939 that1 = &that2
940 } else {
941 return 1
942 }
943 }
944 if that1 == nil {
945 if this == nil {
946 return 0
947 }
948 return 1
949 } else if this == nil {
950 return -1
951 }
952 if this.Field4 != that1.Field4 {
953 if this.Field4 < that1.Field4 {
954 return -1
955 }
956 return 1
957 }
958 return 0
959 }
960 func (this *AllTypesOneOf_Field5) Compare(that interface{}) int {
961 if that == nil {
962 if this == nil {
963 return 0
964 }
965 return 1
966 }
967
968 that1, ok := that.(*AllTypesOneOf_Field5)
969 if !ok {
970 that2, ok := that.(AllTypesOneOf_Field5)
971 if ok {
972 that1 = &that2
973 } else {
974 return 1
975 }
976 }
977 if that1 == nil {
978 if this == nil {
979 return 0
980 }
981 return 1
982 } else if this == nil {
983 return -1
984 }
985 if this.Field5 != that1.Field5 {
986 if this.Field5 < that1.Field5 {
987 return -1
988 }
989 return 1
990 }
991 return 0
992 }
993 func (this *AllTypesOneOf_Field6) Compare(that interface{}) int {
994 if that == nil {
995 if this == nil {
996 return 0
997 }
998 return 1
999 }
1000
1001 that1, ok := that.(*AllTypesOneOf_Field6)
1002 if !ok {
1003 that2, ok := that.(AllTypesOneOf_Field6)
1004 if ok {
1005 that1 = &that2
1006 } else {
1007 return 1
1008 }
1009 }
1010 if that1 == nil {
1011 if this == nil {
1012 return 0
1013 }
1014 return 1
1015 } else if this == nil {
1016 return -1
1017 }
1018 if this.Field6 != that1.Field6 {
1019 if this.Field6 < that1.Field6 {
1020 return -1
1021 }
1022 return 1
1023 }
1024 return 0
1025 }
1026 func (this *AllTypesOneOf_Field7) Compare(that interface{}) int {
1027 if that == nil {
1028 if this == nil {
1029 return 0
1030 }
1031 return 1
1032 }
1033
1034 that1, ok := that.(*AllTypesOneOf_Field7)
1035 if !ok {
1036 that2, ok := that.(AllTypesOneOf_Field7)
1037 if ok {
1038 that1 = &that2
1039 } else {
1040 return 1
1041 }
1042 }
1043 if that1 == nil {
1044 if this == nil {
1045 return 0
1046 }
1047 return 1
1048 } else if this == nil {
1049 return -1
1050 }
1051 if this.Field7 != that1.Field7 {
1052 if this.Field7 < that1.Field7 {
1053 return -1
1054 }
1055 return 1
1056 }
1057 return 0
1058 }
1059 func (this *AllTypesOneOf_Field8) Compare(that interface{}) int {
1060 if that == nil {
1061 if this == nil {
1062 return 0
1063 }
1064 return 1
1065 }
1066
1067 that1, ok := that.(*AllTypesOneOf_Field8)
1068 if !ok {
1069 that2, ok := that.(AllTypesOneOf_Field8)
1070 if ok {
1071 that1 = &that2
1072 } else {
1073 return 1
1074 }
1075 }
1076 if that1 == nil {
1077 if this == nil {
1078 return 0
1079 }
1080 return 1
1081 } else if this == nil {
1082 return -1
1083 }
1084 if this.Field8 != that1.Field8 {
1085 if this.Field8 < that1.Field8 {
1086 return -1
1087 }
1088 return 1
1089 }
1090 return 0
1091 }
1092 func (this *AllTypesOneOf_Field9) Compare(that interface{}) int {
1093 if that == nil {
1094 if this == nil {
1095 return 0
1096 }
1097 return 1
1098 }
1099
1100 that1, ok := that.(*AllTypesOneOf_Field9)
1101 if !ok {
1102 that2, ok := that.(AllTypesOneOf_Field9)
1103 if ok {
1104 that1 = &that2
1105 } else {
1106 return 1
1107 }
1108 }
1109 if that1 == nil {
1110 if this == nil {
1111 return 0
1112 }
1113 return 1
1114 } else if this == nil {
1115 return -1
1116 }
1117 if this.Field9 != that1.Field9 {
1118 if this.Field9 < that1.Field9 {
1119 return -1
1120 }
1121 return 1
1122 }
1123 return 0
1124 }
1125 func (this *AllTypesOneOf_Field10) Compare(that interface{}) int {
1126 if that == nil {
1127 if this == nil {
1128 return 0
1129 }
1130 return 1
1131 }
1132
1133 that1, ok := that.(*AllTypesOneOf_Field10)
1134 if !ok {
1135 that2, ok := that.(AllTypesOneOf_Field10)
1136 if ok {
1137 that1 = &that2
1138 } else {
1139 return 1
1140 }
1141 }
1142 if that1 == nil {
1143 if this == nil {
1144 return 0
1145 }
1146 return 1
1147 } else if this == nil {
1148 return -1
1149 }
1150 if this.Field10 != that1.Field10 {
1151 if this.Field10 < that1.Field10 {
1152 return -1
1153 }
1154 return 1
1155 }
1156 return 0
1157 }
1158 func (this *AllTypesOneOf_Field11) Compare(that interface{}) int {
1159 if that == nil {
1160 if this == nil {
1161 return 0
1162 }
1163 return 1
1164 }
1165
1166 that1, ok := that.(*AllTypesOneOf_Field11)
1167 if !ok {
1168 that2, ok := that.(AllTypesOneOf_Field11)
1169 if ok {
1170 that1 = &that2
1171 } else {
1172 return 1
1173 }
1174 }
1175 if that1 == nil {
1176 if this == nil {
1177 return 0
1178 }
1179 return 1
1180 } else if this == nil {
1181 return -1
1182 }
1183 if this.Field11 != that1.Field11 {
1184 if this.Field11 < that1.Field11 {
1185 return -1
1186 }
1187 return 1
1188 }
1189 return 0
1190 }
1191 func (this *AllTypesOneOf_Field12) Compare(that interface{}) int {
1192 if that == nil {
1193 if this == nil {
1194 return 0
1195 }
1196 return 1
1197 }
1198
1199 that1, ok := that.(*AllTypesOneOf_Field12)
1200 if !ok {
1201 that2, ok := that.(AllTypesOneOf_Field12)
1202 if ok {
1203 that1 = &that2
1204 } else {
1205 return 1
1206 }
1207 }
1208 if that1 == nil {
1209 if this == nil {
1210 return 0
1211 }
1212 return 1
1213 } else if this == nil {
1214 return -1
1215 }
1216 if this.Field12 != that1.Field12 {
1217 if this.Field12 < that1.Field12 {
1218 return -1
1219 }
1220 return 1
1221 }
1222 return 0
1223 }
1224 func (this *AllTypesOneOf_Field13) Compare(that interface{}) int {
1225 if that == nil {
1226 if this == nil {
1227 return 0
1228 }
1229 return 1
1230 }
1231
1232 that1, ok := that.(*AllTypesOneOf_Field13)
1233 if !ok {
1234 that2, ok := that.(AllTypesOneOf_Field13)
1235 if ok {
1236 that1 = &that2
1237 } else {
1238 return 1
1239 }
1240 }
1241 if that1 == nil {
1242 if this == nil {
1243 return 0
1244 }
1245 return 1
1246 } else if this == nil {
1247 return -1
1248 }
1249 if this.Field13 != that1.Field13 {
1250 if !this.Field13 {
1251 return -1
1252 }
1253 return 1
1254 }
1255 return 0
1256 }
1257 func (this *AllTypesOneOf_Field14) Compare(that interface{}) int {
1258 if that == nil {
1259 if this == nil {
1260 return 0
1261 }
1262 return 1
1263 }
1264
1265 that1, ok := that.(*AllTypesOneOf_Field14)
1266 if !ok {
1267 that2, ok := that.(AllTypesOneOf_Field14)
1268 if ok {
1269 that1 = &that2
1270 } else {
1271 return 1
1272 }
1273 }
1274 if that1 == nil {
1275 if this == nil {
1276 return 0
1277 }
1278 return 1
1279 } else if this == nil {
1280 return -1
1281 }
1282 if this.Field14 != that1.Field14 {
1283 if this.Field14 < that1.Field14 {
1284 return -1
1285 }
1286 return 1
1287 }
1288 return 0
1289 }
1290 func (this *AllTypesOneOf_Field15) Compare(that interface{}) int {
1291 if that == nil {
1292 if this == nil {
1293 return 0
1294 }
1295 return 1
1296 }
1297
1298 that1, ok := that.(*AllTypesOneOf_Field15)
1299 if !ok {
1300 that2, ok := that.(AllTypesOneOf_Field15)
1301 if ok {
1302 that1 = &that2
1303 } else {
1304 return 1
1305 }
1306 }
1307 if that1 == nil {
1308 if this == nil {
1309 return 0
1310 }
1311 return 1
1312 } else if this == nil {
1313 return -1
1314 }
1315 if c := bytes.Compare(this.Field15, that1.Field15); c != 0 {
1316 return c
1317 }
1318 return 0
1319 }
1320 func (this *AllTypesOneOf_SubMessage) Compare(that interface{}) int {
1321 if that == nil {
1322 if this == nil {
1323 return 0
1324 }
1325 return 1
1326 }
1327
1328 that1, ok := that.(*AllTypesOneOf_SubMessage)
1329 if !ok {
1330 that2, ok := that.(AllTypesOneOf_SubMessage)
1331 if ok {
1332 that1 = &that2
1333 } else {
1334 return 1
1335 }
1336 }
1337 if that1 == nil {
1338 if this == nil {
1339 return 0
1340 }
1341 return 1
1342 } else if this == nil {
1343 return -1
1344 }
1345 if c := this.SubMessage.Compare(that1.SubMessage); c != 0 {
1346 return c
1347 }
1348 return 0
1349 }
1350 func (this *TwoOneofs) Compare(that interface{}) int {
1351 if that == nil {
1352 if this == nil {
1353 return 0
1354 }
1355 return 1
1356 }
1357
1358 that1, ok := that.(*TwoOneofs)
1359 if !ok {
1360 that2, ok := that.(TwoOneofs)
1361 if ok {
1362 that1 = &that2
1363 } else {
1364 return 1
1365 }
1366 }
1367 if that1 == nil {
1368 if this == nil {
1369 return 0
1370 }
1371 return 1
1372 } else if this == nil {
1373 return -1
1374 }
1375 if that1.One == nil {
1376 if this.One != nil {
1377 return 1
1378 }
1379 } else if this.One == nil {
1380 return -1
1381 } else {
1382 thisType := -1
1383 switch this.One.(type) {
1384 case *TwoOneofs_Field1:
1385 thisType = 0
1386 case *TwoOneofs_Field2:
1387 thisType = 1
1388 case *TwoOneofs_Field3:
1389 thisType = 2
1390 default:
1391 panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.One))
1392 }
1393 that1Type := -1
1394 switch that1.One.(type) {
1395 case *TwoOneofs_Field1:
1396 that1Type = 0
1397 case *TwoOneofs_Field2:
1398 that1Type = 1
1399 case *TwoOneofs_Field3:
1400 that1Type = 2
1401 default:
1402 panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.One))
1403 }
1404 if thisType == that1Type {
1405 if c := this.One.Compare(that1.One); c != 0 {
1406 return c
1407 }
1408 } else if thisType < that1Type {
1409 return -1
1410 } else if thisType > that1Type {
1411 return 1
1412 }
1413 }
1414 if that1.Two == nil {
1415 if this.Two != nil {
1416 return 1
1417 }
1418 } else if this.Two == nil {
1419 return -1
1420 } else {
1421 thisType := -1
1422 switch this.Two.(type) {
1423 case *TwoOneofs_Field34:
1424 thisType = 3
1425 case *TwoOneofs_Field35:
1426 thisType = 4
1427 case *TwoOneofs_SubMessage2:
1428 thisType = 5
1429 default:
1430 panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.Two))
1431 }
1432 that1Type := -1
1433 switch that1.Two.(type) {
1434 case *TwoOneofs_Field34:
1435 that1Type = 3
1436 case *TwoOneofs_Field35:
1437 that1Type = 4
1438 case *TwoOneofs_SubMessage2:
1439 that1Type = 5
1440 default:
1441 panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.Two))
1442 }
1443 if thisType == that1Type {
1444 if c := this.Two.Compare(that1.Two); c != 0 {
1445 return c
1446 }
1447 } else if thisType < that1Type {
1448 return -1
1449 } else if thisType > that1Type {
1450 return 1
1451 }
1452 }
1453 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
1454 return c
1455 }
1456 return 0
1457 }
1458 func (this *TwoOneofs_Field1) Compare(that interface{}) int {
1459 if that == nil {
1460 if this == nil {
1461 return 0
1462 }
1463 return 1
1464 }
1465
1466 that1, ok := that.(*TwoOneofs_Field1)
1467 if !ok {
1468 that2, ok := that.(TwoOneofs_Field1)
1469 if ok {
1470 that1 = &that2
1471 } else {
1472 return 1
1473 }
1474 }
1475 if that1 == nil {
1476 if this == nil {
1477 return 0
1478 }
1479 return 1
1480 } else if this == nil {
1481 return -1
1482 }
1483 if this.Field1 != that1.Field1 {
1484 if this.Field1 < that1.Field1 {
1485 return -1
1486 }
1487 return 1
1488 }
1489 return 0
1490 }
1491 func (this *TwoOneofs_Field2) Compare(that interface{}) int {
1492 if that == nil {
1493 if this == nil {
1494 return 0
1495 }
1496 return 1
1497 }
1498
1499 that1, ok := that.(*TwoOneofs_Field2)
1500 if !ok {
1501 that2, ok := that.(TwoOneofs_Field2)
1502 if ok {
1503 that1 = &that2
1504 } else {
1505 return 1
1506 }
1507 }
1508 if that1 == nil {
1509 if this == nil {
1510 return 0
1511 }
1512 return 1
1513 } else if this == nil {
1514 return -1
1515 }
1516 if this.Field2 != that1.Field2 {
1517 if this.Field2 < that1.Field2 {
1518 return -1
1519 }
1520 return 1
1521 }
1522 return 0
1523 }
1524 func (this *TwoOneofs_Field3) Compare(that interface{}) int {
1525 if that == nil {
1526 if this == nil {
1527 return 0
1528 }
1529 return 1
1530 }
1531
1532 that1, ok := that.(*TwoOneofs_Field3)
1533 if !ok {
1534 that2, ok := that.(TwoOneofs_Field3)
1535 if ok {
1536 that1 = &that2
1537 } else {
1538 return 1
1539 }
1540 }
1541 if that1 == nil {
1542 if this == nil {
1543 return 0
1544 }
1545 return 1
1546 } else if this == nil {
1547 return -1
1548 }
1549 if this.Field3 != that1.Field3 {
1550 if this.Field3 < that1.Field3 {
1551 return -1
1552 }
1553 return 1
1554 }
1555 return 0
1556 }
1557 func (this *TwoOneofs_Field34) Compare(that interface{}) int {
1558 if that == nil {
1559 if this == nil {
1560 return 0
1561 }
1562 return 1
1563 }
1564
1565 that1, ok := that.(*TwoOneofs_Field34)
1566 if !ok {
1567 that2, ok := that.(TwoOneofs_Field34)
1568 if ok {
1569 that1 = &that2
1570 } else {
1571 return 1
1572 }
1573 }
1574 if that1 == nil {
1575 if this == nil {
1576 return 0
1577 }
1578 return 1
1579 } else if this == nil {
1580 return -1
1581 }
1582 if this.Field34 != that1.Field34 {
1583 if this.Field34 < that1.Field34 {
1584 return -1
1585 }
1586 return 1
1587 }
1588 return 0
1589 }
1590 func (this *TwoOneofs_Field35) Compare(that interface{}) int {
1591 if that == nil {
1592 if this == nil {
1593 return 0
1594 }
1595 return 1
1596 }
1597
1598 that1, ok := that.(*TwoOneofs_Field35)
1599 if !ok {
1600 that2, ok := that.(TwoOneofs_Field35)
1601 if ok {
1602 that1 = &that2
1603 } else {
1604 return 1
1605 }
1606 }
1607 if that1 == nil {
1608 if this == nil {
1609 return 0
1610 }
1611 return 1
1612 } else if this == nil {
1613 return -1
1614 }
1615 if c := bytes.Compare(this.Field35, that1.Field35); c != 0 {
1616 return c
1617 }
1618 return 0
1619 }
1620 func (this *TwoOneofs_SubMessage2) Compare(that interface{}) int {
1621 if that == nil {
1622 if this == nil {
1623 return 0
1624 }
1625 return 1
1626 }
1627
1628 that1, ok := that.(*TwoOneofs_SubMessage2)
1629 if !ok {
1630 that2, ok := that.(TwoOneofs_SubMessage2)
1631 if ok {
1632 that1 = &that2
1633 } else {
1634 return 1
1635 }
1636 }
1637 if that1 == nil {
1638 if this == nil {
1639 return 0
1640 }
1641 return 1
1642 } else if this == nil {
1643 return -1
1644 }
1645 if c := this.SubMessage2.Compare(that1.SubMessage2); c != 0 {
1646 return c
1647 }
1648 return 0
1649 }
1650 func (this *CustomOneof) Compare(that interface{}) int {
1651 if that == nil {
1652 if this == nil {
1653 return 0
1654 }
1655 return 1
1656 }
1657
1658 that1, ok := that.(*CustomOneof)
1659 if !ok {
1660 that2, ok := that.(CustomOneof)
1661 if ok {
1662 that1 = &that2
1663 } else {
1664 return 1
1665 }
1666 }
1667 if that1 == nil {
1668 if this == nil {
1669 return 0
1670 }
1671 return 1
1672 } else if this == nil {
1673 return -1
1674 }
1675 if that1.Custom == nil {
1676 if this.Custom != nil {
1677 return 1
1678 }
1679 } else if this.Custom == nil {
1680 return -1
1681 } else {
1682 thisType := -1
1683 switch this.Custom.(type) {
1684 case *CustomOneof_Stringy:
1685 thisType = 0
1686 case *CustomOneof_CustomType:
1687 thisType = 1
1688 case *CustomOneof_CastType:
1689 thisType = 2
1690 case *CustomOneof_MyCustomName:
1691 thisType = 3
1692 default:
1693 panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.Custom))
1694 }
1695 that1Type := -1
1696 switch that1.Custom.(type) {
1697 case *CustomOneof_Stringy:
1698 that1Type = 0
1699 case *CustomOneof_CustomType:
1700 that1Type = 1
1701 case *CustomOneof_CastType:
1702 that1Type = 2
1703 case *CustomOneof_MyCustomName:
1704 that1Type = 3
1705 default:
1706 panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.Custom))
1707 }
1708 if thisType == that1Type {
1709 if c := this.Custom.Compare(that1.Custom); c != 0 {
1710 return c
1711 }
1712 } else if thisType < that1Type {
1713 return -1
1714 } else if thisType > that1Type {
1715 return 1
1716 }
1717 }
1718 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
1719 return c
1720 }
1721 return 0
1722 }
1723 func (this *CustomOneof_Stringy) Compare(that interface{}) int {
1724 if that == nil {
1725 if this == nil {
1726 return 0
1727 }
1728 return 1
1729 }
1730
1731 that1, ok := that.(*CustomOneof_Stringy)
1732 if !ok {
1733 that2, ok := that.(CustomOneof_Stringy)
1734 if ok {
1735 that1 = &that2
1736 } else {
1737 return 1
1738 }
1739 }
1740 if that1 == nil {
1741 if this == nil {
1742 return 0
1743 }
1744 return 1
1745 } else if this == nil {
1746 return -1
1747 }
1748 if this.Stringy != that1.Stringy {
1749 if this.Stringy < that1.Stringy {
1750 return -1
1751 }
1752 return 1
1753 }
1754 return 0
1755 }
1756 func (this *CustomOneof_CustomType) Compare(that interface{}) int {
1757 if that == nil {
1758 if this == nil {
1759 return 0
1760 }
1761 return 1
1762 }
1763
1764 that1, ok := that.(*CustomOneof_CustomType)
1765 if !ok {
1766 that2, ok := that.(CustomOneof_CustomType)
1767 if ok {
1768 that1 = &that2
1769 } else {
1770 return 1
1771 }
1772 }
1773 if that1 == nil {
1774 if this == nil {
1775 return 0
1776 }
1777 return 1
1778 } else if this == nil {
1779 return -1
1780 }
1781 if c := this.CustomType.Compare(that1.CustomType); c != 0 {
1782 return c
1783 }
1784 return 0
1785 }
1786 func (this *CustomOneof_CastType) Compare(that interface{}) int {
1787 if that == nil {
1788 if this == nil {
1789 return 0
1790 }
1791 return 1
1792 }
1793
1794 that1, ok := that.(*CustomOneof_CastType)
1795 if !ok {
1796 that2, ok := that.(CustomOneof_CastType)
1797 if ok {
1798 that1 = &that2
1799 } else {
1800 return 1
1801 }
1802 }
1803 if that1 == nil {
1804 if this == nil {
1805 return 0
1806 }
1807 return 1
1808 } else if this == nil {
1809 return -1
1810 }
1811 if this.CastType != that1.CastType {
1812 if this.CastType < that1.CastType {
1813 return -1
1814 }
1815 return 1
1816 }
1817 return 0
1818 }
1819 func (this *CustomOneof_MyCustomName) Compare(that interface{}) int {
1820 if that == nil {
1821 if this == nil {
1822 return 0
1823 }
1824 return 1
1825 }
1826
1827 that1, ok := that.(*CustomOneof_MyCustomName)
1828 if !ok {
1829 that2, ok := that.(CustomOneof_MyCustomName)
1830 if ok {
1831 that1 = &that2
1832 } else {
1833 return 1
1834 }
1835 }
1836 if that1 == nil {
1837 if this == nil {
1838 return 0
1839 }
1840 return 1
1841 } else if this == nil {
1842 return -1
1843 }
1844 if this.MyCustomName != that1.MyCustomName {
1845 if this.MyCustomName < that1.MyCustomName {
1846 return -1
1847 }
1848 return 1
1849 }
1850 return 0
1851 }
1852 func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1853 return OneDescription()
1854 }
1855 func (this *AllTypesOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1856 return OneDescription()
1857 }
1858 func (this *TwoOneofs) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1859 return OneDescription()
1860 }
1861 func (this *CustomOneof) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1862 return OneDescription()
1863 }
1864 func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1865 d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{}
1866 var gzipped = []byte{
1867
1868 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5b, 0x70, 0x1b, 0xe7,
1869 0x75, 0xe6, 0xe2, 0x42, 0x02, 0x07, 0x20, 0xb8, 0x5c, 0x52, 0x12, 0xc4, 0xc4, 0x90, 0x04, 0xdb,
1870 0x31, 0x7d, 0x23, 0x6d, 0x8a, 0xa4, 0x24, 0xa8, 0x89, 0x0b, 0x92, 0x10, 0x45, 0x97, 0x24, 0x98,
1871 0x05, 0x19, 0x5f, 0x32, 0x9d, 0x9d, 0xc5, 0xe2, 0x27, 0xb8, 0xd2, 0x62, 0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d5, 0x40,
1894 0x8a, 0x6e, 0xee, 0x5b, 0xf9, 0x34, 0x21, 0x38, 0xd3, 0x3f, 0x10, 0x62, 0xb8, 0x6a, 0x35, 0xd0,
1895 0x86, 0xb9, 0x6f, 0xc9, 0x39, 0xb7, 0xeb, 0x59, 0x3a, 0x09, 0xa3, 0x6e, 0xc7, 0xf4, 0xd4, 0x17,
1896 0xf2, 0x59, 0x92, 0x21, 0xec, 0xa9, 0xf8, 0x9d, 0x51, 0x98, 0x18, 0x26, 0xc5, 0x2e, 0x43, 0x72,
1897 0x1f, 0x8f, 0x32, 0x1f, 0x3b, 0x4e, 0x0c, 0x28, 0xa6, 0x3b, 0x88, 0xa3, 0x3f, 0x64, 0x10, 0xcb,
1898 0x90, 0x31, 0x91, 0xeb, 0xa1, 0x06, 0xcd, 0x88, 0xf8, 0x90, 0x39, 0x05, 0x14, 0xd4, 0x9f, 0x52,
1899 0x89, 0x1f, 0x2a, 0xa5, 0x9e, 0x85, 0x09, 0xdf, 0x25, 0xc5, 0x51, 0xcd, 0x26, 0xcf, 0xcd, 0xf9,
1900 0x28, 0x4f, 0xe6, 0x2a, 0x1c, 0x27, 0x63, 0x98, 0x9c, 0x43, 0x5d, 0xcf, 0xd2, 0x1a, 0x80, 0x65,
1901 0x22, 0x6b, 0x5f, 0x69, 0x20, 0xcd, 0xc8, 0xa7, 0x8e, 0x88, 0x52, 0x15, 0x9b, 0xf4, 0x45, 0xc9,
1902 0xa2, 0x52, 0xcd, 0x90, 0x2e, 0x05, 0xa9, 0x36, 0x76, 0x44, 0xa6, 0x6c, 0xd1, 0x45, 0xd6, 0x97,
1903 0x6d, 0x7b, 0x90, 0x73, 0x10, 0xce, 0x7b, 0xd4, 0x60, 0x23, 0x4b, 0x13, 0x27, 0xe6, 0x22, 0x47,
1904 0x26, 0x33, 0x18, 0x1d, 0xd8, 0xb8, 0x13, 0x7e, 0x94, 0xee, 0x07, 0x5f, 0xa0, 0x90, 0xb4, 0x02,
1905 0x52, 0x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, 0x4e, 0x61, 0x01, 0xce, 0x0b, 0x69, 0x06, 0x52, 0x64, 0x99, 0x34, 0x10,
1917 0xdf, 0xda, 0xfc, 0x67, 0x9c, 0x58, 0x0d, 0xb4, 0xaf, 0xb6, 0x0d, 0x4f, 0xb9, 0xa1, 0x1a, 0x6d,
1918 0x44, 0x12, 0x3e, 0x2d, 0x67, 0x99, 0xf0, 0x33, 0x58, 0x26, 0x9d, 0x81, 0x0c, 0x5d, 0x55, 0xba,
1919 0xd9, 0x40, 0x2f, 0x90, 0xea, 0x99, 0x94, 0xe9, 0x42, 0xdb, 0xc0, 0x12, 0xfc, 0xfa, 0x6b, 0xae,
1920 0x65, 0xf2, 0xd4, 0x24, 0xaf, 0xc0, 0x02, 0xf2, 0xfa, 0x0b, 0xbd, 0x85, 0xfb, 0xbe, 0xc1, 0xc3,
1921 0xeb, 0xcd, 0xa9, 0xe2, 0xb7, 0x62, 0x90, 0x20, 0xf5, 0x62, 0x02, 0x32, 0xbb, 0xcf, 0xed, 0x54,
1922 0x94, 0xb5, 0xea, 0xde, 0xca, 0x66, 0x45, 0x14, 0xa4, 0x1c, 0x00, 0x11, 0x5c, 0xd9, 0xac, 0x96,
1923 0x77, 0xc5, 0x98, 0xff, 0xbc, 0xb1, 0xbd, 0xbb, 0xbc, 0x28, 0xc6, 0x7d, 0xc0, 0x1e, 0x15, 0x24,
1924 0xc2, 0x06, 0xe7, 0x17, 0xc4, 0xa4, 0x24, 0x42, 0x96, 0x12, 0x6c, 0x3c, 0x5b, 0x59, 0x5b, 0x5e,
1925 0x14, 0x47, 0xbb, 0x25, 0xe7, 0x17, 0xc4, 0x31, 0x69, 0x1c, 0xd2, 0x44, 0xb2, 0x52, 0xad, 0x6e,
1926 0x8a, 0x29, 0x9f, 0xb3, 0xb6, 0x2b, 0x6f, 0x6c, 0xaf, 0x8b, 0x69, 0x9f, 0x73, 0x5d, 0xae, 0xee,
1927 0xed, 0x88, 0xe0, 0x33, 0x6c, 0x55, 0x6a, 0xb5, 0xf2, 0x7a, 0x45, 0xcc, 0xf8, 0x16, 0x2b, 0xcf,
1928 0xed, 0x56, 0x6a, 0x62, 0xb6, 0xcb, 0xad, 0xf3, 0x0b, 0xe2, 0xb8, 0xff, 0x8a, 0xca, 0xf6, 0xde,
1929 0x96, 0x98, 0x93, 0x26, 0x61, 0x9c, 0xbe, 0x82, 0x3b, 0x31, 0xd1, 0x23, 0x5a, 0x5e, 0x14, 0xc5,
1930 0xc0, 0x11, 0xca, 0x32, 0xd9, 0x25, 0x58, 0x5e, 0x14, 0xa5, 0xe2, 0x2a, 0x24, 0x49, 0x76, 0x49,
1931 0x12, 0xe4, 0x36, 0xcb, 0x2b, 0x95, 0x4d, 0xa5, 0xba, 0xb3, 0xbb, 0x51, 0xdd, 0x2e, 0x6f, 0x8a,
1932 0x42, 0x20, 0x93, 0x2b, 0x9f, 0xde, 0xdb, 0x90, 0x2b, 0x6b, 0x62, 0x2c, 0x2c, 0xdb, 0xa9, 0x94,
1933 0x77, 0x2b, 0x6b, 0x62, 0xbc, 0xa8, 0xc1, 0xf4, 0xa0, 0x3a, 0x39, 0x70, 0x65, 0x84, 0xa6, 0x38,
1934 0x76, 0xc4, 0x14, 0x13, 0xae, 0xbe, 0x29, 0x7e, 0x3b, 0x06, 0x53, 0x03, 0xf6, 0x8a, 0x81, 0x2f,
1935 0x79, 0x0a, 0x92, 0x34, 0x45, 0xe9, 0xee, 0xf9, 0xf0, 0xc0, 0x4d, 0x87, 0x24, 0x6c, 0xdf, 0x0e,
1936 0x4a, 0x70, 0xe1, 0x0e, 0x22, 0x7e, 0x44, 0x07, 0x81, 0x29, 0xfa, 0x6a, 0xfa, 0x4f, 0xf6, 0xd5,
1937 0x74, 0xba, 0xed, 0x2d, 0x0f, 0xb3, 0xed, 0x11, 0xd9, 0xf1, 0x6a, 0x7b, 0x72, 0x40, 0x6d, 0xbf,
1938 0x0c, 0x93, 0x7d, 0x44, 0x43, 0xd7, 0xd8, 0x17, 0x05, 0xc8, 0x1f, 0x15, 0x9c, 0x88, 0x4a, 0x17,
1939 0xeb, 0xaa, 0x74, 0x97, 0x7b, 0x23, 0x78, 0xee, 0xe8, 0x49, 0xe8, 0x9b, 0xeb, 0x57, 0x05, 0x38,
1940 0x39, 0xb8, 0x53, 0x1c, 0xe8, 0xc3, 0xa7, 0x60, 0xb4, 0x85, 0xbc, 0x03, 0x8b, 0x77, 0x4b, 0x9f,
1941 0x18, 0xb0, 0x07, 0x63, 0x75, 0xef, 0x64, 0x33, 0x54, 0x78, 0x13, 0x8f, 0x1f, 0xd5, 0xee, 0x51,
1942 0x6f, 0xfa, 0x3c, 0xfd, 0x7c, 0x0c, 0x4e, 0x0c, 0x24, 0x1f, 0xe8, 0xe8, 0x7d, 0x00, 0xba, 0x69,
1943 0xb7, 0x3d, 0xda, 0x11, 0xd1, 0x02, 0x9b, 0x26, 0x12, 0x52, 0xbc, 0x70, 0xf1, 0x6c, 0x7b, 0xbe,
1944 0x3e, 0x4e, 0xf4, 0x40, 0x45, 0xc4, 0xe0, 0x62, 0xe0, 0x68, 0x82, 0x38, 0x5a, 0x38, 0x62, 0xa4,
1945 0x7d, 0x89, 0xf9, 0x04, 0x88, 0x9a, 0xa1, 0x23, 0xd3, 0x53, 0x5c, 0xcf, 0x41, 0x6a, 0x4b, 0x37,
1946 0x9b, 0x64, 0x07, 0x49, 0x95, 0x92, 0xfb, 0xaa, 0xe1, 0x22, 0x79, 0x82, 0xaa, 0x6b, 0x5c, 0x8b,
1947 0x11, 0x24, 0x81, 0x9c, 0x10, 0x62, 0xb4, 0x0b, 0x41, 0xd5, 0x3e, 0xa2, 0xf8, 0x8b, 0x69, 0xc8,
1948 0x84, 0xfa, 0x6a, 0xe9, 0x1c, 0x64, 0xaf, 0xa9, 0x37, 0x54, 0x85, 0x9f, 0x95, 0x68, 0x24, 0x32,
1949 0x58, 0xb6, 0xc3, 0xce, 0x4b, 0x4f, 0xc0, 0x34, 0x31, 0xb1, 0xda, 0x1e, 0x72, 0x14, 0xcd, 0x50,
1950 0x5d, 0x97, 0x04, 0x2d, 0x45, 0x4c, 0x25, 0xac, 0xab, 0x62, 0xd5, 0x2a, 0xd7, 0x48, 0x4b, 0x30,
1951 0x45, 0x10, 0xad, 0xb6, 0xe1, 0xe9, 0xb6, 0x81, 0x14, 0x7c, 0x7a, 0x73, 0xc9, 0x4e, 0xe2, 0x7b,
1952 0x36, 0x89, 0x2d, 0xb6, 0x98, 0x01, 0xf6, 0xc8, 0x95, 0xd6, 0xe0, 0x3e, 0x02, 0x6b, 0x22, 0x13,
1953 0x39, 0xaa, 0x87, 0x14, 0xf4, 0xb9, 0xb6, 0x6a, 0xb8, 0x8a, 0x6a, 0x36, 0x94, 0x03, 0xd5, 0x3d,
1954 0xc8, 0x4f, 0x63, 0x82, 0x95, 0x58, 0x5e, 0x90, 0x4f, 0x63, 0xc3, 0x75, 0x66, 0x57, 0x21, 0x66,
1955 0x65, 0xb3, 0x71, 0x55, 0x75, 0x0f, 0xa4, 0x12, 0x9c, 0x24, 0x2c, 0xae, 0xe7, 0xe8, 0x66, 0x53,
1956 0xd1, 0x0e, 0x90, 0x76, 0x5d, 0x69, 0x7b, 0xfb, 0x17, 0xf3, 0x1f, 0x0b, 0xbf, 0x9f, 0x78, 0x58,
1957 0x23, 0x36, 0xab, 0xd8, 0x64, 0xcf, 0xdb, 0xbf, 0x28, 0xd5, 0x20, 0x8b, 0x27, 0xa3, 0xa5, 0xdf,
1958 0x42, 0xca, 0xbe, 0xe5, 0x90, 0xad, 0x31, 0x37, 0xa0, 0x34, 0x85, 0x22, 0x38, 0x57, 0x65, 0x80,
1959 0x2d, 0xab, 0x81, 0x4a, 0xc9, 0xda, 0x4e, 0xa5, 0xb2, 0x26, 0x67, 0x38, 0xcb, 0x15, 0xcb, 0xc1,
1960 0x09, 0xd5, 0xb4, 0xfc, 0x00, 0x67, 0x68, 0x42, 0x35, 0x2d, 0x1e, 0xde, 0x25, 0x98, 0xd2, 0x34,
1961 0x3a, 0x66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, 0xf4, 0x9c, 0x0e, 0xe9, 0xb8, 0x53, 0x72, 0xaa, 0xa5, 0xda, 0x15,
1984 0xfc, 0xfc, 0xd1, 0x1c, 0x7c, 0xfe, 0x31, 0x0e, 0xd9, 0x70, 0xd7, 0x8d, 0x0f, 0x31, 0x1a, 0xd9,
1985 0xa0, 0x04, 0x52, 0xc2, 0xee, 0xbf, 0x67, 0x8f, 0x3e, 0xb7, 0x8a, 0x77, 0xae, 0xd2, 0x28, 0xed,
1986 0x85, 0x65, 0x8a, 0xc4, 0x5d, 0x03, 0x4e, 0x2d, 0x44, 0x7b, 0x8f, 0x94, 0xcc, 0x9e, 0xa4, 0x75,
1987 0x18, 0xbd, 0xe6, 0x12, 0xee, 0x51, 0xc2, 0xfd, 0xc0, 0xbd, 0xb9, 0x9f, 0xae, 0x11, 0xf2, 0xf4,
1988 0xd3, 0x35, 0x65, 0xbb, 0x2a, 0x6f, 0x95, 0x37, 0x65, 0x06, 0x97, 0x4e, 0x43, 0xc2, 0x50, 0x6f,
1989 0x75, 0xba, 0xf7, 0x38, 0x22, 0x1a, 0x36, 0xf0, 0xa7, 0x21, 0x71, 0x13, 0xa9, 0xd7, 0xbb, 0x77,
1990 0x16, 0x22, 0xfa, 0x10, 0x53, 0x7f, 0x1e, 0x92, 0x24, 0x5e, 0x12, 0x00, 0x8b, 0x98, 0x38, 0x22,
1991 0xa5, 0x20, 0xb1, 0x5a, 0x95, 0x71, 0xfa, 0x8b, 0x90, 0xa5, 0x52, 0x65, 0x67, 0xa3, 0xb2, 0x5a,
1992 0x11, 0x63, 0xc5, 0x25, 0x18, 0xa5, 0x41, 0xc0, 0x4b, 0xc3, 0x0f, 0x83, 0x38, 0xc2, 0x1e, 0x19,
1993 0x87, 0xc0, 0xb5, 0x7b, 0x5b, 0x2b, 0x15, 0x59, 0x8c, 0x85, 0xa7, 0xd7, 0x85, 0x6c, 0xb8, 0xe1,
1994 0xfe, 0x68, 0x72, 0xea, 0xbb, 0x02, 0x64, 0x42, 0x0d, 0x34, 0xee, 0x7c, 0x54, 0xc3, 0xb0, 0x6e,
1995 0x2a, 0xaa, 0xa1, 0xab, 0x2e, 0x4b, 0x0a, 0x20, 0xa2, 0x32, 0x96, 0x0c, 0x3b, 0x69, 0x1f, 0x89,
1996 0xf3, 0xaf, 0x08, 0x20, 0xf6, 0xf6, 0xae, 0x3d, 0x0e, 0x0a, 0x3f, 0x52, 0x07, 0x5f, 0x16, 0x20,
1997 0xd7, 0xdd, 0xb0, 0xf6, 0xb8, 0x77, 0xee, 0x47, 0xea, 0xde, 0x5b, 0x31, 0x18, 0xef, 0x6a, 0x53,
1998 0x87, 0xf5, 0xee, 0x73, 0x30, 0xa9, 0x37, 0x50, 0xcb, 0xb6, 0x3c, 0x64, 0x6a, 0x1d, 0xc5, 0x40,
1999 0x37, 0x90, 0x91, 0x2f, 0x92, 0x42, 0x31, 0x7f, 0xef, 0x46, 0x78, 0x6e, 0x23, 0xc0, 0x6d, 0x62,
2000 0x58, 0x69, 0x6a, 0x63, 0xad, 0xb2, 0xb5, 0x53, 0xdd, 0xad, 0x6c, 0xaf, 0x3e, 0xa7, 0xec, 0x6d,
2001 0xff, 0xc4, 0x76, 0xf5, 0x99, 0x6d, 0x59, 0xd4, 0x7b, 0xcc, 0x3e, 0xc4, 0xa5, 0xbe, 0x03, 0x62,
2002 0xaf, 0x53, 0xd2, 0x29, 0x18, 0xe4, 0x96, 0x38, 0x22, 0x4d, 0xc1, 0xc4, 0x76, 0x55, 0xa9, 0x6d,
2003 0xac, 0x55, 0x94, 0xca, 0x95, 0x2b, 0x95, 0xd5, 0xdd, 0x1a, 0xbd, 0xda, 0xf0, 0xad, 0x77, 0xbb,
2004 0x17, 0xf5, 0x4b, 0x71, 0x98, 0x1a, 0xe0, 0x89, 0x54, 0x66, 0x87, 0x12, 0x7a, 0x4e, 0x7a, 0x7c,
2005 0x18, 0xef, 0xe7, 0x70, 0x57, 0xb0, 0xa3, 0x3a, 0x1e, 0x3b, 0xc3, 0x3c, 0x0c, 0x38, 0x4a, 0xa6,
2006 0xa7, 0xef, 0xeb, 0xc8, 0x61, 0x37, 0x41, 0xf4, 0xa4, 0x32, 0x11, 0xc8, 0xe9, 0x65, 0xd0, 0x63,
2007 0x20, 0xd9, 0x96, 0xab, 0x7b, 0xfa, 0x0d, 0xa4, 0xe8, 0x26, 0xbf, 0x36, 0xc2, 0x27, 0x97, 0x84,
2008 0x2c, 0x72, 0xcd, 0x86, 0xe9, 0xf9, 0xd6, 0x26, 0x6a, 0xaa, 0x3d, 0xd6, 0xb8, 0x80, 0xc7, 0x65,
2009 0x91, 0x6b, 0x7c, 0xeb, 0x73, 0x90, 0x6d, 0x58, 0x6d, 0xdc, 0xce, 0x51, 0x3b, 0xbc, 0x5f, 0x08,
2010 0x72, 0x86, 0xca, 0x7c, 0x13, 0xd6, 0xa8, 0x07, 0xf7, 0x55, 0x59, 0x39, 0x43, 0x65, 0xd4, 0xe4,
2011 0x21, 0x98, 0x50, 0x9b, 0x4d, 0x07, 0x93, 0x73, 0x22, 0x7a, 0xf4, 0xc8, 0xf9, 0x62, 0x62, 0x38,
2012 0xf3, 0x34, 0xa4, 0x78, 0x1c, 0xf0, 0x96, 0x8c, 0x23, 0xa1, 0xd8, 0xf4, 0x3c, 0x1d, 0x9b, 0x4d,
2013 0xcb, 0x29, 0x93, 0x2b, 0xcf, 0x41, 0x56, 0x77, 0x95, 0xe0, 0xfa, 0x3d, 0x76, 0x36, 0x36, 0x9b,
2014 0x92, 0x33, 0xba, 0xeb, 0x5f, 0x5d, 0x16, 0x5f, 0x8d, 0x41, 0xae, 0xfb, 0xf3, 0x81, 0xb4, 0x06,
2015 0x29, 0xc3, 0xd2, 0x54, 0x92, 0x5a, 0xf4, 0xdb, 0xd5, 0x6c, 0xc4, 0x17, 0x87, 0xb9, 0x4d, 0x66,
2016 0x2f, 0xfb, 0xc8, 0x99, 0xbf, 0x13, 0x20, 0xc5, 0xc5, 0xd2, 0x49, 0x48, 0xd8, 0xaa, 0x77, 0x40,
2017 0xe8, 0x92, 0x2b, 0x31, 0x51, 0x90, 0xc9, 0x33, 0x96, 0xbb, 0xb6, 0x6a, 0x92, 0x14, 0x60, 0x72,
2018 0xfc, 0x8c, 0xe7, 0xd5, 0x40, 0x6a, 0x83, 0x9c, 0x6b, 0xac, 0x56, 0x0b, 0x99, 0x9e, 0xcb, 0xe7,
2019 0x95, 0xc9, 0x57, 0x99, 0x58, 0x7a, 0x14, 0x26, 0x3d, 0x47, 0xd5, 0x8d, 0x2e, 0xdb, 0x04, 0xb1,
2020 0x15, 0xb9, 0xc2, 0x37, 0x2e, 0xc1, 0x69, 0xce, 0xdb, 0x40, 0x9e, 0xaa, 0x1d, 0xa0, 0x46, 0x00,
2021 0x1a, 0x25, 0xf7, 0x17, 0xa7, 0x98, 0xc1, 0x1a, 0xd3, 0x73, 0x6c, 0xf1, 0xfb, 0x02, 0x4c, 0xf2,
2022 0x93, 0x58, 0xc3, 0x0f, 0xd6, 0x16, 0x80, 0x6a, 0x9a, 0x96, 0x17, 0x0e, 0x57, 0x7f, 0x2a, 0xf7,
2023 0xe1, 0xe6, 0xca, 0x3e, 0x48, 0x0e, 0x11, 0xcc, 0xb4, 0x00, 0x02, 0xcd, 0x91, 0x61, 0x3b, 0x03,
2024 0x19, 0xf6, 0x6d, 0x88, 0x7c, 0x60, 0xa4, 0x67, 0x77, 0xa0, 0x22, 0x7c, 0x64, 0x93, 0xa6, 0x21,
2025 0x59, 0x47, 0x4d, 0xdd, 0x64, 0x37, 0xbe, 0xf4, 0x81, 0xdf, 0xb0, 0x24, 0xfc, 0x1b, 0x96, 0x95,
2026 0xcf, 0xc2, 0x94, 0x66, 0xb5, 0x7a, 0xdd, 0x5d, 0x11, 0x7b, 0xee, 0x0f, 0xdc, 0xab, 0xc2, 0xf3,
2027 0x10, 0xb4, 0x98, 0xef, 0x0b, 0xc2, 0x57, 0x63, 0xf1, 0xf5, 0x9d, 0x95, 0xaf, 0xc7, 0x66, 0xd6,
2028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0xe4, 0x5e, 0xe8, 0x2a, 0x22, 0xff, 0xa5, 0x77, 0xbb, 0x67, 0x71, 0x9d, 0x22, 0xcb,
2040 0x86, 0x51, 0xda, 0x83, 0x53, 0x03, 0xb2, 0x62, 0x08, 0xce, 0x97, 0x18, 0xe7, 0x74, 0x5f, 0x66,
2041 0x60, 0xda, 0x1d, 0xe0, 0x72, 0x7f, 0x2e, 0x87, 0xe0, 0xfc, 0x2d, 0xc6, 0x29, 0x31, 0x2c, 0x9f,
2042 0x52, 0xcc, 0xf8, 0x34, 0x4c, 0xde, 0x40, 0x4e, 0xdd, 0x72, 0xd9, 0xf5, 0xcf, 0x10, 0x74, 0x2f,
2043 0x33, 0xba, 0x09, 0x06, 0x24, 0xf7, 0x41, 0x98, 0xeb, 0x12, 0xa4, 0xf6, 0x55, 0x0d, 0x0d, 0x41,
2044 0xf1, 0x65, 0x46, 0x31, 0x86, 0xed, 0x31, 0xb4, 0x0c, 0xd9, 0xa6, 0xc5, 0x76, 0xa6, 0x68, 0xf8,
2045 0x2b, 0x0c, 0x9e, 0xe1, 0x18, 0x46, 0x61, 0x5b, 0x76, 0xdb, 0xc0, 0xdb, 0x56, 0x34, 0xc5, 0x6f,
2046 0x73, 0x0a, 0x8e, 0x61, 0x14, 0xc7, 0x08, 0xeb, 0xef, 0x70, 0x0a, 0x37, 0x14, 0xcf, 0xa7, 0x20,
2047 0x63, 0x99, 0x46, 0xc7, 0x32, 0x87, 0x71, 0xe2, 0x2b, 0x8c, 0x01, 0x18, 0x04, 0x13, 0x5c, 0x86,
2048 0xf4, 0xb0, 0x13, 0xf1, 0x7b, 0xef, 0xf2, 0xe5, 0xc1, 0x67, 0x60, 0x1d, 0x26, 0x78, 0x81, 0xd2,
2049 0x2d, 0x73, 0x08, 0x8a, 0xaf, 0x31, 0x8a, 0x5c, 0x08, 0xc6, 0x86, 0xe1, 0x21, 0xd7, 0x6b, 0xa2,
2050 0x61, 0x48, 0x5e, 0xe5, 0xc3, 0x60, 0x10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67, 0xaa, 0xf6, 0x42, 0x70, 0xcc, 0xbc, 0x01, 0xa2, 0xdf,
2062 0xab, 0x28, 0x7a, 0xcb, 0xb6, 0x1c, 0x2f, 0x82, 0xf1, 0xcf, 0xf8, 0x4c, 0xf9, 0xb8, 0x0d, 0x02,
2063 0x2b, 0x55, 0x20, 0x47, 0x1e, 0x87, 0x4d, 0xc9, 0x3f, 0x67, 0x44, 0xe3, 0x01, 0x8a, 0x15, 0x0e,
2064 0xcd, 0x6a, 0xd9, 0xaa, 0x33, 0x4c, 0xfd, 0xfb, 0x0b, 0x5e, 0x38, 0x18, 0x84, 0x15, 0x0e, 0xaf,
2065 0x63, 0x23, 0xbc, 0xdb, 0x0f, 0xc1, 0xf0, 0x2d, 0x5e, 0x38, 0x38, 0x86, 0x51, 0xf0, 0x86, 0x61,
2066 0x08, 0x8a, 0xbf, 0xe4, 0x14, 0x1c, 0x83, 0x29, 0x3e, 0x1d, 0x6c, 0xb4, 0x0e, 0x6a, 0xea, 0xae,
2067 0xe7, 0xd0, 0x56, 0xf8, 0xde, 0x54, 0xdf, 0x7e, 0xb7, 0xbb, 0x09, 0x93, 0x43, 0x50, 0x5c, 0x89,
2068 0xd8, 0x15, 0x2a, 0x39, 0x29, 0x45, 0x3b, 0xf6, 0x1d, 0x5e, 0x89, 0x42, 0x30, 0xec, 0x5b, 0xa8,
2069 0x43, 0xc4, 0x61, 0xd7, 0xf0, 0xf9, 0x60, 0x08, 0xba, 0xef, 0xf6, 0x38, 0x57, 0xe3, 0x58, 0xcc,
2070 0x19, 0xea, 0x7f, 0xda, 0xe6, 0x75, 0xd4, 0x19, 0x2a, 0x3b, 0xff, 0xaa, 0xa7, 0xff, 0xd9, 0xa3,
2071 0x48, 0x5a, 0x43, 0x26, 0x7a, 0xfa, 0x29, 0x29, 0xea, 0x57, 0x40, 0xf9, 0x9f, 0xbe, 0xcb, 0xc6,
2072 0xdb, 0xdd, 0x4e, 0x95, 0x36, 0x71, 0x92, 0x77, 0x37, 0x3d, 0xd1, 0x64, 0x2f, 0xde, 0xf5, 0xf3,
2073 0xbc, 0xab, 0xe7, 0x29, 0x5d, 0x81, 0xf1, 0xae, 0x86, 0x27, 0x9a, 0xea, 0x67, 0x18, 0x55, 0x36,
2074 0xdc, 0xef, 0x94, 0x96, 0x20, 0x81, 0x9b, 0x97, 0x68, 0xf8, 0xcf, 0x32, 0x38, 0x31, 0x2f, 0x7d,
2075 0x12, 0x52, 0xbc, 0x69, 0x89, 0x86, 0xfe, 0x1c, 0x83, 0xfa, 0x10, 0x0c, 0xe7, 0x0d, 0x4b, 0x34,
2076 0xfc, 0xe7, 0x39, 0x9c, 0x43, 0x30, 0x7c, 0xf8, 0x10, 0xfe, 0xf5, 0x2f, 0x24, 0xd8, 0xa6, 0xc3,
2077 0x63, 0x77, 0x19, 0xc6, 0x58, 0xa7, 0x12, 0x8d, 0xfe, 0x3c, 0x7b, 0x39, 0x47, 0x94, 0x2e, 0x40,
2078 0x72, 0xc8, 0x80, 0xff, 0x12, 0x83, 0x52, 0xfb, 0xd2, 0x2a, 0x64, 0x42, 0xdd, 0x49, 0x34, 0xfc,
2079 0x97, 0x19, 0x3c, 0x8c, 0xc2, 0xae, 0xb3, 0xee, 0x24, 0x9a, 0xe0, 0x57, 0xb8, 0xeb, 0x0c, 0x81,
2080 0xc3, 0xc6, 0x1b, 0x93, 0x68, 0xf4, 0xaf, 0xf2, 0xa8, 0x73, 0x48, 0xe9, 0x29, 0x48, 0xfb, 0x9b,
2081 0x4d, 0x34, 0xfe, 0xd7, 0x18, 0x3e, 0xc0, 0xe0, 0x08, 0x84, 0x36, 0xbb, 0x68, 0x8a, 0x2f, 0xf0,
2082 0x08, 0x84, 0x50, 0x78, 0x19, 0xf5, 0x36, 0x30, 0xd1, 0x4c, 0xbf, 0xce, 0x97, 0x51, 0x4f, 0xff,
2083 0x82, 0x67, 0x93, 0xd4, 0xfc, 0x68, 0x8a, 0xdf, 0xe0, 0xb3, 0x49, 0xec, 0xb1, 0x1b, 0xbd, 0x1d,
2084 0x41, 0x34, 0xc7, 0x6f, 0x72, 0x37, 0x7a, 0x1a, 0x82, 0xd2, 0x0e, 0x48, 0xfd, 0xdd, 0x40, 0x34,
2085 0xdf, 0x17, 0x19, 0xdf, 0x64, 0x5f, 0x33, 0x50, 0x7a, 0x06, 0x4e, 0x0e, 0xee, 0x04, 0xa2, 0x59,
2086 0xbf, 0x74, 0xb7, 0xe7, 0xec, 0x16, 0x6e, 0x04, 0x4a, 0xbb, 0xc1, 0x96, 0x12, 0xee, 0x02, 0xa2,
2087 0x69, 0x5f, 0xba, 0xdb, 0x5d, 0xb8, 0xc3, 0x4d, 0x40, 0xa9, 0x0c, 0x10, 0x6c, 0xc0, 0xd1, 0x5c,
2088 0x2f, 0x33, 0xae, 0x10, 0x08, 0x2f, 0x0d, 0xb6, 0xff, 0x46, 0xe3, 0xbf, 0xcc, 0x97, 0x06, 0x43,
2089 0xe0, 0xa5, 0xc1, 0xb7, 0xde, 0x68, 0xf4, 0x2b, 0x7c, 0x69, 0x70, 0x08, 0xce, 0xec, 0xd0, 0xee,
2090 0x16, 0xcd, 0xf0, 0x15, 0x9e, 0xd9, 0x21, 0x54, 0x69, 0x1b, 0x26, 0xfb, 0x36, 0xc4, 0x68, 0xaa,
2091 0xaf, 0x32, 0x2a, 0xb1, 0x77, 0x3f, 0x0c, 0x6f, 0x5e, 0x6c, 0x33, 0x8c, 0x66, 0xfb, 0xdd, 0x9e,
2092 0xcd, 0x8b, 0xed, 0x85, 0xa5, 0xcb, 0x90, 0x32, 0xdb, 0x86, 0x81, 0x17, 0x8f, 0x74, 0xef, 0x5f,
2093 0xee, 0xe5, 0xff, 0xf9, 0x03, 0x16, 0x1d, 0x0e, 0x28, 0x2d, 0x41, 0x12, 0xb5, 0xea, 0xa8, 0x11,
2094 0x85, 0xfc, 0x97, 0x0f, 0x78, 0xc1, 0xc4, 0xd6, 0xa5, 0xa7, 0x00, 0xe8, 0xd5, 0x08, 0xf9, 0xec,
2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f, 0xdf, 0x3c, 0x73, 0x3e, 0x82, 0x91, 0x95, 0xd6, 0xb9, 0xad, 0x0e, 0x66, 0x5d, 0x5e,
2129 0xc4, 0xf0, 0xab, 0x23, 0xb2, 0x4f, 0x25, 0x2d, 0x70, 0x57, 0xb7, 0xd5, 0x16, 0xfd, 0x85, 0x58,
2130 0x7c, 0x45, 0x3c, 0x7c, 0xf3, 0x4c, 0x76, 0xab, 0x13, 0xc8, 0x03, 0x57, 0xf0, 0xd3, 0x4a, 0x0a,
2131 0x46, 0xa9, 0xab, 0x2b, 0x57, 0x5f, 0xbf, 0x53, 0x18, 0x79, 0xe3, 0x4e, 0x61, 0xe4, 0xef, 0xef,
2132 0x14, 0x46, 0xde, 0xba, 0x53, 0x10, 0xde, 0xbb, 0x53, 0x10, 0xde, 0xbf, 0x53, 0x10, 0x6e, 0x1f,
2133 0x16, 0x84, 0xd7, 0x0e, 0x0b, 0xc2, 0x37, 0x0e, 0x0b, 0xc2, 0xb7, 0x0f, 0x0b, 0xc2, 0xeb, 0x87,
2134 0x05, 0xe1, 0x8d, 0xc3, 0x82, 0xf0, 0xd6, 0x61, 0x41, 0xf8, 0xc1, 0x61, 0x61, 0xe4, 0xbd, 0xc3,
2135 0x82, 0xf0, 0xfe, 0x61, 0x61, 0xe4, 0xf6, 0xdb, 0x85, 0x91, 0xd7, 0xde, 0x2e, 0x08, 0xff, 0x17,
2136 0x00, 0x00, 0xff, 0xff, 0xb6, 0xda, 0xab, 0xc3, 0x70, 0x37, 0x00, 0x00,
2137 }
2138 r := bytes.NewReader(gzipped)
2139 gzipr, err := compress_gzip.NewReader(r)
2140 if err != nil {
2141 panic(err)
2142 }
2143 ungzipped, err := io_ioutil.ReadAll(gzipr)
2144 if err != nil {
2145 panic(err)
2146 }
2147 if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil {
2148 panic(err)
2149 }
2150 return d
2151 }
2152 func (this *Subby) VerboseEqual(that interface{}) error {
2153 if that == nil {
2154 if this == nil {
2155 return nil
2156 }
2157 return fmt.Errorf("that == nil && this != nil")
2158 }
2159
2160 that1, ok := that.(*Subby)
2161 if !ok {
2162 that2, ok := that.(Subby)
2163 if ok {
2164 that1 = &that2
2165 } else {
2166 return fmt.Errorf("that is not of type *Subby")
2167 }
2168 }
2169 if that1 == nil {
2170 if this == nil {
2171 return nil
2172 }
2173 return fmt.Errorf("that is type *Subby but is nil && this != nil")
2174 } else if this == nil {
2175 return fmt.Errorf("that is type *Subby but is not nil && this == nil")
2176 }
2177 if this.Sub != nil && that1.Sub != nil {
2178 if *this.Sub != *that1.Sub {
2179 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", *this.Sub, *that1.Sub)
2180 }
2181 } else if this.Sub != nil {
2182 return fmt.Errorf("this.Sub == nil && that.Sub != nil")
2183 } else if that1.Sub != nil {
2184 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub)
2185 }
2186 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
2187 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
2188 }
2189 return nil
2190 }
2191 func (this *Subby) Equal(that interface{}) bool {
2192 if that == nil {
2193 return this == nil
2194 }
2195
2196 that1, ok := that.(*Subby)
2197 if !ok {
2198 that2, ok := that.(Subby)
2199 if ok {
2200 that1 = &that2
2201 } else {
2202 return false
2203 }
2204 }
2205 if that1 == nil {
2206 return this == nil
2207 } else if this == nil {
2208 return false
2209 }
2210 if this.Sub != nil && that1.Sub != nil {
2211 if *this.Sub != *that1.Sub {
2212 return false
2213 }
2214 } else if this.Sub != nil {
2215 return false
2216 } else if that1.Sub != nil {
2217 return false
2218 }
2219 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
2220 return false
2221 }
2222 return true
2223 }
2224 func (this *AllTypesOneOf) VerboseEqual(that interface{}) error {
2225 if that == nil {
2226 if this == nil {
2227 return nil
2228 }
2229 return fmt.Errorf("that == nil && this != nil")
2230 }
2231
2232 that1, ok := that.(*AllTypesOneOf)
2233 if !ok {
2234 that2, ok := that.(AllTypesOneOf)
2235 if ok {
2236 that1 = &that2
2237 } else {
2238 return fmt.Errorf("that is not of type *AllTypesOneOf")
2239 }
2240 }
2241 if that1 == nil {
2242 if this == nil {
2243 return nil
2244 }
2245 return fmt.Errorf("that is type *AllTypesOneOf but is nil && this != nil")
2246 } else if this == nil {
2247 return fmt.Errorf("that is type *AllTypesOneOf but is not nil && this == nil")
2248 }
2249 if that1.TestOneof == nil {
2250 if this.TestOneof != nil {
2251 return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil")
2252 }
2253 } else if this.TestOneof == nil {
2254 return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil")
2255 } else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil {
2256 return err
2257 }
2258 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
2259 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
2260 }
2261 return nil
2262 }
2263 func (this *AllTypesOneOf_Field1) VerboseEqual(that interface{}) error {
2264 if that == nil {
2265 if this == nil {
2266 return nil
2267 }
2268 return fmt.Errorf("that == nil && this != nil")
2269 }
2270
2271 that1, ok := that.(*AllTypesOneOf_Field1)
2272 if !ok {
2273 that2, ok := that.(AllTypesOneOf_Field1)
2274 if ok {
2275 that1 = &that2
2276 } else {
2277 return fmt.Errorf("that is not of type *AllTypesOneOf_Field1")
2278 }
2279 }
2280 if that1 == nil {
2281 if this == nil {
2282 return nil
2283 }
2284 return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is nil && this != nil")
2285 } else if this == nil {
2286 return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is not nil && this == nil")
2287 }
2288 if this.Field1 != that1.Field1 {
2289 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1)
2290 }
2291 return nil
2292 }
2293 func (this *AllTypesOneOf_Field2) VerboseEqual(that interface{}) error {
2294 if that == nil {
2295 if this == nil {
2296 return nil
2297 }
2298 return fmt.Errorf("that == nil && this != nil")
2299 }
2300
2301 that1, ok := that.(*AllTypesOneOf_Field2)
2302 if !ok {
2303 that2, ok := that.(AllTypesOneOf_Field2)
2304 if ok {
2305 that1 = &that2
2306 } else {
2307 return fmt.Errorf("that is not of type *AllTypesOneOf_Field2")
2308 }
2309 }
2310 if that1 == nil {
2311 if this == nil {
2312 return nil
2313 }
2314 return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is nil && this != nil")
2315 } else if this == nil {
2316 return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is not nil && this == nil")
2317 }
2318 if this.Field2 != that1.Field2 {
2319 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2)
2320 }
2321 return nil
2322 }
2323 func (this *AllTypesOneOf_Field3) VerboseEqual(that interface{}) error {
2324 if that == nil {
2325 if this == nil {
2326 return nil
2327 }
2328 return fmt.Errorf("that == nil && this != nil")
2329 }
2330
2331 that1, ok := that.(*AllTypesOneOf_Field3)
2332 if !ok {
2333 that2, ok := that.(AllTypesOneOf_Field3)
2334 if ok {
2335 that1 = &that2
2336 } else {
2337 return fmt.Errorf("that is not of type *AllTypesOneOf_Field3")
2338 }
2339 }
2340 if that1 == nil {
2341 if this == nil {
2342 return nil
2343 }
2344 return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is nil && this != nil")
2345 } else if this == nil {
2346 return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is not nil && this == nil")
2347 }
2348 if this.Field3 != that1.Field3 {
2349 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3)
2350 }
2351 return nil
2352 }
2353 func (this *AllTypesOneOf_Field4) VerboseEqual(that interface{}) error {
2354 if that == nil {
2355 if this == nil {
2356 return nil
2357 }
2358 return fmt.Errorf("that == nil && this != nil")
2359 }
2360
2361 that1, ok := that.(*AllTypesOneOf_Field4)
2362 if !ok {
2363 that2, ok := that.(AllTypesOneOf_Field4)
2364 if ok {
2365 that1 = &that2
2366 } else {
2367 return fmt.Errorf("that is not of type *AllTypesOneOf_Field4")
2368 }
2369 }
2370 if that1 == nil {
2371 if this == nil {
2372 return nil
2373 }
2374 return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is nil && this != nil")
2375 } else if this == nil {
2376 return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is not nil && this == nil")
2377 }
2378 if this.Field4 != that1.Field4 {
2379 return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4)
2380 }
2381 return nil
2382 }
2383 func (this *AllTypesOneOf_Field5) VerboseEqual(that interface{}) error {
2384 if that == nil {
2385 if this == nil {
2386 return nil
2387 }
2388 return fmt.Errorf("that == nil && this != nil")
2389 }
2390
2391 that1, ok := that.(*AllTypesOneOf_Field5)
2392 if !ok {
2393 that2, ok := that.(AllTypesOneOf_Field5)
2394 if ok {
2395 that1 = &that2
2396 } else {
2397 return fmt.Errorf("that is not of type *AllTypesOneOf_Field5")
2398 }
2399 }
2400 if that1 == nil {
2401 if this == nil {
2402 return nil
2403 }
2404 return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is nil && this != nil")
2405 } else if this == nil {
2406 return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is not nil && this == nil")
2407 }
2408 if this.Field5 != that1.Field5 {
2409 return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5)
2410 }
2411 return nil
2412 }
2413 func (this *AllTypesOneOf_Field6) VerboseEqual(that interface{}) error {
2414 if that == nil {
2415 if this == nil {
2416 return nil
2417 }
2418 return fmt.Errorf("that == nil && this != nil")
2419 }
2420
2421 that1, ok := that.(*AllTypesOneOf_Field6)
2422 if !ok {
2423 that2, ok := that.(AllTypesOneOf_Field6)
2424 if ok {
2425 that1 = &that2
2426 } else {
2427 return fmt.Errorf("that is not of type *AllTypesOneOf_Field6")
2428 }
2429 }
2430 if that1 == nil {
2431 if this == nil {
2432 return nil
2433 }
2434 return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is nil && this != nil")
2435 } else if this == nil {
2436 return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is not nil && this == nil")
2437 }
2438 if this.Field6 != that1.Field6 {
2439 return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6)
2440 }
2441 return nil
2442 }
2443 func (this *AllTypesOneOf_Field7) VerboseEqual(that interface{}) error {
2444 if that == nil {
2445 if this == nil {
2446 return nil
2447 }
2448 return fmt.Errorf("that == nil && this != nil")
2449 }
2450
2451 that1, ok := that.(*AllTypesOneOf_Field7)
2452 if !ok {
2453 that2, ok := that.(AllTypesOneOf_Field7)
2454 if ok {
2455 that1 = &that2
2456 } else {
2457 return fmt.Errorf("that is not of type *AllTypesOneOf_Field7")
2458 }
2459 }
2460 if that1 == nil {
2461 if this == nil {
2462 return nil
2463 }
2464 return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is nil && this != nil")
2465 } else if this == nil {
2466 return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is not nil && this == nil")
2467 }
2468 if this.Field7 != that1.Field7 {
2469 return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7)
2470 }
2471 return nil
2472 }
2473 func (this *AllTypesOneOf_Field8) VerboseEqual(that interface{}) error {
2474 if that == nil {
2475 if this == nil {
2476 return nil
2477 }
2478 return fmt.Errorf("that == nil && this != nil")
2479 }
2480
2481 that1, ok := that.(*AllTypesOneOf_Field8)
2482 if !ok {
2483 that2, ok := that.(AllTypesOneOf_Field8)
2484 if ok {
2485 that1 = &that2
2486 } else {
2487 return fmt.Errorf("that is not of type *AllTypesOneOf_Field8")
2488 }
2489 }
2490 if that1 == nil {
2491 if this == nil {
2492 return nil
2493 }
2494 return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is nil && this != nil")
2495 } else if this == nil {
2496 return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is not nil && this == nil")
2497 }
2498 if this.Field8 != that1.Field8 {
2499 return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8)
2500 }
2501 return nil
2502 }
2503 func (this *AllTypesOneOf_Field9) VerboseEqual(that interface{}) error {
2504 if that == nil {
2505 if this == nil {
2506 return nil
2507 }
2508 return fmt.Errorf("that == nil && this != nil")
2509 }
2510
2511 that1, ok := that.(*AllTypesOneOf_Field9)
2512 if !ok {
2513 that2, ok := that.(AllTypesOneOf_Field9)
2514 if ok {
2515 that1 = &that2
2516 } else {
2517 return fmt.Errorf("that is not of type *AllTypesOneOf_Field9")
2518 }
2519 }
2520 if that1 == nil {
2521 if this == nil {
2522 return nil
2523 }
2524 return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is nil && this != nil")
2525 } else if this == nil {
2526 return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is not nil && this == nil")
2527 }
2528 if this.Field9 != that1.Field9 {
2529 return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9)
2530 }
2531 return nil
2532 }
2533 func (this *AllTypesOneOf_Field10) VerboseEqual(that interface{}) error {
2534 if that == nil {
2535 if this == nil {
2536 return nil
2537 }
2538 return fmt.Errorf("that == nil && this != nil")
2539 }
2540
2541 that1, ok := that.(*AllTypesOneOf_Field10)
2542 if !ok {
2543 that2, ok := that.(AllTypesOneOf_Field10)
2544 if ok {
2545 that1 = &that2
2546 } else {
2547 return fmt.Errorf("that is not of type *AllTypesOneOf_Field10")
2548 }
2549 }
2550 if that1 == nil {
2551 if this == nil {
2552 return nil
2553 }
2554 return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is nil && this != nil")
2555 } else if this == nil {
2556 return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is not nil && this == nil")
2557 }
2558 if this.Field10 != that1.Field10 {
2559 return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10)
2560 }
2561 return nil
2562 }
2563 func (this *AllTypesOneOf_Field11) VerboseEqual(that interface{}) error {
2564 if that == nil {
2565 if this == nil {
2566 return nil
2567 }
2568 return fmt.Errorf("that == nil && this != nil")
2569 }
2570
2571 that1, ok := that.(*AllTypesOneOf_Field11)
2572 if !ok {
2573 that2, ok := that.(AllTypesOneOf_Field11)
2574 if ok {
2575 that1 = &that2
2576 } else {
2577 return fmt.Errorf("that is not of type *AllTypesOneOf_Field11")
2578 }
2579 }
2580 if that1 == nil {
2581 if this == nil {
2582 return nil
2583 }
2584 return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is nil && this != nil")
2585 } else if this == nil {
2586 return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is not nil && this == nil")
2587 }
2588 if this.Field11 != that1.Field11 {
2589 return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11)
2590 }
2591 return nil
2592 }
2593 func (this *AllTypesOneOf_Field12) VerboseEqual(that interface{}) error {
2594 if that == nil {
2595 if this == nil {
2596 return nil
2597 }
2598 return fmt.Errorf("that == nil && this != nil")
2599 }
2600
2601 that1, ok := that.(*AllTypesOneOf_Field12)
2602 if !ok {
2603 that2, ok := that.(AllTypesOneOf_Field12)
2604 if ok {
2605 that1 = &that2
2606 } else {
2607 return fmt.Errorf("that is not of type *AllTypesOneOf_Field12")
2608 }
2609 }
2610 if that1 == nil {
2611 if this == nil {
2612 return nil
2613 }
2614 return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is nil && this != nil")
2615 } else if this == nil {
2616 return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is not nil && this == nil")
2617 }
2618 if this.Field12 != that1.Field12 {
2619 return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12)
2620 }
2621 return nil
2622 }
2623 func (this *AllTypesOneOf_Field13) VerboseEqual(that interface{}) error {
2624 if that == nil {
2625 if this == nil {
2626 return nil
2627 }
2628 return fmt.Errorf("that == nil && this != nil")
2629 }
2630
2631 that1, ok := that.(*AllTypesOneOf_Field13)
2632 if !ok {
2633 that2, ok := that.(AllTypesOneOf_Field13)
2634 if ok {
2635 that1 = &that2
2636 } else {
2637 return fmt.Errorf("that is not of type *AllTypesOneOf_Field13")
2638 }
2639 }
2640 if that1 == nil {
2641 if this == nil {
2642 return nil
2643 }
2644 return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is nil && this != nil")
2645 } else if this == nil {
2646 return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is not nil && this == nil")
2647 }
2648 if this.Field13 != that1.Field13 {
2649 return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13)
2650 }
2651 return nil
2652 }
2653 func (this *AllTypesOneOf_Field14) VerboseEqual(that interface{}) error {
2654 if that == nil {
2655 if this == nil {
2656 return nil
2657 }
2658 return fmt.Errorf("that == nil && this != nil")
2659 }
2660
2661 that1, ok := that.(*AllTypesOneOf_Field14)
2662 if !ok {
2663 that2, ok := that.(AllTypesOneOf_Field14)
2664 if ok {
2665 that1 = &that2
2666 } else {
2667 return fmt.Errorf("that is not of type *AllTypesOneOf_Field14")
2668 }
2669 }
2670 if that1 == nil {
2671 if this == nil {
2672 return nil
2673 }
2674 return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is nil && this != nil")
2675 } else if this == nil {
2676 return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is not nil && this == nil")
2677 }
2678 if this.Field14 != that1.Field14 {
2679 return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14)
2680 }
2681 return nil
2682 }
2683 func (this *AllTypesOneOf_Field15) VerboseEqual(that interface{}) error {
2684 if that == nil {
2685 if this == nil {
2686 return nil
2687 }
2688 return fmt.Errorf("that == nil && this != nil")
2689 }
2690
2691 that1, ok := that.(*AllTypesOneOf_Field15)
2692 if !ok {
2693 that2, ok := that.(AllTypesOneOf_Field15)
2694 if ok {
2695 that1 = &that2
2696 } else {
2697 return fmt.Errorf("that is not of type *AllTypesOneOf_Field15")
2698 }
2699 }
2700 if that1 == nil {
2701 if this == nil {
2702 return nil
2703 }
2704 return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is nil && this != nil")
2705 } else if this == nil {
2706 return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is not nil && this == nil")
2707 }
2708 if !bytes.Equal(this.Field15, that1.Field15) {
2709 return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15)
2710 }
2711 return nil
2712 }
2713 func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error {
2714 if that == nil {
2715 if this == nil {
2716 return nil
2717 }
2718 return fmt.Errorf("that == nil && this != nil")
2719 }
2720
2721 that1, ok := that.(*AllTypesOneOf_SubMessage)
2722 if !ok {
2723 that2, ok := that.(AllTypesOneOf_SubMessage)
2724 if ok {
2725 that1 = &that2
2726 } else {
2727 return fmt.Errorf("that is not of type *AllTypesOneOf_SubMessage")
2728 }
2729 }
2730 if that1 == nil {
2731 if this == nil {
2732 return nil
2733 }
2734 return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is nil && this != nil")
2735 } else if this == nil {
2736 return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is not nil && this == nil")
2737 }
2738 if !this.SubMessage.Equal(that1.SubMessage) {
2739 return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage)
2740 }
2741 return nil
2742 }
2743 func (this *AllTypesOneOf) Equal(that interface{}) bool {
2744 if that == nil {
2745 return this == nil
2746 }
2747
2748 that1, ok := that.(*AllTypesOneOf)
2749 if !ok {
2750 that2, ok := that.(AllTypesOneOf)
2751 if ok {
2752 that1 = &that2
2753 } else {
2754 return false
2755 }
2756 }
2757 if that1 == nil {
2758 return this == nil
2759 } else if this == nil {
2760 return false
2761 }
2762 if that1.TestOneof == nil {
2763 if this.TestOneof != nil {
2764 return false
2765 }
2766 } else if this.TestOneof == nil {
2767 return false
2768 } else if !this.TestOneof.Equal(that1.TestOneof) {
2769 return false
2770 }
2771 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
2772 return false
2773 }
2774 return true
2775 }
2776 func (this *AllTypesOneOf_Field1) Equal(that interface{}) bool {
2777 if that == nil {
2778 return this == nil
2779 }
2780
2781 that1, ok := that.(*AllTypesOneOf_Field1)
2782 if !ok {
2783 that2, ok := that.(AllTypesOneOf_Field1)
2784 if ok {
2785 that1 = &that2
2786 } else {
2787 return false
2788 }
2789 }
2790 if that1 == nil {
2791 return this == nil
2792 } else if this == nil {
2793 return false
2794 }
2795 if this.Field1 != that1.Field1 {
2796 return false
2797 }
2798 return true
2799 }
2800 func (this *AllTypesOneOf_Field2) Equal(that interface{}) bool {
2801 if that == nil {
2802 return this == nil
2803 }
2804
2805 that1, ok := that.(*AllTypesOneOf_Field2)
2806 if !ok {
2807 that2, ok := that.(AllTypesOneOf_Field2)
2808 if ok {
2809 that1 = &that2
2810 } else {
2811 return false
2812 }
2813 }
2814 if that1 == nil {
2815 return this == nil
2816 } else if this == nil {
2817 return false
2818 }
2819 if this.Field2 != that1.Field2 {
2820 return false
2821 }
2822 return true
2823 }
2824 func (this *AllTypesOneOf_Field3) Equal(that interface{}) bool {
2825 if that == nil {
2826 return this == nil
2827 }
2828
2829 that1, ok := that.(*AllTypesOneOf_Field3)
2830 if !ok {
2831 that2, ok := that.(AllTypesOneOf_Field3)
2832 if ok {
2833 that1 = &that2
2834 } else {
2835 return false
2836 }
2837 }
2838 if that1 == nil {
2839 return this == nil
2840 } else if this == nil {
2841 return false
2842 }
2843 if this.Field3 != that1.Field3 {
2844 return false
2845 }
2846 return true
2847 }
2848 func (this *AllTypesOneOf_Field4) Equal(that interface{}) bool {
2849 if that == nil {
2850 return this == nil
2851 }
2852
2853 that1, ok := that.(*AllTypesOneOf_Field4)
2854 if !ok {
2855 that2, ok := that.(AllTypesOneOf_Field4)
2856 if ok {
2857 that1 = &that2
2858 } else {
2859 return false
2860 }
2861 }
2862 if that1 == nil {
2863 return this == nil
2864 } else if this == nil {
2865 return false
2866 }
2867 if this.Field4 != that1.Field4 {
2868 return false
2869 }
2870 return true
2871 }
2872 func (this *AllTypesOneOf_Field5) Equal(that interface{}) bool {
2873 if that == nil {
2874 return this == nil
2875 }
2876
2877 that1, ok := that.(*AllTypesOneOf_Field5)
2878 if !ok {
2879 that2, ok := that.(AllTypesOneOf_Field5)
2880 if ok {
2881 that1 = &that2
2882 } else {
2883 return false
2884 }
2885 }
2886 if that1 == nil {
2887 return this == nil
2888 } else if this == nil {
2889 return false
2890 }
2891 if this.Field5 != that1.Field5 {
2892 return false
2893 }
2894 return true
2895 }
2896 func (this *AllTypesOneOf_Field6) Equal(that interface{}) bool {
2897 if that == nil {
2898 return this == nil
2899 }
2900
2901 that1, ok := that.(*AllTypesOneOf_Field6)
2902 if !ok {
2903 that2, ok := that.(AllTypesOneOf_Field6)
2904 if ok {
2905 that1 = &that2
2906 } else {
2907 return false
2908 }
2909 }
2910 if that1 == nil {
2911 return this == nil
2912 } else if this == nil {
2913 return false
2914 }
2915 if this.Field6 != that1.Field6 {
2916 return false
2917 }
2918 return true
2919 }
2920 func (this *AllTypesOneOf_Field7) Equal(that interface{}) bool {
2921 if that == nil {
2922 return this == nil
2923 }
2924
2925 that1, ok := that.(*AllTypesOneOf_Field7)
2926 if !ok {
2927 that2, ok := that.(AllTypesOneOf_Field7)
2928 if ok {
2929 that1 = &that2
2930 } else {
2931 return false
2932 }
2933 }
2934 if that1 == nil {
2935 return this == nil
2936 } else if this == nil {
2937 return false
2938 }
2939 if this.Field7 != that1.Field7 {
2940 return false
2941 }
2942 return true
2943 }
2944 func (this *AllTypesOneOf_Field8) Equal(that interface{}) bool {
2945 if that == nil {
2946 return this == nil
2947 }
2948
2949 that1, ok := that.(*AllTypesOneOf_Field8)
2950 if !ok {
2951 that2, ok := that.(AllTypesOneOf_Field8)
2952 if ok {
2953 that1 = &that2
2954 } else {
2955 return false
2956 }
2957 }
2958 if that1 == nil {
2959 return this == nil
2960 } else if this == nil {
2961 return false
2962 }
2963 if this.Field8 != that1.Field8 {
2964 return false
2965 }
2966 return true
2967 }
2968 func (this *AllTypesOneOf_Field9) Equal(that interface{}) bool {
2969 if that == nil {
2970 return this == nil
2971 }
2972
2973 that1, ok := that.(*AllTypesOneOf_Field9)
2974 if !ok {
2975 that2, ok := that.(AllTypesOneOf_Field9)
2976 if ok {
2977 that1 = &that2
2978 } else {
2979 return false
2980 }
2981 }
2982 if that1 == nil {
2983 return this == nil
2984 } else if this == nil {
2985 return false
2986 }
2987 if this.Field9 != that1.Field9 {
2988 return false
2989 }
2990 return true
2991 }
2992 func (this *AllTypesOneOf_Field10) Equal(that interface{}) bool {
2993 if that == nil {
2994 return this == nil
2995 }
2996
2997 that1, ok := that.(*AllTypesOneOf_Field10)
2998 if !ok {
2999 that2, ok := that.(AllTypesOneOf_Field10)
3000 if ok {
3001 that1 = &that2
3002 } else {
3003 return false
3004 }
3005 }
3006 if that1 == nil {
3007 return this == nil
3008 } else if this == nil {
3009 return false
3010 }
3011 if this.Field10 != that1.Field10 {
3012 return false
3013 }
3014 return true
3015 }
3016 func (this *AllTypesOneOf_Field11) Equal(that interface{}) bool {
3017 if that == nil {
3018 return this == nil
3019 }
3020
3021 that1, ok := that.(*AllTypesOneOf_Field11)
3022 if !ok {
3023 that2, ok := that.(AllTypesOneOf_Field11)
3024 if ok {
3025 that1 = &that2
3026 } else {
3027 return false
3028 }
3029 }
3030 if that1 == nil {
3031 return this == nil
3032 } else if this == nil {
3033 return false
3034 }
3035 if this.Field11 != that1.Field11 {
3036 return false
3037 }
3038 return true
3039 }
3040 func (this *AllTypesOneOf_Field12) Equal(that interface{}) bool {
3041 if that == nil {
3042 return this == nil
3043 }
3044
3045 that1, ok := that.(*AllTypesOneOf_Field12)
3046 if !ok {
3047 that2, ok := that.(AllTypesOneOf_Field12)
3048 if ok {
3049 that1 = &that2
3050 } else {
3051 return false
3052 }
3053 }
3054 if that1 == nil {
3055 return this == nil
3056 } else if this == nil {
3057 return false
3058 }
3059 if this.Field12 != that1.Field12 {
3060 return false
3061 }
3062 return true
3063 }
3064 func (this *AllTypesOneOf_Field13) Equal(that interface{}) bool {
3065 if that == nil {
3066 return this == nil
3067 }
3068
3069 that1, ok := that.(*AllTypesOneOf_Field13)
3070 if !ok {
3071 that2, ok := that.(AllTypesOneOf_Field13)
3072 if ok {
3073 that1 = &that2
3074 } else {
3075 return false
3076 }
3077 }
3078 if that1 == nil {
3079 return this == nil
3080 } else if this == nil {
3081 return false
3082 }
3083 if this.Field13 != that1.Field13 {
3084 return false
3085 }
3086 return true
3087 }
3088 func (this *AllTypesOneOf_Field14) Equal(that interface{}) bool {
3089 if that == nil {
3090 return this == nil
3091 }
3092
3093 that1, ok := that.(*AllTypesOneOf_Field14)
3094 if !ok {
3095 that2, ok := that.(AllTypesOneOf_Field14)
3096 if ok {
3097 that1 = &that2
3098 } else {
3099 return false
3100 }
3101 }
3102 if that1 == nil {
3103 return this == nil
3104 } else if this == nil {
3105 return false
3106 }
3107 if this.Field14 != that1.Field14 {
3108 return false
3109 }
3110 return true
3111 }
3112 func (this *AllTypesOneOf_Field15) Equal(that interface{}) bool {
3113 if that == nil {
3114 return this == nil
3115 }
3116
3117 that1, ok := that.(*AllTypesOneOf_Field15)
3118 if !ok {
3119 that2, ok := that.(AllTypesOneOf_Field15)
3120 if ok {
3121 that1 = &that2
3122 } else {
3123 return false
3124 }
3125 }
3126 if that1 == nil {
3127 return this == nil
3128 } else if this == nil {
3129 return false
3130 }
3131 if !bytes.Equal(this.Field15, that1.Field15) {
3132 return false
3133 }
3134 return true
3135 }
3136 func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool {
3137 if that == nil {
3138 return this == nil
3139 }
3140
3141 that1, ok := that.(*AllTypesOneOf_SubMessage)
3142 if !ok {
3143 that2, ok := that.(AllTypesOneOf_SubMessage)
3144 if ok {
3145 that1 = &that2
3146 } else {
3147 return false
3148 }
3149 }
3150 if that1 == nil {
3151 return this == nil
3152 } else if this == nil {
3153 return false
3154 }
3155 if !this.SubMessage.Equal(that1.SubMessage) {
3156 return false
3157 }
3158 return true
3159 }
3160 func (this *TwoOneofs) VerboseEqual(that interface{}) error {
3161 if that == nil {
3162 if this == nil {
3163 return nil
3164 }
3165 return fmt.Errorf("that == nil && this != nil")
3166 }
3167
3168 that1, ok := that.(*TwoOneofs)
3169 if !ok {
3170 that2, ok := that.(TwoOneofs)
3171 if ok {
3172 that1 = &that2
3173 } else {
3174 return fmt.Errorf("that is not of type *TwoOneofs")
3175 }
3176 }
3177 if that1 == nil {
3178 if this == nil {
3179 return nil
3180 }
3181 return fmt.Errorf("that is type *TwoOneofs but is nil && this != nil")
3182 } else if this == nil {
3183 return fmt.Errorf("that is type *TwoOneofs but is not nil && this == nil")
3184 }
3185 if that1.One == nil {
3186 if this.One != nil {
3187 return fmt.Errorf("this.One != nil && that1.One == nil")
3188 }
3189 } else if this.One == nil {
3190 return fmt.Errorf("this.One == nil && that1.One != nil")
3191 } else if err := this.One.VerboseEqual(that1.One); err != nil {
3192 return err
3193 }
3194 if that1.Two == nil {
3195 if this.Two != nil {
3196 return fmt.Errorf("this.Two != nil && that1.Two == nil")
3197 }
3198 } else if this.Two == nil {
3199 return fmt.Errorf("this.Two == nil && that1.Two != nil")
3200 } else if err := this.Two.VerboseEqual(that1.Two); err != nil {
3201 return err
3202 }
3203 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
3204 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
3205 }
3206 return nil
3207 }
3208 func (this *TwoOneofs_Field1) VerboseEqual(that interface{}) error {
3209 if that == nil {
3210 if this == nil {
3211 return nil
3212 }
3213 return fmt.Errorf("that == nil && this != nil")
3214 }
3215
3216 that1, ok := that.(*TwoOneofs_Field1)
3217 if !ok {
3218 that2, ok := that.(TwoOneofs_Field1)
3219 if ok {
3220 that1 = &that2
3221 } else {
3222 return fmt.Errorf("that is not of type *TwoOneofs_Field1")
3223 }
3224 }
3225 if that1 == nil {
3226 if this == nil {
3227 return nil
3228 }
3229 return fmt.Errorf("that is type *TwoOneofs_Field1 but is nil && this != nil")
3230 } else if this == nil {
3231 return fmt.Errorf("that is type *TwoOneofs_Field1 but is not nil && this == nil")
3232 }
3233 if this.Field1 != that1.Field1 {
3234 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1)
3235 }
3236 return nil
3237 }
3238 func (this *TwoOneofs_Field2) VerboseEqual(that interface{}) error {
3239 if that == nil {
3240 if this == nil {
3241 return nil
3242 }
3243 return fmt.Errorf("that == nil && this != nil")
3244 }
3245
3246 that1, ok := that.(*TwoOneofs_Field2)
3247 if !ok {
3248 that2, ok := that.(TwoOneofs_Field2)
3249 if ok {
3250 that1 = &that2
3251 } else {
3252 return fmt.Errorf("that is not of type *TwoOneofs_Field2")
3253 }
3254 }
3255 if that1 == nil {
3256 if this == nil {
3257 return nil
3258 }
3259 return fmt.Errorf("that is type *TwoOneofs_Field2 but is nil && this != nil")
3260 } else if this == nil {
3261 return fmt.Errorf("that is type *TwoOneofs_Field2 but is not nil && this == nil")
3262 }
3263 if this.Field2 != that1.Field2 {
3264 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2)
3265 }
3266 return nil
3267 }
3268 func (this *TwoOneofs_Field3) VerboseEqual(that interface{}) error {
3269 if that == nil {
3270 if this == nil {
3271 return nil
3272 }
3273 return fmt.Errorf("that == nil && this != nil")
3274 }
3275
3276 that1, ok := that.(*TwoOneofs_Field3)
3277 if !ok {
3278 that2, ok := that.(TwoOneofs_Field3)
3279 if ok {
3280 that1 = &that2
3281 } else {
3282 return fmt.Errorf("that is not of type *TwoOneofs_Field3")
3283 }
3284 }
3285 if that1 == nil {
3286 if this == nil {
3287 return nil
3288 }
3289 return fmt.Errorf("that is type *TwoOneofs_Field3 but is nil && this != nil")
3290 } else if this == nil {
3291 return fmt.Errorf("that is type *TwoOneofs_Field3 but is not nil && this == nil")
3292 }
3293 if this.Field3 != that1.Field3 {
3294 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3)
3295 }
3296 return nil
3297 }
3298 func (this *TwoOneofs_Field34) VerboseEqual(that interface{}) error {
3299 if that == nil {
3300 if this == nil {
3301 return nil
3302 }
3303 return fmt.Errorf("that == nil && this != nil")
3304 }
3305
3306 that1, ok := that.(*TwoOneofs_Field34)
3307 if !ok {
3308 that2, ok := that.(TwoOneofs_Field34)
3309 if ok {
3310 that1 = &that2
3311 } else {
3312 return fmt.Errorf("that is not of type *TwoOneofs_Field34")
3313 }
3314 }
3315 if that1 == nil {
3316 if this == nil {
3317 return nil
3318 }
3319 return fmt.Errorf("that is type *TwoOneofs_Field34 but is nil && this != nil")
3320 } else if this == nil {
3321 return fmt.Errorf("that is type *TwoOneofs_Field34 but is not nil && this == nil")
3322 }
3323 if this.Field34 != that1.Field34 {
3324 return fmt.Errorf("Field34 this(%v) Not Equal that(%v)", this.Field34, that1.Field34)
3325 }
3326 return nil
3327 }
3328 func (this *TwoOneofs_Field35) VerboseEqual(that interface{}) error {
3329 if that == nil {
3330 if this == nil {
3331 return nil
3332 }
3333 return fmt.Errorf("that == nil && this != nil")
3334 }
3335
3336 that1, ok := that.(*TwoOneofs_Field35)
3337 if !ok {
3338 that2, ok := that.(TwoOneofs_Field35)
3339 if ok {
3340 that1 = &that2
3341 } else {
3342 return fmt.Errorf("that is not of type *TwoOneofs_Field35")
3343 }
3344 }
3345 if that1 == nil {
3346 if this == nil {
3347 return nil
3348 }
3349 return fmt.Errorf("that is type *TwoOneofs_Field35 but is nil && this != nil")
3350 } else if this == nil {
3351 return fmt.Errorf("that is type *TwoOneofs_Field35 but is not nil && this == nil")
3352 }
3353 if !bytes.Equal(this.Field35, that1.Field35) {
3354 return fmt.Errorf("Field35 this(%v) Not Equal that(%v)", this.Field35, that1.Field35)
3355 }
3356 return nil
3357 }
3358 func (this *TwoOneofs_SubMessage2) VerboseEqual(that interface{}) error {
3359 if that == nil {
3360 if this == nil {
3361 return nil
3362 }
3363 return fmt.Errorf("that == nil && this != nil")
3364 }
3365
3366 that1, ok := that.(*TwoOneofs_SubMessage2)
3367 if !ok {
3368 that2, ok := that.(TwoOneofs_SubMessage2)
3369 if ok {
3370 that1 = &that2
3371 } else {
3372 return fmt.Errorf("that is not of type *TwoOneofs_SubMessage2")
3373 }
3374 }
3375 if that1 == nil {
3376 if this == nil {
3377 return nil
3378 }
3379 return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is nil && this != nil")
3380 } else if this == nil {
3381 return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is not nil && this == nil")
3382 }
3383 if !this.SubMessage2.Equal(that1.SubMessage2) {
3384 return fmt.Errorf("SubMessage2 this(%v) Not Equal that(%v)", this.SubMessage2, that1.SubMessage2)
3385 }
3386 return nil
3387 }
3388 func (this *TwoOneofs) Equal(that interface{}) bool {
3389 if that == nil {
3390 return this == nil
3391 }
3392
3393 that1, ok := that.(*TwoOneofs)
3394 if !ok {
3395 that2, ok := that.(TwoOneofs)
3396 if ok {
3397 that1 = &that2
3398 } else {
3399 return false
3400 }
3401 }
3402 if that1 == nil {
3403 return this == nil
3404 } else if this == nil {
3405 return false
3406 }
3407 if that1.One == nil {
3408 if this.One != nil {
3409 return false
3410 }
3411 } else if this.One == nil {
3412 return false
3413 } else if !this.One.Equal(that1.One) {
3414 return false
3415 }
3416 if that1.Two == nil {
3417 if this.Two != nil {
3418 return false
3419 }
3420 } else if this.Two == nil {
3421 return false
3422 } else if !this.Two.Equal(that1.Two) {
3423 return false
3424 }
3425 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
3426 return false
3427 }
3428 return true
3429 }
3430 func (this *TwoOneofs_Field1) Equal(that interface{}) bool {
3431 if that == nil {
3432 return this == nil
3433 }
3434
3435 that1, ok := that.(*TwoOneofs_Field1)
3436 if !ok {
3437 that2, ok := that.(TwoOneofs_Field1)
3438 if ok {
3439 that1 = &that2
3440 } else {
3441 return false
3442 }
3443 }
3444 if that1 == nil {
3445 return this == nil
3446 } else if this == nil {
3447 return false
3448 }
3449 if this.Field1 != that1.Field1 {
3450 return false
3451 }
3452 return true
3453 }
3454 func (this *TwoOneofs_Field2) Equal(that interface{}) bool {
3455 if that == nil {
3456 return this == nil
3457 }
3458
3459 that1, ok := that.(*TwoOneofs_Field2)
3460 if !ok {
3461 that2, ok := that.(TwoOneofs_Field2)
3462 if ok {
3463 that1 = &that2
3464 } else {
3465 return false
3466 }
3467 }
3468 if that1 == nil {
3469 return this == nil
3470 } else if this == nil {
3471 return false
3472 }
3473 if this.Field2 != that1.Field2 {
3474 return false
3475 }
3476 return true
3477 }
3478 func (this *TwoOneofs_Field3) Equal(that interface{}) bool {
3479 if that == nil {
3480 return this == nil
3481 }
3482
3483 that1, ok := that.(*TwoOneofs_Field3)
3484 if !ok {
3485 that2, ok := that.(TwoOneofs_Field3)
3486 if ok {
3487 that1 = &that2
3488 } else {
3489 return false
3490 }
3491 }
3492 if that1 == nil {
3493 return this == nil
3494 } else if this == nil {
3495 return false
3496 }
3497 if this.Field3 != that1.Field3 {
3498 return false
3499 }
3500 return true
3501 }
3502 func (this *TwoOneofs_Field34) Equal(that interface{}) bool {
3503 if that == nil {
3504 return this == nil
3505 }
3506
3507 that1, ok := that.(*TwoOneofs_Field34)
3508 if !ok {
3509 that2, ok := that.(TwoOneofs_Field34)
3510 if ok {
3511 that1 = &that2
3512 } else {
3513 return false
3514 }
3515 }
3516 if that1 == nil {
3517 return this == nil
3518 } else if this == nil {
3519 return false
3520 }
3521 if this.Field34 != that1.Field34 {
3522 return false
3523 }
3524 return true
3525 }
3526 func (this *TwoOneofs_Field35) Equal(that interface{}) bool {
3527 if that == nil {
3528 return this == nil
3529 }
3530
3531 that1, ok := that.(*TwoOneofs_Field35)
3532 if !ok {
3533 that2, ok := that.(TwoOneofs_Field35)
3534 if ok {
3535 that1 = &that2
3536 } else {
3537 return false
3538 }
3539 }
3540 if that1 == nil {
3541 return this == nil
3542 } else if this == nil {
3543 return false
3544 }
3545 if !bytes.Equal(this.Field35, that1.Field35) {
3546 return false
3547 }
3548 return true
3549 }
3550 func (this *TwoOneofs_SubMessage2) Equal(that interface{}) bool {
3551 if that == nil {
3552 return this == nil
3553 }
3554
3555 that1, ok := that.(*TwoOneofs_SubMessage2)
3556 if !ok {
3557 that2, ok := that.(TwoOneofs_SubMessage2)
3558 if ok {
3559 that1 = &that2
3560 } else {
3561 return false
3562 }
3563 }
3564 if that1 == nil {
3565 return this == nil
3566 } else if this == nil {
3567 return false
3568 }
3569 if !this.SubMessage2.Equal(that1.SubMessage2) {
3570 return false
3571 }
3572 return true
3573 }
3574 func (this *CustomOneof) VerboseEqual(that interface{}) error {
3575 if that == nil {
3576 if this == nil {
3577 return nil
3578 }
3579 return fmt.Errorf("that == nil && this != nil")
3580 }
3581
3582 that1, ok := that.(*CustomOneof)
3583 if !ok {
3584 that2, ok := that.(CustomOneof)
3585 if ok {
3586 that1 = &that2
3587 } else {
3588 return fmt.Errorf("that is not of type *CustomOneof")
3589 }
3590 }
3591 if that1 == nil {
3592 if this == nil {
3593 return nil
3594 }
3595 return fmt.Errorf("that is type *CustomOneof but is nil && this != nil")
3596 } else if this == nil {
3597 return fmt.Errorf("that is type *CustomOneof but is not nil && this == nil")
3598 }
3599 if that1.Custom == nil {
3600 if this.Custom != nil {
3601 return fmt.Errorf("this.Custom != nil && that1.Custom == nil")
3602 }
3603 } else if this.Custom == nil {
3604 return fmt.Errorf("this.Custom == nil && that1.Custom != nil")
3605 } else if err := this.Custom.VerboseEqual(that1.Custom); err != nil {
3606 return err
3607 }
3608 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
3609 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
3610 }
3611 return nil
3612 }
3613 func (this *CustomOneof_Stringy) VerboseEqual(that interface{}) error {
3614 if that == nil {
3615 if this == nil {
3616 return nil
3617 }
3618 return fmt.Errorf("that == nil && this != nil")
3619 }
3620
3621 that1, ok := that.(*CustomOneof_Stringy)
3622 if !ok {
3623 that2, ok := that.(CustomOneof_Stringy)
3624 if ok {
3625 that1 = &that2
3626 } else {
3627 return fmt.Errorf("that is not of type *CustomOneof_Stringy")
3628 }
3629 }
3630 if that1 == nil {
3631 if this == nil {
3632 return nil
3633 }
3634 return fmt.Errorf("that is type *CustomOneof_Stringy but is nil && this != nil")
3635 } else if this == nil {
3636 return fmt.Errorf("that is type *CustomOneof_Stringy but is not nil && this == nil")
3637 }
3638 if this.Stringy != that1.Stringy {
3639 return fmt.Errorf("Stringy this(%v) Not Equal that(%v)", this.Stringy, that1.Stringy)
3640 }
3641 return nil
3642 }
3643 func (this *CustomOneof_CustomType) VerboseEqual(that interface{}) error {
3644 if that == nil {
3645 if this == nil {
3646 return nil
3647 }
3648 return fmt.Errorf("that == nil && this != nil")
3649 }
3650
3651 that1, ok := that.(*CustomOneof_CustomType)
3652 if !ok {
3653 that2, ok := that.(CustomOneof_CustomType)
3654 if ok {
3655 that1 = &that2
3656 } else {
3657 return fmt.Errorf("that is not of type *CustomOneof_CustomType")
3658 }
3659 }
3660 if that1 == nil {
3661 if this == nil {
3662 return nil
3663 }
3664 return fmt.Errorf("that is type *CustomOneof_CustomType but is nil && this != nil")
3665 } else if this == nil {
3666 return fmt.Errorf("that is type *CustomOneof_CustomType but is not nil && this == nil")
3667 }
3668 if !this.CustomType.Equal(that1.CustomType) {
3669 return fmt.Errorf("CustomType this(%v) Not Equal that(%v)", this.CustomType, that1.CustomType)
3670 }
3671 return nil
3672 }
3673 func (this *CustomOneof_CastType) VerboseEqual(that interface{}) error {
3674 if that == nil {
3675 if this == nil {
3676 return nil
3677 }
3678 return fmt.Errorf("that == nil && this != nil")
3679 }
3680
3681 that1, ok := that.(*CustomOneof_CastType)
3682 if !ok {
3683 that2, ok := that.(CustomOneof_CastType)
3684 if ok {
3685 that1 = &that2
3686 } else {
3687 return fmt.Errorf("that is not of type *CustomOneof_CastType")
3688 }
3689 }
3690 if that1 == nil {
3691 if this == nil {
3692 return nil
3693 }
3694 return fmt.Errorf("that is type *CustomOneof_CastType but is nil && this != nil")
3695 } else if this == nil {
3696 return fmt.Errorf("that is type *CustomOneof_CastType but is not nil && this == nil")
3697 }
3698 if this.CastType != that1.CastType {
3699 return fmt.Errorf("CastType this(%v) Not Equal that(%v)", this.CastType, that1.CastType)
3700 }
3701 return nil
3702 }
3703 func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error {
3704 if that == nil {
3705 if this == nil {
3706 return nil
3707 }
3708 return fmt.Errorf("that == nil && this != nil")
3709 }
3710
3711 that1, ok := that.(*CustomOneof_MyCustomName)
3712 if !ok {
3713 that2, ok := that.(CustomOneof_MyCustomName)
3714 if ok {
3715 that1 = &that2
3716 } else {
3717 return fmt.Errorf("that is not of type *CustomOneof_MyCustomName")
3718 }
3719 }
3720 if that1 == nil {
3721 if this == nil {
3722 return nil
3723 }
3724 return fmt.Errorf("that is type *CustomOneof_MyCustomName but is nil && this != nil")
3725 } else if this == nil {
3726 return fmt.Errorf("that is type *CustomOneof_MyCustomName but is not nil && this == nil")
3727 }
3728 if this.MyCustomName != that1.MyCustomName {
3729 return fmt.Errorf("MyCustomName this(%v) Not Equal that(%v)", this.MyCustomName, that1.MyCustomName)
3730 }
3731 return nil
3732 }
3733 func (this *CustomOneof) Equal(that interface{}) bool {
3734 if that == nil {
3735 return this == nil
3736 }
3737
3738 that1, ok := that.(*CustomOneof)
3739 if !ok {
3740 that2, ok := that.(CustomOneof)
3741 if ok {
3742 that1 = &that2
3743 } else {
3744 return false
3745 }
3746 }
3747 if that1 == nil {
3748 return this == nil
3749 } else if this == nil {
3750 return false
3751 }
3752 if that1.Custom == nil {
3753 if this.Custom != nil {
3754 return false
3755 }
3756 } else if this.Custom == nil {
3757 return false
3758 } else if !this.Custom.Equal(that1.Custom) {
3759 return false
3760 }
3761 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
3762 return false
3763 }
3764 return true
3765 }
3766 func (this *CustomOneof_Stringy) Equal(that interface{}) bool {
3767 if that == nil {
3768 return this == nil
3769 }
3770
3771 that1, ok := that.(*CustomOneof_Stringy)
3772 if !ok {
3773 that2, ok := that.(CustomOneof_Stringy)
3774 if ok {
3775 that1 = &that2
3776 } else {
3777 return false
3778 }
3779 }
3780 if that1 == nil {
3781 return this == nil
3782 } else if this == nil {
3783 return false
3784 }
3785 if this.Stringy != that1.Stringy {
3786 return false
3787 }
3788 return true
3789 }
3790 func (this *CustomOneof_CustomType) Equal(that interface{}) bool {
3791 if that == nil {
3792 return this == nil
3793 }
3794
3795 that1, ok := that.(*CustomOneof_CustomType)
3796 if !ok {
3797 that2, ok := that.(CustomOneof_CustomType)
3798 if ok {
3799 that1 = &that2
3800 } else {
3801 return false
3802 }
3803 }
3804 if that1 == nil {
3805 return this == nil
3806 } else if this == nil {
3807 return false
3808 }
3809 if !this.CustomType.Equal(that1.CustomType) {
3810 return false
3811 }
3812 return true
3813 }
3814 func (this *CustomOneof_CastType) Equal(that interface{}) bool {
3815 if that == nil {
3816 return this == nil
3817 }
3818
3819 that1, ok := that.(*CustomOneof_CastType)
3820 if !ok {
3821 that2, ok := that.(CustomOneof_CastType)
3822 if ok {
3823 that1 = &that2
3824 } else {
3825 return false
3826 }
3827 }
3828 if that1 == nil {
3829 return this == nil
3830 } else if this == nil {
3831 return false
3832 }
3833 if this.CastType != that1.CastType {
3834 return false
3835 }
3836 return true
3837 }
3838 func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool {
3839 if that == nil {
3840 return this == nil
3841 }
3842
3843 that1, ok := that.(*CustomOneof_MyCustomName)
3844 if !ok {
3845 that2, ok := that.(CustomOneof_MyCustomName)
3846 if ok {
3847 that1 = &that2
3848 } else {
3849 return false
3850 }
3851 }
3852 if that1 == nil {
3853 return this == nil
3854 } else if this == nil {
3855 return false
3856 }
3857 if this.MyCustomName != that1.MyCustomName {
3858 return false
3859 }
3860 return true
3861 }
3862 func (this *Subby) GoString() string {
3863 if this == nil {
3864 return "nil"
3865 }
3866 s := make([]string, 0, 5)
3867 s = append(s, "&one.Subby{")
3868 if this.Sub != nil {
3869 s = append(s, "Sub: "+valueToGoStringOne(this.Sub, "string")+",\n")
3870 }
3871 if this.XXX_unrecognized != nil {
3872 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
3873 }
3874 s = append(s, "}")
3875 return strings.Join(s, "")
3876 }
3877 func (this *AllTypesOneOf) GoString() string {
3878 if this == nil {
3879 return "nil"
3880 }
3881 s := make([]string, 0, 20)
3882 s = append(s, "&one.AllTypesOneOf{")
3883 if this.TestOneof != nil {
3884 s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n")
3885 }
3886 if this.XXX_unrecognized != nil {
3887 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
3888 }
3889 s = append(s, "}")
3890 return strings.Join(s, "")
3891 }
3892 func (this *AllTypesOneOf_Field1) GoString() string {
3893 if this == nil {
3894 return "nil"
3895 }
3896 s := strings.Join([]string{`&one.AllTypesOneOf_Field1{` +
3897 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ")
3898 return s
3899 }
3900 func (this *AllTypesOneOf_Field2) GoString() string {
3901 if this == nil {
3902 return "nil"
3903 }
3904 s := strings.Join([]string{`&one.AllTypesOneOf_Field2{` +
3905 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ")
3906 return s
3907 }
3908 func (this *AllTypesOneOf_Field3) GoString() string {
3909 if this == nil {
3910 return "nil"
3911 }
3912 s := strings.Join([]string{`&one.AllTypesOneOf_Field3{` +
3913 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ")
3914 return s
3915 }
3916 func (this *AllTypesOneOf_Field4) GoString() string {
3917 if this == nil {
3918 return "nil"
3919 }
3920 s := strings.Join([]string{`&one.AllTypesOneOf_Field4{` +
3921 `Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ")
3922 return s
3923 }
3924 func (this *AllTypesOneOf_Field5) GoString() string {
3925 if this == nil {
3926 return "nil"
3927 }
3928 s := strings.Join([]string{`&one.AllTypesOneOf_Field5{` +
3929 `Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ")
3930 return s
3931 }
3932 func (this *AllTypesOneOf_Field6) GoString() string {
3933 if this == nil {
3934 return "nil"
3935 }
3936 s := strings.Join([]string{`&one.AllTypesOneOf_Field6{` +
3937 `Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ")
3938 return s
3939 }
3940 func (this *AllTypesOneOf_Field7) GoString() string {
3941 if this == nil {
3942 return "nil"
3943 }
3944 s := strings.Join([]string{`&one.AllTypesOneOf_Field7{` +
3945 `Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ")
3946 return s
3947 }
3948 func (this *AllTypesOneOf_Field8) GoString() string {
3949 if this == nil {
3950 return "nil"
3951 }
3952 s := strings.Join([]string{`&one.AllTypesOneOf_Field8{` +
3953 `Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ")
3954 return s
3955 }
3956 func (this *AllTypesOneOf_Field9) GoString() string {
3957 if this == nil {
3958 return "nil"
3959 }
3960 s := strings.Join([]string{`&one.AllTypesOneOf_Field9{` +
3961 `Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ")
3962 return s
3963 }
3964 func (this *AllTypesOneOf_Field10) GoString() string {
3965 if this == nil {
3966 return "nil"
3967 }
3968 s := strings.Join([]string{`&one.AllTypesOneOf_Field10{` +
3969 `Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ")
3970 return s
3971 }
3972 func (this *AllTypesOneOf_Field11) GoString() string {
3973 if this == nil {
3974 return "nil"
3975 }
3976 s := strings.Join([]string{`&one.AllTypesOneOf_Field11{` +
3977 `Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ")
3978 return s
3979 }
3980 func (this *AllTypesOneOf_Field12) GoString() string {
3981 if this == nil {
3982 return "nil"
3983 }
3984 s := strings.Join([]string{`&one.AllTypesOneOf_Field12{` +
3985 `Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ")
3986 return s
3987 }
3988 func (this *AllTypesOneOf_Field13) GoString() string {
3989 if this == nil {
3990 return "nil"
3991 }
3992 s := strings.Join([]string{`&one.AllTypesOneOf_Field13{` +
3993 `Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ")
3994 return s
3995 }
3996 func (this *AllTypesOneOf_Field14) GoString() string {
3997 if this == nil {
3998 return "nil"
3999 }
4000 s := strings.Join([]string{`&one.AllTypesOneOf_Field14{` +
4001 `Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ")
4002 return s
4003 }
4004 func (this *AllTypesOneOf_Field15) GoString() string {
4005 if this == nil {
4006 return "nil"
4007 }
4008 s := strings.Join([]string{`&one.AllTypesOneOf_Field15{` +
4009 `Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ")
4010 return s
4011 }
4012 func (this *AllTypesOneOf_SubMessage) GoString() string {
4013 if this == nil {
4014 return "nil"
4015 }
4016 s := strings.Join([]string{`&one.AllTypesOneOf_SubMessage{` +
4017 `SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ")
4018 return s
4019 }
4020 func (this *TwoOneofs) GoString() string {
4021 if this == nil {
4022 return "nil"
4023 }
4024 s := make([]string, 0, 10)
4025 s = append(s, "&one.TwoOneofs{")
4026 if this.One != nil {
4027 s = append(s, "One: "+fmt.Sprintf("%#v", this.One)+",\n")
4028 }
4029 if this.Two != nil {
4030 s = append(s, "Two: "+fmt.Sprintf("%#v", this.Two)+",\n")
4031 }
4032 if this.XXX_unrecognized != nil {
4033 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
4034 }
4035 s = append(s, "}")
4036 return strings.Join(s, "")
4037 }
4038 func (this *TwoOneofs_Field1) GoString() string {
4039 if this == nil {
4040 return "nil"
4041 }
4042 s := strings.Join([]string{`&one.TwoOneofs_Field1{` +
4043 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ")
4044 return s
4045 }
4046 func (this *TwoOneofs_Field2) GoString() string {
4047 if this == nil {
4048 return "nil"
4049 }
4050 s := strings.Join([]string{`&one.TwoOneofs_Field2{` +
4051 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ")
4052 return s
4053 }
4054 func (this *TwoOneofs_Field3) GoString() string {
4055 if this == nil {
4056 return "nil"
4057 }
4058 s := strings.Join([]string{`&one.TwoOneofs_Field3{` +
4059 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ")
4060 return s
4061 }
4062 func (this *TwoOneofs_Field34) GoString() string {
4063 if this == nil {
4064 return "nil"
4065 }
4066 s := strings.Join([]string{`&one.TwoOneofs_Field34{` +
4067 `Field34:` + fmt.Sprintf("%#v", this.Field34) + `}`}, ", ")
4068 return s
4069 }
4070 func (this *TwoOneofs_Field35) GoString() string {
4071 if this == nil {
4072 return "nil"
4073 }
4074 s := strings.Join([]string{`&one.TwoOneofs_Field35{` +
4075 `Field35:` + fmt.Sprintf("%#v", this.Field35) + `}`}, ", ")
4076 return s
4077 }
4078 func (this *TwoOneofs_SubMessage2) GoString() string {
4079 if this == nil {
4080 return "nil"
4081 }
4082 s := strings.Join([]string{`&one.TwoOneofs_SubMessage2{` +
4083 `SubMessage2:` + fmt.Sprintf("%#v", this.SubMessage2) + `}`}, ", ")
4084 return s
4085 }
4086 func (this *CustomOneof) GoString() string {
4087 if this == nil {
4088 return "nil"
4089 }
4090 s := make([]string, 0, 8)
4091 s = append(s, "&one.CustomOneof{")
4092 if this.Custom != nil {
4093 s = append(s, "Custom: "+fmt.Sprintf("%#v", this.Custom)+",\n")
4094 }
4095 if this.XXX_unrecognized != nil {
4096 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
4097 }
4098 s = append(s, "}")
4099 return strings.Join(s, "")
4100 }
4101 func (this *CustomOneof_Stringy) GoString() string {
4102 if this == nil {
4103 return "nil"
4104 }
4105 s := strings.Join([]string{`&one.CustomOneof_Stringy{` +
4106 `Stringy:` + fmt.Sprintf("%#v", this.Stringy) + `}`}, ", ")
4107 return s
4108 }
4109 func (this *CustomOneof_CustomType) GoString() string {
4110 if this == nil {
4111 return "nil"
4112 }
4113 s := strings.Join([]string{`&one.CustomOneof_CustomType{` +
4114 `CustomType:` + fmt.Sprintf("%#v", this.CustomType) + `}`}, ", ")
4115 return s
4116 }
4117 func (this *CustomOneof_CastType) GoString() string {
4118 if this == nil {
4119 return "nil"
4120 }
4121 s := strings.Join([]string{`&one.CustomOneof_CastType{` +
4122 `CastType:` + fmt.Sprintf("%#v", this.CastType) + `}`}, ", ")
4123 return s
4124 }
4125 func (this *CustomOneof_MyCustomName) GoString() string {
4126 if this == nil {
4127 return "nil"
4128 }
4129 s := strings.Join([]string{`&one.CustomOneof_MyCustomName{` +
4130 `MyCustomName:` + fmt.Sprintf("%#v", this.MyCustomName) + `}`}, ", ")
4131 return s
4132 }
4133 func valueToGoStringOne(v interface{}, typ string) string {
4134 rv := reflect.ValueOf(v)
4135 if rv.IsNil() {
4136 return "nil"
4137 }
4138 pv := reflect.Indirect(rv).Interface()
4139 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
4140 }
4141 func (m *Subby) Marshal() (dAtA []byte, err error) {
4142 size := m.Size()
4143 dAtA = make([]byte, size)
4144 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4145 if err != nil {
4146 return nil, err
4147 }
4148 return dAtA[:n], nil
4149 }
4150
4151 func (m *Subby) MarshalTo(dAtA []byte) (int, error) {
4152 size := m.Size()
4153 return m.MarshalToSizedBuffer(dAtA[:size])
4154 }
4155
4156 func (m *Subby) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4157 i := len(dAtA)
4158 _ = i
4159 var l int
4160 _ = l
4161 if m.XXX_unrecognized != nil {
4162 i -= len(m.XXX_unrecognized)
4163 copy(dAtA[i:], m.XXX_unrecognized)
4164 }
4165 if m.Sub != nil {
4166 i -= len(*m.Sub)
4167 copy(dAtA[i:], *m.Sub)
4168 i = encodeVarintOne(dAtA, i, uint64(len(*m.Sub)))
4169 i--
4170 dAtA[i] = 0xa
4171 }
4172 return len(dAtA) - i, nil
4173 }
4174
4175 func (m *AllTypesOneOf) Marshal() (dAtA []byte, err error) {
4176 size := m.Size()
4177 dAtA = make([]byte, size)
4178 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4179 if err != nil {
4180 return nil, err
4181 }
4182 return dAtA[:n], nil
4183 }
4184
4185 func (m *AllTypesOneOf) MarshalTo(dAtA []byte) (int, error) {
4186 size := m.Size()
4187 return m.MarshalToSizedBuffer(dAtA[:size])
4188 }
4189
4190 func (m *AllTypesOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4191 i := len(dAtA)
4192 _ = i
4193 var l int
4194 _ = l
4195 if m.XXX_unrecognized != nil {
4196 i -= len(m.XXX_unrecognized)
4197 copy(dAtA[i:], m.XXX_unrecognized)
4198 }
4199 if m.TestOneof != nil {
4200 {
4201 size := m.TestOneof.Size()
4202 i -= size
4203 if _, err := m.TestOneof.MarshalTo(dAtA[i:]); err != nil {
4204 return 0, err
4205 }
4206 }
4207 }
4208 return len(dAtA) - i, nil
4209 }
4210
4211 func (m *AllTypesOneOf_Field1) MarshalTo(dAtA []byte) (int, error) {
4212 size := m.Size()
4213 return m.MarshalToSizedBuffer(dAtA[:size])
4214 }
4215
4216 func (m *AllTypesOneOf_Field1) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4217 i := len(dAtA)
4218 i -= 8
4219 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Field1))))
4220 i--
4221 dAtA[i] = 0x9
4222 return len(dAtA) - i, nil
4223 }
4224 func (m *AllTypesOneOf_Field2) MarshalTo(dAtA []byte) (int, error) {
4225 size := m.Size()
4226 return m.MarshalToSizedBuffer(dAtA[:size])
4227 }
4228
4229 func (m *AllTypesOneOf_Field2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4230 i := len(dAtA)
4231 i -= 4
4232 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Field2))))
4233 i--
4234 dAtA[i] = 0x15
4235 return len(dAtA) - i, nil
4236 }
4237 func (m *AllTypesOneOf_Field3) MarshalTo(dAtA []byte) (int, error) {
4238 size := m.Size()
4239 return m.MarshalToSizedBuffer(dAtA[:size])
4240 }
4241
4242 func (m *AllTypesOneOf_Field3) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4243 i := len(dAtA)
4244 i = encodeVarintOne(dAtA, i, uint64(m.Field3))
4245 i--
4246 dAtA[i] = 0x18
4247 return len(dAtA) - i, nil
4248 }
4249 func (m *AllTypesOneOf_Field4) MarshalTo(dAtA []byte) (int, error) {
4250 size := m.Size()
4251 return m.MarshalToSizedBuffer(dAtA[:size])
4252 }
4253
4254 func (m *AllTypesOneOf_Field4) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4255 i := len(dAtA)
4256 i = encodeVarintOne(dAtA, i, uint64(m.Field4))
4257 i--
4258 dAtA[i] = 0x20
4259 return len(dAtA) - i, nil
4260 }
4261 func (m *AllTypesOneOf_Field5) MarshalTo(dAtA []byte) (int, error) {
4262 size := m.Size()
4263 return m.MarshalToSizedBuffer(dAtA[:size])
4264 }
4265
4266 func (m *AllTypesOneOf_Field5) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4267 i := len(dAtA)
4268 i = encodeVarintOne(dAtA, i, uint64(m.Field5))
4269 i--
4270 dAtA[i] = 0x28
4271 return len(dAtA) - i, nil
4272 }
4273 func (m *AllTypesOneOf_Field6) MarshalTo(dAtA []byte) (int, error) {
4274 size := m.Size()
4275 return m.MarshalToSizedBuffer(dAtA[:size])
4276 }
4277
4278 func (m *AllTypesOneOf_Field6) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4279 i := len(dAtA)
4280 i = encodeVarintOne(dAtA, i, uint64(m.Field6))
4281 i--
4282 dAtA[i] = 0x30
4283 return len(dAtA) - i, nil
4284 }
4285 func (m *AllTypesOneOf_Field7) MarshalTo(dAtA []byte) (int, error) {
4286 size := m.Size()
4287 return m.MarshalToSizedBuffer(dAtA[:size])
4288 }
4289
4290 func (m *AllTypesOneOf_Field7) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4291 i := len(dAtA)
4292 i = encodeVarintOne(dAtA, i, uint64((uint32(m.Field7)<<1)^uint32((m.Field7>>31))))
4293 i--
4294 dAtA[i] = 0x38
4295 return len(dAtA) - i, nil
4296 }
4297 func (m *AllTypesOneOf_Field8) MarshalTo(dAtA []byte) (int, error) {
4298 size := m.Size()
4299 return m.MarshalToSizedBuffer(dAtA[:size])
4300 }
4301
4302 func (m *AllTypesOneOf_Field8) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4303 i := len(dAtA)
4304 i = encodeVarintOne(dAtA, i, uint64((uint64(m.Field8)<<1)^uint64((m.Field8>>63))))
4305 i--
4306 dAtA[i] = 0x40
4307 return len(dAtA) - i, nil
4308 }
4309 func (m *AllTypesOneOf_Field9) MarshalTo(dAtA []byte) (int, error) {
4310 size := m.Size()
4311 return m.MarshalToSizedBuffer(dAtA[:size])
4312 }
4313
4314 func (m *AllTypesOneOf_Field9) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4315 i := len(dAtA)
4316 i -= 4
4317 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field9))
4318 i--
4319 dAtA[i] = 0x4d
4320 return len(dAtA) - i, nil
4321 }
4322 func (m *AllTypesOneOf_Field10) MarshalTo(dAtA []byte) (int, error) {
4323 size := m.Size()
4324 return m.MarshalToSizedBuffer(dAtA[:size])
4325 }
4326
4327 func (m *AllTypesOneOf_Field10) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4328 i := len(dAtA)
4329 i -= 4
4330 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field10))
4331 i--
4332 dAtA[i] = 0x55
4333 return len(dAtA) - i, nil
4334 }
4335 func (m *AllTypesOneOf_Field11) MarshalTo(dAtA []byte) (int, error) {
4336 size := m.Size()
4337 return m.MarshalToSizedBuffer(dAtA[:size])
4338 }
4339
4340 func (m *AllTypesOneOf_Field11) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4341 i := len(dAtA)
4342 i -= 8
4343 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field11))
4344 i--
4345 dAtA[i] = 0x59
4346 return len(dAtA) - i, nil
4347 }
4348 func (m *AllTypesOneOf_Field12) MarshalTo(dAtA []byte) (int, error) {
4349 size := m.Size()
4350 return m.MarshalToSizedBuffer(dAtA[:size])
4351 }
4352
4353 func (m *AllTypesOneOf_Field12) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4354 i := len(dAtA)
4355 i -= 8
4356 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field12))
4357 i--
4358 dAtA[i] = 0x61
4359 return len(dAtA) - i, nil
4360 }
4361 func (m *AllTypesOneOf_Field13) MarshalTo(dAtA []byte) (int, error) {
4362 size := m.Size()
4363 return m.MarshalToSizedBuffer(dAtA[:size])
4364 }
4365
4366 func (m *AllTypesOneOf_Field13) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4367 i := len(dAtA)
4368 i--
4369 if m.Field13 {
4370 dAtA[i] = 1
4371 } else {
4372 dAtA[i] = 0
4373 }
4374 i--
4375 dAtA[i] = 0x68
4376 return len(dAtA) - i, nil
4377 }
4378 func (m *AllTypesOneOf_Field14) MarshalTo(dAtA []byte) (int, error) {
4379 size := m.Size()
4380 return m.MarshalToSizedBuffer(dAtA[:size])
4381 }
4382
4383 func (m *AllTypesOneOf_Field14) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4384 i := len(dAtA)
4385 i -= len(m.Field14)
4386 copy(dAtA[i:], m.Field14)
4387 i = encodeVarintOne(dAtA, i, uint64(len(m.Field14)))
4388 i--
4389 dAtA[i] = 0x72
4390 return len(dAtA) - i, nil
4391 }
4392 func (m *AllTypesOneOf_Field15) MarshalTo(dAtA []byte) (int, error) {
4393 size := m.Size()
4394 return m.MarshalToSizedBuffer(dAtA[:size])
4395 }
4396
4397 func (m *AllTypesOneOf_Field15) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4398 i := len(dAtA)
4399 if m.Field15 != nil {
4400 i -= len(m.Field15)
4401 copy(dAtA[i:], m.Field15)
4402 i = encodeVarintOne(dAtA, i, uint64(len(m.Field15)))
4403 i--
4404 dAtA[i] = 0x7a
4405 }
4406 return len(dAtA) - i, nil
4407 }
4408 func (m *AllTypesOneOf_SubMessage) MarshalTo(dAtA []byte) (int, error) {
4409 size := m.Size()
4410 return m.MarshalToSizedBuffer(dAtA[:size])
4411 }
4412
4413 func (m *AllTypesOneOf_SubMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4414 i := len(dAtA)
4415 if m.SubMessage != nil {
4416 {
4417 size, err := m.SubMessage.MarshalToSizedBuffer(dAtA[:i])
4418 if err != nil {
4419 return 0, err
4420 }
4421 i -= size
4422 i = encodeVarintOne(dAtA, i, uint64(size))
4423 }
4424 i--
4425 dAtA[i] = 0x1
4426 i--
4427 dAtA[i] = 0x82
4428 }
4429 return len(dAtA) - i, nil
4430 }
4431 func (m *TwoOneofs) Marshal() (dAtA []byte, err error) {
4432 size := m.Size()
4433 dAtA = make([]byte, size)
4434 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4435 if err != nil {
4436 return nil, err
4437 }
4438 return dAtA[:n], nil
4439 }
4440
4441 func (m *TwoOneofs) MarshalTo(dAtA []byte) (int, error) {
4442 size := m.Size()
4443 return m.MarshalToSizedBuffer(dAtA[:size])
4444 }
4445
4446 func (m *TwoOneofs) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4447 i := len(dAtA)
4448 _ = i
4449 var l int
4450 _ = l
4451 if m.XXX_unrecognized != nil {
4452 i -= len(m.XXX_unrecognized)
4453 copy(dAtA[i:], m.XXX_unrecognized)
4454 }
4455 if m.Two != nil {
4456 {
4457 size := m.Two.Size()
4458 i -= size
4459 if _, err := m.Two.MarshalTo(dAtA[i:]); err != nil {
4460 return 0, err
4461 }
4462 }
4463 }
4464 if m.One != nil {
4465 {
4466 size := m.One.Size()
4467 i -= size
4468 if _, err := m.One.MarshalTo(dAtA[i:]); err != nil {
4469 return 0, err
4470 }
4471 }
4472 }
4473 return len(dAtA) - i, nil
4474 }
4475
4476 func (m *TwoOneofs_Field1) MarshalTo(dAtA []byte) (int, error) {
4477 size := m.Size()
4478 return m.MarshalToSizedBuffer(dAtA[:size])
4479 }
4480
4481 func (m *TwoOneofs_Field1) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4482 i := len(dAtA)
4483 i -= 8
4484 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Field1))))
4485 i--
4486 dAtA[i] = 0x9
4487 return len(dAtA) - i, nil
4488 }
4489 func (m *TwoOneofs_Field2) MarshalTo(dAtA []byte) (int, error) {
4490 size := m.Size()
4491 return m.MarshalToSizedBuffer(dAtA[:size])
4492 }
4493
4494 func (m *TwoOneofs_Field2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4495 i := len(dAtA)
4496 i -= 4
4497 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Field2))))
4498 i--
4499 dAtA[i] = 0x15
4500 return len(dAtA) - i, nil
4501 }
4502 func (m *TwoOneofs_Field3) MarshalTo(dAtA []byte) (int, error) {
4503 size := m.Size()
4504 return m.MarshalToSizedBuffer(dAtA[:size])
4505 }
4506
4507 func (m *TwoOneofs_Field3) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4508 i := len(dAtA)
4509 i = encodeVarintOne(dAtA, i, uint64(m.Field3))
4510 i--
4511 dAtA[i] = 0x18
4512 return len(dAtA) - i, nil
4513 }
4514 func (m *TwoOneofs_Field34) MarshalTo(dAtA []byte) (int, error) {
4515 size := m.Size()
4516 return m.MarshalToSizedBuffer(dAtA[:size])
4517 }
4518
4519 func (m *TwoOneofs_Field34) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4520 i := len(dAtA)
4521 i -= len(m.Field34)
4522 copy(dAtA[i:], m.Field34)
4523 i = encodeVarintOne(dAtA, i, uint64(len(m.Field34)))
4524 i--
4525 dAtA[i] = 0x2
4526 i--
4527 dAtA[i] = 0x92
4528 return len(dAtA) - i, nil
4529 }
4530 func (m *TwoOneofs_Field35) MarshalTo(dAtA []byte) (int, error) {
4531 size := m.Size()
4532 return m.MarshalToSizedBuffer(dAtA[:size])
4533 }
4534
4535 func (m *TwoOneofs_Field35) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4536 i := len(dAtA)
4537 if m.Field35 != nil {
4538 i -= len(m.Field35)
4539 copy(dAtA[i:], m.Field35)
4540 i = encodeVarintOne(dAtA, i, uint64(len(m.Field35)))
4541 i--
4542 dAtA[i] = 0x2
4543 i--
4544 dAtA[i] = 0x9a
4545 }
4546 return len(dAtA) - i, nil
4547 }
4548 func (m *TwoOneofs_SubMessage2) MarshalTo(dAtA []byte) (int, error) {
4549 size := m.Size()
4550 return m.MarshalToSizedBuffer(dAtA[:size])
4551 }
4552
4553 func (m *TwoOneofs_SubMessage2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4554 i := len(dAtA)
4555 if m.SubMessage2 != nil {
4556 {
4557 size, err := m.SubMessage2.MarshalToSizedBuffer(dAtA[:i])
4558 if err != nil {
4559 return 0, err
4560 }
4561 i -= size
4562 i = encodeVarintOne(dAtA, i, uint64(size))
4563 }
4564 i--
4565 dAtA[i] = 0x2
4566 i--
4567 dAtA[i] = 0xa2
4568 }
4569 return len(dAtA) - i, nil
4570 }
4571 func (m *CustomOneof) Marshal() (dAtA []byte, err error) {
4572 size := m.Size()
4573 dAtA = make([]byte, size)
4574 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4575 if err != nil {
4576 return nil, err
4577 }
4578 return dAtA[:n], nil
4579 }
4580
4581 func (m *CustomOneof) MarshalTo(dAtA []byte) (int, error) {
4582 size := m.Size()
4583 return m.MarshalToSizedBuffer(dAtA[:size])
4584 }
4585
4586 func (m *CustomOneof) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4587 i := len(dAtA)
4588 _ = i
4589 var l int
4590 _ = l
4591 if m.XXX_unrecognized != nil {
4592 i -= len(m.XXX_unrecognized)
4593 copy(dAtA[i:], m.XXX_unrecognized)
4594 }
4595 if m.Custom != nil {
4596 {
4597 size := m.Custom.Size()
4598 i -= size
4599 if _, err := m.Custom.MarshalTo(dAtA[i:]); err != nil {
4600 return 0, err
4601 }
4602 }
4603 }
4604 return len(dAtA) - i, nil
4605 }
4606
4607 func (m *CustomOneof_Stringy) MarshalTo(dAtA []byte) (int, error) {
4608 size := m.Size()
4609 return m.MarshalToSizedBuffer(dAtA[:size])
4610 }
4611
4612 func (m *CustomOneof_Stringy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4613 i := len(dAtA)
4614 i -= len(m.Stringy)
4615 copy(dAtA[i:], m.Stringy)
4616 i = encodeVarintOne(dAtA, i, uint64(len(m.Stringy)))
4617 i--
4618 dAtA[i] = 0x2
4619 i--
4620 dAtA[i] = 0x92
4621 return len(dAtA) - i, nil
4622 }
4623 func (m *CustomOneof_CustomType) MarshalTo(dAtA []byte) (int, error) {
4624 size := m.Size()
4625 return m.MarshalToSizedBuffer(dAtA[:size])
4626 }
4627
4628 func (m *CustomOneof_CustomType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4629 i := len(dAtA)
4630 {
4631 size := m.CustomType.Size()
4632 i -= size
4633 if _, err := m.CustomType.MarshalTo(dAtA[i:]); err != nil {
4634 return 0, err
4635 }
4636 i = encodeVarintOne(dAtA, i, uint64(size))
4637 }
4638 i--
4639 dAtA[i] = 0x2
4640 i--
4641 dAtA[i] = 0x9a
4642 return len(dAtA) - i, nil
4643 }
4644 func (m *CustomOneof_CastType) MarshalTo(dAtA []byte) (int, error) {
4645 size := m.Size()
4646 return m.MarshalToSizedBuffer(dAtA[:size])
4647 }
4648
4649 func (m *CustomOneof_CastType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4650 i := len(dAtA)
4651 i = encodeVarintOne(dAtA, i, uint64(m.CastType))
4652 i--
4653 dAtA[i] = 0x2
4654 i--
4655 dAtA[i] = 0xa0
4656 return len(dAtA) - i, nil
4657 }
4658 func (m *CustomOneof_MyCustomName) MarshalTo(dAtA []byte) (int, error) {
4659 size := m.Size()
4660 return m.MarshalToSizedBuffer(dAtA[:size])
4661 }
4662
4663 func (m *CustomOneof_MyCustomName) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4664 i := len(dAtA)
4665 i = encodeVarintOne(dAtA, i, uint64(m.MyCustomName))
4666 i--
4667 dAtA[i] = 0x2
4668 i--
4669 dAtA[i] = 0xa8
4670 return len(dAtA) - i, nil
4671 }
4672 func encodeVarintOne(dAtA []byte, offset int, v uint64) int {
4673 offset -= sovOne(v)
4674 base := offset
4675 for v >= 1<<7 {
4676 dAtA[offset] = uint8(v&0x7f | 0x80)
4677 v >>= 7
4678 offset++
4679 }
4680 dAtA[offset] = uint8(v)
4681 return base
4682 }
4683 func NewPopulatedSubby(r randyOne, easy bool) *Subby {
4684 this := &Subby{}
4685 if r.Intn(5) != 0 {
4686 v1 := string(randStringOne(r))
4687 this.Sub = &v1
4688 }
4689 if !easy && r.Intn(10) != 0 {
4690 this.XXX_unrecognized = randUnrecognizedOne(r, 2)
4691 }
4692 return this
4693 }
4694
4695 func NewPopulatedAllTypesOneOf(r randyOne, easy bool) *AllTypesOneOf {
4696 this := &AllTypesOneOf{}
4697 oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)]
4698 switch oneofNumber_TestOneof {
4699 case 1:
4700 this.TestOneof = NewPopulatedAllTypesOneOf_Field1(r, easy)
4701 case 2:
4702 this.TestOneof = NewPopulatedAllTypesOneOf_Field2(r, easy)
4703 case 3:
4704 this.TestOneof = NewPopulatedAllTypesOneOf_Field3(r, easy)
4705 case 4:
4706 this.TestOneof = NewPopulatedAllTypesOneOf_Field4(r, easy)
4707 case 5:
4708 this.TestOneof = NewPopulatedAllTypesOneOf_Field5(r, easy)
4709 case 6:
4710 this.TestOneof = NewPopulatedAllTypesOneOf_Field6(r, easy)
4711 case 7:
4712 this.TestOneof = NewPopulatedAllTypesOneOf_Field7(r, easy)
4713 case 8:
4714 this.TestOneof = NewPopulatedAllTypesOneOf_Field8(r, easy)
4715 case 9:
4716 this.TestOneof = NewPopulatedAllTypesOneOf_Field9(r, easy)
4717 case 10:
4718 this.TestOneof = NewPopulatedAllTypesOneOf_Field10(r, easy)
4719 case 11:
4720 this.TestOneof = NewPopulatedAllTypesOneOf_Field11(r, easy)
4721 case 12:
4722 this.TestOneof = NewPopulatedAllTypesOneOf_Field12(r, easy)
4723 case 13:
4724 this.TestOneof = NewPopulatedAllTypesOneOf_Field13(r, easy)
4725 case 14:
4726 this.TestOneof = NewPopulatedAllTypesOneOf_Field14(r, easy)
4727 case 15:
4728 this.TestOneof = NewPopulatedAllTypesOneOf_Field15(r, easy)
4729 case 16:
4730 this.TestOneof = NewPopulatedAllTypesOneOf_SubMessage(r, easy)
4731 }
4732 if !easy && r.Intn(10) != 0 {
4733 this.XXX_unrecognized = randUnrecognizedOne(r, 17)
4734 }
4735 return this
4736 }
4737
4738 func NewPopulatedAllTypesOneOf_Field1(r randyOne, easy bool) *AllTypesOneOf_Field1 {
4739 this := &AllTypesOneOf_Field1{}
4740 this.Field1 = float64(r.Float64())
4741 if r.Intn(2) == 0 {
4742 this.Field1 *= -1
4743 }
4744 return this
4745 }
4746 func NewPopulatedAllTypesOneOf_Field2(r randyOne, easy bool) *AllTypesOneOf_Field2 {
4747 this := &AllTypesOneOf_Field2{}
4748 this.Field2 = float32(r.Float32())
4749 if r.Intn(2) == 0 {
4750 this.Field2 *= -1
4751 }
4752 return this
4753 }
4754 func NewPopulatedAllTypesOneOf_Field3(r randyOne, easy bool) *AllTypesOneOf_Field3 {
4755 this := &AllTypesOneOf_Field3{}
4756 this.Field3 = int32(r.Int31())
4757 if r.Intn(2) == 0 {
4758 this.Field3 *= -1
4759 }
4760 return this
4761 }
4762 func NewPopulatedAllTypesOneOf_Field4(r randyOne, easy bool) *AllTypesOneOf_Field4 {
4763 this := &AllTypesOneOf_Field4{}
4764 this.Field4 = int64(r.Int63())
4765 if r.Intn(2) == 0 {
4766 this.Field4 *= -1
4767 }
4768 return this
4769 }
4770 func NewPopulatedAllTypesOneOf_Field5(r randyOne, easy bool) *AllTypesOneOf_Field5 {
4771 this := &AllTypesOneOf_Field5{}
4772 this.Field5 = uint32(r.Uint32())
4773 return this
4774 }
4775 func NewPopulatedAllTypesOneOf_Field6(r randyOne, easy bool) *AllTypesOneOf_Field6 {
4776 this := &AllTypesOneOf_Field6{}
4777 this.Field6 = uint64(uint64(r.Uint32()))
4778 return this
4779 }
4780 func NewPopulatedAllTypesOneOf_Field7(r randyOne, easy bool) *AllTypesOneOf_Field7 {
4781 this := &AllTypesOneOf_Field7{}
4782 this.Field7 = int32(r.Int31())
4783 if r.Intn(2) == 0 {
4784 this.Field7 *= -1
4785 }
4786 return this
4787 }
4788 func NewPopulatedAllTypesOneOf_Field8(r randyOne, easy bool) *AllTypesOneOf_Field8 {
4789 this := &AllTypesOneOf_Field8{}
4790 this.Field8 = int64(r.Int63())
4791 if r.Intn(2) == 0 {
4792 this.Field8 *= -1
4793 }
4794 return this
4795 }
4796 func NewPopulatedAllTypesOneOf_Field9(r randyOne, easy bool) *AllTypesOneOf_Field9 {
4797 this := &AllTypesOneOf_Field9{}
4798 this.Field9 = uint32(r.Uint32())
4799 return this
4800 }
4801 func NewPopulatedAllTypesOneOf_Field10(r randyOne, easy bool) *AllTypesOneOf_Field10 {
4802 this := &AllTypesOneOf_Field10{}
4803 this.Field10 = int32(r.Int31())
4804 if r.Intn(2) == 0 {
4805 this.Field10 *= -1
4806 }
4807 return this
4808 }
4809 func NewPopulatedAllTypesOneOf_Field11(r randyOne, easy bool) *AllTypesOneOf_Field11 {
4810 this := &AllTypesOneOf_Field11{}
4811 this.Field11 = uint64(uint64(r.Uint32()))
4812 return this
4813 }
4814 func NewPopulatedAllTypesOneOf_Field12(r randyOne, easy bool) *AllTypesOneOf_Field12 {
4815 this := &AllTypesOneOf_Field12{}
4816 this.Field12 = int64(r.Int63())
4817 if r.Intn(2) == 0 {
4818 this.Field12 *= -1
4819 }
4820 return this
4821 }
4822 func NewPopulatedAllTypesOneOf_Field13(r randyOne, easy bool) *AllTypesOneOf_Field13 {
4823 this := &AllTypesOneOf_Field13{}
4824 this.Field13 = bool(bool(r.Intn(2) == 0))
4825 return this
4826 }
4827 func NewPopulatedAllTypesOneOf_Field14(r randyOne, easy bool) *AllTypesOneOf_Field14 {
4828 this := &AllTypesOneOf_Field14{}
4829 this.Field14 = string(randStringOne(r))
4830 return this
4831 }
4832 func NewPopulatedAllTypesOneOf_Field15(r randyOne, easy bool) *AllTypesOneOf_Field15 {
4833 this := &AllTypesOneOf_Field15{}
4834 v2 := r.Intn(100)
4835 this.Field15 = make([]byte, v2)
4836 for i := 0; i < v2; i++ {
4837 this.Field15[i] = byte(r.Intn(256))
4838 }
4839 return this
4840 }
4841 func NewPopulatedAllTypesOneOf_SubMessage(r randyOne, easy bool) *AllTypesOneOf_SubMessage {
4842 this := &AllTypesOneOf_SubMessage{}
4843 this.SubMessage = NewPopulatedSubby(r, easy)
4844 return this
4845 }
4846 func NewPopulatedTwoOneofs(r randyOne, easy bool) *TwoOneofs {
4847 this := &TwoOneofs{}
4848 oneofNumber_One := []int32{1, 2, 3}[r.Intn(3)]
4849 switch oneofNumber_One {
4850 case 1:
4851 this.One = NewPopulatedTwoOneofs_Field1(r, easy)
4852 case 2:
4853 this.One = NewPopulatedTwoOneofs_Field2(r, easy)
4854 case 3:
4855 this.One = NewPopulatedTwoOneofs_Field3(r, easy)
4856 }
4857 oneofNumber_Two := []int32{34, 35, 36}[r.Intn(3)]
4858 switch oneofNumber_Two {
4859 case 34:
4860 this.Two = NewPopulatedTwoOneofs_Field34(r, easy)
4861 case 35:
4862 this.Two = NewPopulatedTwoOneofs_Field35(r, easy)
4863 case 36:
4864 this.Two = NewPopulatedTwoOneofs_SubMessage2(r, easy)
4865 }
4866 if !easy && r.Intn(10) != 0 {
4867 this.XXX_unrecognized = randUnrecognizedOne(r, 37)
4868 }
4869 return this
4870 }
4871
4872 func NewPopulatedTwoOneofs_Field1(r randyOne, easy bool) *TwoOneofs_Field1 {
4873 this := &TwoOneofs_Field1{}
4874 this.Field1 = float64(r.Float64())
4875 if r.Intn(2) == 0 {
4876 this.Field1 *= -1
4877 }
4878 return this
4879 }
4880 func NewPopulatedTwoOneofs_Field2(r randyOne, easy bool) *TwoOneofs_Field2 {
4881 this := &TwoOneofs_Field2{}
4882 this.Field2 = float32(r.Float32())
4883 if r.Intn(2) == 0 {
4884 this.Field2 *= -1
4885 }
4886 return this
4887 }
4888 func NewPopulatedTwoOneofs_Field3(r randyOne, easy bool) *TwoOneofs_Field3 {
4889 this := &TwoOneofs_Field3{}
4890 this.Field3 = int32(r.Int31())
4891 if r.Intn(2) == 0 {
4892 this.Field3 *= -1
4893 }
4894 return this
4895 }
4896 func NewPopulatedTwoOneofs_Field34(r randyOne, easy bool) *TwoOneofs_Field34 {
4897 this := &TwoOneofs_Field34{}
4898 this.Field34 = string(randStringOne(r))
4899 return this
4900 }
4901 func NewPopulatedTwoOneofs_Field35(r randyOne, easy bool) *TwoOneofs_Field35 {
4902 this := &TwoOneofs_Field35{}
4903 v3 := r.Intn(100)
4904 this.Field35 = make([]byte, v3)
4905 for i := 0; i < v3; i++ {
4906 this.Field35[i] = byte(r.Intn(256))
4907 }
4908 return this
4909 }
4910 func NewPopulatedTwoOneofs_SubMessage2(r randyOne, easy bool) *TwoOneofs_SubMessage2 {
4911 this := &TwoOneofs_SubMessage2{}
4912 this.SubMessage2 = NewPopulatedSubby(r, easy)
4913 return this
4914 }
4915 func NewPopulatedCustomOneof(r randyOne, easy bool) *CustomOneof {
4916 this := &CustomOneof{}
4917 oneofNumber_Custom := []int32{34, 35, 36, 37}[r.Intn(4)]
4918 switch oneofNumber_Custom {
4919 case 34:
4920 this.Custom = NewPopulatedCustomOneof_Stringy(r, easy)
4921 case 35:
4922 this.Custom = NewPopulatedCustomOneof_CustomType(r, easy)
4923 case 36:
4924 this.Custom = NewPopulatedCustomOneof_CastType(r, easy)
4925 case 37:
4926 this.Custom = NewPopulatedCustomOneof_MyCustomName(r, easy)
4927 }
4928 if !easy && r.Intn(10) != 0 {
4929 this.XXX_unrecognized = randUnrecognizedOne(r, 38)
4930 }
4931 return this
4932 }
4933
4934 func NewPopulatedCustomOneof_Stringy(r randyOne, easy bool) *CustomOneof_Stringy {
4935 this := &CustomOneof_Stringy{}
4936 this.Stringy = string(randStringOne(r))
4937 return this
4938 }
4939 func NewPopulatedCustomOneof_CustomType(r randyOne, easy bool) *CustomOneof_CustomType {
4940 this := &CustomOneof_CustomType{}
4941 v4 := github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r)
4942 this.CustomType = *v4
4943 return this
4944 }
4945 func NewPopulatedCustomOneof_CastType(r randyOne, easy bool) *CustomOneof_CastType {
4946 this := &CustomOneof_CastType{}
4947 this.CastType = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32()))
4948 return this
4949 }
4950 func NewPopulatedCustomOneof_MyCustomName(r randyOne, easy bool) *CustomOneof_MyCustomName {
4951 this := &CustomOneof_MyCustomName{}
4952 this.MyCustomName = int64(r.Int63())
4953 if r.Intn(2) == 0 {
4954 this.MyCustomName *= -1
4955 }
4956 return this
4957 }
4958
4959 type randyOne interface {
4960 Float32() float32
4961 Float64() float64
4962 Int63() int64
4963 Int31() int32
4964 Uint32() uint32
4965 Intn(n int) int
4966 }
4967
4968 func randUTF8RuneOne(r randyOne) rune {
4969 ru := r.Intn(62)
4970 if ru < 10 {
4971 return rune(ru + 48)
4972 } else if ru < 36 {
4973 return rune(ru + 55)
4974 }
4975 return rune(ru + 61)
4976 }
4977 func randStringOne(r randyOne) string {
4978 v5 := r.Intn(100)
4979 tmps := make([]rune, v5)
4980 for i := 0; i < v5; i++ {
4981 tmps[i] = randUTF8RuneOne(r)
4982 }
4983 return string(tmps)
4984 }
4985 func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) {
4986 l := r.Intn(5)
4987 for i := 0; i < l; i++ {
4988 wire := r.Intn(4)
4989 if wire == 3 {
4990 wire = 5
4991 }
4992 fieldNumber := maxFieldNumber + r.Intn(100)
4993 dAtA = randFieldOne(dAtA, r, fieldNumber, wire)
4994 }
4995 return dAtA
4996 }
4997 func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte {
4998 key := uint32(fieldNumber)<<3 | uint32(wire)
4999 switch wire {
5000 case 0:
5001 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
5002 v6 := r.Int63()
5003 if r.Intn(2) == 0 {
5004 v6 *= -1
5005 }
5006 dAtA = encodeVarintPopulateOne(dAtA, uint64(v6))
5007 case 1:
5008 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
5009 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
5010 case 2:
5011 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
5012 ll := r.Intn(100)
5013 dAtA = encodeVarintPopulateOne(dAtA, uint64(ll))
5014 for j := 0; j < ll; j++ {
5015 dAtA = append(dAtA, byte(r.Intn(256)))
5016 }
5017 default:
5018 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
5019 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
5020 }
5021 return dAtA
5022 }
5023 func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte {
5024 for v >= 1<<7 {
5025 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
5026 v >>= 7
5027 }
5028 dAtA = append(dAtA, uint8(v))
5029 return dAtA
5030 }
5031 func (m *Subby) Size() (n int) {
5032 if m == nil {
5033 return 0
5034 }
5035 var l int
5036 _ = l
5037 if m.Sub != nil {
5038 l = len(*m.Sub)
5039 n += 1 + l + sovOne(uint64(l))
5040 }
5041 if m.XXX_unrecognized != nil {
5042 n += len(m.XXX_unrecognized)
5043 }
5044 return n
5045 }
5046
5047 func (m *AllTypesOneOf) Size() (n int) {
5048 if m == nil {
5049 return 0
5050 }
5051 var l int
5052 _ = l
5053 if m.TestOneof != nil {
5054 n += m.TestOneof.Size()
5055 }
5056 if m.XXX_unrecognized != nil {
5057 n += len(m.XXX_unrecognized)
5058 }
5059 return n
5060 }
5061
5062 func (m *AllTypesOneOf_Field1) Size() (n int) {
5063 if m == nil {
5064 return 0
5065 }
5066 var l int
5067 _ = l
5068 n += 9
5069 return n
5070 }
5071 func (m *AllTypesOneOf_Field2) Size() (n int) {
5072 if m == nil {
5073 return 0
5074 }
5075 var l int
5076 _ = l
5077 n += 5
5078 return n
5079 }
5080 func (m *AllTypesOneOf_Field3) Size() (n int) {
5081 if m == nil {
5082 return 0
5083 }
5084 var l int
5085 _ = l
5086 n += 1 + sovOne(uint64(m.Field3))
5087 return n
5088 }
5089 func (m *AllTypesOneOf_Field4) Size() (n int) {
5090 if m == nil {
5091 return 0
5092 }
5093 var l int
5094 _ = l
5095 n += 1 + sovOne(uint64(m.Field4))
5096 return n
5097 }
5098 func (m *AllTypesOneOf_Field5) Size() (n int) {
5099 if m == nil {
5100 return 0
5101 }
5102 var l int
5103 _ = l
5104 n += 1 + sovOne(uint64(m.Field5))
5105 return n
5106 }
5107 func (m *AllTypesOneOf_Field6) Size() (n int) {
5108 if m == nil {
5109 return 0
5110 }
5111 var l int
5112 _ = l
5113 n += 1 + sovOne(uint64(m.Field6))
5114 return n
5115 }
5116 func (m *AllTypesOneOf_Field7) Size() (n int) {
5117 if m == nil {
5118 return 0
5119 }
5120 var l int
5121 _ = l
5122 n += 1 + sozOne(uint64(m.Field7))
5123 return n
5124 }
5125 func (m *AllTypesOneOf_Field8) Size() (n int) {
5126 if m == nil {
5127 return 0
5128 }
5129 var l int
5130 _ = l
5131 n += 1 + sozOne(uint64(m.Field8))
5132 return n
5133 }
5134 func (m *AllTypesOneOf_Field9) Size() (n int) {
5135 if m == nil {
5136 return 0
5137 }
5138 var l int
5139 _ = l
5140 n += 5
5141 return n
5142 }
5143 func (m *AllTypesOneOf_Field10) Size() (n int) {
5144 if m == nil {
5145 return 0
5146 }
5147 var l int
5148 _ = l
5149 n += 5
5150 return n
5151 }
5152 func (m *AllTypesOneOf_Field11) Size() (n int) {
5153 if m == nil {
5154 return 0
5155 }
5156 var l int
5157 _ = l
5158 n += 9
5159 return n
5160 }
5161 func (m *AllTypesOneOf_Field12) Size() (n int) {
5162 if m == nil {
5163 return 0
5164 }
5165 var l int
5166 _ = l
5167 n += 9
5168 return n
5169 }
5170 func (m *AllTypesOneOf_Field13) Size() (n int) {
5171 if m == nil {
5172 return 0
5173 }
5174 var l int
5175 _ = l
5176 n += 2
5177 return n
5178 }
5179 func (m *AllTypesOneOf_Field14) Size() (n int) {
5180 if m == nil {
5181 return 0
5182 }
5183 var l int
5184 _ = l
5185 l = len(m.Field14)
5186 n += 1 + l + sovOne(uint64(l))
5187 return n
5188 }
5189 func (m *AllTypesOneOf_Field15) Size() (n int) {
5190 if m == nil {
5191 return 0
5192 }
5193 var l int
5194 _ = l
5195 if m.Field15 != nil {
5196 l = len(m.Field15)
5197 n += 1 + l + sovOne(uint64(l))
5198 }
5199 return n
5200 }
5201 func (m *AllTypesOneOf_SubMessage) Size() (n int) {
5202 if m == nil {
5203 return 0
5204 }
5205 var l int
5206 _ = l
5207 if m.SubMessage != nil {
5208 l = m.SubMessage.Size()
5209 n += 2 + l + sovOne(uint64(l))
5210 }
5211 return n
5212 }
5213 func (m *TwoOneofs) Size() (n int) {
5214 if m == nil {
5215 return 0
5216 }
5217 var l int
5218 _ = l
5219 if m.One != nil {
5220 n += m.One.Size()
5221 }
5222 if m.Two != nil {
5223 n += m.Two.Size()
5224 }
5225 if m.XXX_unrecognized != nil {
5226 n += len(m.XXX_unrecognized)
5227 }
5228 return n
5229 }
5230
5231 func (m *TwoOneofs_Field1) Size() (n int) {
5232 if m == nil {
5233 return 0
5234 }
5235 var l int
5236 _ = l
5237 n += 9
5238 return n
5239 }
5240 func (m *TwoOneofs_Field2) Size() (n int) {
5241 if m == nil {
5242 return 0
5243 }
5244 var l int
5245 _ = l
5246 n += 5
5247 return n
5248 }
5249 func (m *TwoOneofs_Field3) Size() (n int) {
5250 if m == nil {
5251 return 0
5252 }
5253 var l int
5254 _ = l
5255 n += 1 + sovOne(uint64(m.Field3))
5256 return n
5257 }
5258 func (m *TwoOneofs_Field34) Size() (n int) {
5259 if m == nil {
5260 return 0
5261 }
5262 var l int
5263 _ = l
5264 l = len(m.Field34)
5265 n += 2 + l + sovOne(uint64(l))
5266 return n
5267 }
5268 func (m *TwoOneofs_Field35) Size() (n int) {
5269 if m == nil {
5270 return 0
5271 }
5272 var l int
5273 _ = l
5274 if m.Field35 != nil {
5275 l = len(m.Field35)
5276 n += 2 + l + sovOne(uint64(l))
5277 }
5278 return n
5279 }
5280 func (m *TwoOneofs_SubMessage2) Size() (n int) {
5281 if m == nil {
5282 return 0
5283 }
5284 var l int
5285 _ = l
5286 if m.SubMessage2 != nil {
5287 l = m.SubMessage2.Size()
5288 n += 2 + l + sovOne(uint64(l))
5289 }
5290 return n
5291 }
5292 func (m *CustomOneof) Size() (n int) {
5293 if m == nil {
5294 return 0
5295 }
5296 var l int
5297 _ = l
5298 if m.Custom != nil {
5299 n += m.Custom.Size()
5300 }
5301 if m.XXX_unrecognized != nil {
5302 n += len(m.XXX_unrecognized)
5303 }
5304 return n
5305 }
5306
5307 func (m *CustomOneof_Stringy) Size() (n int) {
5308 if m == nil {
5309 return 0
5310 }
5311 var l int
5312 _ = l
5313 l = len(m.Stringy)
5314 n += 2 + l + sovOne(uint64(l))
5315 return n
5316 }
5317 func (m *CustomOneof_CustomType) Size() (n int) {
5318 if m == nil {
5319 return 0
5320 }
5321 var l int
5322 _ = l
5323 l = m.CustomType.Size()
5324 n += 2 + l + sovOne(uint64(l))
5325 return n
5326 }
5327 func (m *CustomOneof_CastType) Size() (n int) {
5328 if m == nil {
5329 return 0
5330 }
5331 var l int
5332 _ = l
5333 n += 2 + sovOne(uint64(m.CastType))
5334 return n
5335 }
5336 func (m *CustomOneof_MyCustomName) Size() (n int) {
5337 if m == nil {
5338 return 0
5339 }
5340 var l int
5341 _ = l
5342 n += 2 + sovOne(uint64(m.MyCustomName))
5343 return n
5344 }
5345
5346 func sovOne(x uint64) (n int) {
5347 return (math_bits.Len64(x|1) + 6) / 7
5348 }
5349 func sozOne(x uint64) (n int) {
5350 return sovOne(uint64((x << 1) ^ uint64((int64(x) >> 63))))
5351 }
5352 func (this *Subby) String() string {
5353 if this == nil {
5354 return "nil"
5355 }
5356 s := strings.Join([]string{`&Subby{`,
5357 `Sub:` + valueToStringOne(this.Sub) + `,`,
5358 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
5359 `}`,
5360 }, "")
5361 return s
5362 }
5363 func (this *AllTypesOneOf) String() string {
5364 if this == nil {
5365 return "nil"
5366 }
5367 s := strings.Join([]string{`&AllTypesOneOf{`,
5368 `TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`,
5369 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
5370 `}`,
5371 }, "")
5372 return s
5373 }
5374 func (this *AllTypesOneOf_Field1) String() string {
5375 if this == nil {
5376 return "nil"
5377 }
5378 s := strings.Join([]string{`&AllTypesOneOf_Field1{`,
5379 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`,
5380 `}`,
5381 }, "")
5382 return s
5383 }
5384 func (this *AllTypesOneOf_Field2) String() string {
5385 if this == nil {
5386 return "nil"
5387 }
5388 s := strings.Join([]string{`&AllTypesOneOf_Field2{`,
5389 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`,
5390 `}`,
5391 }, "")
5392 return s
5393 }
5394 func (this *AllTypesOneOf_Field3) String() string {
5395 if this == nil {
5396 return "nil"
5397 }
5398 s := strings.Join([]string{`&AllTypesOneOf_Field3{`,
5399 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`,
5400 `}`,
5401 }, "")
5402 return s
5403 }
5404 func (this *AllTypesOneOf_Field4) String() string {
5405 if this == nil {
5406 return "nil"
5407 }
5408 s := strings.Join([]string{`&AllTypesOneOf_Field4{`,
5409 `Field4:` + fmt.Sprintf("%v", this.Field4) + `,`,
5410 `}`,
5411 }, "")
5412 return s
5413 }
5414 func (this *AllTypesOneOf_Field5) String() string {
5415 if this == nil {
5416 return "nil"
5417 }
5418 s := strings.Join([]string{`&AllTypesOneOf_Field5{`,
5419 `Field5:` + fmt.Sprintf("%v", this.Field5) + `,`,
5420 `}`,
5421 }, "")
5422 return s
5423 }
5424 func (this *AllTypesOneOf_Field6) String() string {
5425 if this == nil {
5426 return "nil"
5427 }
5428 s := strings.Join([]string{`&AllTypesOneOf_Field6{`,
5429 `Field6:` + fmt.Sprintf("%v", this.Field6) + `,`,
5430 `}`,
5431 }, "")
5432 return s
5433 }
5434 func (this *AllTypesOneOf_Field7) String() string {
5435 if this == nil {
5436 return "nil"
5437 }
5438 s := strings.Join([]string{`&AllTypesOneOf_Field7{`,
5439 `Field7:` + fmt.Sprintf("%v", this.Field7) + `,`,
5440 `}`,
5441 }, "")
5442 return s
5443 }
5444 func (this *AllTypesOneOf_Field8) String() string {
5445 if this == nil {
5446 return "nil"
5447 }
5448 s := strings.Join([]string{`&AllTypesOneOf_Field8{`,
5449 `Field8:` + fmt.Sprintf("%v", this.Field8) + `,`,
5450 `}`,
5451 }, "")
5452 return s
5453 }
5454 func (this *AllTypesOneOf_Field9) String() string {
5455 if this == nil {
5456 return "nil"
5457 }
5458 s := strings.Join([]string{`&AllTypesOneOf_Field9{`,
5459 `Field9:` + fmt.Sprintf("%v", this.Field9) + `,`,
5460 `}`,
5461 }, "")
5462 return s
5463 }
5464 func (this *AllTypesOneOf_Field10) String() string {
5465 if this == nil {
5466 return "nil"
5467 }
5468 s := strings.Join([]string{`&AllTypesOneOf_Field10{`,
5469 `Field10:` + fmt.Sprintf("%v", this.Field10) + `,`,
5470 `}`,
5471 }, "")
5472 return s
5473 }
5474 func (this *AllTypesOneOf_Field11) String() string {
5475 if this == nil {
5476 return "nil"
5477 }
5478 s := strings.Join([]string{`&AllTypesOneOf_Field11{`,
5479 `Field11:` + fmt.Sprintf("%v", this.Field11) + `,`,
5480 `}`,
5481 }, "")
5482 return s
5483 }
5484 func (this *AllTypesOneOf_Field12) String() string {
5485 if this == nil {
5486 return "nil"
5487 }
5488 s := strings.Join([]string{`&AllTypesOneOf_Field12{`,
5489 `Field12:` + fmt.Sprintf("%v", this.Field12) + `,`,
5490 `}`,
5491 }, "")
5492 return s
5493 }
5494 func (this *AllTypesOneOf_Field13) String() string {
5495 if this == nil {
5496 return "nil"
5497 }
5498 s := strings.Join([]string{`&AllTypesOneOf_Field13{`,
5499 `Field13:` + fmt.Sprintf("%v", this.Field13) + `,`,
5500 `}`,
5501 }, "")
5502 return s
5503 }
5504 func (this *AllTypesOneOf_Field14) String() string {
5505 if this == nil {
5506 return "nil"
5507 }
5508 s := strings.Join([]string{`&AllTypesOneOf_Field14{`,
5509 `Field14:` + fmt.Sprintf("%v", this.Field14) + `,`,
5510 `}`,
5511 }, "")
5512 return s
5513 }
5514 func (this *AllTypesOneOf_Field15) String() string {
5515 if this == nil {
5516 return "nil"
5517 }
5518 s := strings.Join([]string{`&AllTypesOneOf_Field15{`,
5519 `Field15:` + fmt.Sprintf("%v", this.Field15) + `,`,
5520 `}`,
5521 }, "")
5522 return s
5523 }
5524 func (this *AllTypesOneOf_SubMessage) String() string {
5525 if this == nil {
5526 return "nil"
5527 }
5528 s := strings.Join([]string{`&AllTypesOneOf_SubMessage{`,
5529 `SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`,
5530 `}`,
5531 }, "")
5532 return s
5533 }
5534 func (this *TwoOneofs) String() string {
5535 if this == nil {
5536 return "nil"
5537 }
5538 s := strings.Join([]string{`&TwoOneofs{`,
5539 `One:` + fmt.Sprintf("%v", this.One) + `,`,
5540 `Two:` + fmt.Sprintf("%v", this.Two) + `,`,
5541 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
5542 `}`,
5543 }, "")
5544 return s
5545 }
5546 func (this *TwoOneofs_Field1) String() string {
5547 if this == nil {
5548 return "nil"
5549 }
5550 s := strings.Join([]string{`&TwoOneofs_Field1{`,
5551 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`,
5552 `}`,
5553 }, "")
5554 return s
5555 }
5556 func (this *TwoOneofs_Field2) String() string {
5557 if this == nil {
5558 return "nil"
5559 }
5560 s := strings.Join([]string{`&TwoOneofs_Field2{`,
5561 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`,
5562 `}`,
5563 }, "")
5564 return s
5565 }
5566 func (this *TwoOneofs_Field3) String() string {
5567 if this == nil {
5568 return "nil"
5569 }
5570 s := strings.Join([]string{`&TwoOneofs_Field3{`,
5571 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`,
5572 `}`,
5573 }, "")
5574 return s
5575 }
5576 func (this *TwoOneofs_Field34) String() string {
5577 if this == nil {
5578 return "nil"
5579 }
5580 s := strings.Join([]string{`&TwoOneofs_Field34{`,
5581 `Field34:` + fmt.Sprintf("%v", this.Field34) + `,`,
5582 `}`,
5583 }, "")
5584 return s
5585 }
5586 func (this *TwoOneofs_Field35) String() string {
5587 if this == nil {
5588 return "nil"
5589 }
5590 s := strings.Join([]string{`&TwoOneofs_Field35{`,
5591 `Field35:` + fmt.Sprintf("%v", this.Field35) + `,`,
5592 `}`,
5593 }, "")
5594 return s
5595 }
5596 func (this *TwoOneofs_SubMessage2) String() string {
5597 if this == nil {
5598 return "nil"
5599 }
5600 s := strings.Join([]string{`&TwoOneofs_SubMessage2{`,
5601 `SubMessage2:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage2), "Subby", "Subby", 1) + `,`,
5602 `}`,
5603 }, "")
5604 return s
5605 }
5606 func (this *CustomOneof) String() string {
5607 if this == nil {
5608 return "nil"
5609 }
5610 s := strings.Join([]string{`&CustomOneof{`,
5611 `Custom:` + fmt.Sprintf("%v", this.Custom) + `,`,
5612 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
5613 `}`,
5614 }, "")
5615 return s
5616 }
5617 func (this *CustomOneof_Stringy) String() string {
5618 if this == nil {
5619 return "nil"
5620 }
5621 s := strings.Join([]string{`&CustomOneof_Stringy{`,
5622 `Stringy:` + fmt.Sprintf("%v", this.Stringy) + `,`,
5623 `}`,
5624 }, "")
5625 return s
5626 }
5627 func (this *CustomOneof_CustomType) String() string {
5628 if this == nil {
5629 return "nil"
5630 }
5631 s := strings.Join([]string{`&CustomOneof_CustomType{`,
5632 `CustomType:` + fmt.Sprintf("%v", this.CustomType) + `,`,
5633 `}`,
5634 }, "")
5635 return s
5636 }
5637 func (this *CustomOneof_CastType) String() string {
5638 if this == nil {
5639 return "nil"
5640 }
5641 s := strings.Join([]string{`&CustomOneof_CastType{`,
5642 `CastType:` + fmt.Sprintf("%v", this.CastType) + `,`,
5643 `}`,
5644 }, "")
5645 return s
5646 }
5647 func (this *CustomOneof_MyCustomName) String() string {
5648 if this == nil {
5649 return "nil"
5650 }
5651 s := strings.Join([]string{`&CustomOneof_MyCustomName{`,
5652 `MyCustomName:` + fmt.Sprintf("%v", this.MyCustomName) + `,`,
5653 `}`,
5654 }, "")
5655 return s
5656 }
5657 func valueToStringOne(v interface{}) string {
5658 rv := reflect.ValueOf(v)
5659 if rv.IsNil() {
5660 return "nil"
5661 }
5662 pv := reflect.Indirect(rv).Interface()
5663 return fmt.Sprintf("*%v", pv)
5664 }
5665 func (m *Subby) Unmarshal(dAtA []byte) error {
5666 l := len(dAtA)
5667 iNdEx := 0
5668 for iNdEx < l {
5669 preIndex := iNdEx
5670 var wire uint64
5671 for shift := uint(0); ; shift += 7 {
5672 if shift >= 64 {
5673 return ErrIntOverflowOne
5674 }
5675 if iNdEx >= l {
5676 return io.ErrUnexpectedEOF
5677 }
5678 b := dAtA[iNdEx]
5679 iNdEx++
5680 wire |= uint64(b&0x7F) << shift
5681 if b < 0x80 {
5682 break
5683 }
5684 }
5685 fieldNum := int32(wire >> 3)
5686 wireType := int(wire & 0x7)
5687 if wireType == 4 {
5688 return fmt.Errorf("proto: Subby: wiretype end group for non-group")
5689 }
5690 if fieldNum <= 0 {
5691 return fmt.Errorf("proto: Subby: illegal tag %d (wire type %d)", fieldNum, wire)
5692 }
5693 switch fieldNum {
5694 case 1:
5695 if wireType != 2 {
5696 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType)
5697 }
5698 var stringLen uint64
5699 for shift := uint(0); ; shift += 7 {
5700 if shift >= 64 {
5701 return ErrIntOverflowOne
5702 }
5703 if iNdEx >= l {
5704 return io.ErrUnexpectedEOF
5705 }
5706 b := dAtA[iNdEx]
5707 iNdEx++
5708 stringLen |= uint64(b&0x7F) << shift
5709 if b < 0x80 {
5710 break
5711 }
5712 }
5713 intStringLen := int(stringLen)
5714 if intStringLen < 0 {
5715 return ErrInvalidLengthOne
5716 }
5717 postIndex := iNdEx + intStringLen
5718 if postIndex < 0 {
5719 return ErrInvalidLengthOne
5720 }
5721 if postIndex > l {
5722 return io.ErrUnexpectedEOF
5723 }
5724 s := string(dAtA[iNdEx:postIndex])
5725 m.Sub = &s
5726 iNdEx = postIndex
5727 default:
5728 iNdEx = preIndex
5729 skippy, err := skipOne(dAtA[iNdEx:])
5730 if err != nil {
5731 return err
5732 }
5733 if (skippy < 0) || (iNdEx+skippy) < 0 {
5734 return ErrInvalidLengthOne
5735 }
5736 if (iNdEx + skippy) > l {
5737 return io.ErrUnexpectedEOF
5738 }
5739 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5740 iNdEx += skippy
5741 }
5742 }
5743
5744 if iNdEx > l {
5745 return io.ErrUnexpectedEOF
5746 }
5747 return nil
5748 }
5749 func (m *AllTypesOneOf) Unmarshal(dAtA []byte) error {
5750 l := len(dAtA)
5751 iNdEx := 0
5752 for iNdEx < l {
5753 preIndex := iNdEx
5754 var wire uint64
5755 for shift := uint(0); ; shift += 7 {
5756 if shift >= 64 {
5757 return ErrIntOverflowOne
5758 }
5759 if iNdEx >= l {
5760 return io.ErrUnexpectedEOF
5761 }
5762 b := dAtA[iNdEx]
5763 iNdEx++
5764 wire |= uint64(b&0x7F) << shift
5765 if b < 0x80 {
5766 break
5767 }
5768 }
5769 fieldNum := int32(wire >> 3)
5770 wireType := int(wire & 0x7)
5771 if wireType == 4 {
5772 return fmt.Errorf("proto: AllTypesOneOf: wiretype end group for non-group")
5773 }
5774 if fieldNum <= 0 {
5775 return fmt.Errorf("proto: AllTypesOneOf: illegal tag %d (wire type %d)", fieldNum, wire)
5776 }
5777 switch fieldNum {
5778 case 1:
5779 if wireType != 1 {
5780 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType)
5781 }
5782 var v uint64
5783 if (iNdEx + 8) > l {
5784 return io.ErrUnexpectedEOF
5785 }
5786 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
5787 iNdEx += 8
5788 m.TestOneof = &AllTypesOneOf_Field1{float64(math.Float64frombits(v))}
5789 case 2:
5790 if wireType != 5 {
5791 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType)
5792 }
5793 var v uint32
5794 if (iNdEx + 4) > l {
5795 return io.ErrUnexpectedEOF
5796 }
5797 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
5798 iNdEx += 4
5799 m.TestOneof = &AllTypesOneOf_Field2{float32(math.Float32frombits(v))}
5800 case 3:
5801 if wireType != 0 {
5802 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType)
5803 }
5804 var v int32
5805 for shift := uint(0); ; shift += 7 {
5806 if shift >= 64 {
5807 return ErrIntOverflowOne
5808 }
5809 if iNdEx >= l {
5810 return io.ErrUnexpectedEOF
5811 }
5812 b := dAtA[iNdEx]
5813 iNdEx++
5814 v |= int32(b&0x7F) << shift
5815 if b < 0x80 {
5816 break
5817 }
5818 }
5819 m.TestOneof = &AllTypesOneOf_Field3{v}
5820 case 4:
5821 if wireType != 0 {
5822 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType)
5823 }
5824 var v int64
5825 for shift := uint(0); ; shift += 7 {
5826 if shift >= 64 {
5827 return ErrIntOverflowOne
5828 }
5829 if iNdEx >= l {
5830 return io.ErrUnexpectedEOF
5831 }
5832 b := dAtA[iNdEx]
5833 iNdEx++
5834 v |= int64(b&0x7F) << shift
5835 if b < 0x80 {
5836 break
5837 }
5838 }
5839 m.TestOneof = &AllTypesOneOf_Field4{v}
5840 case 5:
5841 if wireType != 0 {
5842 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType)
5843 }
5844 var v uint32
5845 for shift := uint(0); ; shift += 7 {
5846 if shift >= 64 {
5847 return ErrIntOverflowOne
5848 }
5849 if iNdEx >= l {
5850 return io.ErrUnexpectedEOF
5851 }
5852 b := dAtA[iNdEx]
5853 iNdEx++
5854 v |= uint32(b&0x7F) << shift
5855 if b < 0x80 {
5856 break
5857 }
5858 }
5859 m.TestOneof = &AllTypesOneOf_Field5{v}
5860 case 6:
5861 if wireType != 0 {
5862 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType)
5863 }
5864 var v uint64
5865 for shift := uint(0); ; shift += 7 {
5866 if shift >= 64 {
5867 return ErrIntOverflowOne
5868 }
5869 if iNdEx >= l {
5870 return io.ErrUnexpectedEOF
5871 }
5872 b := dAtA[iNdEx]
5873 iNdEx++
5874 v |= uint64(b&0x7F) << shift
5875 if b < 0x80 {
5876 break
5877 }
5878 }
5879 m.TestOneof = &AllTypesOneOf_Field6{v}
5880 case 7:
5881 if wireType != 0 {
5882 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType)
5883 }
5884 var v int32
5885 for shift := uint(0); ; shift += 7 {
5886 if shift >= 64 {
5887 return ErrIntOverflowOne
5888 }
5889 if iNdEx >= l {
5890 return io.ErrUnexpectedEOF
5891 }
5892 b := dAtA[iNdEx]
5893 iNdEx++
5894 v |= int32(b&0x7F) << shift
5895 if b < 0x80 {
5896 break
5897 }
5898 }
5899 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31))
5900 m.TestOneof = &AllTypesOneOf_Field7{v}
5901 case 8:
5902 if wireType != 0 {
5903 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType)
5904 }
5905 var v uint64
5906 for shift := uint(0); ; shift += 7 {
5907 if shift >= 64 {
5908 return ErrIntOverflowOne
5909 }
5910 if iNdEx >= l {
5911 return io.ErrUnexpectedEOF
5912 }
5913 b := dAtA[iNdEx]
5914 iNdEx++
5915 v |= uint64(b&0x7F) << shift
5916 if b < 0x80 {
5917 break
5918 }
5919 }
5920 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63)
5921 m.TestOneof = &AllTypesOneOf_Field8{int64(v)}
5922 case 9:
5923 if wireType != 5 {
5924 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType)
5925 }
5926 var v uint32
5927 if (iNdEx + 4) > l {
5928 return io.ErrUnexpectedEOF
5929 }
5930 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
5931 iNdEx += 4
5932 m.TestOneof = &AllTypesOneOf_Field9{v}
5933 case 10:
5934 if wireType != 5 {
5935 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType)
5936 }
5937 var v int32
5938 if (iNdEx + 4) > l {
5939 return io.ErrUnexpectedEOF
5940 }
5941 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
5942 iNdEx += 4
5943 m.TestOneof = &AllTypesOneOf_Field10{v}
5944 case 11:
5945 if wireType != 1 {
5946 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType)
5947 }
5948 var v uint64
5949 if (iNdEx + 8) > l {
5950 return io.ErrUnexpectedEOF
5951 }
5952 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
5953 iNdEx += 8
5954 m.TestOneof = &AllTypesOneOf_Field11{v}
5955 case 12:
5956 if wireType != 1 {
5957 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType)
5958 }
5959 var v int64
5960 if (iNdEx + 8) > l {
5961 return io.ErrUnexpectedEOF
5962 }
5963 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
5964 iNdEx += 8
5965 m.TestOneof = &AllTypesOneOf_Field12{v}
5966 case 13:
5967 if wireType != 0 {
5968 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType)
5969 }
5970 var v int
5971 for shift := uint(0); ; shift += 7 {
5972 if shift >= 64 {
5973 return ErrIntOverflowOne
5974 }
5975 if iNdEx >= l {
5976 return io.ErrUnexpectedEOF
5977 }
5978 b := dAtA[iNdEx]
5979 iNdEx++
5980 v |= int(b&0x7F) << shift
5981 if b < 0x80 {
5982 break
5983 }
5984 }
5985 b := bool(v != 0)
5986 m.TestOneof = &AllTypesOneOf_Field13{b}
5987 case 14:
5988 if wireType != 2 {
5989 return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType)
5990 }
5991 var stringLen uint64
5992 for shift := uint(0); ; shift += 7 {
5993 if shift >= 64 {
5994 return ErrIntOverflowOne
5995 }
5996 if iNdEx >= l {
5997 return io.ErrUnexpectedEOF
5998 }
5999 b := dAtA[iNdEx]
6000 iNdEx++
6001 stringLen |= uint64(b&0x7F) << shift
6002 if b < 0x80 {
6003 break
6004 }
6005 }
6006 intStringLen := int(stringLen)
6007 if intStringLen < 0 {
6008 return ErrInvalidLengthOne
6009 }
6010 postIndex := iNdEx + intStringLen
6011 if postIndex < 0 {
6012 return ErrInvalidLengthOne
6013 }
6014 if postIndex > l {
6015 return io.ErrUnexpectedEOF
6016 }
6017 m.TestOneof = &AllTypesOneOf_Field14{string(dAtA[iNdEx:postIndex])}
6018 iNdEx = postIndex
6019 case 15:
6020 if wireType != 2 {
6021 return fmt.Errorf("proto: wrong wireType = %d for field Field15", wireType)
6022 }
6023 var byteLen int
6024 for shift := uint(0); ; shift += 7 {
6025 if shift >= 64 {
6026 return ErrIntOverflowOne
6027 }
6028 if iNdEx >= l {
6029 return io.ErrUnexpectedEOF
6030 }
6031 b := dAtA[iNdEx]
6032 iNdEx++
6033 byteLen |= int(b&0x7F) << shift
6034 if b < 0x80 {
6035 break
6036 }
6037 }
6038 if byteLen < 0 {
6039 return ErrInvalidLengthOne
6040 }
6041 postIndex := iNdEx + byteLen
6042 if postIndex < 0 {
6043 return ErrInvalidLengthOne
6044 }
6045 if postIndex > l {
6046 return io.ErrUnexpectedEOF
6047 }
6048 v := make([]byte, postIndex-iNdEx)
6049 copy(v, dAtA[iNdEx:postIndex])
6050 m.TestOneof = &AllTypesOneOf_Field15{v}
6051 iNdEx = postIndex
6052 case 16:
6053 if wireType != 2 {
6054 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage", wireType)
6055 }
6056 var msglen int
6057 for shift := uint(0); ; shift += 7 {
6058 if shift >= 64 {
6059 return ErrIntOverflowOne
6060 }
6061 if iNdEx >= l {
6062 return io.ErrUnexpectedEOF
6063 }
6064 b := dAtA[iNdEx]
6065 iNdEx++
6066 msglen |= int(b&0x7F) << shift
6067 if b < 0x80 {
6068 break
6069 }
6070 }
6071 if msglen < 0 {
6072 return ErrInvalidLengthOne
6073 }
6074 postIndex := iNdEx + msglen
6075 if postIndex < 0 {
6076 return ErrInvalidLengthOne
6077 }
6078 if postIndex > l {
6079 return io.ErrUnexpectedEOF
6080 }
6081 v := &Subby{}
6082 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6083 return err
6084 }
6085 m.TestOneof = &AllTypesOneOf_SubMessage{v}
6086 iNdEx = postIndex
6087 default:
6088 iNdEx = preIndex
6089 skippy, err := skipOne(dAtA[iNdEx:])
6090 if err != nil {
6091 return err
6092 }
6093 if (skippy < 0) || (iNdEx+skippy) < 0 {
6094 return ErrInvalidLengthOne
6095 }
6096 if (iNdEx + skippy) > l {
6097 return io.ErrUnexpectedEOF
6098 }
6099 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6100 iNdEx += skippy
6101 }
6102 }
6103
6104 if iNdEx > l {
6105 return io.ErrUnexpectedEOF
6106 }
6107 return nil
6108 }
6109 func (m *TwoOneofs) Unmarshal(dAtA []byte) error {
6110 l := len(dAtA)
6111 iNdEx := 0
6112 for iNdEx < l {
6113 preIndex := iNdEx
6114 var wire uint64
6115 for shift := uint(0); ; shift += 7 {
6116 if shift >= 64 {
6117 return ErrIntOverflowOne
6118 }
6119 if iNdEx >= l {
6120 return io.ErrUnexpectedEOF
6121 }
6122 b := dAtA[iNdEx]
6123 iNdEx++
6124 wire |= uint64(b&0x7F) << shift
6125 if b < 0x80 {
6126 break
6127 }
6128 }
6129 fieldNum := int32(wire >> 3)
6130 wireType := int(wire & 0x7)
6131 if wireType == 4 {
6132 return fmt.Errorf("proto: TwoOneofs: wiretype end group for non-group")
6133 }
6134 if fieldNum <= 0 {
6135 return fmt.Errorf("proto: TwoOneofs: illegal tag %d (wire type %d)", fieldNum, wire)
6136 }
6137 switch fieldNum {
6138 case 1:
6139 if wireType != 1 {
6140 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType)
6141 }
6142 var v uint64
6143 if (iNdEx + 8) > l {
6144 return io.ErrUnexpectedEOF
6145 }
6146 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
6147 iNdEx += 8
6148 m.One = &TwoOneofs_Field1{float64(math.Float64frombits(v))}
6149 case 2:
6150 if wireType != 5 {
6151 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType)
6152 }
6153 var v uint32
6154 if (iNdEx + 4) > l {
6155 return io.ErrUnexpectedEOF
6156 }
6157 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
6158 iNdEx += 4
6159 m.One = &TwoOneofs_Field2{float32(math.Float32frombits(v))}
6160 case 3:
6161 if wireType != 0 {
6162 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType)
6163 }
6164 var v int32
6165 for shift := uint(0); ; shift += 7 {
6166 if shift >= 64 {
6167 return ErrIntOverflowOne
6168 }
6169 if iNdEx >= l {
6170 return io.ErrUnexpectedEOF
6171 }
6172 b := dAtA[iNdEx]
6173 iNdEx++
6174 v |= int32(b&0x7F) << shift
6175 if b < 0x80 {
6176 break
6177 }
6178 }
6179 m.One = &TwoOneofs_Field3{v}
6180 case 34:
6181 if wireType != 2 {
6182 return fmt.Errorf("proto: wrong wireType = %d for field Field34", wireType)
6183 }
6184 var stringLen uint64
6185 for shift := uint(0); ; shift += 7 {
6186 if shift >= 64 {
6187 return ErrIntOverflowOne
6188 }
6189 if iNdEx >= l {
6190 return io.ErrUnexpectedEOF
6191 }
6192 b := dAtA[iNdEx]
6193 iNdEx++
6194 stringLen |= uint64(b&0x7F) << shift
6195 if b < 0x80 {
6196 break
6197 }
6198 }
6199 intStringLen := int(stringLen)
6200 if intStringLen < 0 {
6201 return ErrInvalidLengthOne
6202 }
6203 postIndex := iNdEx + intStringLen
6204 if postIndex < 0 {
6205 return ErrInvalidLengthOne
6206 }
6207 if postIndex > l {
6208 return io.ErrUnexpectedEOF
6209 }
6210 m.Two = &TwoOneofs_Field34{string(dAtA[iNdEx:postIndex])}
6211 iNdEx = postIndex
6212 case 35:
6213 if wireType != 2 {
6214 return fmt.Errorf("proto: wrong wireType = %d for field Field35", wireType)
6215 }
6216 var byteLen int
6217 for shift := uint(0); ; shift += 7 {
6218 if shift >= 64 {
6219 return ErrIntOverflowOne
6220 }
6221 if iNdEx >= l {
6222 return io.ErrUnexpectedEOF
6223 }
6224 b := dAtA[iNdEx]
6225 iNdEx++
6226 byteLen |= int(b&0x7F) << shift
6227 if b < 0x80 {
6228 break
6229 }
6230 }
6231 if byteLen < 0 {
6232 return ErrInvalidLengthOne
6233 }
6234 postIndex := iNdEx + byteLen
6235 if postIndex < 0 {
6236 return ErrInvalidLengthOne
6237 }
6238 if postIndex > l {
6239 return io.ErrUnexpectedEOF
6240 }
6241 v := make([]byte, postIndex-iNdEx)
6242 copy(v, dAtA[iNdEx:postIndex])
6243 m.Two = &TwoOneofs_Field35{v}
6244 iNdEx = postIndex
6245 case 36:
6246 if wireType != 2 {
6247 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage2", wireType)
6248 }
6249 var msglen int
6250 for shift := uint(0); ; shift += 7 {
6251 if shift >= 64 {
6252 return ErrIntOverflowOne
6253 }
6254 if iNdEx >= l {
6255 return io.ErrUnexpectedEOF
6256 }
6257 b := dAtA[iNdEx]
6258 iNdEx++
6259 msglen |= int(b&0x7F) << shift
6260 if b < 0x80 {
6261 break
6262 }
6263 }
6264 if msglen < 0 {
6265 return ErrInvalidLengthOne
6266 }
6267 postIndex := iNdEx + msglen
6268 if postIndex < 0 {
6269 return ErrInvalidLengthOne
6270 }
6271 if postIndex > l {
6272 return io.ErrUnexpectedEOF
6273 }
6274 v := &Subby{}
6275 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6276 return err
6277 }
6278 m.Two = &TwoOneofs_SubMessage2{v}
6279 iNdEx = postIndex
6280 default:
6281 iNdEx = preIndex
6282 skippy, err := skipOne(dAtA[iNdEx:])
6283 if err != nil {
6284 return err
6285 }
6286 if (skippy < 0) || (iNdEx+skippy) < 0 {
6287 return ErrInvalidLengthOne
6288 }
6289 if (iNdEx + skippy) > l {
6290 return io.ErrUnexpectedEOF
6291 }
6292 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6293 iNdEx += skippy
6294 }
6295 }
6296
6297 if iNdEx > l {
6298 return io.ErrUnexpectedEOF
6299 }
6300 return nil
6301 }
6302 func (m *CustomOneof) Unmarshal(dAtA []byte) error {
6303 l := len(dAtA)
6304 iNdEx := 0
6305 for iNdEx < l {
6306 preIndex := iNdEx
6307 var wire uint64
6308 for shift := uint(0); ; shift += 7 {
6309 if shift >= 64 {
6310 return ErrIntOverflowOne
6311 }
6312 if iNdEx >= l {
6313 return io.ErrUnexpectedEOF
6314 }
6315 b := dAtA[iNdEx]
6316 iNdEx++
6317 wire |= uint64(b&0x7F) << shift
6318 if b < 0x80 {
6319 break
6320 }
6321 }
6322 fieldNum := int32(wire >> 3)
6323 wireType := int(wire & 0x7)
6324 if wireType == 4 {
6325 return fmt.Errorf("proto: CustomOneof: wiretype end group for non-group")
6326 }
6327 if fieldNum <= 0 {
6328 return fmt.Errorf("proto: CustomOneof: illegal tag %d (wire type %d)", fieldNum, wire)
6329 }
6330 switch fieldNum {
6331 case 34:
6332 if wireType != 2 {
6333 return fmt.Errorf("proto: wrong wireType = %d for field Stringy", wireType)
6334 }
6335 var stringLen uint64
6336 for shift := uint(0); ; shift += 7 {
6337 if shift >= 64 {
6338 return ErrIntOverflowOne
6339 }
6340 if iNdEx >= l {
6341 return io.ErrUnexpectedEOF
6342 }
6343 b := dAtA[iNdEx]
6344 iNdEx++
6345 stringLen |= uint64(b&0x7F) << shift
6346 if b < 0x80 {
6347 break
6348 }
6349 }
6350 intStringLen := int(stringLen)
6351 if intStringLen < 0 {
6352 return ErrInvalidLengthOne
6353 }
6354 postIndex := iNdEx + intStringLen
6355 if postIndex < 0 {
6356 return ErrInvalidLengthOne
6357 }
6358 if postIndex > l {
6359 return io.ErrUnexpectedEOF
6360 }
6361 m.Custom = &CustomOneof_Stringy{string(dAtA[iNdEx:postIndex])}
6362 iNdEx = postIndex
6363 case 35:
6364 if wireType != 2 {
6365 return fmt.Errorf("proto: wrong wireType = %d for field CustomType", wireType)
6366 }
6367 var byteLen int
6368 for shift := uint(0); ; shift += 7 {
6369 if shift >= 64 {
6370 return ErrIntOverflowOne
6371 }
6372 if iNdEx >= l {
6373 return io.ErrUnexpectedEOF
6374 }
6375 b := dAtA[iNdEx]
6376 iNdEx++
6377 byteLen |= int(b&0x7F) << shift
6378 if b < 0x80 {
6379 break
6380 }
6381 }
6382 if byteLen < 0 {
6383 return ErrInvalidLengthOne
6384 }
6385 postIndex := iNdEx + byteLen
6386 if postIndex < 0 {
6387 return ErrInvalidLengthOne
6388 }
6389 if postIndex > l {
6390 return io.ErrUnexpectedEOF
6391 }
6392 var vv github_com_gogo_protobuf_test_custom.Uint128
6393 v := &vv
6394 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6395 return err
6396 }
6397 m.Custom = &CustomOneof_CustomType{*v}
6398 iNdEx = postIndex
6399 case 36:
6400 if wireType != 0 {
6401 return fmt.Errorf("proto: wrong wireType = %d for field CastType", wireType)
6402 }
6403 var v github_com_gogo_protobuf_test_casttype.MyUint64Type
6404 for shift := uint(0); ; shift += 7 {
6405 if shift >= 64 {
6406 return ErrIntOverflowOne
6407 }
6408 if iNdEx >= l {
6409 return io.ErrUnexpectedEOF
6410 }
6411 b := dAtA[iNdEx]
6412 iNdEx++
6413 v |= github_com_gogo_protobuf_test_casttype.MyUint64Type(b&0x7F) << shift
6414 if b < 0x80 {
6415 break
6416 }
6417 }
6418 m.Custom = &CustomOneof_CastType{v}
6419 case 37:
6420 if wireType != 0 {
6421 return fmt.Errorf("proto: wrong wireType = %d for field MyCustomName", wireType)
6422 }
6423 var v int64
6424 for shift := uint(0); ; shift += 7 {
6425 if shift >= 64 {
6426 return ErrIntOverflowOne
6427 }
6428 if iNdEx >= l {
6429 return io.ErrUnexpectedEOF
6430 }
6431 b := dAtA[iNdEx]
6432 iNdEx++
6433 v |= int64(b&0x7F) << shift
6434 if b < 0x80 {
6435 break
6436 }
6437 }
6438 m.Custom = &CustomOneof_MyCustomName{v}
6439 default:
6440 iNdEx = preIndex
6441 skippy, err := skipOne(dAtA[iNdEx:])
6442 if err != nil {
6443 return err
6444 }
6445 if (skippy < 0) || (iNdEx+skippy) < 0 {
6446 return ErrInvalidLengthOne
6447 }
6448 if (iNdEx + skippy) > l {
6449 return io.ErrUnexpectedEOF
6450 }
6451 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6452 iNdEx += skippy
6453 }
6454 }
6455
6456 if iNdEx > l {
6457 return io.ErrUnexpectedEOF
6458 }
6459 return nil
6460 }
6461 func skipOne(dAtA []byte) (n int, err error) {
6462 l := len(dAtA)
6463 iNdEx := 0
6464 depth := 0
6465 for iNdEx < l {
6466 var wire uint64
6467 for shift := uint(0); ; shift += 7 {
6468 if shift >= 64 {
6469 return 0, ErrIntOverflowOne
6470 }
6471 if iNdEx >= l {
6472 return 0, io.ErrUnexpectedEOF
6473 }
6474 b := dAtA[iNdEx]
6475 iNdEx++
6476 wire |= (uint64(b) & 0x7F) << shift
6477 if b < 0x80 {
6478 break
6479 }
6480 }
6481 wireType := int(wire & 0x7)
6482 switch wireType {
6483 case 0:
6484 for shift := uint(0); ; shift += 7 {
6485 if shift >= 64 {
6486 return 0, ErrIntOverflowOne
6487 }
6488 if iNdEx >= l {
6489 return 0, io.ErrUnexpectedEOF
6490 }
6491 iNdEx++
6492 if dAtA[iNdEx-1] < 0x80 {
6493 break
6494 }
6495 }
6496 case 1:
6497 iNdEx += 8
6498 case 2:
6499 var length int
6500 for shift := uint(0); ; shift += 7 {
6501 if shift >= 64 {
6502 return 0, ErrIntOverflowOne
6503 }
6504 if iNdEx >= l {
6505 return 0, io.ErrUnexpectedEOF
6506 }
6507 b := dAtA[iNdEx]
6508 iNdEx++
6509 length |= (int(b) & 0x7F) << shift
6510 if b < 0x80 {
6511 break
6512 }
6513 }
6514 if length < 0 {
6515 return 0, ErrInvalidLengthOne
6516 }
6517 iNdEx += length
6518 case 3:
6519 depth++
6520 case 4:
6521 if depth == 0 {
6522 return 0, ErrUnexpectedEndOfGroupOne
6523 }
6524 depth--
6525 case 5:
6526 iNdEx += 4
6527 default:
6528 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
6529 }
6530 if iNdEx < 0 {
6531 return 0, ErrInvalidLengthOne
6532 }
6533 if depth == 0 {
6534 return iNdEx, nil
6535 }
6536 }
6537 return 0, io.ErrUnexpectedEOF
6538 }
6539
6540 var (
6541 ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling")
6542 ErrIntOverflowOne = fmt.Errorf("proto: integer overflow")
6543 ErrUnexpectedEndOfGroupOne = fmt.Errorf("proto: unexpected end of group")
6544 )
6545
View as plain text