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 io "io"
16 io_ioutil "io/ioutil"
17 math "math"
18 math_bits "math/bits"
19 reflect "reflect"
20 strings "strings"
21 )
22
23
24 var _ = proto.Marshal
25 var _ = fmt.Errorf
26 var _ = math.Inf
27
28
29
30
31
32 const _ = proto.GoGoProtoPackageIsVersion3
33
34 type Subby struct {
35 Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
36 XXX_NoUnkeyedLiteral struct{} `json:"-"`
37 XXX_unrecognized []byte `json:"-"`
38 XXX_sizecache int32 `json:"-"`
39 }
40
41 func (m *Subby) Reset() { *m = Subby{} }
42 func (*Subby) ProtoMessage() {}
43 func (*Subby) Descriptor() ([]byte, []int) {
44 return fileDescriptor_5ca5df6bbfd2f47d, []int{0}
45 }
46 func (m *Subby) XXX_Unmarshal(b []byte) error {
47 return m.Unmarshal(b)
48 }
49 func (m *Subby) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
50 if deterministic {
51 return xxx_messageInfo_Subby.Marshal(b, m, deterministic)
52 } else {
53 b = b[:cap(b)]
54 n, err := m.MarshalToSizedBuffer(b)
55 if err != nil {
56 return nil, err
57 }
58 return b[:n], nil
59 }
60 }
61 func (m *Subby) XXX_Merge(src proto.Message) {
62 xxx_messageInfo_Subby.Merge(m, src)
63 }
64 func (m *Subby) XXX_Size() int {
65 return m.Size()
66 }
67 func (m *Subby) XXX_DiscardUnknown() {
68 xxx_messageInfo_Subby.DiscardUnknown(m)
69 }
70
71 var xxx_messageInfo_Subby proto.InternalMessageInfo
72
73 type SampleOneOf struct {
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91 TestOneof isSampleOneOf_TestOneof `protobuf_oneof:"test_oneof"`
92 XXX_NoUnkeyedLiteral struct{} `json:"-"`
93 XXX_unrecognized []byte `json:"-"`
94 XXX_sizecache int32 `json:"-"`
95 }
96
97 func (m *SampleOneOf) Reset() { *m = SampleOneOf{} }
98 func (*SampleOneOf) ProtoMessage() {}
99 func (*SampleOneOf) Descriptor() ([]byte, []int) {
100 return fileDescriptor_5ca5df6bbfd2f47d, []int{1}
101 }
102 func (m *SampleOneOf) XXX_Unmarshal(b []byte) error {
103 return m.Unmarshal(b)
104 }
105 func (m *SampleOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
106 if deterministic {
107 return xxx_messageInfo_SampleOneOf.Marshal(b, m, deterministic)
108 } else {
109 b = b[:cap(b)]
110 n, err := m.MarshalToSizedBuffer(b)
111 if err != nil {
112 return nil, err
113 }
114 return b[:n], nil
115 }
116 }
117 func (m *SampleOneOf) XXX_Merge(src proto.Message) {
118 xxx_messageInfo_SampleOneOf.Merge(m, src)
119 }
120 func (m *SampleOneOf) XXX_Size() int {
121 return m.Size()
122 }
123 func (m *SampleOneOf) XXX_DiscardUnknown() {
124 xxx_messageInfo_SampleOneOf.DiscardUnknown(m)
125 }
126
127 var xxx_messageInfo_SampleOneOf proto.InternalMessageInfo
128
129 type isSampleOneOf_TestOneof interface {
130 isSampleOneOf_TestOneof()
131 Equal(interface{}) bool
132 VerboseEqual(interface{}) error
133 MarshalTo([]byte) (int, error)
134 Size() int
135 Compare(interface{}) int
136 }
137
138 type SampleOneOf_Field1 struct {
139 Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,proto3,oneof" json:"Field1,omitempty"`
140 }
141 type SampleOneOf_Field2 struct {
142 Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,proto3,oneof" json:"Field2,omitempty"`
143 }
144 type SampleOneOf_Field3 struct {
145 Field3 int32 `protobuf:"varint,3,opt,name=Field3,proto3,oneof" json:"Field3,omitempty"`
146 }
147 type SampleOneOf_Field4 struct {
148 Field4 int64 `protobuf:"varint,4,opt,name=Field4,proto3,oneof" json:"Field4,omitempty"`
149 }
150 type SampleOneOf_Field5 struct {
151 Field5 uint32 `protobuf:"varint,5,opt,name=Field5,proto3,oneof" json:"Field5,omitempty"`
152 }
153 type SampleOneOf_Field6 struct {
154 Field6 uint64 `protobuf:"varint,6,opt,name=Field6,proto3,oneof" json:"Field6,omitempty"`
155 }
156 type SampleOneOf_Field7 struct {
157 Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,proto3,oneof" json:"Field7,omitempty"`
158 }
159 type SampleOneOf_Field8 struct {
160 Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,proto3,oneof" json:"Field8,omitempty"`
161 }
162 type SampleOneOf_Field9 struct {
163 Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,proto3,oneof" json:"Field9,omitempty"`
164 }
165 type SampleOneOf_Field10 struct {
166 Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,proto3,oneof" json:"Field10,omitempty"`
167 }
168 type SampleOneOf_Field11 struct {
169 Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,proto3,oneof" json:"Field11,omitempty"`
170 }
171 type SampleOneOf_Field12 struct {
172 Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,proto3,oneof" json:"Field12,omitempty"`
173 }
174 type SampleOneOf_Field13 struct {
175 Field13 bool `protobuf:"varint,13,opt,name=Field13,proto3,oneof" json:"Field13,omitempty"`
176 }
177 type SampleOneOf_Field14 struct {
178 Field14 string `protobuf:"bytes,14,opt,name=Field14,proto3,oneof" json:"Field14,omitempty"`
179 }
180 type SampleOneOf_Field15 struct {
181 Field15 []byte `protobuf:"bytes,15,opt,name=Field15,proto3,oneof" json:"Field15,omitempty"`
182 }
183 type SampleOneOf_SubMessage struct {
184 SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,proto3,oneof" json:"sub_message,omitempty"`
185 }
186
187 func (*SampleOneOf_Field1) isSampleOneOf_TestOneof() {}
188 func (*SampleOneOf_Field2) isSampleOneOf_TestOneof() {}
189 func (*SampleOneOf_Field3) isSampleOneOf_TestOneof() {}
190 func (*SampleOneOf_Field4) isSampleOneOf_TestOneof() {}
191 func (*SampleOneOf_Field5) isSampleOneOf_TestOneof() {}
192 func (*SampleOneOf_Field6) isSampleOneOf_TestOneof() {}
193 func (*SampleOneOf_Field7) isSampleOneOf_TestOneof() {}
194 func (*SampleOneOf_Field8) isSampleOneOf_TestOneof() {}
195 func (*SampleOneOf_Field9) isSampleOneOf_TestOneof() {}
196 func (*SampleOneOf_Field10) isSampleOneOf_TestOneof() {}
197 func (*SampleOneOf_Field11) isSampleOneOf_TestOneof() {}
198 func (*SampleOneOf_Field12) isSampleOneOf_TestOneof() {}
199 func (*SampleOneOf_Field13) isSampleOneOf_TestOneof() {}
200 func (*SampleOneOf_Field14) isSampleOneOf_TestOneof() {}
201 func (*SampleOneOf_Field15) isSampleOneOf_TestOneof() {}
202 func (*SampleOneOf_SubMessage) isSampleOneOf_TestOneof() {}
203
204 func (m *SampleOneOf) GetTestOneof() isSampleOneOf_TestOneof {
205 if m != nil {
206 return m.TestOneof
207 }
208 return nil
209 }
210
211 func (m *SampleOneOf) GetField1() float64 {
212 if x, ok := m.GetTestOneof().(*SampleOneOf_Field1); ok {
213 return x.Field1
214 }
215 return 0
216 }
217
218 func (m *SampleOneOf) GetField2() float32 {
219 if x, ok := m.GetTestOneof().(*SampleOneOf_Field2); ok {
220 return x.Field2
221 }
222 return 0
223 }
224
225 func (m *SampleOneOf) GetField3() int32 {
226 if x, ok := m.GetTestOneof().(*SampleOneOf_Field3); ok {
227 return x.Field3
228 }
229 return 0
230 }
231
232 func (m *SampleOneOf) GetField4() int64 {
233 if x, ok := m.GetTestOneof().(*SampleOneOf_Field4); ok {
234 return x.Field4
235 }
236 return 0
237 }
238
239 func (m *SampleOneOf) GetField5() uint32 {
240 if x, ok := m.GetTestOneof().(*SampleOneOf_Field5); ok {
241 return x.Field5
242 }
243 return 0
244 }
245
246 func (m *SampleOneOf) GetField6() uint64 {
247 if x, ok := m.GetTestOneof().(*SampleOneOf_Field6); ok {
248 return x.Field6
249 }
250 return 0
251 }
252
253 func (m *SampleOneOf) GetField7() int32 {
254 if x, ok := m.GetTestOneof().(*SampleOneOf_Field7); ok {
255 return x.Field7
256 }
257 return 0
258 }
259
260 func (m *SampleOneOf) GetField8() int64 {
261 if x, ok := m.GetTestOneof().(*SampleOneOf_Field8); ok {
262 return x.Field8
263 }
264 return 0
265 }
266
267 func (m *SampleOneOf) GetField9() uint32 {
268 if x, ok := m.GetTestOneof().(*SampleOneOf_Field9); ok {
269 return x.Field9
270 }
271 return 0
272 }
273
274 func (m *SampleOneOf) GetField10() int32 {
275 if x, ok := m.GetTestOneof().(*SampleOneOf_Field10); ok {
276 return x.Field10
277 }
278 return 0
279 }
280
281 func (m *SampleOneOf) GetField11() uint64 {
282 if x, ok := m.GetTestOneof().(*SampleOneOf_Field11); ok {
283 return x.Field11
284 }
285 return 0
286 }
287
288 func (m *SampleOneOf) GetField12() int64 {
289 if x, ok := m.GetTestOneof().(*SampleOneOf_Field12); ok {
290 return x.Field12
291 }
292 return 0
293 }
294
295 func (m *SampleOneOf) GetField13() bool {
296 if x, ok := m.GetTestOneof().(*SampleOneOf_Field13); ok {
297 return x.Field13
298 }
299 return false
300 }
301
302 func (m *SampleOneOf) GetField14() string {
303 if x, ok := m.GetTestOneof().(*SampleOneOf_Field14); ok {
304 return x.Field14
305 }
306 return ""
307 }
308
309 func (m *SampleOneOf) GetField15() []byte {
310 if x, ok := m.GetTestOneof().(*SampleOneOf_Field15); ok {
311 return x.Field15
312 }
313 return nil
314 }
315
316 func (m *SampleOneOf) GetSubMessage() *Subby {
317 if x, ok := m.GetTestOneof().(*SampleOneOf_SubMessage); ok {
318 return x.SubMessage
319 }
320 return nil
321 }
322
323
324 func (*SampleOneOf) XXX_OneofWrappers() []interface{} {
325 return []interface{}{
326 (*SampleOneOf_Field1)(nil),
327 (*SampleOneOf_Field2)(nil),
328 (*SampleOneOf_Field3)(nil),
329 (*SampleOneOf_Field4)(nil),
330 (*SampleOneOf_Field5)(nil),
331 (*SampleOneOf_Field6)(nil),
332 (*SampleOneOf_Field7)(nil),
333 (*SampleOneOf_Field8)(nil),
334 (*SampleOneOf_Field9)(nil),
335 (*SampleOneOf_Field10)(nil),
336 (*SampleOneOf_Field11)(nil),
337 (*SampleOneOf_Field12)(nil),
338 (*SampleOneOf_Field13)(nil),
339 (*SampleOneOf_Field14)(nil),
340 (*SampleOneOf_Field15)(nil),
341 (*SampleOneOf_SubMessage)(nil),
342 }
343 }
344
345 func init() {
346 proto.RegisterType((*Subby)(nil), "one.Subby")
347 proto.RegisterType((*SampleOneOf)(nil), "one.SampleOneOf")
348 }
349
350 func init() { proto.RegisterFile("combos/both/one.proto", fileDescriptor_5ca5df6bbfd2f47d) }
351
352 var fileDescriptor_5ca5df6bbfd2f47d = []byte{
353
354 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0xd2, 0xbf, 0x4f, 0x1b, 0x31,
355 0x14, 0x07, 0x70, 0x3f, 0x8e, 0x24, 0xe0, 0x84, 0x92, 0x9e, 0x54, 0xe9, 0x95, 0xe1, 0xc9, 0x62,
356 0xf2, 0x42, 0xd2, 0xdc, 0x25, 0xfc, 0x58, 0x19, 0xaa, 0x2c, 0x15, 0x52, 0xf8, 0x03, 0x10, 0xa6,
357 0xce, 0x81, 0xc4, 0x9d, 0x51, 0xef, 0x6e, 0xe8, 0xc6, 0x9f, 0xc3, 0xd8, 0xb1, 0x7f, 0x02, 0x23,
358 0x63, 0x87, 0x0e, 0x9c, 0x59, 0x3a, 0x32, 0x32, 0x56, 0xb9, 0xb4, 0xcf, 0xdb, 0xfb, 0xfa, 0x63,
359 0x0f, 0xb6, 0xbf, 0xf2, 0xc3, 0x95, 0xcb, 0x8d, 0x2b, 0xc7, 0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, 0x92, 0x60,
371 0x29, 0xee, 0x28, 0xd0, 0x5b, 0xc1, 0xd2, 0x60, 0x53, 0x7c, 0xb7, 0x7a, 0xff, 0x60, 0xd3, 0x60,
372 0x33, 0xdc, 0x55, 0xa0, 0x07, 0xc1, 0x66, 0xf1, 0x81, 0xec, 0x97, 0xb5, 0xb9, 0xc8, 0x6d, 0x59,
373 0x5e, 0x66, 0x16, 0x87, 0x0a, 0x74, 0x3f, 0x91, 0xa3, 0x55, 0x23, 0xda, 0x4f, 0x9d, 0x8b, 0x85,
374 0x2c, 0x6b, 0xf3, 0x65, 0xed, 0xa7, 0x03, 0x29, 0x2b, 0x5b, 0x56, 0x17, 0xae, 0xb0, 0x6e, 0x79,
375 0x3a, 0x7f, 0x6c, 0x48, 0x3c, 0x35, 0x24, 0x7e, 0x35, 0x24, 0x9e, 0x1b, 0x82, 0xd7, 0x86, 0xe0,
376 0xad, 0x21, 0xb8, 0xf7, 0x04, 0x0f, 0x9e, 0xe0, 0x87, 0x27, 0xf8, 0xe9, 0x09, 0x1e, 0x3d, 0xc1,
377 0x93, 0x27, 0x78, 0xf6, 0x04, 0x7f, 0x3c, 0x89, 0x57, 0x4f, 0xf0, 0xe6, 0x49, 0xdc, 0xbf, 0x90,
378 0x78, 0x78, 0x21, 0x30, 0xdd, 0xb6, 0x4a, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x86, 0x03,
379 0x1f, 0x92, 0x97, 0x02, 0x00, 0x00,
380 }
381
382 func (this *Subby) Compare(that interface{}) int {
383 if that == nil {
384 if this == nil {
385 return 0
386 }
387 return 1
388 }
389
390 that1, ok := that.(*Subby)
391 if !ok {
392 that2, ok := that.(Subby)
393 if ok {
394 that1 = &that2
395 } else {
396 return 1
397 }
398 }
399 if that1 == nil {
400 if this == nil {
401 return 0
402 }
403 return 1
404 } else if this == nil {
405 return -1
406 }
407 if this.Sub != that1.Sub {
408 if this.Sub < that1.Sub {
409 return -1
410 }
411 return 1
412 }
413 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
414 return c
415 }
416 return 0
417 }
418 func (this *SampleOneOf) Compare(that interface{}) int {
419 if that == nil {
420 if this == nil {
421 return 0
422 }
423 return 1
424 }
425
426 that1, ok := that.(*SampleOneOf)
427 if !ok {
428 that2, ok := that.(SampleOneOf)
429 if ok {
430 that1 = &that2
431 } else {
432 return 1
433 }
434 }
435 if that1 == nil {
436 if this == nil {
437 return 0
438 }
439 return 1
440 } else if this == nil {
441 return -1
442 }
443 if that1.TestOneof == nil {
444 if this.TestOneof != nil {
445 return 1
446 }
447 } else if this.TestOneof == nil {
448 return -1
449 } else {
450 thisType := -1
451 switch this.TestOneof.(type) {
452 case *SampleOneOf_Field1:
453 thisType = 0
454 case *SampleOneOf_Field2:
455 thisType = 1
456 case *SampleOneOf_Field3:
457 thisType = 2
458 case *SampleOneOf_Field4:
459 thisType = 3
460 case *SampleOneOf_Field5:
461 thisType = 4
462 case *SampleOneOf_Field6:
463 thisType = 5
464 case *SampleOneOf_Field7:
465 thisType = 6
466 case *SampleOneOf_Field8:
467 thisType = 7
468 case *SampleOneOf_Field9:
469 thisType = 8
470 case *SampleOneOf_Field10:
471 thisType = 9
472 case *SampleOneOf_Field11:
473 thisType = 10
474 case *SampleOneOf_Field12:
475 thisType = 11
476 case *SampleOneOf_Field13:
477 thisType = 12
478 case *SampleOneOf_Field14:
479 thisType = 13
480 case *SampleOneOf_Field15:
481 thisType = 14
482 case *SampleOneOf_SubMessage:
483 thisType = 15
484 default:
485 panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.TestOneof))
486 }
487 that1Type := -1
488 switch that1.TestOneof.(type) {
489 case *SampleOneOf_Field1:
490 that1Type = 0
491 case *SampleOneOf_Field2:
492 that1Type = 1
493 case *SampleOneOf_Field3:
494 that1Type = 2
495 case *SampleOneOf_Field4:
496 that1Type = 3
497 case *SampleOneOf_Field5:
498 that1Type = 4
499 case *SampleOneOf_Field6:
500 that1Type = 5
501 case *SampleOneOf_Field7:
502 that1Type = 6
503 case *SampleOneOf_Field8:
504 that1Type = 7
505 case *SampleOneOf_Field9:
506 that1Type = 8
507 case *SampleOneOf_Field10:
508 that1Type = 9
509 case *SampleOneOf_Field11:
510 that1Type = 10
511 case *SampleOneOf_Field12:
512 that1Type = 11
513 case *SampleOneOf_Field13:
514 that1Type = 12
515 case *SampleOneOf_Field14:
516 that1Type = 13
517 case *SampleOneOf_Field15:
518 that1Type = 14
519 case *SampleOneOf_SubMessage:
520 that1Type = 15
521 default:
522 panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.TestOneof))
523 }
524 if thisType == that1Type {
525 if c := this.TestOneof.Compare(that1.TestOneof); c != 0 {
526 return c
527 }
528 } else if thisType < that1Type {
529 return -1
530 } else if thisType > that1Type {
531 return 1
532 }
533 }
534 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
535 return c
536 }
537 return 0
538 }
539 func (this *SampleOneOf_Field1) Compare(that interface{}) int {
540 if that == nil {
541 if this == nil {
542 return 0
543 }
544 return 1
545 }
546
547 that1, ok := that.(*SampleOneOf_Field1)
548 if !ok {
549 that2, ok := that.(SampleOneOf_Field1)
550 if ok {
551 that1 = &that2
552 } else {
553 return 1
554 }
555 }
556 if that1 == nil {
557 if this == nil {
558 return 0
559 }
560 return 1
561 } else if this == nil {
562 return -1
563 }
564 if this.Field1 != that1.Field1 {
565 if this.Field1 < that1.Field1 {
566 return -1
567 }
568 return 1
569 }
570 return 0
571 }
572 func (this *SampleOneOf_Field2) Compare(that interface{}) int {
573 if that == nil {
574 if this == nil {
575 return 0
576 }
577 return 1
578 }
579
580 that1, ok := that.(*SampleOneOf_Field2)
581 if !ok {
582 that2, ok := that.(SampleOneOf_Field2)
583 if ok {
584 that1 = &that2
585 } else {
586 return 1
587 }
588 }
589 if that1 == nil {
590 if this == nil {
591 return 0
592 }
593 return 1
594 } else if this == nil {
595 return -1
596 }
597 if this.Field2 != that1.Field2 {
598 if this.Field2 < that1.Field2 {
599 return -1
600 }
601 return 1
602 }
603 return 0
604 }
605 func (this *SampleOneOf_Field3) Compare(that interface{}) int {
606 if that == nil {
607 if this == nil {
608 return 0
609 }
610 return 1
611 }
612
613 that1, ok := that.(*SampleOneOf_Field3)
614 if !ok {
615 that2, ok := that.(SampleOneOf_Field3)
616 if ok {
617 that1 = &that2
618 } else {
619 return 1
620 }
621 }
622 if that1 == nil {
623 if this == nil {
624 return 0
625 }
626 return 1
627 } else if this == nil {
628 return -1
629 }
630 if this.Field3 != that1.Field3 {
631 if this.Field3 < that1.Field3 {
632 return -1
633 }
634 return 1
635 }
636 return 0
637 }
638 func (this *SampleOneOf_Field4) Compare(that interface{}) int {
639 if that == nil {
640 if this == nil {
641 return 0
642 }
643 return 1
644 }
645
646 that1, ok := that.(*SampleOneOf_Field4)
647 if !ok {
648 that2, ok := that.(SampleOneOf_Field4)
649 if ok {
650 that1 = &that2
651 } else {
652 return 1
653 }
654 }
655 if that1 == nil {
656 if this == nil {
657 return 0
658 }
659 return 1
660 } else if this == nil {
661 return -1
662 }
663 if this.Field4 != that1.Field4 {
664 if this.Field4 < that1.Field4 {
665 return -1
666 }
667 return 1
668 }
669 return 0
670 }
671 func (this *SampleOneOf_Field5) Compare(that interface{}) int {
672 if that == nil {
673 if this == nil {
674 return 0
675 }
676 return 1
677 }
678
679 that1, ok := that.(*SampleOneOf_Field5)
680 if !ok {
681 that2, ok := that.(SampleOneOf_Field5)
682 if ok {
683 that1 = &that2
684 } else {
685 return 1
686 }
687 }
688 if that1 == nil {
689 if this == nil {
690 return 0
691 }
692 return 1
693 } else if this == nil {
694 return -1
695 }
696 if this.Field5 != that1.Field5 {
697 if this.Field5 < that1.Field5 {
698 return -1
699 }
700 return 1
701 }
702 return 0
703 }
704 func (this *SampleOneOf_Field6) Compare(that interface{}) int {
705 if that == nil {
706 if this == nil {
707 return 0
708 }
709 return 1
710 }
711
712 that1, ok := that.(*SampleOneOf_Field6)
713 if !ok {
714 that2, ok := that.(SampleOneOf_Field6)
715 if ok {
716 that1 = &that2
717 } else {
718 return 1
719 }
720 }
721 if that1 == nil {
722 if this == nil {
723 return 0
724 }
725 return 1
726 } else if this == nil {
727 return -1
728 }
729 if this.Field6 != that1.Field6 {
730 if this.Field6 < that1.Field6 {
731 return -1
732 }
733 return 1
734 }
735 return 0
736 }
737 func (this *SampleOneOf_Field7) Compare(that interface{}) int {
738 if that == nil {
739 if this == nil {
740 return 0
741 }
742 return 1
743 }
744
745 that1, ok := that.(*SampleOneOf_Field7)
746 if !ok {
747 that2, ok := that.(SampleOneOf_Field7)
748 if ok {
749 that1 = &that2
750 } else {
751 return 1
752 }
753 }
754 if that1 == nil {
755 if this == nil {
756 return 0
757 }
758 return 1
759 } else if this == nil {
760 return -1
761 }
762 if this.Field7 != that1.Field7 {
763 if this.Field7 < that1.Field7 {
764 return -1
765 }
766 return 1
767 }
768 return 0
769 }
770 func (this *SampleOneOf_Field8) Compare(that interface{}) int {
771 if that == nil {
772 if this == nil {
773 return 0
774 }
775 return 1
776 }
777
778 that1, ok := that.(*SampleOneOf_Field8)
779 if !ok {
780 that2, ok := that.(SampleOneOf_Field8)
781 if ok {
782 that1 = &that2
783 } else {
784 return 1
785 }
786 }
787 if that1 == nil {
788 if this == nil {
789 return 0
790 }
791 return 1
792 } else if this == nil {
793 return -1
794 }
795 if this.Field8 != that1.Field8 {
796 if this.Field8 < that1.Field8 {
797 return -1
798 }
799 return 1
800 }
801 return 0
802 }
803 func (this *SampleOneOf_Field9) Compare(that interface{}) int {
804 if that == nil {
805 if this == nil {
806 return 0
807 }
808 return 1
809 }
810
811 that1, ok := that.(*SampleOneOf_Field9)
812 if !ok {
813 that2, ok := that.(SampleOneOf_Field9)
814 if ok {
815 that1 = &that2
816 } else {
817 return 1
818 }
819 }
820 if that1 == nil {
821 if this == nil {
822 return 0
823 }
824 return 1
825 } else if this == nil {
826 return -1
827 }
828 if this.Field9 != that1.Field9 {
829 if this.Field9 < that1.Field9 {
830 return -1
831 }
832 return 1
833 }
834 return 0
835 }
836 func (this *SampleOneOf_Field10) Compare(that interface{}) int {
837 if that == nil {
838 if this == nil {
839 return 0
840 }
841 return 1
842 }
843
844 that1, ok := that.(*SampleOneOf_Field10)
845 if !ok {
846 that2, ok := that.(SampleOneOf_Field10)
847 if ok {
848 that1 = &that2
849 } else {
850 return 1
851 }
852 }
853 if that1 == nil {
854 if this == nil {
855 return 0
856 }
857 return 1
858 } else if this == nil {
859 return -1
860 }
861 if this.Field10 != that1.Field10 {
862 if this.Field10 < that1.Field10 {
863 return -1
864 }
865 return 1
866 }
867 return 0
868 }
869 func (this *SampleOneOf_Field11) Compare(that interface{}) int {
870 if that == nil {
871 if this == nil {
872 return 0
873 }
874 return 1
875 }
876
877 that1, ok := that.(*SampleOneOf_Field11)
878 if !ok {
879 that2, ok := that.(SampleOneOf_Field11)
880 if ok {
881 that1 = &that2
882 } else {
883 return 1
884 }
885 }
886 if that1 == nil {
887 if this == nil {
888 return 0
889 }
890 return 1
891 } else if this == nil {
892 return -1
893 }
894 if this.Field11 != that1.Field11 {
895 if this.Field11 < that1.Field11 {
896 return -1
897 }
898 return 1
899 }
900 return 0
901 }
902 func (this *SampleOneOf_Field12) Compare(that interface{}) int {
903 if that == nil {
904 if this == nil {
905 return 0
906 }
907 return 1
908 }
909
910 that1, ok := that.(*SampleOneOf_Field12)
911 if !ok {
912 that2, ok := that.(SampleOneOf_Field12)
913 if ok {
914 that1 = &that2
915 } else {
916 return 1
917 }
918 }
919 if that1 == nil {
920 if this == nil {
921 return 0
922 }
923 return 1
924 } else if this == nil {
925 return -1
926 }
927 if this.Field12 != that1.Field12 {
928 if this.Field12 < that1.Field12 {
929 return -1
930 }
931 return 1
932 }
933 return 0
934 }
935 func (this *SampleOneOf_Field13) Compare(that interface{}) int {
936 if that == nil {
937 if this == nil {
938 return 0
939 }
940 return 1
941 }
942
943 that1, ok := that.(*SampleOneOf_Field13)
944 if !ok {
945 that2, ok := that.(SampleOneOf_Field13)
946 if ok {
947 that1 = &that2
948 } else {
949 return 1
950 }
951 }
952 if that1 == nil {
953 if this == nil {
954 return 0
955 }
956 return 1
957 } else if this == nil {
958 return -1
959 }
960 if this.Field13 != that1.Field13 {
961 if !this.Field13 {
962 return -1
963 }
964 return 1
965 }
966 return 0
967 }
968 func (this *SampleOneOf_Field14) Compare(that interface{}) int {
969 if that == nil {
970 if this == nil {
971 return 0
972 }
973 return 1
974 }
975
976 that1, ok := that.(*SampleOneOf_Field14)
977 if !ok {
978 that2, ok := that.(SampleOneOf_Field14)
979 if ok {
980 that1 = &that2
981 } else {
982 return 1
983 }
984 }
985 if that1 == nil {
986 if this == nil {
987 return 0
988 }
989 return 1
990 } else if this == nil {
991 return -1
992 }
993 if this.Field14 != that1.Field14 {
994 if this.Field14 < that1.Field14 {
995 return -1
996 }
997 return 1
998 }
999 return 0
1000 }
1001 func (this *SampleOneOf_Field15) Compare(that interface{}) int {
1002 if that == nil {
1003 if this == nil {
1004 return 0
1005 }
1006 return 1
1007 }
1008
1009 that1, ok := that.(*SampleOneOf_Field15)
1010 if !ok {
1011 that2, ok := that.(SampleOneOf_Field15)
1012 if ok {
1013 that1 = &that2
1014 } else {
1015 return 1
1016 }
1017 }
1018 if that1 == nil {
1019 if this == nil {
1020 return 0
1021 }
1022 return 1
1023 } else if this == nil {
1024 return -1
1025 }
1026 if c := bytes.Compare(this.Field15, that1.Field15); c != 0 {
1027 return c
1028 }
1029 return 0
1030 }
1031 func (this *SampleOneOf_SubMessage) Compare(that interface{}) int {
1032 if that == nil {
1033 if this == nil {
1034 return 0
1035 }
1036 return 1
1037 }
1038
1039 that1, ok := that.(*SampleOneOf_SubMessage)
1040 if !ok {
1041 that2, ok := that.(SampleOneOf_SubMessage)
1042 if ok {
1043 that1 = &that2
1044 } else {
1045 return 1
1046 }
1047 }
1048 if that1 == nil {
1049 if this == nil {
1050 return 0
1051 }
1052 return 1
1053 } else if this == nil {
1054 return -1
1055 }
1056 if c := this.SubMessage.Compare(that1.SubMessage); c != 0 {
1057 return c
1058 }
1059 return 0
1060 }
1061 func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1062 return OneDescription()
1063 }
1064 func (this *SampleOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1065 return OneDescription()
1066 }
1067 func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
1068 d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{}
1069 var gzipped = []byte{
1070
1071 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5b, 0x70, 0xe3, 0xe6,
1072 0x75, 0x16, 0x78, 0x13, 0x79, 0x48, 0x51, 0x10, 0xa4, 0xd5, 0x72, 0xe5, 0x98, 0xab, 0x95, 0xed,
1073 0x58, 0xb6, 0x63, 0xc9, 0xd6, 0x4a, 0x7b, 0xe1, 0x36, 0x71, 0x29, 0x89, 0xab, 0x95, 0x2b, 0x89,
1074 0x0a, 0x28, 0xc5, 0x97, 0x4c, 0x07, 0x03, 0x82, 0x3f, 0x29, 0xec, 0x82, 0x00, 0x02, 0x80, 0xbb,
1075 0xd6, 0x4e, 0x1f, 0xb6, 0xe3, 0x5e, 0x26, 0xd3, 0xfb, 0x65, 0x26, 0x89, 0xeb, 0xb8, 0x4d, 0x3a,
1076 0x8d, 0xdd, 0xf4, 0x96, 0xf4, 0x92, 0x26, 0xe9, 0x4b, 0x5f, 0xd2, 0xfa, 0xa9, 0x93, 0xbc, 0xf5,
1077 0x21, 0x0f, 0x5e, 0xd9, 0x33, 0x4d, 0x5b, 0xb7, 0x75, 0xdb, 0x7d, 0xf0, 0x8c, 0x5f, 0x32, 0xff,
1078 0x0d, 0x00, 0x2f, 0x5a, 0x50, 0x99, 0xb1, 0xf3, 0xb4, 0xc2, 0x39, 0xe7, 0xfb, 0x70, 0xfe, 0xf3,
1079 0x9f, 0xff, 0x3f, 0xe7, 0xff, 0xc1, 0x85, 0x37, 0x4b, 0x30, 0xdb, 0xb2, 0xac, 0x96, 0x81, 0x16,
1080 0x6d, 0xc7, 0xf2, 0xac, 0x7a, 0xa7, 0xb9, 0xd8, 0x40, 0xae, 0xe6, 0xe8, 0xb6, 0x67, 0x39, 0x0b,
1081 0x44, 0x26, 0x8d, 0x53, 0x8b, 0x05, 0x6e, 0x31, 0xb7, 0x0d, 0x13, 0x57, 0x75, 0x03, 0xad, 0xfb,
1082 0x86, 0x35, 0xe4, 0x49, 0x97, 0x20, 0xd1, 0xd4, 0x0d, 0x54, 0x10, 0x66, 0xe3, 0xf3, 0xd9, 0xa5,
1083 0x87, 0x17, 0x7a, 0x40, 0x0b, 0xdd, 0x88, 0x5d, 0x2c, 0x96, 0x09, 0x62, 0xee, 0x9d, 0x04, 0x4c,
1084 0x0e, 0xd0, 0x4a, 0x12, 0x24, 0x4c, 0xb5, 0x8d, 0x19, 0x85, 0xf9, 0x8c, 0x4c, 0xfe, 0x96, 0x0a,
1085 0x30, 0x6a, 0xab, 0xda, 0x0d, 0xb5, 0x85, 0x0a, 0x31, 0x22, 0xe6, 0x8f, 0x52, 0x11, 0xa0, 0x81,
1086 0x6c, 0x64, 0x36, 0x90, 0xa9, 0x1d, 0x16, 0xe2, 0xb3, 0xf1, 0xf9, 0x8c, 0x1c, 0x92, 0x48, 0x4f,
1087 0xc0, 0x84, 0xdd, 0xa9, 0x1b, 0xba, 0xa6, 0x84, 0xcc, 0x60, 0x36, 0x3e, 0x9f, 0x94, 0x45, 0xaa,
1088 0x58, 0x0f, 0x8c, 0x1f, 0x85, 0xf1, 0x5b, 0x48, 0xbd, 0x11, 0x36, 0xcd, 0x12, 0xd3, 0x3c, 0x16,
1089 0x87, 0x0c, 0xd7, 0x20, 0xd7, 0x46, 0xae, 0xab, 0xb6, 0x90, 0xe2, 0x1d, 0xda, 0xa8, 0x90, 0x20,
1090 0xa3, 0x9f, 0xed, 0x1b, 0x7d, 0xef, 0xc8, 0xb3, 0x0c, 0xb5, 0x77, 0x68, 0x23, 0xa9, 0x0c, 0x19,
1091 0x64, 0x76, 0xda, 0x94, 0x21, 0x79, 0x4c, 0xfc, 0x2a, 0x66, 0xa7, 0xdd, 0xcb, 0x92, 0xc6, 0x30,
1092 0x46, 0x31, 0xea, 0x22, 0xe7, 0xa6, 0xae, 0xa1, 0x42, 0x8a, 0x10, 0x3c, 0xda, 0x47, 0x50, 0xa3,
1093 0xfa, 0x5e, 0x0e, 0x8e, 0x93, 0xd6, 0x20, 0x83, 0x5e, 0xf2, 0x90, 0xe9, 0xea, 0x96, 0x59, 0x18,
1094 0x25, 0x24, 0x8f, 0x0c, 0x98, 0x45, 0x64, 0x34, 0x7a, 0x29, 0x02, 0x9c, 0x74, 0x01, 0x46, 0x2d,
1095 0xdb, 0xd3, 0x2d, 0xd3, 0x2d, 0xa4, 0x67, 0x85, 0xf9, 0xec, 0xd2, 0xc7, 0x06, 0x26, 0x42, 0x95,
1096 0xda, 0xc8, 0xdc, 0x58, 0xda, 0x04, 0xd1, 0xb5, 0x3a, 0x8e, 0x86, 0x14, 0xcd, 0x6a, 0x20, 0x45,
1097 0x37, 0x9b, 0x56, 0x21, 0x43, 0x08, 0xce, 0xf6, 0x0f, 0x84, 0x18, 0xae, 0x59, 0x0d, 0xb4, 0x69,
1098 0x36, 0x2d, 0x39, 0xef, 0x76, 0x3d, 0x4b, 0xd3, 0x90, 0x72, 0x0f, 0x4d, 0x4f, 0x7d, 0xa9, 0x90,
1099 0x23, 0x19, 0xc2, 0x9e, 0xe6, 0xbe, 0x93, 0x82, 0xf1, 0x61, 0x52, 0xec, 0x0a, 0x24, 0x9b, 0x78,
1100 0x94, 0x85, 0xd8, 0x49, 0x62, 0x40, 0x31, 0xdd, 0x41, 0x4c, 0xfd, 0x84, 0x41, 0x2c, 0x43, 0xd6,
1101 0x44, 0xae, 0x87, 0x1a, 0x34, 0x23, 0xe2, 0x43, 0xe6, 0x14, 0x50, 0x50, 0x7f, 0x4a, 0x25, 0x7e,
1102 0xa2, 0x94, 0x7a, 0x1e, 0xc6, 0x7d, 0x97, 0x14, 0x47, 0x35, 0x5b, 0x3c, 0x37, 0x17, 0xa3, 0x3c,
1103 0x59, 0xa8, 0x70, 0x9c, 0x8c, 0x61, 0x72, 0x1e, 0x75, 0x3d, 0x4b, 0xeb, 0x00, 0x96, 0x89, 0xac,
1104 0xa6, 0xd2, 0x40, 0x9a, 0x51, 0x48, 0x1f, 0x13, 0xa5, 0x2a, 0x36, 0xe9, 0x8b, 0x92, 0x45, 0xa5,
1105 0x9a, 0x21, 0x5d, 0x0e, 0x52, 0x6d, 0xf4, 0x98, 0x4c, 0xd9, 0xa6, 0x8b, 0xac, 0x2f, 0xdb, 0xf6,
1106 0x21, 0xef, 0x20, 0x9c, 0xf7, 0xa8, 0xc1, 0x46, 0x96, 0x21, 0x4e, 0x2c, 0x44, 0x8e, 0x4c, 0x66,
1107 0x30, 0x3a, 0xb0, 0x31, 0x27, 0xfc, 0x28, 0x3d, 0x04, 0xbe, 0x40, 0x21, 0x69, 0x05, 0x64, 0x17,
1108 0xca, 0x71, 0xe1, 0x8e, 0xda, 0x46, 0x33, 0xb7, 0x21, 0xdf, 0x1d, 0x1e, 0x69, 0x0a, 0x92, 0xae,
1109 0xa7, 0x3a, 0x1e, 0xc9, 0xc2, 0xa4, 0x4c, 0x1f, 0x24, 0x11, 0xe2, 0xc8, 0x6c, 0x90, 0x5d, 0x2e,
1110 0x29, 0xe3, 0x3f, 0xa5, 0x9f, 0x0d, 0x06, 0x1c, 0x27, 0x03, 0xfe, 0x78, 0xff, 0x8c, 0x76, 0x31,
1111 0xf7, 0x8e, 0x7b, 0xe6, 0x22, 0x8c, 0x75, 0x0d, 0x60, 0xd8, 0x57, 0xcf, 0xfd, 0x02, 0x9c, 0x1a,
1112 0x48, 0x2d, 0x3d, 0x0f, 0x53, 0x1d, 0x53, 0x37, 0x3d, 0xe4, 0xd8, 0x0e, 0xc2, 0x19, 0x4b, 0x5f,
1113 0x55, 0xf8, 0xb7, 0xd1, 0x63, 0x72, 0x6e, 0x3f, 0x6c, 0x4d, 0x59, 0xe4, 0xc9, 0x4e, 0xbf, 0xf0,
1114 0xf1, 0x4c, 0xfa, 0x47, 0xa3, 0xe2, 0x9d, 0x3b, 0x77, 0xee, 0xc4, 0xe6, 0xbe, 0x98, 0x82, 0xa9,
1115 0x41, 0x6b, 0x66, 0xe0, 0xf2, 0x9d, 0x86, 0x94, 0xd9, 0x69, 0xd7, 0x91, 0x43, 0x82, 0x94, 0x94,
1116 0xd9, 0x93, 0x54, 0x86, 0xa4, 0xa1, 0xd6, 0x91, 0x51, 0x48, 0xcc, 0x0a, 0xf3, 0xf9, 0xa5, 0x27,
1117 0x86, 0x5a, 0x95, 0x0b, 0x5b, 0x18, 0x22, 0x53, 0xa4, 0xf4, 0x29, 0x48, 0xb0, 0x2d, 0x1a, 0x33,
1118 0x3c, 0x3e, 0x1c, 0x03, 0x5e, 0x4b, 0x32, 0xc1, 0x49, 0x0f, 0x40, 0x06, 0xff, 0x4b, 0x73, 0x23,
1119 0x45, 0x7c, 0x4e, 0x63, 0x01, 0xce, 0x0b, 0x69, 0x06, 0xd2, 0x64, 0x99, 0x34, 0x10, 0x2f, 0x6d,
1120 0xfe, 0x33, 0x4e, 0xac, 0x06, 0x6a, 0xaa, 0x1d, 0xc3, 0x53, 0x6e, 0xaa, 0x46, 0x07, 0x91, 0x84,
1121 0xcf, 0xc8, 0x39, 0x26, 0xfc, 0x0c, 0x96, 0x49, 0x67, 0x21, 0x4b, 0x57, 0x95, 0x6e, 0x36, 0xd0,
1122 0x4b, 0x64, 0xf7, 0x4c, 0xca, 0x74, 0xa1, 0x6d, 0x62, 0x09, 0x7e, 0xfd, 0x75, 0xd7, 0x32, 0x79,
1123 0x6a, 0x92, 0x57, 0x60, 0x01, 0x79, 0xfd, 0xc5, 0xde, 0x8d, 0xfb, 0xc1, 0xc1, 0xc3, 0xeb, 0xcd,
1124 0xa9, 0xb9, 0x6f, 0xc5, 0x20, 0x41, 0xf6, 0x8b, 0x71, 0xc8, 0xee, 0xbd, 0xb0, 0x5b, 0x51, 0xd6,
1125 0xab, 0xfb, 0xab, 0x5b, 0x15, 0x51, 0x90, 0xf2, 0x00, 0x44, 0x70, 0x75, 0xab, 0x5a, 0xde, 0x13,
1126 0x63, 0xfe, 0xf3, 0xe6, 0xce, 0xde, 0x85, 0x65, 0x31, 0xee, 0x03, 0xf6, 0xa9, 0x20, 0x11, 0x36,
1127 0x38, 0xbf, 0x24, 0x26, 0x25, 0x11, 0x72, 0x94, 0x60, 0xf3, 0xf9, 0xca, 0xfa, 0x85, 0x65, 0x31,
1128 0xd5, 0x2d, 0x39, 0xbf, 0x24, 0x8e, 0x4a, 0x63, 0x90, 0x21, 0x92, 0xd5, 0x6a, 0x75, 0x4b, 0x4c,
1129 0xfb, 0x9c, 0xb5, 0x3d, 0x79, 0x73, 0x67, 0x43, 0xcc, 0xf8, 0x9c, 0x1b, 0x72, 0x75, 0x7f, 0x57,
1130 0x04, 0x9f, 0x61, 0xbb, 0x52, 0xab, 0x95, 0x37, 0x2a, 0x62, 0xd6, 0xb7, 0x58, 0x7d, 0x61, 0xaf,
1131 0x52, 0x13, 0x73, 0x5d, 0x6e, 0x9d, 0x5f, 0x12, 0xc7, 0xfc, 0x57, 0x54, 0x76, 0xf6, 0xb7, 0xc5,
1132 0xbc, 0x34, 0x01, 0x63, 0xf4, 0x15, 0xdc, 0x89, 0xf1, 0x1e, 0xd1, 0x85, 0x65, 0x51, 0x0c, 0x1c,
1133 0xa1, 0x2c, 0x13, 0x5d, 0x82, 0x0b, 0xcb, 0xa2, 0x34, 0xb7, 0x06, 0x49, 0x92, 0x5d, 0x92, 0x04,
1134 0xf9, 0xad, 0xf2, 0x6a, 0x65, 0x4b, 0xa9, 0xee, 0xee, 0x6d, 0x56, 0x77, 0xca, 0x5b, 0xa2, 0x10,
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, 0x76, 0x44, 0x74, 0x83, 0xcd, 0x10, 0x09, 0xd9, 0xbc, 0xf0, 0xe6, 0xd9, 0xf1, 0x7c, 0x7d,
1147 0x9c, 0xe8, 0x81, 0x8a, 0x88, 0xc1, 0xa5, 0xc0, 0xd1, 0x04, 0x71, 0xb4, 0x78, 0xcc, 0x48, 0xfb,
1148 0x12, 0xf3, 0x29, 0x10, 0x35, 0x43, 0x47, 0xa6, 0xa7, 0xb8, 0x9e, 0x83, 0xd4, 0xb6, 0x6e, 0xb6,
1149 0x48, 0x05, 0x49, 0x97, 0x92, 0x4d, 0xd5, 0x70, 0x91, 0x3c, 0x4e, 0xd5, 0x35, 0xae, 0xc5, 0x08,
1150 0x92, 0x40, 0x4e, 0x08, 0x91, 0xea, 0x42, 0x50, 0xb5, 0x8f, 0x98, 0xfb, 0xf5, 0x0c, 0x64, 0x43,
1151 0x7d, 0xb5, 0x74, 0x0e, 0x72, 0xd7, 0xd5, 0x9b, 0xaa, 0xc2, 0xcf, 0x4a, 0x34, 0x12, 0x59, 0x2c,
1152 0xdb, 0x65, 0xe7, 0xa5, 0xa7, 0x60, 0x8a, 0x98, 0x58, 0x1d, 0x0f, 0x39, 0x8a, 0x66, 0xa8, 0xae,
1153 0x4b, 0x82, 0x96, 0x26, 0xa6, 0x12, 0xd6, 0x55, 0xb1, 0x6a, 0x8d, 0x6b, 0xa4, 0x15, 0x98, 0x24,
1154 0x88, 0x76, 0xc7, 0xf0, 0x74, 0xdb, 0x40, 0x0a, 0x3e, 0xbd, 0xb9, 0xa4, 0x92, 0xf8, 0x9e, 0x4d,
1155 0x60, 0x8b, 0x6d, 0x66, 0x80, 0x3d, 0x72, 0xa5, 0x75, 0x78, 0x90, 0xc0, 0x5a, 0xc8, 0x44, 0x8e,
1156 0xea, 0x21, 0x05, 0x7d, 0xae, 0xa3, 0x1a, 0xae, 0xa2, 0x9a, 0x0d, 0xe5, 0x40, 0x75, 0x0f, 0x0a,
1157 0x53, 0x98, 0x60, 0x35, 0x56, 0x10, 0xe4, 0x33, 0xd8, 0x70, 0x83, 0xd9, 0x55, 0x88, 0x59, 0xd9,
1158 0x6c, 0x5c, 0x53, 0xdd, 0x03, 0xa9, 0x04, 0xd3, 0x84, 0xc5, 0xf5, 0x1c, 0xdd, 0x6c, 0x29, 0xda,
1159 0x01, 0xd2, 0x6e, 0x28, 0x1d, 0xaf, 0x79, 0xa9, 0xf0, 0x40, 0xf8, 0xfd, 0xc4, 0xc3, 0x1a, 0xb1,
1160 0x59, 0xc3, 0x26, 0xfb, 0x5e, 0xf3, 0x92, 0x54, 0x83, 0x1c, 0x9e, 0x8c, 0xb6, 0x7e, 0x1b, 0x29,
1161 0x4d, 0xcb, 0x21, 0xa5, 0x31, 0x3f, 0x60, 0x6b, 0x0a, 0x45, 0x70, 0xa1, 0xca, 0x00, 0xdb, 0x56,
1162 0x03, 0x95, 0x92, 0xb5, 0xdd, 0x4a, 0x65, 0x5d, 0xce, 0x72, 0x96, 0xab, 0x96, 0x83, 0x13, 0xaa,
1163 0x65, 0xf9, 0x01, 0xce, 0xd2, 0x84, 0x6a, 0x59, 0x3c, 0xbc, 0x2b, 0x30, 0xa9, 0x69, 0x74, 0xcc,
1164 0xba, 0xa6, 0xb0, 0x33, 0x96, 0x5b, 0x10, 0xbb, 0x82, 0xa5, 0x69, 0x1b, 0xd4, 0x80, 0xe5, 0xb8,
1165 0x2b, 0x5d, 0x86, 0x53, 0x41, 0xb0, 0xc2, 0xc0, 0x89, 0xbe, 0x51, 0xf6, 0x42, 0x57, 0x60, 0xd2,
1166 0x3e, 0xec, 0x07, 0x4a, 0x5d, 0x6f, 0xb4, 0x0f, 0x7b, 0x61, 0x17, 0x61, 0xca, 0x3e, 0xb0, 0xfb,
1167 0x71, 0x8f, 0x87, 0x71, 0x92, 0x7d, 0x60, 0xf7, 0x02, 0x1f, 0x21, 0x07, 0x6e, 0x07, 0x69, 0xaa,
1168 0x87, 0x1a, 0x85, 0xd3, 0x61, 0xf3, 0x90, 0x42, 0x5a, 0x04, 0x51, 0xd3, 0x14, 0x64, 0xaa, 0x75,
1169 0x03, 0x29, 0xaa, 0x83, 0x4c, 0xd5, 0x2d, 0x9c, 0x0d, 0x1b, 0xe7, 0x35, 0xad, 0x42, 0xb4, 0x65,
1170 0xa2, 0x94, 0x1e, 0x87, 0x09, 0xab, 0x7e, 0x5d, 0xa3, 0x29, 0xa9, 0xd8, 0x0e, 0x6a, 0xea, 0x2f,
1171 0x15, 0x1e, 0x26, 0xf1, 0x1d, 0xc7, 0x0a, 0x92, 0x90, 0xbb, 0x44, 0x2c, 0x3d, 0x06, 0xa2, 0xe6,
1172 0x1e, 0xa8, 0x8e, 0x4d, 0xf6, 0x64, 0xd7, 0x56, 0x35, 0x54, 0x78, 0x84, 0x9a, 0x52, 0xf9, 0x0e,
1173 0x17, 0xe3, 0x25, 0xe1, 0xde, 0xd2, 0x9b, 0x1e, 0x67, 0x7c, 0x94, 0x2e, 0x09, 0x22, 0x63, 0x6c,
1174 0xf3, 0x20, 0xe2, 0x50, 0x74, 0xbd, 0x78, 0x9e, 0x98, 0xe5, 0xed, 0x03, 0x3b, 0xfc, 0xde, 0x87,
1175 0x60, 0x0c, 0x5b, 0x06, 0x2f, 0x7d, 0x8c, 0x36, 0x64, 0xf6, 0x41, 0xe8, 0x8d, 0xcb, 0x30, 0x8d,
1176 0x8d, 0xda, 0xc8, 0x53, 0x1b, 0xaa, 0xa7, 0x86, 0xac, 0x3f, 0x41, 0xac, 0x71, 0xdc, 0xb7, 0x99,
1177 0xb2, 0xcb, 0x4f, 0xa7, 0x53, 0x3f, 0xf4, 0x33, 0xeb, 0x49, 0xea, 0x27, 0x96, 0xf1, 0xdc, 0xfa,
1178 0xd0, 0x9a, 0xee, 0xb9, 0x12, 0xe4, 0xc2, 0x89, 0x2f, 0x65, 0x80, 0xa6, 0xbe, 0x28, 0xe0, 0x2e,
1179 0x68, 0xad, 0xba, 0x8e, 0xfb, 0x97, 0x17, 0x2b, 0x62, 0x0c,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x1a, 0x21, 0xcf, 0x3c, 0x5b, 0x53,
1191 0x76, 0xaa, 0xf2, 0x76, 0x79, 0x4b, 0x66, 0x70, 0xe9, 0x0c, 0x24, 0x0c, 0xf5, 0xf6, 0x61, 0x77,
1192 0x8d, 0x23, 0xa2, 0x61, 0x03, 0x7f, 0x06, 0x12, 0xb7, 0x90, 0x7a, 0xa3, 0xbb, 0xb2, 0x10, 0xd1,
1193 0x87, 0x98, 0xfa, 0x8b, 0x90, 0x24, 0xf1, 0x92, 0x00, 0x58, 0xc4, 0xc4, 0x11, 0x29, 0x0d, 0x89,
1194 0xb5, 0xaa, 0x8c, 0xd3, 0x5f, 0x84, 0x1c, 0x95, 0x2a, 0xbb, 0x9b, 0x95, 0xb5, 0x8a, 0x18, 0x9b,
1195 0x5b, 0x81, 0x14, 0x0d, 0x02, 0x5e, 0x1a, 0x7e, 0x18, 0xc4, 0x11, 0xf6, 0xc8, 0x38, 0x04, 0xae,
1196 0xdd, 0xdf, 0x5e, 0xad, 0xc8, 0x62, 0x2c, 0x3c, 0xbd, 0x2e, 0xe4, 0xc2, 0x0d, 0xf7, 0x47, 0x93,
1197 0x53, 0xdf, 0x15, 0x20, 0x1b, 0x6a, 0xa0, 0x71, 0xe7, 0xa3, 0x1a, 0x86, 0x75, 0x4b, 0x51, 0x0d,
1198 0x5d, 0x75, 0x59, 0x52, 0x00, 0x11, 0x95, 0xb1, 0x64, 0xd8, 0x49, 0xfb, 0x48, 0x9c, 0x7f, 0x4d,
1199 0x00, 0xb1, 0xb7, 0x77, 0xed, 0x71, 0x50, 0xf8, 0xa9, 0x3a, 0xf8, 0xaa, 0x00, 0xf9, 0xee, 0x86,
1200 0xb5, 0xc7, 0xbd, 0x73, 0x3f, 0x55, 0xf7, 0xde, 0x8a, 0xc1, 0x58, 0x57, 0x9b, 0x3a, 0xac, 0x77,
1201 0x9f, 0x83, 0x09, 0xbd, 0x81, 0xda, 0xb6, 0xe5, 0x21, 0x53, 0x3b, 0x54, 0x0c,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xbf, 0x96, 0x60, 0x45, 0x87, 0xc7, 0xee,
1280 0x0a, 0x8c, 0xb2, 0x4e, 0x25, 0x1a, 0xfd, 0x79, 0xf6, 0x72, 0x8e, 0x28, 0x5d, 0x84, 0xe4, 0x90,
1281 0x01, 0xff, 0x0d, 0x06, 0xa5, 0xf6, 0xa5, 0x35, 0xc8, 0x86, 0xba, 0x93, 0x68, 0xf8, 0x6f, 0x32,
1282 0x78, 0x18, 0x85, 0x5d, 0x67, 0xdd, 0x49, 0x34, 0xc1, 0x6f, 0x71, 0xd7, 0x19, 0x02, 0x87, 0x8d,
1283 0x37, 0x26, 0xd1, 0xe8, 0xdf, 0xe6, 0x51, 0xe7, 0x90, 0xd2, 0x33, 0x90, 0xf1, 0x8b, 0x4d, 0x34,
1284 0xfe, 0x77, 0x18, 0x3e, 0xc0, 0xe0, 0x08, 0x84, 0x8a, 0x5d, 0x34, 0xc5, 0xef, 0xf2, 0x08, 0x84,
1285 0x50, 0x78, 0x19, 0xf5, 0x36, 0x30, 0xd1, 0x4c, 0xbf, 0xc7, 0x97, 0x51, 0x4f, 0xff, 0x82, 0x67,
1286 0x93, 0xec, 0xf9, 0xd1, 0x14, 0xbf, 0xcf, 0x67, 0x93, 0xd8, 0x63, 0x37, 0x7a, 0x3b, 0x82, 0x68,
1287 0x8e, 0x2f, 0x70, 0x37, 0x7a, 0x1a, 0x82, 0xd2, 0x2e, 0x48, 0xfd, 0xdd, 0x40, 0x34, 0xdf, 0x17,
1288 0x19, 0xdf, 0x44, 0x5f, 0x33, 0x50, 0x7a, 0x0e, 0xa6, 0x07, 0x77, 0x02, 0xd1, 0xac, 0x5f, 0xba,
1289 0xd7, 0x73, 0x76, 0x0b, 0x37, 0x02, 0xa5, 0xbd, 0xa0, 0xa4, 0x84, 0xbb, 0x80, 0x68, 0xda, 0x57,
1290 0xee, 0x75, 0x6f, 0xdc, 0xe1, 0x26, 0xa0, 0x54, 0x06, 0x08, 0x0a, 0x70, 0x34, 0xd7, 0xab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 0xfd, 0xbb, 0x45, 0xe1, 0xce, 0x51, 0x51, 0x78, 0xe3, 0xa8, 0x28, 0x7c, 0xe3, 0xa8,
1325 0x28, 0x7c, 0xfb, 0xa8, 0x28, 0xbc, 0x79, 0x54, 0x14, 0xbe, 0x7f, 0x54, 0x14, 0xde, 0x3a, 0x2a,
1326 0x0a, 0x3f, 0x3a, 0x2a, 0x8e, 0xbc, 0x77, 0x54, 0x14, 0xde, 0x3f, 0x2a, 0x8e, 0xdc, 0x79, 0xbb,
1327 0x38, 0xf2, 0xc6, 0xdb, 0x45, 0xa1, 0x9e, 0x22, 0xa9, 0x74, 0xfe, 0xc7, 0x01, 0x00, 0x00, 0xff,
1328 0xff, 0x08, 0x6d, 0x89, 0x62, 0x8e, 0x35, 0x00, 0x00,
1329 }
1330 r := bytes.NewReader(gzipped)
1331 gzipr, err := compress_gzip.NewReader(r)
1332 if err != nil {
1333 panic(err)
1334 }
1335 ungzipped, err := io_ioutil.ReadAll(gzipr)
1336 if err != nil {
1337 panic(err)
1338 }
1339 if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil {
1340 panic(err)
1341 }
1342 return d
1343 }
1344 func (this *Subby) VerboseEqual(that interface{}) error {
1345 if that == nil {
1346 if this == nil {
1347 return nil
1348 }
1349 return fmt.Errorf("that == nil && this != nil")
1350 }
1351
1352 that1, ok := that.(*Subby)
1353 if !ok {
1354 that2, ok := that.(Subby)
1355 if ok {
1356 that1 = &that2
1357 } else {
1358 return fmt.Errorf("that is not of type *Subby")
1359 }
1360 }
1361 if that1 == nil {
1362 if this == nil {
1363 return nil
1364 }
1365 return fmt.Errorf("that is type *Subby but is nil && this != nil")
1366 } else if this == nil {
1367 return fmt.Errorf("that is type *Subby but is not nil && this == nil")
1368 }
1369 if this.Sub != that1.Sub {
1370 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub)
1371 }
1372 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
1373 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
1374 }
1375 return nil
1376 }
1377 func (this *Subby) Equal(that interface{}) bool {
1378 if that == nil {
1379 return this == nil
1380 }
1381
1382 that1, ok := that.(*Subby)
1383 if !ok {
1384 that2, ok := that.(Subby)
1385 if ok {
1386 that1 = &that2
1387 } else {
1388 return false
1389 }
1390 }
1391 if that1 == nil {
1392 return this == nil
1393 } else if this == nil {
1394 return false
1395 }
1396 if this.Sub != that1.Sub {
1397 return false
1398 }
1399 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
1400 return false
1401 }
1402 return true
1403 }
1404 func (this *SampleOneOf) VerboseEqual(that interface{}) error {
1405 if that == nil {
1406 if this == nil {
1407 return nil
1408 }
1409 return fmt.Errorf("that == nil && this != nil")
1410 }
1411
1412 that1, ok := that.(*SampleOneOf)
1413 if !ok {
1414 that2, ok := that.(SampleOneOf)
1415 if ok {
1416 that1 = &that2
1417 } else {
1418 return fmt.Errorf("that is not of type *SampleOneOf")
1419 }
1420 }
1421 if that1 == nil {
1422 if this == nil {
1423 return nil
1424 }
1425 return fmt.Errorf("that is type *SampleOneOf but is nil && this != nil")
1426 } else if this == nil {
1427 return fmt.Errorf("that is type *SampleOneOf but is not nil && this == nil")
1428 }
1429 if that1.TestOneof == nil {
1430 if this.TestOneof != nil {
1431 return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil")
1432 }
1433 } else if this.TestOneof == nil {
1434 return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil")
1435 } else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil {
1436 return err
1437 }
1438 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
1439 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
1440 }
1441 return nil
1442 }
1443 func (this *SampleOneOf_Field1) VerboseEqual(that interface{}) error {
1444 if that == nil {
1445 if this == nil {
1446 return nil
1447 }
1448 return fmt.Errorf("that == nil && this != nil")
1449 }
1450
1451 that1, ok := that.(*SampleOneOf_Field1)
1452 if !ok {
1453 that2, ok := that.(SampleOneOf_Field1)
1454 if ok {
1455 that1 = &that2
1456 } else {
1457 return fmt.Errorf("that is not of type *SampleOneOf_Field1")
1458 }
1459 }
1460 if that1 == nil {
1461 if this == nil {
1462 return nil
1463 }
1464 return fmt.Errorf("that is type *SampleOneOf_Field1 but is nil && this != nil")
1465 } else if this == nil {
1466 return fmt.Errorf("that is type *SampleOneOf_Field1 but is not nil && this == nil")
1467 }
1468 if this.Field1 != that1.Field1 {
1469 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1)
1470 }
1471 return nil
1472 }
1473 func (this *SampleOneOf_Field2) VerboseEqual(that interface{}) error {
1474 if that == nil {
1475 if this == nil {
1476 return nil
1477 }
1478 return fmt.Errorf("that == nil && this != nil")
1479 }
1480
1481 that1, ok := that.(*SampleOneOf_Field2)
1482 if !ok {
1483 that2, ok := that.(SampleOneOf_Field2)
1484 if ok {
1485 that1 = &that2
1486 } else {
1487 return fmt.Errorf("that is not of type *SampleOneOf_Field2")
1488 }
1489 }
1490 if that1 == nil {
1491 if this == nil {
1492 return nil
1493 }
1494 return fmt.Errorf("that is type *SampleOneOf_Field2 but is nil && this != nil")
1495 } else if this == nil {
1496 return fmt.Errorf("that is type *SampleOneOf_Field2 but is not nil && this == nil")
1497 }
1498 if this.Field2 != that1.Field2 {
1499 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2)
1500 }
1501 return nil
1502 }
1503 func (this *SampleOneOf_Field3) VerboseEqual(that interface{}) error {
1504 if that == nil {
1505 if this == nil {
1506 return nil
1507 }
1508 return fmt.Errorf("that == nil && this != nil")
1509 }
1510
1511 that1, ok := that.(*SampleOneOf_Field3)
1512 if !ok {
1513 that2, ok := that.(SampleOneOf_Field3)
1514 if ok {
1515 that1 = &that2
1516 } else {
1517 return fmt.Errorf("that is not of type *SampleOneOf_Field3")
1518 }
1519 }
1520 if that1 == nil {
1521 if this == nil {
1522 return nil
1523 }
1524 return fmt.Errorf("that is type *SampleOneOf_Field3 but is nil && this != nil")
1525 } else if this == nil {
1526 return fmt.Errorf("that is type *SampleOneOf_Field3 but is not nil && this == nil")
1527 }
1528 if this.Field3 != that1.Field3 {
1529 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3)
1530 }
1531 return nil
1532 }
1533 func (this *SampleOneOf_Field4) VerboseEqual(that interface{}) error {
1534 if that == nil {
1535 if this == nil {
1536 return nil
1537 }
1538 return fmt.Errorf("that == nil && this != nil")
1539 }
1540
1541 that1, ok := that.(*SampleOneOf_Field4)
1542 if !ok {
1543 that2, ok := that.(SampleOneOf_Field4)
1544 if ok {
1545 that1 = &that2
1546 } else {
1547 return fmt.Errorf("that is not of type *SampleOneOf_Field4")
1548 }
1549 }
1550 if that1 == nil {
1551 if this == nil {
1552 return nil
1553 }
1554 return fmt.Errorf("that is type *SampleOneOf_Field4 but is nil && this != nil")
1555 } else if this == nil {
1556 return fmt.Errorf("that is type *SampleOneOf_Field4 but is not nil && this == nil")
1557 }
1558 if this.Field4 != that1.Field4 {
1559 return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4)
1560 }
1561 return nil
1562 }
1563 func (this *SampleOneOf_Field5) VerboseEqual(that interface{}) error {
1564 if that == nil {
1565 if this == nil {
1566 return nil
1567 }
1568 return fmt.Errorf("that == nil && this != nil")
1569 }
1570
1571 that1, ok := that.(*SampleOneOf_Field5)
1572 if !ok {
1573 that2, ok := that.(SampleOneOf_Field5)
1574 if ok {
1575 that1 = &that2
1576 } else {
1577 return fmt.Errorf("that is not of type *SampleOneOf_Field5")
1578 }
1579 }
1580 if that1 == nil {
1581 if this == nil {
1582 return nil
1583 }
1584 return fmt.Errorf("that is type *SampleOneOf_Field5 but is nil && this != nil")
1585 } else if this == nil {
1586 return fmt.Errorf("that is type *SampleOneOf_Field5 but is not nil && this == nil")
1587 }
1588 if this.Field5 != that1.Field5 {
1589 return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5)
1590 }
1591 return nil
1592 }
1593 func (this *SampleOneOf_Field6) VerboseEqual(that interface{}) error {
1594 if that == nil {
1595 if this == nil {
1596 return nil
1597 }
1598 return fmt.Errorf("that == nil && this != nil")
1599 }
1600
1601 that1, ok := that.(*SampleOneOf_Field6)
1602 if !ok {
1603 that2, ok := that.(SampleOneOf_Field6)
1604 if ok {
1605 that1 = &that2
1606 } else {
1607 return fmt.Errorf("that is not of type *SampleOneOf_Field6")
1608 }
1609 }
1610 if that1 == nil {
1611 if this == nil {
1612 return nil
1613 }
1614 return fmt.Errorf("that is type *SampleOneOf_Field6 but is nil && this != nil")
1615 } else if this == nil {
1616 return fmt.Errorf("that is type *SampleOneOf_Field6 but is not nil && this == nil")
1617 }
1618 if this.Field6 != that1.Field6 {
1619 return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6)
1620 }
1621 return nil
1622 }
1623 func (this *SampleOneOf_Field7) VerboseEqual(that interface{}) error {
1624 if that == nil {
1625 if this == nil {
1626 return nil
1627 }
1628 return fmt.Errorf("that == nil && this != nil")
1629 }
1630
1631 that1, ok := that.(*SampleOneOf_Field7)
1632 if !ok {
1633 that2, ok := that.(SampleOneOf_Field7)
1634 if ok {
1635 that1 = &that2
1636 } else {
1637 return fmt.Errorf("that is not of type *SampleOneOf_Field7")
1638 }
1639 }
1640 if that1 == nil {
1641 if this == nil {
1642 return nil
1643 }
1644 return fmt.Errorf("that is type *SampleOneOf_Field7 but is nil && this != nil")
1645 } else if this == nil {
1646 return fmt.Errorf("that is type *SampleOneOf_Field7 but is not nil && this == nil")
1647 }
1648 if this.Field7 != that1.Field7 {
1649 return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7)
1650 }
1651 return nil
1652 }
1653 func (this *SampleOneOf_Field8) VerboseEqual(that interface{}) error {
1654 if that == nil {
1655 if this == nil {
1656 return nil
1657 }
1658 return fmt.Errorf("that == nil && this != nil")
1659 }
1660
1661 that1, ok := that.(*SampleOneOf_Field8)
1662 if !ok {
1663 that2, ok := that.(SampleOneOf_Field8)
1664 if ok {
1665 that1 = &that2
1666 } else {
1667 return fmt.Errorf("that is not of type *SampleOneOf_Field8")
1668 }
1669 }
1670 if that1 == nil {
1671 if this == nil {
1672 return nil
1673 }
1674 return fmt.Errorf("that is type *SampleOneOf_Field8 but is nil && this != nil")
1675 } else if this == nil {
1676 return fmt.Errorf("that is type *SampleOneOf_Field8 but is not nil && this == nil")
1677 }
1678 if this.Field8 != that1.Field8 {
1679 return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8)
1680 }
1681 return nil
1682 }
1683 func (this *SampleOneOf_Field9) VerboseEqual(that interface{}) error {
1684 if that == nil {
1685 if this == nil {
1686 return nil
1687 }
1688 return fmt.Errorf("that == nil && this != nil")
1689 }
1690
1691 that1, ok := that.(*SampleOneOf_Field9)
1692 if !ok {
1693 that2, ok := that.(SampleOneOf_Field9)
1694 if ok {
1695 that1 = &that2
1696 } else {
1697 return fmt.Errorf("that is not of type *SampleOneOf_Field9")
1698 }
1699 }
1700 if that1 == nil {
1701 if this == nil {
1702 return nil
1703 }
1704 return fmt.Errorf("that is type *SampleOneOf_Field9 but is nil && this != nil")
1705 } else if this == nil {
1706 return fmt.Errorf("that is type *SampleOneOf_Field9 but is not nil && this == nil")
1707 }
1708 if this.Field9 != that1.Field9 {
1709 return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9)
1710 }
1711 return nil
1712 }
1713 func (this *SampleOneOf_Field10) VerboseEqual(that interface{}) error {
1714 if that == nil {
1715 if this == nil {
1716 return nil
1717 }
1718 return fmt.Errorf("that == nil && this != nil")
1719 }
1720
1721 that1, ok := that.(*SampleOneOf_Field10)
1722 if !ok {
1723 that2, ok := that.(SampleOneOf_Field10)
1724 if ok {
1725 that1 = &that2
1726 } else {
1727 return fmt.Errorf("that is not of type *SampleOneOf_Field10")
1728 }
1729 }
1730 if that1 == nil {
1731 if this == nil {
1732 return nil
1733 }
1734 return fmt.Errorf("that is type *SampleOneOf_Field10 but is nil && this != nil")
1735 } else if this == nil {
1736 return fmt.Errorf("that is type *SampleOneOf_Field10 but is not nil && this == nil")
1737 }
1738 if this.Field10 != that1.Field10 {
1739 return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10)
1740 }
1741 return nil
1742 }
1743 func (this *SampleOneOf_Field11) VerboseEqual(that interface{}) error {
1744 if that == nil {
1745 if this == nil {
1746 return nil
1747 }
1748 return fmt.Errorf("that == nil && this != nil")
1749 }
1750
1751 that1, ok := that.(*SampleOneOf_Field11)
1752 if !ok {
1753 that2, ok := that.(SampleOneOf_Field11)
1754 if ok {
1755 that1 = &that2
1756 } else {
1757 return fmt.Errorf("that is not of type *SampleOneOf_Field11")
1758 }
1759 }
1760 if that1 == nil {
1761 if this == nil {
1762 return nil
1763 }
1764 return fmt.Errorf("that is type *SampleOneOf_Field11 but is nil && this != nil")
1765 } else if this == nil {
1766 return fmt.Errorf("that is type *SampleOneOf_Field11 but is not nil && this == nil")
1767 }
1768 if this.Field11 != that1.Field11 {
1769 return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11)
1770 }
1771 return nil
1772 }
1773 func (this *SampleOneOf_Field12) VerboseEqual(that interface{}) error {
1774 if that == nil {
1775 if this == nil {
1776 return nil
1777 }
1778 return fmt.Errorf("that == nil && this != nil")
1779 }
1780
1781 that1, ok := that.(*SampleOneOf_Field12)
1782 if !ok {
1783 that2, ok := that.(SampleOneOf_Field12)
1784 if ok {
1785 that1 = &that2
1786 } else {
1787 return fmt.Errorf("that is not of type *SampleOneOf_Field12")
1788 }
1789 }
1790 if that1 == nil {
1791 if this == nil {
1792 return nil
1793 }
1794 return fmt.Errorf("that is type *SampleOneOf_Field12 but is nil && this != nil")
1795 } else if this == nil {
1796 return fmt.Errorf("that is type *SampleOneOf_Field12 but is not nil && this == nil")
1797 }
1798 if this.Field12 != that1.Field12 {
1799 return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12)
1800 }
1801 return nil
1802 }
1803 func (this *SampleOneOf_Field13) VerboseEqual(that interface{}) error {
1804 if that == nil {
1805 if this == nil {
1806 return nil
1807 }
1808 return fmt.Errorf("that == nil && this != nil")
1809 }
1810
1811 that1, ok := that.(*SampleOneOf_Field13)
1812 if !ok {
1813 that2, ok := that.(SampleOneOf_Field13)
1814 if ok {
1815 that1 = &that2
1816 } else {
1817 return fmt.Errorf("that is not of type *SampleOneOf_Field13")
1818 }
1819 }
1820 if that1 == nil {
1821 if this == nil {
1822 return nil
1823 }
1824 return fmt.Errorf("that is type *SampleOneOf_Field13 but is nil && this != nil")
1825 } else if this == nil {
1826 return fmt.Errorf("that is type *SampleOneOf_Field13 but is not nil && this == nil")
1827 }
1828 if this.Field13 != that1.Field13 {
1829 return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13)
1830 }
1831 return nil
1832 }
1833 func (this *SampleOneOf_Field14) VerboseEqual(that interface{}) error {
1834 if that == nil {
1835 if this == nil {
1836 return nil
1837 }
1838 return fmt.Errorf("that == nil && this != nil")
1839 }
1840
1841 that1, ok := that.(*SampleOneOf_Field14)
1842 if !ok {
1843 that2, ok := that.(SampleOneOf_Field14)
1844 if ok {
1845 that1 = &that2
1846 } else {
1847 return fmt.Errorf("that is not of type *SampleOneOf_Field14")
1848 }
1849 }
1850 if that1 == nil {
1851 if this == nil {
1852 return nil
1853 }
1854 return fmt.Errorf("that is type *SampleOneOf_Field14 but is nil && this != nil")
1855 } else if this == nil {
1856 return fmt.Errorf("that is type *SampleOneOf_Field14 but is not nil && this == nil")
1857 }
1858 if this.Field14 != that1.Field14 {
1859 return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14)
1860 }
1861 return nil
1862 }
1863 func (this *SampleOneOf_Field15) VerboseEqual(that interface{}) error {
1864 if that == nil {
1865 if this == nil {
1866 return nil
1867 }
1868 return fmt.Errorf("that == nil && this != nil")
1869 }
1870
1871 that1, ok := that.(*SampleOneOf_Field15)
1872 if !ok {
1873 that2, ok := that.(SampleOneOf_Field15)
1874 if ok {
1875 that1 = &that2
1876 } else {
1877 return fmt.Errorf("that is not of type *SampleOneOf_Field15")
1878 }
1879 }
1880 if that1 == nil {
1881 if this == nil {
1882 return nil
1883 }
1884 return fmt.Errorf("that is type *SampleOneOf_Field15 but is nil && this != nil")
1885 } else if this == nil {
1886 return fmt.Errorf("that is type *SampleOneOf_Field15 but is not nil && this == nil")
1887 }
1888 if !bytes.Equal(this.Field15, that1.Field15) {
1889 return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15)
1890 }
1891 return nil
1892 }
1893 func (this *SampleOneOf_SubMessage) VerboseEqual(that interface{}) error {
1894 if that == nil {
1895 if this == nil {
1896 return nil
1897 }
1898 return fmt.Errorf("that == nil && this != nil")
1899 }
1900
1901 that1, ok := that.(*SampleOneOf_SubMessage)
1902 if !ok {
1903 that2, ok := that.(SampleOneOf_SubMessage)
1904 if ok {
1905 that1 = &that2
1906 } else {
1907 return fmt.Errorf("that is not of type *SampleOneOf_SubMessage")
1908 }
1909 }
1910 if that1 == nil {
1911 if this == nil {
1912 return nil
1913 }
1914 return fmt.Errorf("that is type *SampleOneOf_SubMessage but is nil && this != nil")
1915 } else if this == nil {
1916 return fmt.Errorf("that is type *SampleOneOf_SubMessage but is not nil && this == nil")
1917 }
1918 if !this.SubMessage.Equal(that1.SubMessage) {
1919 return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage)
1920 }
1921 return nil
1922 }
1923 func (this *SampleOneOf) Equal(that interface{}) bool {
1924 if that == nil {
1925 return this == nil
1926 }
1927
1928 that1, ok := that.(*SampleOneOf)
1929 if !ok {
1930 that2, ok := that.(SampleOneOf)
1931 if ok {
1932 that1 = &that2
1933 } else {
1934 return false
1935 }
1936 }
1937 if that1 == nil {
1938 return this == nil
1939 } else if this == nil {
1940 return false
1941 }
1942 if that1.TestOneof == nil {
1943 if this.TestOneof != nil {
1944 return false
1945 }
1946 } else if this.TestOneof == nil {
1947 return false
1948 } else if !this.TestOneof.Equal(that1.TestOneof) {
1949 return false
1950 }
1951 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
1952 return false
1953 }
1954 return true
1955 }
1956 func (this *SampleOneOf_Field1) Equal(that interface{}) bool {
1957 if that == nil {
1958 return this == nil
1959 }
1960
1961 that1, ok := that.(*SampleOneOf_Field1)
1962 if !ok {
1963 that2, ok := that.(SampleOneOf_Field1)
1964 if ok {
1965 that1 = &that2
1966 } else {
1967 return false
1968 }
1969 }
1970 if that1 == nil {
1971 return this == nil
1972 } else if this == nil {
1973 return false
1974 }
1975 if this.Field1 != that1.Field1 {
1976 return false
1977 }
1978 return true
1979 }
1980 func (this *SampleOneOf_Field2) Equal(that interface{}) bool {
1981 if that == nil {
1982 return this == nil
1983 }
1984
1985 that1, ok := that.(*SampleOneOf_Field2)
1986 if !ok {
1987 that2, ok := that.(SampleOneOf_Field2)
1988 if ok {
1989 that1 = &that2
1990 } else {
1991 return false
1992 }
1993 }
1994 if that1 == nil {
1995 return this == nil
1996 } else if this == nil {
1997 return false
1998 }
1999 if this.Field2 != that1.Field2 {
2000 return false
2001 }
2002 return true
2003 }
2004 func (this *SampleOneOf_Field3) Equal(that interface{}) bool {
2005 if that == nil {
2006 return this == nil
2007 }
2008
2009 that1, ok := that.(*SampleOneOf_Field3)
2010 if !ok {
2011 that2, ok := that.(SampleOneOf_Field3)
2012 if ok {
2013 that1 = &that2
2014 } else {
2015 return false
2016 }
2017 }
2018 if that1 == nil {
2019 return this == nil
2020 } else if this == nil {
2021 return false
2022 }
2023 if this.Field3 != that1.Field3 {
2024 return false
2025 }
2026 return true
2027 }
2028 func (this *SampleOneOf_Field4) Equal(that interface{}) bool {
2029 if that == nil {
2030 return this == nil
2031 }
2032
2033 that1, ok := that.(*SampleOneOf_Field4)
2034 if !ok {
2035 that2, ok := that.(SampleOneOf_Field4)
2036 if ok {
2037 that1 = &that2
2038 } else {
2039 return false
2040 }
2041 }
2042 if that1 == nil {
2043 return this == nil
2044 } else if this == nil {
2045 return false
2046 }
2047 if this.Field4 != that1.Field4 {
2048 return false
2049 }
2050 return true
2051 }
2052 func (this *SampleOneOf_Field5) Equal(that interface{}) bool {
2053 if that == nil {
2054 return this == nil
2055 }
2056
2057 that1, ok := that.(*SampleOneOf_Field5)
2058 if !ok {
2059 that2, ok := that.(SampleOneOf_Field5)
2060 if ok {
2061 that1 = &that2
2062 } else {
2063 return false
2064 }
2065 }
2066 if that1 == nil {
2067 return this == nil
2068 } else if this == nil {
2069 return false
2070 }
2071 if this.Field5 != that1.Field5 {
2072 return false
2073 }
2074 return true
2075 }
2076 func (this *SampleOneOf_Field6) Equal(that interface{}) bool {
2077 if that == nil {
2078 return this == nil
2079 }
2080
2081 that1, ok := that.(*SampleOneOf_Field6)
2082 if !ok {
2083 that2, ok := that.(SampleOneOf_Field6)
2084 if ok {
2085 that1 = &that2
2086 } else {
2087 return false
2088 }
2089 }
2090 if that1 == nil {
2091 return this == nil
2092 } else if this == nil {
2093 return false
2094 }
2095 if this.Field6 != that1.Field6 {
2096 return false
2097 }
2098 return true
2099 }
2100 func (this *SampleOneOf_Field7) Equal(that interface{}) bool {
2101 if that == nil {
2102 return this == nil
2103 }
2104
2105 that1, ok := that.(*SampleOneOf_Field7)
2106 if !ok {
2107 that2, ok := that.(SampleOneOf_Field7)
2108 if ok {
2109 that1 = &that2
2110 } else {
2111 return false
2112 }
2113 }
2114 if that1 == nil {
2115 return this == nil
2116 } else if this == nil {
2117 return false
2118 }
2119 if this.Field7 != that1.Field7 {
2120 return false
2121 }
2122 return true
2123 }
2124 func (this *SampleOneOf_Field8) Equal(that interface{}) bool {
2125 if that == nil {
2126 return this == nil
2127 }
2128
2129 that1, ok := that.(*SampleOneOf_Field8)
2130 if !ok {
2131 that2, ok := that.(SampleOneOf_Field8)
2132 if ok {
2133 that1 = &that2
2134 } else {
2135 return false
2136 }
2137 }
2138 if that1 == nil {
2139 return this == nil
2140 } else if this == nil {
2141 return false
2142 }
2143 if this.Field8 != that1.Field8 {
2144 return false
2145 }
2146 return true
2147 }
2148 func (this *SampleOneOf_Field9) Equal(that interface{}) bool {
2149 if that == nil {
2150 return this == nil
2151 }
2152
2153 that1, ok := that.(*SampleOneOf_Field9)
2154 if !ok {
2155 that2, ok := that.(SampleOneOf_Field9)
2156 if ok {
2157 that1 = &that2
2158 } else {
2159 return false
2160 }
2161 }
2162 if that1 == nil {
2163 return this == nil
2164 } else if this == nil {
2165 return false
2166 }
2167 if this.Field9 != that1.Field9 {
2168 return false
2169 }
2170 return true
2171 }
2172 func (this *SampleOneOf_Field10) Equal(that interface{}) bool {
2173 if that == nil {
2174 return this == nil
2175 }
2176
2177 that1, ok := that.(*SampleOneOf_Field10)
2178 if !ok {
2179 that2, ok := that.(SampleOneOf_Field10)
2180 if ok {
2181 that1 = &that2
2182 } else {
2183 return false
2184 }
2185 }
2186 if that1 == nil {
2187 return this == nil
2188 } else if this == nil {
2189 return false
2190 }
2191 if this.Field10 != that1.Field10 {
2192 return false
2193 }
2194 return true
2195 }
2196 func (this *SampleOneOf_Field11) Equal(that interface{}) bool {
2197 if that == nil {
2198 return this == nil
2199 }
2200
2201 that1, ok := that.(*SampleOneOf_Field11)
2202 if !ok {
2203 that2, ok := that.(SampleOneOf_Field11)
2204 if ok {
2205 that1 = &that2
2206 } else {
2207 return false
2208 }
2209 }
2210 if that1 == nil {
2211 return this == nil
2212 } else if this == nil {
2213 return false
2214 }
2215 if this.Field11 != that1.Field11 {
2216 return false
2217 }
2218 return true
2219 }
2220 func (this *SampleOneOf_Field12) Equal(that interface{}) bool {
2221 if that == nil {
2222 return this == nil
2223 }
2224
2225 that1, ok := that.(*SampleOneOf_Field12)
2226 if !ok {
2227 that2, ok := that.(SampleOneOf_Field12)
2228 if ok {
2229 that1 = &that2
2230 } else {
2231 return false
2232 }
2233 }
2234 if that1 == nil {
2235 return this == nil
2236 } else if this == nil {
2237 return false
2238 }
2239 if this.Field12 != that1.Field12 {
2240 return false
2241 }
2242 return true
2243 }
2244 func (this *SampleOneOf_Field13) Equal(that interface{}) bool {
2245 if that == nil {
2246 return this == nil
2247 }
2248
2249 that1, ok := that.(*SampleOneOf_Field13)
2250 if !ok {
2251 that2, ok := that.(SampleOneOf_Field13)
2252 if ok {
2253 that1 = &that2
2254 } else {
2255 return false
2256 }
2257 }
2258 if that1 == nil {
2259 return this == nil
2260 } else if this == nil {
2261 return false
2262 }
2263 if this.Field13 != that1.Field13 {
2264 return false
2265 }
2266 return true
2267 }
2268 func (this *SampleOneOf_Field14) Equal(that interface{}) bool {
2269 if that == nil {
2270 return this == nil
2271 }
2272
2273 that1, ok := that.(*SampleOneOf_Field14)
2274 if !ok {
2275 that2, ok := that.(SampleOneOf_Field14)
2276 if ok {
2277 that1 = &that2
2278 } else {
2279 return false
2280 }
2281 }
2282 if that1 == nil {
2283 return this == nil
2284 } else if this == nil {
2285 return false
2286 }
2287 if this.Field14 != that1.Field14 {
2288 return false
2289 }
2290 return true
2291 }
2292 func (this *SampleOneOf_Field15) Equal(that interface{}) bool {
2293 if that == nil {
2294 return this == nil
2295 }
2296
2297 that1, ok := that.(*SampleOneOf_Field15)
2298 if !ok {
2299 that2, ok := that.(SampleOneOf_Field15)
2300 if ok {
2301 that1 = &that2
2302 } else {
2303 return false
2304 }
2305 }
2306 if that1 == nil {
2307 return this == nil
2308 } else if this == nil {
2309 return false
2310 }
2311 if !bytes.Equal(this.Field15, that1.Field15) {
2312 return false
2313 }
2314 return true
2315 }
2316 func (this *SampleOneOf_SubMessage) Equal(that interface{}) bool {
2317 if that == nil {
2318 return this == nil
2319 }
2320
2321 that1, ok := that.(*SampleOneOf_SubMessage)
2322 if !ok {
2323 that2, ok := that.(SampleOneOf_SubMessage)
2324 if ok {
2325 that1 = &that2
2326 } else {
2327 return false
2328 }
2329 }
2330 if that1 == nil {
2331 return this == nil
2332 } else if this == nil {
2333 return false
2334 }
2335 if !this.SubMessage.Equal(that1.SubMessage) {
2336 return false
2337 }
2338 return true
2339 }
2340 func (this *Subby) GoString() string {
2341 if this == nil {
2342 return "nil"
2343 }
2344 s := make([]string, 0, 5)
2345 s = append(s, "&one.Subby{")
2346 s = append(s, "Sub: "+fmt.Sprintf("%#v", this.Sub)+",\n")
2347 if this.XXX_unrecognized != nil {
2348 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
2349 }
2350 s = append(s, "}")
2351 return strings.Join(s, "")
2352 }
2353 func (this *SampleOneOf) GoString() string {
2354 if this == nil {
2355 return "nil"
2356 }
2357 s := make([]string, 0, 20)
2358 s = append(s, "&one.SampleOneOf{")
2359 if this.TestOneof != nil {
2360 s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n")
2361 }
2362 if this.XXX_unrecognized != nil {
2363 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
2364 }
2365 s = append(s, "}")
2366 return strings.Join(s, "")
2367 }
2368 func (this *SampleOneOf_Field1) GoString() string {
2369 if this == nil {
2370 return "nil"
2371 }
2372 s := strings.Join([]string{`&one.SampleOneOf_Field1{` +
2373 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ")
2374 return s
2375 }
2376 func (this *SampleOneOf_Field2) GoString() string {
2377 if this == nil {
2378 return "nil"
2379 }
2380 s := strings.Join([]string{`&one.SampleOneOf_Field2{` +
2381 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ")
2382 return s
2383 }
2384 func (this *SampleOneOf_Field3) GoString() string {
2385 if this == nil {
2386 return "nil"
2387 }
2388 s := strings.Join([]string{`&one.SampleOneOf_Field3{` +
2389 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ")
2390 return s
2391 }
2392 func (this *SampleOneOf_Field4) GoString() string {
2393 if this == nil {
2394 return "nil"
2395 }
2396 s := strings.Join([]string{`&one.SampleOneOf_Field4{` +
2397 `Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ")
2398 return s
2399 }
2400 func (this *SampleOneOf_Field5) GoString() string {
2401 if this == nil {
2402 return "nil"
2403 }
2404 s := strings.Join([]string{`&one.SampleOneOf_Field5{` +
2405 `Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ")
2406 return s
2407 }
2408 func (this *SampleOneOf_Field6) GoString() string {
2409 if this == nil {
2410 return "nil"
2411 }
2412 s := strings.Join([]string{`&one.SampleOneOf_Field6{` +
2413 `Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ")
2414 return s
2415 }
2416 func (this *SampleOneOf_Field7) GoString() string {
2417 if this == nil {
2418 return "nil"
2419 }
2420 s := strings.Join([]string{`&one.SampleOneOf_Field7{` +
2421 `Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ")
2422 return s
2423 }
2424 func (this *SampleOneOf_Field8) GoString() string {
2425 if this == nil {
2426 return "nil"
2427 }
2428 s := strings.Join([]string{`&one.SampleOneOf_Field8{` +
2429 `Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ")
2430 return s
2431 }
2432 func (this *SampleOneOf_Field9) GoString() string {
2433 if this == nil {
2434 return "nil"
2435 }
2436 s := strings.Join([]string{`&one.SampleOneOf_Field9{` +
2437 `Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ")
2438 return s
2439 }
2440 func (this *SampleOneOf_Field10) GoString() string {
2441 if this == nil {
2442 return "nil"
2443 }
2444 s := strings.Join([]string{`&one.SampleOneOf_Field10{` +
2445 `Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ")
2446 return s
2447 }
2448 func (this *SampleOneOf_Field11) GoString() string {
2449 if this == nil {
2450 return "nil"
2451 }
2452 s := strings.Join([]string{`&one.SampleOneOf_Field11{` +
2453 `Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ")
2454 return s
2455 }
2456 func (this *SampleOneOf_Field12) GoString() string {
2457 if this == nil {
2458 return "nil"
2459 }
2460 s := strings.Join([]string{`&one.SampleOneOf_Field12{` +
2461 `Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ")
2462 return s
2463 }
2464 func (this *SampleOneOf_Field13) GoString() string {
2465 if this == nil {
2466 return "nil"
2467 }
2468 s := strings.Join([]string{`&one.SampleOneOf_Field13{` +
2469 `Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ")
2470 return s
2471 }
2472 func (this *SampleOneOf_Field14) GoString() string {
2473 if this == nil {
2474 return "nil"
2475 }
2476 s := strings.Join([]string{`&one.SampleOneOf_Field14{` +
2477 `Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ")
2478 return s
2479 }
2480 func (this *SampleOneOf_Field15) GoString() string {
2481 if this == nil {
2482 return "nil"
2483 }
2484 s := strings.Join([]string{`&one.SampleOneOf_Field15{` +
2485 `Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ")
2486 return s
2487 }
2488 func (this *SampleOneOf_SubMessage) GoString() string {
2489 if this == nil {
2490 return "nil"
2491 }
2492 s := strings.Join([]string{`&one.SampleOneOf_SubMessage{` +
2493 `SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ")
2494 return s
2495 }
2496 func valueToGoStringOne(v interface{}, typ string) string {
2497 rv := reflect.ValueOf(v)
2498 if rv.IsNil() {
2499 return "nil"
2500 }
2501 pv := reflect.Indirect(rv).Interface()
2502 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
2503 }
2504 func (m *Subby) Marshal() (dAtA []byte, err error) {
2505 size := m.Size()
2506 dAtA = make([]byte, size)
2507 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2508 if err != nil {
2509 return nil, err
2510 }
2511 return dAtA[:n], nil
2512 }
2513
2514 func (m *Subby) MarshalTo(dAtA []byte) (int, error) {
2515 size := m.Size()
2516 return m.MarshalToSizedBuffer(dAtA[:size])
2517 }
2518
2519 func (m *Subby) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2520 i := len(dAtA)
2521 _ = i
2522 var l int
2523 _ = l
2524 if m.XXX_unrecognized != nil {
2525 i -= len(m.XXX_unrecognized)
2526 copy(dAtA[i:], m.XXX_unrecognized)
2527 }
2528 if len(m.Sub) > 0 {
2529 i -= len(m.Sub)
2530 copy(dAtA[i:], m.Sub)
2531 i = encodeVarintOne(dAtA, i, uint64(len(m.Sub)))
2532 i--
2533 dAtA[i] = 0xa
2534 }
2535 return len(dAtA) - i, nil
2536 }
2537
2538 func (m *SampleOneOf) Marshal() (dAtA []byte, err error) {
2539 size := m.Size()
2540 dAtA = make([]byte, size)
2541 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2542 if err != nil {
2543 return nil, err
2544 }
2545 return dAtA[:n], nil
2546 }
2547
2548 func (m *SampleOneOf) MarshalTo(dAtA []byte) (int, error) {
2549 size := m.Size()
2550 return m.MarshalToSizedBuffer(dAtA[:size])
2551 }
2552
2553 func (m *SampleOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2554 i := len(dAtA)
2555 _ = i
2556 var l int
2557 _ = l
2558 if m.XXX_unrecognized != nil {
2559 i -= len(m.XXX_unrecognized)
2560 copy(dAtA[i:], m.XXX_unrecognized)
2561 }
2562 if m.TestOneof != nil {
2563 {
2564 size := m.TestOneof.Size()
2565 i -= size
2566 if _, err := m.TestOneof.MarshalTo(dAtA[i:]); err != nil {
2567 return 0, err
2568 }
2569 }
2570 }
2571 return len(dAtA) - i, nil
2572 }
2573
2574 func (m *SampleOneOf_Field1) MarshalTo(dAtA []byte) (int, error) {
2575 size := m.Size()
2576 return m.MarshalToSizedBuffer(dAtA[:size])
2577 }
2578
2579 func (m *SampleOneOf_Field1) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2580 i := len(dAtA)
2581 i -= 8
2582 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Field1))))
2583 i--
2584 dAtA[i] = 0x9
2585 return len(dAtA) - i, nil
2586 }
2587 func (m *SampleOneOf_Field2) MarshalTo(dAtA []byte) (int, error) {
2588 size := m.Size()
2589 return m.MarshalToSizedBuffer(dAtA[:size])
2590 }
2591
2592 func (m *SampleOneOf_Field2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2593 i := len(dAtA)
2594 i -= 4
2595 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Field2))))
2596 i--
2597 dAtA[i] = 0x15
2598 return len(dAtA) - i, nil
2599 }
2600 func (m *SampleOneOf_Field3) MarshalTo(dAtA []byte) (int, error) {
2601 size := m.Size()
2602 return m.MarshalToSizedBuffer(dAtA[:size])
2603 }
2604
2605 func (m *SampleOneOf_Field3) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2606 i := len(dAtA)
2607 i = encodeVarintOne(dAtA, i, uint64(m.Field3))
2608 i--
2609 dAtA[i] = 0x18
2610 return len(dAtA) - i, nil
2611 }
2612 func (m *SampleOneOf_Field4) MarshalTo(dAtA []byte) (int, error) {
2613 size := m.Size()
2614 return m.MarshalToSizedBuffer(dAtA[:size])
2615 }
2616
2617 func (m *SampleOneOf_Field4) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2618 i := len(dAtA)
2619 i = encodeVarintOne(dAtA, i, uint64(m.Field4))
2620 i--
2621 dAtA[i] = 0x20
2622 return len(dAtA) - i, nil
2623 }
2624 func (m *SampleOneOf_Field5) MarshalTo(dAtA []byte) (int, error) {
2625 size := m.Size()
2626 return m.MarshalToSizedBuffer(dAtA[:size])
2627 }
2628
2629 func (m *SampleOneOf_Field5) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2630 i := len(dAtA)
2631 i = encodeVarintOne(dAtA, i, uint64(m.Field5))
2632 i--
2633 dAtA[i] = 0x28
2634 return len(dAtA) - i, nil
2635 }
2636 func (m *SampleOneOf_Field6) MarshalTo(dAtA []byte) (int, error) {
2637 size := m.Size()
2638 return m.MarshalToSizedBuffer(dAtA[:size])
2639 }
2640
2641 func (m *SampleOneOf_Field6) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2642 i := len(dAtA)
2643 i = encodeVarintOne(dAtA, i, uint64(m.Field6))
2644 i--
2645 dAtA[i] = 0x30
2646 return len(dAtA) - i, nil
2647 }
2648 func (m *SampleOneOf_Field7) MarshalTo(dAtA []byte) (int, error) {
2649 size := m.Size()
2650 return m.MarshalToSizedBuffer(dAtA[:size])
2651 }
2652
2653 func (m *SampleOneOf_Field7) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2654 i := len(dAtA)
2655 i = encodeVarintOne(dAtA, i, uint64((uint32(m.Field7)<<1)^uint32((m.Field7>>31))))
2656 i--
2657 dAtA[i] = 0x38
2658 return len(dAtA) - i, nil
2659 }
2660 func (m *SampleOneOf_Field8) MarshalTo(dAtA []byte) (int, error) {
2661 size := m.Size()
2662 return m.MarshalToSizedBuffer(dAtA[:size])
2663 }
2664
2665 func (m *SampleOneOf_Field8) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2666 i := len(dAtA)
2667 i = encodeVarintOne(dAtA, i, uint64((uint64(m.Field8)<<1)^uint64((m.Field8>>63))))
2668 i--
2669 dAtA[i] = 0x40
2670 return len(dAtA) - i, nil
2671 }
2672 func (m *SampleOneOf_Field9) MarshalTo(dAtA []byte) (int, error) {
2673 size := m.Size()
2674 return m.MarshalToSizedBuffer(dAtA[:size])
2675 }
2676
2677 func (m *SampleOneOf_Field9) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2678 i := len(dAtA)
2679 i -= 4
2680 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field9))
2681 i--
2682 dAtA[i] = 0x4d
2683 return len(dAtA) - i, nil
2684 }
2685 func (m *SampleOneOf_Field10) MarshalTo(dAtA []byte) (int, error) {
2686 size := m.Size()
2687 return m.MarshalToSizedBuffer(dAtA[:size])
2688 }
2689
2690 func (m *SampleOneOf_Field10) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2691 i := len(dAtA)
2692 i -= 4
2693 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field10))
2694 i--
2695 dAtA[i] = 0x55
2696 return len(dAtA) - i, nil
2697 }
2698 func (m *SampleOneOf_Field11) MarshalTo(dAtA []byte) (int, error) {
2699 size := m.Size()
2700 return m.MarshalToSizedBuffer(dAtA[:size])
2701 }
2702
2703 func (m *SampleOneOf_Field11) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2704 i := len(dAtA)
2705 i -= 8
2706 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field11))
2707 i--
2708 dAtA[i] = 0x59
2709 return len(dAtA) - i, nil
2710 }
2711 func (m *SampleOneOf_Field12) MarshalTo(dAtA []byte) (int, error) {
2712 size := m.Size()
2713 return m.MarshalToSizedBuffer(dAtA[:size])
2714 }
2715
2716 func (m *SampleOneOf_Field12) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2717 i := len(dAtA)
2718 i -= 8
2719 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field12))
2720 i--
2721 dAtA[i] = 0x61
2722 return len(dAtA) - i, nil
2723 }
2724 func (m *SampleOneOf_Field13) MarshalTo(dAtA []byte) (int, error) {
2725 size := m.Size()
2726 return m.MarshalToSizedBuffer(dAtA[:size])
2727 }
2728
2729 func (m *SampleOneOf_Field13) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2730 i := len(dAtA)
2731 i--
2732 if m.Field13 {
2733 dAtA[i] = 1
2734 } else {
2735 dAtA[i] = 0
2736 }
2737 i--
2738 dAtA[i] = 0x68
2739 return len(dAtA) - i, nil
2740 }
2741 func (m *SampleOneOf_Field14) MarshalTo(dAtA []byte) (int, error) {
2742 size := m.Size()
2743 return m.MarshalToSizedBuffer(dAtA[:size])
2744 }
2745
2746 func (m *SampleOneOf_Field14) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2747 i := len(dAtA)
2748 i -= len(m.Field14)
2749 copy(dAtA[i:], m.Field14)
2750 i = encodeVarintOne(dAtA, i, uint64(len(m.Field14)))
2751 i--
2752 dAtA[i] = 0x72
2753 return len(dAtA) - i, nil
2754 }
2755 func (m *SampleOneOf_Field15) MarshalTo(dAtA []byte) (int, error) {
2756 size := m.Size()
2757 return m.MarshalToSizedBuffer(dAtA[:size])
2758 }
2759
2760 func (m *SampleOneOf_Field15) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2761 i := len(dAtA)
2762 if m.Field15 != nil {
2763 i -= len(m.Field15)
2764 copy(dAtA[i:], m.Field15)
2765 i = encodeVarintOne(dAtA, i, uint64(len(m.Field15)))
2766 i--
2767 dAtA[i] = 0x7a
2768 }
2769 return len(dAtA) - i, nil
2770 }
2771 func (m *SampleOneOf_SubMessage) MarshalTo(dAtA []byte) (int, error) {
2772 size := m.Size()
2773 return m.MarshalToSizedBuffer(dAtA[:size])
2774 }
2775
2776 func (m *SampleOneOf_SubMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2777 i := len(dAtA)
2778 if m.SubMessage != nil {
2779 {
2780 size, err := m.SubMessage.MarshalToSizedBuffer(dAtA[:i])
2781 if err != nil {
2782 return 0, err
2783 }
2784 i -= size
2785 i = encodeVarintOne(dAtA, i, uint64(size))
2786 }
2787 i--
2788 dAtA[i] = 0x1
2789 i--
2790 dAtA[i] = 0x82
2791 }
2792 return len(dAtA) - i, nil
2793 }
2794 func encodeVarintOne(dAtA []byte, offset int, v uint64) int {
2795 offset -= sovOne(v)
2796 base := offset
2797 for v >= 1<<7 {
2798 dAtA[offset] = uint8(v&0x7f | 0x80)
2799 v >>= 7
2800 offset++
2801 }
2802 dAtA[offset] = uint8(v)
2803 return base
2804 }
2805 func NewPopulatedSubby(r randyOne, easy bool) *Subby {
2806 this := &Subby{}
2807 this.Sub = string(randStringOne(r))
2808 if !easy && r.Intn(10) != 0 {
2809 this.XXX_unrecognized = randUnrecognizedOne(r, 2)
2810 }
2811 return this
2812 }
2813
2814 func NewPopulatedSampleOneOf(r randyOne, easy bool) *SampleOneOf {
2815 this := &SampleOneOf{}
2816 oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)]
2817 switch oneofNumber_TestOneof {
2818 case 1:
2819 this.TestOneof = NewPopulatedSampleOneOf_Field1(r, easy)
2820 case 2:
2821 this.TestOneof = NewPopulatedSampleOneOf_Field2(r, easy)
2822 case 3:
2823 this.TestOneof = NewPopulatedSampleOneOf_Field3(r, easy)
2824 case 4:
2825 this.TestOneof = NewPopulatedSampleOneOf_Field4(r, easy)
2826 case 5:
2827 this.TestOneof = NewPopulatedSampleOneOf_Field5(r, easy)
2828 case 6:
2829 this.TestOneof = NewPopulatedSampleOneOf_Field6(r, easy)
2830 case 7:
2831 this.TestOneof = NewPopulatedSampleOneOf_Field7(r, easy)
2832 case 8:
2833 this.TestOneof = NewPopulatedSampleOneOf_Field8(r, easy)
2834 case 9:
2835 this.TestOneof = NewPopulatedSampleOneOf_Field9(r, easy)
2836 case 10:
2837 this.TestOneof = NewPopulatedSampleOneOf_Field10(r, easy)
2838 case 11:
2839 this.TestOneof = NewPopulatedSampleOneOf_Field11(r, easy)
2840 case 12:
2841 this.TestOneof = NewPopulatedSampleOneOf_Field12(r, easy)
2842 case 13:
2843 this.TestOneof = NewPopulatedSampleOneOf_Field13(r, easy)
2844 case 14:
2845 this.TestOneof = NewPopulatedSampleOneOf_Field14(r, easy)
2846 case 15:
2847 this.TestOneof = NewPopulatedSampleOneOf_Field15(r, easy)
2848 case 16:
2849 this.TestOneof = NewPopulatedSampleOneOf_SubMessage(r, easy)
2850 }
2851 if !easy && r.Intn(10) != 0 {
2852 this.XXX_unrecognized = randUnrecognizedOne(r, 17)
2853 }
2854 return this
2855 }
2856
2857 func NewPopulatedSampleOneOf_Field1(r randyOne, easy bool) *SampleOneOf_Field1 {
2858 this := &SampleOneOf_Field1{}
2859 this.Field1 = float64(r.Float64())
2860 if r.Intn(2) == 0 {
2861 this.Field1 *= -1
2862 }
2863 return this
2864 }
2865 func NewPopulatedSampleOneOf_Field2(r randyOne, easy bool) *SampleOneOf_Field2 {
2866 this := &SampleOneOf_Field2{}
2867 this.Field2 = float32(r.Float32())
2868 if r.Intn(2) == 0 {
2869 this.Field2 *= -1
2870 }
2871 return this
2872 }
2873 func NewPopulatedSampleOneOf_Field3(r randyOne, easy bool) *SampleOneOf_Field3 {
2874 this := &SampleOneOf_Field3{}
2875 this.Field3 = int32(r.Int31())
2876 if r.Intn(2) == 0 {
2877 this.Field3 *= -1
2878 }
2879 return this
2880 }
2881 func NewPopulatedSampleOneOf_Field4(r randyOne, easy bool) *SampleOneOf_Field4 {
2882 this := &SampleOneOf_Field4{}
2883 this.Field4 = int64(r.Int63())
2884 if r.Intn(2) == 0 {
2885 this.Field4 *= -1
2886 }
2887 return this
2888 }
2889 func NewPopulatedSampleOneOf_Field5(r randyOne, easy bool) *SampleOneOf_Field5 {
2890 this := &SampleOneOf_Field5{}
2891 this.Field5 = uint32(r.Uint32())
2892 return this
2893 }
2894 func NewPopulatedSampleOneOf_Field6(r randyOne, easy bool) *SampleOneOf_Field6 {
2895 this := &SampleOneOf_Field6{}
2896 this.Field6 = uint64(uint64(r.Uint32()))
2897 return this
2898 }
2899 func NewPopulatedSampleOneOf_Field7(r randyOne, easy bool) *SampleOneOf_Field7 {
2900 this := &SampleOneOf_Field7{}
2901 this.Field7 = int32(r.Int31())
2902 if r.Intn(2) == 0 {
2903 this.Field7 *= -1
2904 }
2905 return this
2906 }
2907 func NewPopulatedSampleOneOf_Field8(r randyOne, easy bool) *SampleOneOf_Field8 {
2908 this := &SampleOneOf_Field8{}
2909 this.Field8 = int64(r.Int63())
2910 if r.Intn(2) == 0 {
2911 this.Field8 *= -1
2912 }
2913 return this
2914 }
2915 func NewPopulatedSampleOneOf_Field9(r randyOne, easy bool) *SampleOneOf_Field9 {
2916 this := &SampleOneOf_Field9{}
2917 this.Field9 = uint32(r.Uint32())
2918 return this
2919 }
2920 func NewPopulatedSampleOneOf_Field10(r randyOne, easy bool) *SampleOneOf_Field10 {
2921 this := &SampleOneOf_Field10{}
2922 this.Field10 = int32(r.Int31())
2923 if r.Intn(2) == 0 {
2924 this.Field10 *= -1
2925 }
2926 return this
2927 }
2928 func NewPopulatedSampleOneOf_Field11(r randyOne, easy bool) *SampleOneOf_Field11 {
2929 this := &SampleOneOf_Field11{}
2930 this.Field11 = uint64(uint64(r.Uint32()))
2931 return this
2932 }
2933 func NewPopulatedSampleOneOf_Field12(r randyOne, easy bool) *SampleOneOf_Field12 {
2934 this := &SampleOneOf_Field12{}
2935 this.Field12 = int64(r.Int63())
2936 if r.Intn(2) == 0 {
2937 this.Field12 *= -1
2938 }
2939 return this
2940 }
2941 func NewPopulatedSampleOneOf_Field13(r randyOne, easy bool) *SampleOneOf_Field13 {
2942 this := &SampleOneOf_Field13{}
2943 this.Field13 = bool(bool(r.Intn(2) == 0))
2944 return this
2945 }
2946 func NewPopulatedSampleOneOf_Field14(r randyOne, easy bool) *SampleOneOf_Field14 {
2947 this := &SampleOneOf_Field14{}
2948 this.Field14 = string(randStringOne(r))
2949 return this
2950 }
2951 func NewPopulatedSampleOneOf_Field15(r randyOne, easy bool) *SampleOneOf_Field15 {
2952 this := &SampleOneOf_Field15{}
2953 v1 := r.Intn(100)
2954 this.Field15 = make([]byte, v1)
2955 for i := 0; i < v1; i++ {
2956 this.Field15[i] = byte(r.Intn(256))
2957 }
2958 return this
2959 }
2960 func NewPopulatedSampleOneOf_SubMessage(r randyOne, easy bool) *SampleOneOf_SubMessage {
2961 this := &SampleOneOf_SubMessage{}
2962 this.SubMessage = NewPopulatedSubby(r, easy)
2963 return this
2964 }
2965
2966 type randyOne interface {
2967 Float32() float32
2968 Float64() float64
2969 Int63() int64
2970 Int31() int32
2971 Uint32() uint32
2972 Intn(n int) int
2973 }
2974
2975 func randUTF8RuneOne(r randyOne) rune {
2976 ru := r.Intn(62)
2977 if ru < 10 {
2978 return rune(ru + 48)
2979 } else if ru < 36 {
2980 return rune(ru + 55)
2981 }
2982 return rune(ru + 61)
2983 }
2984 func randStringOne(r randyOne) string {
2985 v2 := r.Intn(100)
2986 tmps := make([]rune, v2)
2987 for i := 0; i < v2; i++ {
2988 tmps[i] = randUTF8RuneOne(r)
2989 }
2990 return string(tmps)
2991 }
2992 func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) {
2993 l := r.Intn(5)
2994 for i := 0; i < l; i++ {
2995 wire := r.Intn(4)
2996 if wire == 3 {
2997 wire = 5
2998 }
2999 fieldNumber := maxFieldNumber + r.Intn(100)
3000 dAtA = randFieldOne(dAtA, r, fieldNumber, wire)
3001 }
3002 return dAtA
3003 }
3004 func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte {
3005 key := uint32(fieldNumber)<<3 | uint32(wire)
3006 switch wire {
3007 case 0:
3008 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
3009 v3 := r.Int63()
3010 if r.Intn(2) == 0 {
3011 v3 *= -1
3012 }
3013 dAtA = encodeVarintPopulateOne(dAtA, uint64(v3))
3014 case 1:
3015 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
3016 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)))
3017 case 2:
3018 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
3019 ll := r.Intn(100)
3020 dAtA = encodeVarintPopulateOne(dAtA, uint64(ll))
3021 for j := 0; j < ll; j++ {
3022 dAtA = append(dAtA, byte(r.Intn(256)))
3023 }
3024 default:
3025 dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
3026 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
3027 }
3028 return dAtA
3029 }
3030 func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte {
3031 for v >= 1<<7 {
3032 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
3033 v >>= 7
3034 }
3035 dAtA = append(dAtA, uint8(v))
3036 return dAtA
3037 }
3038 func (m *Subby) Size() (n int) {
3039 if m == nil {
3040 return 0
3041 }
3042 var l int
3043 _ = l
3044 l = len(m.Sub)
3045 if l > 0 {
3046 n += 1 + l + sovOne(uint64(l))
3047 }
3048 if m.XXX_unrecognized != nil {
3049 n += len(m.XXX_unrecognized)
3050 }
3051 return n
3052 }
3053
3054 func (m *SampleOneOf) Size() (n int) {
3055 if m == nil {
3056 return 0
3057 }
3058 var l int
3059 _ = l
3060 if m.TestOneof != nil {
3061 n += m.TestOneof.Size()
3062 }
3063 if m.XXX_unrecognized != nil {
3064 n += len(m.XXX_unrecognized)
3065 }
3066 return n
3067 }
3068
3069 func (m *SampleOneOf_Field1) Size() (n int) {
3070 if m == nil {
3071 return 0
3072 }
3073 var l int
3074 _ = l
3075 n += 9
3076 return n
3077 }
3078 func (m *SampleOneOf_Field2) Size() (n int) {
3079 if m == nil {
3080 return 0
3081 }
3082 var l int
3083 _ = l
3084 n += 5
3085 return n
3086 }
3087 func (m *SampleOneOf_Field3) Size() (n int) {
3088 if m == nil {
3089 return 0
3090 }
3091 var l int
3092 _ = l
3093 n += 1 + sovOne(uint64(m.Field3))
3094 return n
3095 }
3096 func (m *SampleOneOf_Field4) Size() (n int) {
3097 if m == nil {
3098 return 0
3099 }
3100 var l int
3101 _ = l
3102 n += 1 + sovOne(uint64(m.Field4))
3103 return n
3104 }
3105 func (m *SampleOneOf_Field5) Size() (n int) {
3106 if m == nil {
3107 return 0
3108 }
3109 var l int
3110 _ = l
3111 n += 1 + sovOne(uint64(m.Field5))
3112 return n
3113 }
3114 func (m *SampleOneOf_Field6) Size() (n int) {
3115 if m == nil {
3116 return 0
3117 }
3118 var l int
3119 _ = l
3120 n += 1 + sovOne(uint64(m.Field6))
3121 return n
3122 }
3123 func (m *SampleOneOf_Field7) Size() (n int) {
3124 if m == nil {
3125 return 0
3126 }
3127 var l int
3128 _ = l
3129 n += 1 + sozOne(uint64(m.Field7))
3130 return n
3131 }
3132 func (m *SampleOneOf_Field8) Size() (n int) {
3133 if m == nil {
3134 return 0
3135 }
3136 var l int
3137 _ = l
3138 n += 1 + sozOne(uint64(m.Field8))
3139 return n
3140 }
3141 func (m *SampleOneOf_Field9) Size() (n int) {
3142 if m == nil {
3143 return 0
3144 }
3145 var l int
3146 _ = l
3147 n += 5
3148 return n
3149 }
3150 func (m *SampleOneOf_Field10) Size() (n int) {
3151 if m == nil {
3152 return 0
3153 }
3154 var l int
3155 _ = l
3156 n += 5
3157 return n
3158 }
3159 func (m *SampleOneOf_Field11) Size() (n int) {
3160 if m == nil {
3161 return 0
3162 }
3163 var l int
3164 _ = l
3165 n += 9
3166 return n
3167 }
3168 func (m *SampleOneOf_Field12) Size() (n int) {
3169 if m == nil {
3170 return 0
3171 }
3172 var l int
3173 _ = l
3174 n += 9
3175 return n
3176 }
3177 func (m *SampleOneOf_Field13) Size() (n int) {
3178 if m == nil {
3179 return 0
3180 }
3181 var l int
3182 _ = l
3183 n += 2
3184 return n
3185 }
3186 func (m *SampleOneOf_Field14) Size() (n int) {
3187 if m == nil {
3188 return 0
3189 }
3190 var l int
3191 _ = l
3192 l = len(m.Field14)
3193 n += 1 + l + sovOne(uint64(l))
3194 return n
3195 }
3196 func (m *SampleOneOf_Field15) Size() (n int) {
3197 if m == nil {
3198 return 0
3199 }
3200 var l int
3201 _ = l
3202 if m.Field15 != nil {
3203 l = len(m.Field15)
3204 n += 1 + l + sovOne(uint64(l))
3205 }
3206 return n
3207 }
3208 func (m *SampleOneOf_SubMessage) Size() (n int) {
3209 if m == nil {
3210 return 0
3211 }
3212 var l int
3213 _ = l
3214 if m.SubMessage != nil {
3215 l = m.SubMessage.Size()
3216 n += 2 + l + sovOne(uint64(l))
3217 }
3218 return n
3219 }
3220
3221 func sovOne(x uint64) (n int) {
3222 return (math_bits.Len64(x|1) + 6) / 7
3223 }
3224 func sozOne(x uint64) (n int) {
3225 return sovOne(uint64((x << 1) ^ uint64((int64(x) >> 63))))
3226 }
3227 func (this *Subby) String() string {
3228 if this == nil {
3229 return "nil"
3230 }
3231 s := strings.Join([]string{`&Subby{`,
3232 `Sub:` + fmt.Sprintf("%v", this.Sub) + `,`,
3233 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3234 `}`,
3235 }, "")
3236 return s
3237 }
3238 func (this *SampleOneOf) String() string {
3239 if this == nil {
3240 return "nil"
3241 }
3242 s := strings.Join([]string{`&SampleOneOf{`,
3243 `TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`,
3244 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3245 `}`,
3246 }, "")
3247 return s
3248 }
3249 func (this *SampleOneOf_Field1) String() string {
3250 if this == nil {
3251 return "nil"
3252 }
3253 s := strings.Join([]string{`&SampleOneOf_Field1{`,
3254 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`,
3255 `}`,
3256 }, "")
3257 return s
3258 }
3259 func (this *SampleOneOf_Field2) String() string {
3260 if this == nil {
3261 return "nil"
3262 }
3263 s := strings.Join([]string{`&SampleOneOf_Field2{`,
3264 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`,
3265 `}`,
3266 }, "")
3267 return s
3268 }
3269 func (this *SampleOneOf_Field3) String() string {
3270 if this == nil {
3271 return "nil"
3272 }
3273 s := strings.Join([]string{`&SampleOneOf_Field3{`,
3274 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`,
3275 `}`,
3276 }, "")
3277 return s
3278 }
3279 func (this *SampleOneOf_Field4) String() string {
3280 if this == nil {
3281 return "nil"
3282 }
3283 s := strings.Join([]string{`&SampleOneOf_Field4{`,
3284 `Field4:` + fmt.Sprintf("%v", this.Field4) + `,`,
3285 `}`,
3286 }, "")
3287 return s
3288 }
3289 func (this *SampleOneOf_Field5) String() string {
3290 if this == nil {
3291 return "nil"
3292 }
3293 s := strings.Join([]string{`&SampleOneOf_Field5{`,
3294 `Field5:` + fmt.Sprintf("%v", this.Field5) + `,`,
3295 `}`,
3296 }, "")
3297 return s
3298 }
3299 func (this *SampleOneOf_Field6) String() string {
3300 if this == nil {
3301 return "nil"
3302 }
3303 s := strings.Join([]string{`&SampleOneOf_Field6{`,
3304 `Field6:` + fmt.Sprintf("%v", this.Field6) + `,`,
3305 `}`,
3306 }, "")
3307 return s
3308 }
3309 func (this *SampleOneOf_Field7) String() string {
3310 if this == nil {
3311 return "nil"
3312 }
3313 s := strings.Join([]string{`&SampleOneOf_Field7{`,
3314 `Field7:` + fmt.Sprintf("%v", this.Field7) + `,`,
3315 `}`,
3316 }, "")
3317 return s
3318 }
3319 func (this *SampleOneOf_Field8) String() string {
3320 if this == nil {
3321 return "nil"
3322 }
3323 s := strings.Join([]string{`&SampleOneOf_Field8{`,
3324 `Field8:` + fmt.Sprintf("%v", this.Field8) + `,`,
3325 `}`,
3326 }, "")
3327 return s
3328 }
3329 func (this *SampleOneOf_Field9) String() string {
3330 if this == nil {
3331 return "nil"
3332 }
3333 s := strings.Join([]string{`&SampleOneOf_Field9{`,
3334 `Field9:` + fmt.Sprintf("%v", this.Field9) + `,`,
3335 `}`,
3336 }, "")
3337 return s
3338 }
3339 func (this *SampleOneOf_Field10) String() string {
3340 if this == nil {
3341 return "nil"
3342 }
3343 s := strings.Join([]string{`&SampleOneOf_Field10{`,
3344 `Field10:` + fmt.Sprintf("%v", this.Field10) + `,`,
3345 `}`,
3346 }, "")
3347 return s
3348 }
3349 func (this *SampleOneOf_Field11) String() string {
3350 if this == nil {
3351 return "nil"
3352 }
3353 s := strings.Join([]string{`&SampleOneOf_Field11{`,
3354 `Field11:` + fmt.Sprintf("%v", this.Field11) + `,`,
3355 `}`,
3356 }, "")
3357 return s
3358 }
3359 func (this *SampleOneOf_Field12) String() string {
3360 if this == nil {
3361 return "nil"
3362 }
3363 s := strings.Join([]string{`&SampleOneOf_Field12{`,
3364 `Field12:` + fmt.Sprintf("%v", this.Field12) + `,`,
3365 `}`,
3366 }, "")
3367 return s
3368 }
3369 func (this *SampleOneOf_Field13) String() string {
3370 if this == nil {
3371 return "nil"
3372 }
3373 s := strings.Join([]string{`&SampleOneOf_Field13{`,
3374 `Field13:` + fmt.Sprintf("%v", this.Field13) + `,`,
3375 `}`,
3376 }, "")
3377 return s
3378 }
3379 func (this *SampleOneOf_Field14) String() string {
3380 if this == nil {
3381 return "nil"
3382 }
3383 s := strings.Join([]string{`&SampleOneOf_Field14{`,
3384 `Field14:` + fmt.Sprintf("%v", this.Field14) + `,`,
3385 `}`,
3386 }, "")
3387 return s
3388 }
3389 func (this *SampleOneOf_Field15) String() string {
3390 if this == nil {
3391 return "nil"
3392 }
3393 s := strings.Join([]string{`&SampleOneOf_Field15{`,
3394 `Field15:` + fmt.Sprintf("%v", this.Field15) + `,`,
3395 `}`,
3396 }, "")
3397 return s
3398 }
3399 func (this *SampleOneOf_SubMessage) String() string {
3400 if this == nil {
3401 return "nil"
3402 }
3403 s := strings.Join([]string{`&SampleOneOf_SubMessage{`,
3404 `SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`,
3405 `}`,
3406 }, "")
3407 return s
3408 }
3409 func valueToStringOne(v interface{}) string {
3410 rv := reflect.ValueOf(v)
3411 if rv.IsNil() {
3412 return "nil"
3413 }
3414 pv := reflect.Indirect(rv).Interface()
3415 return fmt.Sprintf("*%v", pv)
3416 }
3417 func (m *Subby) Unmarshal(dAtA []byte) error {
3418 l := len(dAtA)
3419 iNdEx := 0
3420 for iNdEx < l {
3421 preIndex := iNdEx
3422 var wire uint64
3423 for shift := uint(0); ; shift += 7 {
3424 if shift >= 64 {
3425 return ErrIntOverflowOne
3426 }
3427 if iNdEx >= l {
3428 return io.ErrUnexpectedEOF
3429 }
3430 b := dAtA[iNdEx]
3431 iNdEx++
3432 wire |= uint64(b&0x7F) << shift
3433 if b < 0x80 {
3434 break
3435 }
3436 }
3437 fieldNum := int32(wire >> 3)
3438 wireType := int(wire & 0x7)
3439 if wireType == 4 {
3440 return fmt.Errorf("proto: Subby: wiretype end group for non-group")
3441 }
3442 if fieldNum <= 0 {
3443 return fmt.Errorf("proto: Subby: illegal tag %d (wire type %d)", fieldNum, wire)
3444 }
3445 switch fieldNum {
3446 case 1:
3447 if wireType != 2 {
3448 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType)
3449 }
3450 var stringLen uint64
3451 for shift := uint(0); ; shift += 7 {
3452 if shift >= 64 {
3453 return ErrIntOverflowOne
3454 }
3455 if iNdEx >= l {
3456 return io.ErrUnexpectedEOF
3457 }
3458 b := dAtA[iNdEx]
3459 iNdEx++
3460 stringLen |= uint64(b&0x7F) << shift
3461 if b < 0x80 {
3462 break
3463 }
3464 }
3465 intStringLen := int(stringLen)
3466 if intStringLen < 0 {
3467 return ErrInvalidLengthOne
3468 }
3469 postIndex := iNdEx + intStringLen
3470 if postIndex < 0 {
3471 return ErrInvalidLengthOne
3472 }
3473 if postIndex > l {
3474 return io.ErrUnexpectedEOF
3475 }
3476 m.Sub = string(dAtA[iNdEx:postIndex])
3477 iNdEx = postIndex
3478 default:
3479 iNdEx = preIndex
3480 skippy, err := skipOne(dAtA[iNdEx:])
3481 if err != nil {
3482 return err
3483 }
3484 if (skippy < 0) || (iNdEx+skippy) < 0 {
3485 return ErrInvalidLengthOne
3486 }
3487 if (iNdEx + skippy) > l {
3488 return io.ErrUnexpectedEOF
3489 }
3490 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
3491 iNdEx += skippy
3492 }
3493 }
3494
3495 if iNdEx > l {
3496 return io.ErrUnexpectedEOF
3497 }
3498 return nil
3499 }
3500 func (m *SampleOneOf) Unmarshal(dAtA []byte) error {
3501 l := len(dAtA)
3502 iNdEx := 0
3503 for iNdEx < l {
3504 preIndex := iNdEx
3505 var wire uint64
3506 for shift := uint(0); ; shift += 7 {
3507 if shift >= 64 {
3508 return ErrIntOverflowOne
3509 }
3510 if iNdEx >= l {
3511 return io.ErrUnexpectedEOF
3512 }
3513 b := dAtA[iNdEx]
3514 iNdEx++
3515 wire |= uint64(b&0x7F) << shift
3516 if b < 0x80 {
3517 break
3518 }
3519 }
3520 fieldNum := int32(wire >> 3)
3521 wireType := int(wire & 0x7)
3522 if wireType == 4 {
3523 return fmt.Errorf("proto: SampleOneOf: wiretype end group for non-group")
3524 }
3525 if fieldNum <= 0 {
3526 return fmt.Errorf("proto: SampleOneOf: illegal tag %d (wire type %d)", fieldNum, wire)
3527 }
3528 switch fieldNum {
3529 case 1:
3530 if wireType != 1 {
3531 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType)
3532 }
3533 var v uint64
3534 if (iNdEx + 8) > l {
3535 return io.ErrUnexpectedEOF
3536 }
3537 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
3538 iNdEx += 8
3539 m.TestOneof = &SampleOneOf_Field1{float64(math.Float64frombits(v))}
3540 case 2:
3541 if wireType != 5 {
3542 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType)
3543 }
3544 var v uint32
3545 if (iNdEx + 4) > l {
3546 return io.ErrUnexpectedEOF
3547 }
3548 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
3549 iNdEx += 4
3550 m.TestOneof = &SampleOneOf_Field2{float32(math.Float32frombits(v))}
3551 case 3:
3552 if wireType != 0 {
3553 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType)
3554 }
3555 var v int32
3556 for shift := uint(0); ; shift += 7 {
3557 if shift >= 64 {
3558 return ErrIntOverflowOne
3559 }
3560 if iNdEx >= l {
3561 return io.ErrUnexpectedEOF
3562 }
3563 b := dAtA[iNdEx]
3564 iNdEx++
3565 v |= int32(b&0x7F) << shift
3566 if b < 0x80 {
3567 break
3568 }
3569 }
3570 m.TestOneof = &SampleOneOf_Field3{v}
3571 case 4:
3572 if wireType != 0 {
3573 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType)
3574 }
3575 var v int64
3576 for shift := uint(0); ; shift += 7 {
3577 if shift >= 64 {
3578 return ErrIntOverflowOne
3579 }
3580 if iNdEx >= l {
3581 return io.ErrUnexpectedEOF
3582 }
3583 b := dAtA[iNdEx]
3584 iNdEx++
3585 v |= int64(b&0x7F) << shift
3586 if b < 0x80 {
3587 break
3588 }
3589 }
3590 m.TestOneof = &SampleOneOf_Field4{v}
3591 case 5:
3592 if wireType != 0 {
3593 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType)
3594 }
3595 var v uint32
3596 for shift := uint(0); ; shift += 7 {
3597 if shift >= 64 {
3598 return ErrIntOverflowOne
3599 }
3600 if iNdEx >= l {
3601 return io.ErrUnexpectedEOF
3602 }
3603 b := dAtA[iNdEx]
3604 iNdEx++
3605 v |= uint32(b&0x7F) << shift
3606 if b < 0x80 {
3607 break
3608 }
3609 }
3610 m.TestOneof = &SampleOneOf_Field5{v}
3611 case 6:
3612 if wireType != 0 {
3613 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType)
3614 }
3615 var v uint64
3616 for shift := uint(0); ; shift += 7 {
3617 if shift >= 64 {
3618 return ErrIntOverflowOne
3619 }
3620 if iNdEx >= l {
3621 return io.ErrUnexpectedEOF
3622 }
3623 b := dAtA[iNdEx]
3624 iNdEx++
3625 v |= uint64(b&0x7F) << shift
3626 if b < 0x80 {
3627 break
3628 }
3629 }
3630 m.TestOneof = &SampleOneOf_Field6{v}
3631 case 7:
3632 if wireType != 0 {
3633 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType)
3634 }
3635 var v int32
3636 for shift := uint(0); ; shift += 7 {
3637 if shift >= 64 {
3638 return ErrIntOverflowOne
3639 }
3640 if iNdEx >= l {
3641 return io.ErrUnexpectedEOF
3642 }
3643 b := dAtA[iNdEx]
3644 iNdEx++
3645 v |= int32(b&0x7F) << shift
3646 if b < 0x80 {
3647 break
3648 }
3649 }
3650 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31))
3651 m.TestOneof = &SampleOneOf_Field7{v}
3652 case 8:
3653 if wireType != 0 {
3654 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType)
3655 }
3656 var v uint64
3657 for shift := uint(0); ; shift += 7 {
3658 if shift >= 64 {
3659 return ErrIntOverflowOne
3660 }
3661 if iNdEx >= l {
3662 return io.ErrUnexpectedEOF
3663 }
3664 b := dAtA[iNdEx]
3665 iNdEx++
3666 v |= uint64(b&0x7F) << shift
3667 if b < 0x80 {
3668 break
3669 }
3670 }
3671 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63)
3672 m.TestOneof = &SampleOneOf_Field8{int64(v)}
3673 case 9:
3674 if wireType != 5 {
3675 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType)
3676 }
3677 var v uint32
3678 if (iNdEx + 4) > l {
3679 return io.ErrUnexpectedEOF
3680 }
3681 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
3682 iNdEx += 4
3683 m.TestOneof = &SampleOneOf_Field9{v}
3684 case 10:
3685 if wireType != 5 {
3686 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType)
3687 }
3688 var v int32
3689 if (iNdEx + 4) > l {
3690 return io.ErrUnexpectedEOF
3691 }
3692 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
3693 iNdEx += 4
3694 m.TestOneof = &SampleOneOf_Field10{v}
3695 case 11:
3696 if wireType != 1 {
3697 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType)
3698 }
3699 var v uint64
3700 if (iNdEx + 8) > l {
3701 return io.ErrUnexpectedEOF
3702 }
3703 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
3704 iNdEx += 8
3705 m.TestOneof = &SampleOneOf_Field11{v}
3706 case 12:
3707 if wireType != 1 {
3708 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType)
3709 }
3710 var v int64
3711 if (iNdEx + 8) > l {
3712 return io.ErrUnexpectedEOF
3713 }
3714 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
3715 iNdEx += 8
3716 m.TestOneof = &SampleOneOf_Field12{v}
3717 case 13:
3718 if wireType != 0 {
3719 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType)
3720 }
3721 var v int
3722 for shift := uint(0); ; shift += 7 {
3723 if shift >= 64 {
3724 return ErrIntOverflowOne
3725 }
3726 if iNdEx >= l {
3727 return io.ErrUnexpectedEOF
3728 }
3729 b := dAtA[iNdEx]
3730 iNdEx++
3731 v |= int(b&0x7F) << shift
3732 if b < 0x80 {
3733 break
3734 }
3735 }
3736 b := bool(v != 0)
3737 m.TestOneof = &SampleOneOf_Field13{b}
3738 case 14:
3739 if wireType != 2 {
3740 return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType)
3741 }
3742 var stringLen uint64
3743 for shift := uint(0); ; shift += 7 {
3744 if shift >= 64 {
3745 return ErrIntOverflowOne
3746 }
3747 if iNdEx >= l {
3748 return io.ErrUnexpectedEOF
3749 }
3750 b := dAtA[iNdEx]
3751 iNdEx++
3752 stringLen |= uint64(b&0x7F) << shift
3753 if b < 0x80 {
3754 break
3755 }
3756 }
3757 intStringLen := int(stringLen)
3758 if intStringLen < 0 {
3759 return ErrInvalidLengthOne
3760 }
3761 postIndex := iNdEx + intStringLen
3762 if postIndex < 0 {
3763 return ErrInvalidLengthOne
3764 }
3765 if postIndex > l {
3766 return io.ErrUnexpectedEOF
3767 }
3768 m.TestOneof = &SampleOneOf_Field14{string(dAtA[iNdEx:postIndex])}
3769 iNdEx = postIndex
3770 case 15:
3771 if wireType != 2 {
3772 return fmt.Errorf("proto: wrong wireType = %d for field Field15", wireType)
3773 }
3774 var byteLen int
3775 for shift := uint(0); ; shift += 7 {
3776 if shift >= 64 {
3777 return ErrIntOverflowOne
3778 }
3779 if iNdEx >= l {
3780 return io.ErrUnexpectedEOF
3781 }
3782 b := dAtA[iNdEx]
3783 iNdEx++
3784 byteLen |= int(b&0x7F) << shift
3785 if b < 0x80 {
3786 break
3787 }
3788 }
3789 if byteLen < 0 {
3790 return ErrInvalidLengthOne
3791 }
3792 postIndex := iNdEx + byteLen
3793 if postIndex < 0 {
3794 return ErrInvalidLengthOne
3795 }
3796 if postIndex > l {
3797 return io.ErrUnexpectedEOF
3798 }
3799 v := make([]byte, postIndex-iNdEx)
3800 copy(v, dAtA[iNdEx:postIndex])
3801 m.TestOneof = &SampleOneOf_Field15{v}
3802 iNdEx = postIndex
3803 case 16:
3804 if wireType != 2 {
3805 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage", wireType)
3806 }
3807 var msglen int
3808 for shift := uint(0); ; shift += 7 {
3809 if shift >= 64 {
3810 return ErrIntOverflowOne
3811 }
3812 if iNdEx >= l {
3813 return io.ErrUnexpectedEOF
3814 }
3815 b := dAtA[iNdEx]
3816 iNdEx++
3817 msglen |= int(b&0x7F) << shift
3818 if b < 0x80 {
3819 break
3820 }
3821 }
3822 if msglen < 0 {
3823 return ErrInvalidLengthOne
3824 }
3825 postIndex := iNdEx + msglen
3826 if postIndex < 0 {
3827 return ErrInvalidLengthOne
3828 }
3829 if postIndex > l {
3830 return io.ErrUnexpectedEOF
3831 }
3832 v := &Subby{}
3833 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3834 return err
3835 }
3836 m.TestOneof = &SampleOneOf_SubMessage{v}
3837 iNdEx = postIndex
3838 default:
3839 iNdEx = preIndex
3840 skippy, err := skipOne(dAtA[iNdEx:])
3841 if err != nil {
3842 return err
3843 }
3844 if (skippy < 0) || (iNdEx+skippy) < 0 {
3845 return ErrInvalidLengthOne
3846 }
3847 if (iNdEx + skippy) > l {
3848 return io.ErrUnexpectedEOF
3849 }
3850 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
3851 iNdEx += skippy
3852 }
3853 }
3854
3855 if iNdEx > l {
3856 return io.ErrUnexpectedEOF
3857 }
3858 return nil
3859 }
3860 func skipOne(dAtA []byte) (n int, err error) {
3861 l := len(dAtA)
3862 iNdEx := 0
3863 depth := 0
3864 for iNdEx < l {
3865 var wire uint64
3866 for shift := uint(0); ; shift += 7 {
3867 if shift >= 64 {
3868 return 0, ErrIntOverflowOne
3869 }
3870 if iNdEx >= l {
3871 return 0, io.ErrUnexpectedEOF
3872 }
3873 b := dAtA[iNdEx]
3874 iNdEx++
3875 wire |= (uint64(b) & 0x7F) << shift
3876 if b < 0x80 {
3877 break
3878 }
3879 }
3880 wireType := int(wire & 0x7)
3881 switch wireType {
3882 case 0:
3883 for shift := uint(0); ; shift += 7 {
3884 if shift >= 64 {
3885 return 0, ErrIntOverflowOne
3886 }
3887 if iNdEx >= l {
3888 return 0, io.ErrUnexpectedEOF
3889 }
3890 iNdEx++
3891 if dAtA[iNdEx-1] < 0x80 {
3892 break
3893 }
3894 }
3895 case 1:
3896 iNdEx += 8
3897 case 2:
3898 var length int
3899 for shift := uint(0); ; shift += 7 {
3900 if shift >= 64 {
3901 return 0, ErrIntOverflowOne
3902 }
3903 if iNdEx >= l {
3904 return 0, io.ErrUnexpectedEOF
3905 }
3906 b := dAtA[iNdEx]
3907 iNdEx++
3908 length |= (int(b) & 0x7F) << shift
3909 if b < 0x80 {
3910 break
3911 }
3912 }
3913 if length < 0 {
3914 return 0, ErrInvalidLengthOne
3915 }
3916 iNdEx += length
3917 case 3:
3918 depth++
3919 case 4:
3920 if depth == 0 {
3921 return 0, ErrUnexpectedEndOfGroupOne
3922 }
3923 depth--
3924 case 5:
3925 iNdEx += 4
3926 default:
3927 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
3928 }
3929 if iNdEx < 0 {
3930 return 0, ErrInvalidLengthOne
3931 }
3932 if depth == 0 {
3933 return iNdEx, nil
3934 }
3935 }
3936 return 0, io.ErrUnexpectedEOF
3937 }
3938
3939 var (
3940 ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling")
3941 ErrIntOverflowOne = fmt.Errorf("proto: integer overflow")
3942 ErrUnexpectedEndOfGroupOne = fmt.Errorf("proto: unexpected end of group")
3943 )
3944
View as plain text