// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: combos/marshaler/one.proto /* Package one is a generated protocol buffer package. It is generated from these files: combos/marshaler/one.proto It has these top-level messages: Subby AllTypesOneOf TwoOneofs CustomOneof */ package one import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" import _ "github.com/gogo/protobuf/gogoproto" import github_com_gogo_protobuf_test_custom "github.com/gogo/protobuf/test/custom" import github_com_gogo_protobuf_test_casttype "github.com/gogo/protobuf/test/casttype" import descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" import gzip "compress/gzip" import bytes "bytes" import ioutil "io/ioutil" import strings "strings" import reflect "reflect" import binary "encoding/binary" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package type Subby struct { Sub *string `protobuf:"bytes,1,opt,name=sub" json:"sub,omitempty"` XXX_unrecognized []byte `json:"-"` } func (m *Subby) Reset() { *m = Subby{} } func (*Subby) ProtoMessage() {} func (*Subby) Descriptor() ([]byte, []int) { return fileDescriptorOne, []int{0} } type AllTypesOneOf struct { // Types that are valid to be assigned to TestOneof: // *AllTypesOneOf_Field1 // *AllTypesOneOf_Field2 // *AllTypesOneOf_Field3 // *AllTypesOneOf_Field4 // *AllTypesOneOf_Field5 // *AllTypesOneOf_Field6 // *AllTypesOneOf_Field7 // *AllTypesOneOf_Field8 // *AllTypesOneOf_Field9 // *AllTypesOneOf_Field10 // *AllTypesOneOf_Field11 // *AllTypesOneOf_Field12 // *AllTypesOneOf_Field13 // *AllTypesOneOf_Field14 // *AllTypesOneOf_Field15 // *AllTypesOneOf_SubMessage TestOneof isAllTypesOneOf_TestOneof `protobuf_oneof:"test_oneof"` XXX_unrecognized []byte `json:"-"` } func (m *AllTypesOneOf) Reset() { *m = AllTypesOneOf{} } func (*AllTypesOneOf) ProtoMessage() {} func (*AllTypesOneOf) Descriptor() ([]byte, []int) { return fileDescriptorOne, []int{1} } type isAllTypesOneOf_TestOneof interface { isAllTypesOneOf_TestOneof() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int } type AllTypesOneOf_Field1 struct { Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof"` } type AllTypesOneOf_Field2 struct { Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof"` } type AllTypesOneOf_Field3 struct { Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof"` } type AllTypesOneOf_Field4 struct { Field4 int64 `protobuf:"varint,4,opt,name=Field4,oneof"` } type AllTypesOneOf_Field5 struct { Field5 uint32 `protobuf:"varint,5,opt,name=Field5,oneof"` } type AllTypesOneOf_Field6 struct { Field6 uint64 `protobuf:"varint,6,opt,name=Field6,oneof"` } type AllTypesOneOf_Field7 struct { Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,oneof"` } type AllTypesOneOf_Field8 struct { Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,oneof"` } type AllTypesOneOf_Field9 struct { Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,oneof"` } type AllTypesOneOf_Field10 struct { Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,oneof"` } type AllTypesOneOf_Field11 struct { Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,oneof"` } type AllTypesOneOf_Field12 struct { Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,oneof"` } type AllTypesOneOf_Field13 struct { Field13 bool `protobuf:"varint,13,opt,name=Field13,oneof"` } type AllTypesOneOf_Field14 struct { Field14 string `protobuf:"bytes,14,opt,name=Field14,oneof"` } type AllTypesOneOf_Field15 struct { Field15 []byte `protobuf:"bytes,15,opt,name=Field15,oneof"` } type AllTypesOneOf_SubMessage struct { SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof"` } func (*AllTypesOneOf_Field1) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field2) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field3) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field4) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field5) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field6) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field7) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field8) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field9) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field10) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field11) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field12) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field13) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field14) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_Field15) isAllTypesOneOf_TestOneof() {} func (*AllTypesOneOf_SubMessage) isAllTypesOneOf_TestOneof() {} func (m *AllTypesOneOf) GetTestOneof() isAllTypesOneOf_TestOneof { if m != nil { return m.TestOneof } return nil } func (m *AllTypesOneOf) GetField1() float64 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field1); ok { return x.Field1 } return 0 } func (m *AllTypesOneOf) GetField2() float32 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field2); ok { return x.Field2 } return 0 } func (m *AllTypesOneOf) GetField3() int32 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field3); ok { return x.Field3 } return 0 } func (m *AllTypesOneOf) GetField4() int64 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field4); ok { return x.Field4 } return 0 } func (m *AllTypesOneOf) GetField5() uint32 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field5); ok { return x.Field5 } return 0 } func (m *AllTypesOneOf) GetField6() uint64 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field6); ok { return x.Field6 } return 0 } func (m *AllTypesOneOf) GetField7() int32 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field7); ok { return x.Field7 } return 0 } func (m *AllTypesOneOf) GetField8() int64 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field8); ok { return x.Field8 } return 0 } func (m *AllTypesOneOf) GetField9() uint32 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field9); ok { return x.Field9 } return 0 } func (m *AllTypesOneOf) GetField10() int32 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field10); ok { return x.Field10 } return 0 } func (m *AllTypesOneOf) GetField11() uint64 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field11); ok { return x.Field11 } return 0 } func (m *AllTypesOneOf) GetField12() int64 { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field12); ok { return x.Field12 } return 0 } func (m *AllTypesOneOf) GetField13() bool { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field13); ok { return x.Field13 } return false } func (m *AllTypesOneOf) GetField14() string { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field14); ok { return x.Field14 } return "" } func (m *AllTypesOneOf) GetField15() []byte { if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field15); ok { return x.Field15 } return nil } func (m *AllTypesOneOf) GetSubMessage() *Subby { if x, ok := m.GetTestOneof().(*AllTypesOneOf_SubMessage); ok { return x.SubMessage } return nil } // XXX_OneofFuncs is for the internal use of the proto package. func (*AllTypesOneOf) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _AllTypesOneOf_OneofMarshaler, _AllTypesOneOf_OneofUnmarshaler, _AllTypesOneOf_OneofSizer, []interface{}{ (*AllTypesOneOf_Field1)(nil), (*AllTypesOneOf_Field2)(nil), (*AllTypesOneOf_Field3)(nil), (*AllTypesOneOf_Field4)(nil), (*AllTypesOneOf_Field5)(nil), (*AllTypesOneOf_Field6)(nil), (*AllTypesOneOf_Field7)(nil), (*AllTypesOneOf_Field8)(nil), (*AllTypesOneOf_Field9)(nil), (*AllTypesOneOf_Field10)(nil), (*AllTypesOneOf_Field11)(nil), (*AllTypesOneOf_Field12)(nil), (*AllTypesOneOf_Field13)(nil), (*AllTypesOneOf_Field14)(nil), (*AllTypesOneOf_Field15)(nil), (*AllTypesOneOf_SubMessage)(nil), } } func _AllTypesOneOf_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*AllTypesOneOf) // test_oneof switch x := m.TestOneof.(type) { case *AllTypesOneOf_Field1: _ = b.EncodeVarint(1<<3 | proto.WireFixed64) _ = b.EncodeFixed64(math.Float64bits(x.Field1)) case *AllTypesOneOf_Field2: _ = b.EncodeVarint(2<<3 | proto.WireFixed32) _ = b.EncodeFixed32(uint64(math.Float32bits(x.Field2))) case *AllTypesOneOf_Field3: _ = b.EncodeVarint(3<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.Field3)) case *AllTypesOneOf_Field4: _ = b.EncodeVarint(4<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.Field4)) case *AllTypesOneOf_Field5: _ = b.EncodeVarint(5<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.Field5)) case *AllTypesOneOf_Field6: _ = b.EncodeVarint(6<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.Field6)) case *AllTypesOneOf_Field7: _ = b.EncodeVarint(7<<3 | proto.WireVarint) _ = b.EncodeZigzag32(uint64(x.Field7)) case *AllTypesOneOf_Field8: _ = b.EncodeVarint(8<<3 | proto.WireVarint) _ = b.EncodeZigzag64(uint64(x.Field8)) case *AllTypesOneOf_Field9: _ = b.EncodeVarint(9<<3 | proto.WireFixed32) _ = b.EncodeFixed32(uint64(x.Field9)) case *AllTypesOneOf_Field10: _ = b.EncodeVarint(10<<3 | proto.WireFixed32) _ = b.EncodeFixed32(uint64(x.Field10)) case *AllTypesOneOf_Field11: _ = b.EncodeVarint(11<<3 | proto.WireFixed64) _ = b.EncodeFixed64(uint64(x.Field11)) case *AllTypesOneOf_Field12: _ = b.EncodeVarint(12<<3 | proto.WireFixed64) _ = b.EncodeFixed64(uint64(x.Field12)) case *AllTypesOneOf_Field13: t := uint64(0) if x.Field13 { t = 1 } _ = b.EncodeVarint(13<<3 | proto.WireVarint) _ = b.EncodeVarint(t) case *AllTypesOneOf_Field14: _ = b.EncodeVarint(14<<3 | proto.WireBytes) _ = b.EncodeStringBytes(x.Field14) case *AllTypesOneOf_Field15: _ = b.EncodeVarint(15<<3 | proto.WireBytes) _ = b.EncodeRawBytes(x.Field15) case *AllTypesOneOf_SubMessage: _ = b.EncodeVarint(16<<3 | proto.WireBytes) if err := b.EncodeMessage(x.SubMessage); err != nil { return err } case nil: default: return fmt.Errorf("AllTypesOneOf.TestOneof has unexpected type %T", x) } return nil } func _AllTypesOneOf_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*AllTypesOneOf) switch tag { case 1: // test_oneof.Field1 if wire != proto.WireFixed64 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed64() m.TestOneof = &AllTypesOneOf_Field1{math.Float64frombits(x)} return true, err case 2: // test_oneof.Field2 if wire != proto.WireFixed32 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed32() m.TestOneof = &AllTypesOneOf_Field2{math.Float32frombits(uint32(x))} return true, err case 3: // test_oneof.Field3 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.TestOneof = &AllTypesOneOf_Field3{int32(x)} return true, err case 4: // test_oneof.Field4 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.TestOneof = &AllTypesOneOf_Field4{int64(x)} return true, err case 5: // test_oneof.Field5 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.TestOneof = &AllTypesOneOf_Field5{uint32(x)} return true, err case 6: // test_oneof.Field6 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.TestOneof = &AllTypesOneOf_Field6{x} return true, err case 7: // test_oneof.Field7 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeZigzag32() m.TestOneof = &AllTypesOneOf_Field7{int32(x)} return true, err case 8: // test_oneof.Field8 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeZigzag64() m.TestOneof = &AllTypesOneOf_Field8{int64(x)} return true, err case 9: // test_oneof.Field9 if wire != proto.WireFixed32 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed32() m.TestOneof = &AllTypesOneOf_Field9{uint32(x)} return true, err case 10: // test_oneof.Field10 if wire != proto.WireFixed32 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed32() m.TestOneof = &AllTypesOneOf_Field10{int32(x)} return true, err case 11: // test_oneof.Field11 if wire != proto.WireFixed64 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed64() m.TestOneof = &AllTypesOneOf_Field11{x} return true, err case 12: // test_oneof.Field12 if wire != proto.WireFixed64 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed64() m.TestOneof = &AllTypesOneOf_Field12{int64(x)} return true, err case 13: // test_oneof.Field13 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.TestOneof = &AllTypesOneOf_Field13{x != 0} return true, err case 14: // test_oneof.Field14 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeStringBytes() m.TestOneof = &AllTypesOneOf_Field14{x} return true, err case 15: // test_oneof.Field15 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) m.TestOneof = &AllTypesOneOf_Field15{x} return true, err case 16: // test_oneof.sub_message if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(Subby) err := b.DecodeMessage(msg) m.TestOneof = &AllTypesOneOf_SubMessage{msg} return true, err default: return false, nil } } func _AllTypesOneOf_OneofSizer(msg proto.Message) (n int) { m := msg.(*AllTypesOneOf) // test_oneof switch x := m.TestOneof.(type) { case *AllTypesOneOf_Field1: n += proto.SizeVarint(1<<3 | proto.WireFixed64) n += 8 case *AllTypesOneOf_Field2: n += proto.SizeVarint(2<<3 | proto.WireFixed32) n += 4 case *AllTypesOneOf_Field3: n += proto.SizeVarint(3<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.Field3)) case *AllTypesOneOf_Field4: n += proto.SizeVarint(4<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.Field4)) case *AllTypesOneOf_Field5: n += proto.SizeVarint(5<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.Field5)) case *AllTypesOneOf_Field6: n += proto.SizeVarint(6<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.Field6)) case *AllTypesOneOf_Field7: n += proto.SizeVarint(7<<3 | proto.WireVarint) n += proto.SizeVarint(uint64((uint32(x.Field7) << 1) ^ uint32((int32(x.Field7) >> 31)))) case *AllTypesOneOf_Field8: n += proto.SizeVarint(8<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(uint64(x.Field8<<1) ^ uint64((int64(x.Field8) >> 63)))) case *AllTypesOneOf_Field9: n += proto.SizeVarint(9<<3 | proto.WireFixed32) n += 4 case *AllTypesOneOf_Field10: n += proto.SizeVarint(10<<3 | proto.WireFixed32) n += 4 case *AllTypesOneOf_Field11: n += proto.SizeVarint(11<<3 | proto.WireFixed64) n += 8 case *AllTypesOneOf_Field12: n += proto.SizeVarint(12<<3 | proto.WireFixed64) n += 8 case *AllTypesOneOf_Field13: n += proto.SizeVarint(13<<3 | proto.WireVarint) n += 1 case *AllTypesOneOf_Field14: n += proto.SizeVarint(14<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.Field14))) n += len(x.Field14) case *AllTypesOneOf_Field15: n += proto.SizeVarint(15<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.Field15))) n += len(x.Field15) case *AllTypesOneOf_SubMessage: s := proto.Size(x.SubMessage) n += proto.SizeVarint(16<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(s)) n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } type TwoOneofs struct { // Types that are valid to be assigned to One: // *TwoOneofs_Field1 // *TwoOneofs_Field2 // *TwoOneofs_Field3 One isTwoOneofs_One `protobuf_oneof:"one"` // Types that are valid to be assigned to Two: // *TwoOneofs_Field34 // *TwoOneofs_Field35 // *TwoOneofs_SubMessage2 Two isTwoOneofs_Two `protobuf_oneof:"two"` XXX_unrecognized []byte `json:"-"` } func (m *TwoOneofs) Reset() { *m = TwoOneofs{} } func (*TwoOneofs) ProtoMessage() {} func (*TwoOneofs) Descriptor() ([]byte, []int) { return fileDescriptorOne, []int{2} } type isTwoOneofs_One interface { isTwoOneofs_One() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int } type isTwoOneofs_Two interface { isTwoOneofs_Two() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int } type TwoOneofs_Field1 struct { Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof"` } type TwoOneofs_Field2 struct { Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof"` } type TwoOneofs_Field3 struct { Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof"` } type TwoOneofs_Field34 struct { Field34 string `protobuf:"bytes,34,opt,name=Field34,oneof"` } type TwoOneofs_Field35 struct { Field35 []byte `protobuf:"bytes,35,opt,name=Field35,oneof"` } type TwoOneofs_SubMessage2 struct { SubMessage2 *Subby `protobuf:"bytes,36,opt,name=sub_message2,json=subMessage2,oneof"` } func (*TwoOneofs_Field1) isTwoOneofs_One() {} func (*TwoOneofs_Field2) isTwoOneofs_One() {} func (*TwoOneofs_Field3) isTwoOneofs_One() {} func (*TwoOneofs_Field34) isTwoOneofs_Two() {} func (*TwoOneofs_Field35) isTwoOneofs_Two() {} func (*TwoOneofs_SubMessage2) isTwoOneofs_Two() {} func (m *TwoOneofs) GetOne() isTwoOneofs_One { if m != nil { return m.One } return nil } func (m *TwoOneofs) GetTwo() isTwoOneofs_Two { if m != nil { return m.Two } return nil } func (m *TwoOneofs) GetField1() float64 { if x, ok := m.GetOne().(*TwoOneofs_Field1); ok { return x.Field1 } return 0 } func (m *TwoOneofs) GetField2() float32 { if x, ok := m.GetOne().(*TwoOneofs_Field2); ok { return x.Field2 } return 0 } func (m *TwoOneofs) GetField3() int32 { if x, ok := m.GetOne().(*TwoOneofs_Field3); ok { return x.Field3 } return 0 } func (m *TwoOneofs) GetField34() string { if x, ok := m.GetTwo().(*TwoOneofs_Field34); ok { return x.Field34 } return "" } func (m *TwoOneofs) GetField35() []byte { if x, ok := m.GetTwo().(*TwoOneofs_Field35); ok { return x.Field35 } return nil } func (m *TwoOneofs) GetSubMessage2() *Subby { if x, ok := m.GetTwo().(*TwoOneofs_SubMessage2); ok { return x.SubMessage2 } return nil } // XXX_OneofFuncs is for the internal use of the proto package. func (*TwoOneofs) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _TwoOneofs_OneofMarshaler, _TwoOneofs_OneofUnmarshaler, _TwoOneofs_OneofSizer, []interface{}{ (*TwoOneofs_Field1)(nil), (*TwoOneofs_Field2)(nil), (*TwoOneofs_Field3)(nil), (*TwoOneofs_Field34)(nil), (*TwoOneofs_Field35)(nil), (*TwoOneofs_SubMessage2)(nil), } } func _TwoOneofs_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*TwoOneofs) // one switch x := m.One.(type) { case *TwoOneofs_Field1: _ = b.EncodeVarint(1<<3 | proto.WireFixed64) _ = b.EncodeFixed64(math.Float64bits(x.Field1)) case *TwoOneofs_Field2: _ = b.EncodeVarint(2<<3 | proto.WireFixed32) _ = b.EncodeFixed32(uint64(math.Float32bits(x.Field2))) case *TwoOneofs_Field3: _ = b.EncodeVarint(3<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.Field3)) case nil: default: return fmt.Errorf("TwoOneofs.One has unexpected type %T", x) } // two switch x := m.Two.(type) { case *TwoOneofs_Field34: _ = b.EncodeVarint(34<<3 | proto.WireBytes) _ = b.EncodeStringBytes(x.Field34) case *TwoOneofs_Field35: _ = b.EncodeVarint(35<<3 | proto.WireBytes) _ = b.EncodeRawBytes(x.Field35) case *TwoOneofs_SubMessage2: _ = b.EncodeVarint(36<<3 | proto.WireBytes) if err := b.EncodeMessage(x.SubMessage2); err != nil { return err } case nil: default: return fmt.Errorf("TwoOneofs.Two has unexpected type %T", x) } return nil } func _TwoOneofs_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*TwoOneofs) switch tag { case 1: // one.Field1 if wire != proto.WireFixed64 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed64() m.One = &TwoOneofs_Field1{math.Float64frombits(x)} return true, err case 2: // one.Field2 if wire != proto.WireFixed32 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed32() m.One = &TwoOneofs_Field2{math.Float32frombits(uint32(x))} return true, err case 3: // one.Field3 if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.One = &TwoOneofs_Field3{int32(x)} return true, err case 34: // two.Field34 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeStringBytes() m.Two = &TwoOneofs_Field34{x} return true, err case 35: // two.Field35 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) m.Two = &TwoOneofs_Field35{x} return true, err case 36: // two.sub_message2 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(Subby) err := b.DecodeMessage(msg) m.Two = &TwoOneofs_SubMessage2{msg} return true, err default: return false, nil } } func _TwoOneofs_OneofSizer(msg proto.Message) (n int) { m := msg.(*TwoOneofs) // one switch x := m.One.(type) { case *TwoOneofs_Field1: n += proto.SizeVarint(1<<3 | proto.WireFixed64) n += 8 case *TwoOneofs_Field2: n += proto.SizeVarint(2<<3 | proto.WireFixed32) n += 4 case *TwoOneofs_Field3: n += proto.SizeVarint(3<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.Field3)) case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } // two switch x := m.Two.(type) { case *TwoOneofs_Field34: n += proto.SizeVarint(34<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.Field34))) n += len(x.Field34) case *TwoOneofs_Field35: n += proto.SizeVarint(35<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.Field35))) n += len(x.Field35) case *TwoOneofs_SubMessage2: s := proto.Size(x.SubMessage2) n += proto.SizeVarint(36<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(s)) n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } type CustomOneof struct { // Types that are valid to be assigned to Custom: // *CustomOneof_Stringy // *CustomOneof_CustomType // *CustomOneof_CastType // *CustomOneof_MyCustomName Custom isCustomOneof_Custom `protobuf_oneof:"custom"` XXX_unrecognized []byte `json:"-"` } func (m *CustomOneof) Reset() { *m = CustomOneof{} } func (*CustomOneof) ProtoMessage() {} func (*CustomOneof) Descriptor() ([]byte, []int) { return fileDescriptorOne, []int{3} } type isCustomOneof_Custom interface { isCustomOneof_Custom() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int } type CustomOneof_Stringy struct { Stringy string `protobuf:"bytes,34,opt,name=Stringy,oneof"` } type CustomOneof_CustomType struct { CustomType github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,35,opt,name=CustomType,oneof,customtype=github.com/gogo/protobuf/test/custom.Uint128"` } type CustomOneof_CastType struct { CastType github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,36,opt,name=CastType,oneof,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type"` } type CustomOneof_MyCustomName struct { MyCustomName int64 `protobuf:"varint,37,opt,name=CustomName,oneof"` } func (*CustomOneof_Stringy) isCustomOneof_Custom() {} func (*CustomOneof_CustomType) isCustomOneof_Custom() {} func (*CustomOneof_CastType) isCustomOneof_Custom() {} func (*CustomOneof_MyCustomName) isCustomOneof_Custom() {} func (m *CustomOneof) GetCustom() isCustomOneof_Custom { if m != nil { return m.Custom } return nil } func (m *CustomOneof) GetStringy() string { if x, ok := m.GetCustom().(*CustomOneof_Stringy); ok { return x.Stringy } return "" } func (m *CustomOneof) GetCastType() github_com_gogo_protobuf_test_casttype.MyUint64Type { if x, ok := m.GetCustom().(*CustomOneof_CastType); ok { return x.CastType } return 0 } func (m *CustomOneof) GetMyCustomName() int64 { if x, ok := m.GetCustom().(*CustomOneof_MyCustomName); ok { return x.MyCustomName } return 0 } // XXX_OneofFuncs is for the internal use of the proto package. func (*CustomOneof) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _CustomOneof_OneofMarshaler, _CustomOneof_OneofUnmarshaler, _CustomOneof_OneofSizer, []interface{}{ (*CustomOneof_Stringy)(nil), (*CustomOneof_CustomType)(nil), (*CustomOneof_CastType)(nil), (*CustomOneof_MyCustomName)(nil), } } func _CustomOneof_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*CustomOneof) // custom switch x := m.Custom.(type) { case *CustomOneof_Stringy: _ = b.EncodeVarint(34<<3 | proto.WireBytes) _ = b.EncodeStringBytes(x.Stringy) case *CustomOneof_CustomType: _ = b.EncodeVarint(35<<3 | proto.WireBytes) dAtA, err := x.CustomType.Marshal() if err != nil { return err } _ = b.EncodeRawBytes(dAtA) case *CustomOneof_CastType: _ = b.EncodeVarint(36<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.CastType)) case *CustomOneof_MyCustomName: _ = b.EncodeVarint(37<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.MyCustomName)) case nil: default: return fmt.Errorf("CustomOneof.Custom has unexpected type %T", x) } return nil } func _CustomOneof_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*CustomOneof) switch tag { case 34: // custom.Stringy if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeStringBytes() m.Custom = &CustomOneof_Stringy{x} return true, err case 35: // custom.CustomType if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } var cc github_com_gogo_protobuf_test_custom.Uint128 c := &cc err = c.Unmarshal(x) m.Custom = &CustomOneof_CustomType{*c} return true, err case 36: // custom.CastType if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.Custom = &CustomOneof_CastType{github_com_gogo_protobuf_test_casttype.MyUint64Type(x)} return true, err case 37: // custom.CustomName if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.Custom = &CustomOneof_MyCustomName{int64(x)} return true, err default: return false, nil } } func _CustomOneof_OneofSizer(msg proto.Message) (n int) { m := msg.(*CustomOneof) // custom switch x := m.Custom.(type) { case *CustomOneof_Stringy: n += proto.SizeVarint(34<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.Stringy))) n += len(x.Stringy) case *CustomOneof_CustomType: n += proto.SizeVarint(35<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(x.CustomType.Size())) n += x.CustomType.Size() case *CustomOneof_CastType: n += proto.SizeVarint(36<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.CastType)) case *CustomOneof_MyCustomName: n += proto.SizeVarint(37<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.MyCustomName)) case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } func init() { proto.RegisterType((*Subby)(nil), "one.Subby") proto.RegisterType((*AllTypesOneOf)(nil), "one.AllTypesOneOf") proto.RegisterType((*TwoOneofs)(nil), "one.TwoOneofs") proto.RegisterType((*CustomOneof)(nil), "one.CustomOneof") } func (this *Subby) Description() (desc *descriptor.FileDescriptorSet) { return OneDescription() } func (this *AllTypesOneOf) Description() (desc *descriptor.FileDescriptorSet) { return OneDescription() } func (this *TwoOneofs) Description() (desc *descriptor.FileDescriptorSet) { return OneDescription() } func (this *CustomOneof) Description() (desc *descriptor.FileDescriptorSet) { return OneDescription() } func OneDescription() (desc *descriptor.FileDescriptorSet) { d := &descriptor.FileDescriptorSet{} var gzipped = []byte{ // 4151 bytes of a gzipped FileDescriptorSet 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x6b, 0x6c, 0x1c, 0xd7, 0x75, 0xe6, 0xec, 0x83, 0xdc, 0x3d, 0xbb, 0x5c, 0x0e, 0x2f, 0x69, 0x69, 0x45, 0xc7, 0x2b, 0x69, 0x6d, 0x47, 0xb4, 0x1d, 0x93, 0x36, 0x45, 0xea, 0xb1, 0x6a, 0xe2, 0x2e, 0xc9, 0x15, 0x45, 0x95, 0xe4, 0x32, 0x43, 0x32, 0x7e, 0x04, 0xc5, 0x60, 0x38, 0x7b, 0xb9, 0x1c, 0x69, 0x76, 0x66, 0x32, 0x33, 0x2b, 0x99, 0x42, 0x7f, 0xa8, 0x70, 0x1f, 0x08, 0x8a, 0xbe, 0xd2, 0x02, 0x49, 0x5c, 0xc7, 0x7d, 0x00, 0xad, 0xd3, 0xf4, 0x95, 0x34, 0x6d, 0x9a, 0xf6, 0x57, 0xff, 0xa4, 0xf5, 0xaf, 0xc2, 0xf9, 0x57, 0x14, 0x85, 0x61, 0x31, 0x06, 0x9a, 0xb6, 0x6e, 0xe3, 0xb6, 0xfe, 0x61, 0xc4, 0x7f, 0x8a, 0xfb, 0x9a, 0x99, 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 0x63, 0x58, 0xfe, 0xd3, 0x73, 0x97, 0x48, 0x80, 0x43, 0x16, 0xb4, 0x03, 0x99, 0x25, 0xcd, 0xa3, 0xdf, 0xc3, 0x51, 0xd7, 0x53, 0x8b, 0x17, 0x7f, 0xf8, 0xe6, 0xe9, 0xf3, 0x31, 0x8c, 0xbc, 0x3c, 0xce, 0xac, 0x1f, 0x10, 0xd6, 0x0b, 0xf3, 0x04, 0x7e, 0x6d, 0x48, 0x09, 0xa8, 0xd0, 0x9c, 0x70, 0x75, 0x43, 0x6b, 0xb1, 0xcf, 0x77, 0x92, 0x8b, 0xf2, 0xe1, 0x9b, 0xa7, 0xf3, 0xeb, 0x07, 0xa1, 0x3c, 0x74, 0x85, 0x3c, 0x2d, 0x66, 0x60, 0x98, 0xb9, 0xba, 0xb8, 0xfc, 0xfa, 0xbd, 0xd2, 0xd0, 0x1b, 0xf7, 0x4a, 0x43, 0xff, 0x7c, 0xaf, 0x34, 0xf4, 0xd6, 0xbd, 0x92, 0xf4, 0xee, 0xbd, 0x92, 0xf4, 0xfe, 0xbd, 0x92, 0x74, 0xf7, 0xb0, 0x24, 0x7d, 0xf5, 0xb0, 0x24, 0x7d, 0xfd, 0xb0, 0x24, 0x7d, 0xfb, 0xb0, 0x24, 0xbd, 0x7e, 0x58, 0x92, 0xde, 0x38, 0x2c, 0x0d, 0xbd, 0x75, 0x58, 0x92, 0xbe, 0x7f, 0x58, 0x1a, 0x7a, 0xf7, 0xb0, 0x24, 0xbd, 0x7f, 0x58, 0x1a, 0xba, 0xfb, 0xbd, 0xd2, 0xd0, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x22, 0xda, 0x5f, 0x5b, 0x09, 0x35, 0x00, 0x00, } r := bytes.NewReader(gzipped) gzipr, err := gzip.NewReader(r) if err != nil { panic(err) } ungzipped, err := ioutil.ReadAll(gzipr) if err != nil { panic(err) } if err := proto.Unmarshal(ungzipped, d); err != nil { panic(err) } return d } func (this *Subby) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*Subby) if !ok { that2, ok := that.(Subby) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *Subby") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *Subby but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *Subby but is not nil && this == nil") } if this.Sub != nil && that1.Sub != nil { if *this.Sub != *that1.Sub { return fmt.Errorf("Sub this(%v) Not Equal that(%v)", *this.Sub, *that1.Sub) } } else if this.Sub != nil { return fmt.Errorf("this.Sub == nil && that.Sub != nil") } else if that1.Sub != nil { return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub) } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *Subby) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*Subby) if !ok { that2, ok := that.(Subby) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Sub != nil && that1.Sub != nil { if *this.Sub != *that1.Sub { return false } } else if this.Sub != nil { return false } else if that1.Sub != nil { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *AllTypesOneOf) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf) if !ok { that2, ok := that.(AllTypesOneOf) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf but is not nil && this == nil") } if that1.TestOneof == nil { if this.TestOneof != nil { return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil") } } else if this.TestOneof == nil { return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil") } else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil { return err } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *AllTypesOneOf_Field1) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field1) if !ok { that2, ok := that.(AllTypesOneOf_Field1) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field1") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is not nil && this == nil") } if this.Field1 != that1.Field1 { return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) } return nil } func (this *AllTypesOneOf_Field2) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field2) if !ok { that2, ok := that.(AllTypesOneOf_Field2) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field2") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is not nil && this == nil") } if this.Field2 != that1.Field2 { return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) } return nil } func (this *AllTypesOneOf_Field3) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field3) if !ok { that2, ok := that.(AllTypesOneOf_Field3) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field3") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is not nil && this == nil") } if this.Field3 != that1.Field3 { return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) } return nil } func (this *AllTypesOneOf_Field4) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field4) if !ok { that2, ok := that.(AllTypesOneOf_Field4) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field4") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is not nil && this == nil") } if this.Field4 != that1.Field4 { return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4) } return nil } func (this *AllTypesOneOf_Field5) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field5) if !ok { that2, ok := that.(AllTypesOneOf_Field5) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field5") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is not nil && this == nil") } if this.Field5 != that1.Field5 { return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5) } return nil } func (this *AllTypesOneOf_Field6) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field6) if !ok { that2, ok := that.(AllTypesOneOf_Field6) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field6") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is not nil && this == nil") } if this.Field6 != that1.Field6 { return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6) } return nil } func (this *AllTypesOneOf_Field7) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field7) if !ok { that2, ok := that.(AllTypesOneOf_Field7) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field7") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is not nil && this == nil") } if this.Field7 != that1.Field7 { return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7) } return nil } func (this *AllTypesOneOf_Field8) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field8) if !ok { that2, ok := that.(AllTypesOneOf_Field8) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field8") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is not nil && this == nil") } if this.Field8 != that1.Field8 { return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8) } return nil } func (this *AllTypesOneOf_Field9) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field9) if !ok { that2, ok := that.(AllTypesOneOf_Field9) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field9") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is not nil && this == nil") } if this.Field9 != that1.Field9 { return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9) } return nil } func (this *AllTypesOneOf_Field10) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field10) if !ok { that2, ok := that.(AllTypesOneOf_Field10) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field10") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is not nil && this == nil") } if this.Field10 != that1.Field10 { return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10) } return nil } func (this *AllTypesOneOf_Field11) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field11) if !ok { that2, ok := that.(AllTypesOneOf_Field11) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field11") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is not nil && this == nil") } if this.Field11 != that1.Field11 { return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11) } return nil } func (this *AllTypesOneOf_Field12) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field12) if !ok { that2, ok := that.(AllTypesOneOf_Field12) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field12") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is not nil && this == nil") } if this.Field12 != that1.Field12 { return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12) } return nil } func (this *AllTypesOneOf_Field13) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field13) if !ok { that2, ok := that.(AllTypesOneOf_Field13) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field13") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is not nil && this == nil") } if this.Field13 != that1.Field13 { return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13) } return nil } func (this *AllTypesOneOf_Field14) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field14) if !ok { that2, ok := that.(AllTypesOneOf_Field14) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field14") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is not nil && this == nil") } if this.Field14 != that1.Field14 { return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14) } return nil } func (this *AllTypesOneOf_Field15) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_Field15) if !ok { that2, ok := that.(AllTypesOneOf_Field15) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_Field15") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is not nil && this == nil") } if !bytes.Equal(this.Field15, that1.Field15) { return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15) } return nil } func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*AllTypesOneOf_SubMessage) if !ok { that2, ok := that.(AllTypesOneOf_SubMessage) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *AllTypesOneOf_SubMessage") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is not nil && this == nil") } if !this.SubMessage.Equal(that1.SubMessage) { return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage) } return nil } func (this *AllTypesOneOf) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf) if !ok { that2, ok := that.(AllTypesOneOf) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.TestOneof == nil { if this.TestOneof != nil { return false } } else if this.TestOneof == nil { return false } else if !this.TestOneof.Equal(that1.TestOneof) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *AllTypesOneOf_Field1) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field1) if !ok { that2, ok := that.(AllTypesOneOf_Field1) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field1 != that1.Field1 { return false } return true } func (this *AllTypesOneOf_Field2) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field2) if !ok { that2, ok := that.(AllTypesOneOf_Field2) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field2 != that1.Field2 { return false } return true } func (this *AllTypesOneOf_Field3) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field3) if !ok { that2, ok := that.(AllTypesOneOf_Field3) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field3 != that1.Field3 { return false } return true } func (this *AllTypesOneOf_Field4) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field4) if !ok { that2, ok := that.(AllTypesOneOf_Field4) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field4 != that1.Field4 { return false } return true } func (this *AllTypesOneOf_Field5) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field5) if !ok { that2, ok := that.(AllTypesOneOf_Field5) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field5 != that1.Field5 { return false } return true } func (this *AllTypesOneOf_Field6) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field6) if !ok { that2, ok := that.(AllTypesOneOf_Field6) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field6 != that1.Field6 { return false } return true } func (this *AllTypesOneOf_Field7) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field7) if !ok { that2, ok := that.(AllTypesOneOf_Field7) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field7 != that1.Field7 { return false } return true } func (this *AllTypesOneOf_Field8) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field8) if !ok { that2, ok := that.(AllTypesOneOf_Field8) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field8 != that1.Field8 { return false } return true } func (this *AllTypesOneOf_Field9) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field9) if !ok { that2, ok := that.(AllTypesOneOf_Field9) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field9 != that1.Field9 { return false } return true } func (this *AllTypesOneOf_Field10) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field10) if !ok { that2, ok := that.(AllTypesOneOf_Field10) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field10 != that1.Field10 { return false } return true } func (this *AllTypesOneOf_Field11) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field11) if !ok { that2, ok := that.(AllTypesOneOf_Field11) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field11 != that1.Field11 { return false } return true } func (this *AllTypesOneOf_Field12) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field12) if !ok { that2, ok := that.(AllTypesOneOf_Field12) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field12 != that1.Field12 { return false } return true } func (this *AllTypesOneOf_Field13) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field13) if !ok { that2, ok := that.(AllTypesOneOf_Field13) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field13 != that1.Field13 { return false } return true } func (this *AllTypesOneOf_Field14) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field14) if !ok { that2, ok := that.(AllTypesOneOf_Field14) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field14 != that1.Field14 { return false } return true } func (this *AllTypesOneOf_Field15) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_Field15) if !ok { that2, ok := that.(AllTypesOneOf_Field15) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !bytes.Equal(this.Field15, that1.Field15) { return false } return true } func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*AllTypesOneOf_SubMessage) if !ok { that2, ok := that.(AllTypesOneOf_SubMessage) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.SubMessage.Equal(that1.SubMessage) { return false } return true } func (this *TwoOneofs) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs) if !ok { that2, ok := that.(TwoOneofs) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs but is not nil && this == nil") } if that1.One == nil { if this.One != nil { return fmt.Errorf("this.One != nil && that1.One == nil") } } else if this.One == nil { return fmt.Errorf("this.One == nil && that1.One != nil") } else if err := this.One.VerboseEqual(that1.One); err != nil { return err } if that1.Two == nil { if this.Two != nil { return fmt.Errorf("this.Two != nil && that1.Two == nil") } } else if this.Two == nil { return fmt.Errorf("this.Two == nil && that1.Two != nil") } else if err := this.Two.VerboseEqual(that1.Two); err != nil { return err } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *TwoOneofs_Field1) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs_Field1) if !ok { that2, ok := that.(TwoOneofs_Field1) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs_Field1") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs_Field1 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs_Field1 but is not nil && this == nil") } if this.Field1 != that1.Field1 { return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) } return nil } func (this *TwoOneofs_Field2) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs_Field2) if !ok { that2, ok := that.(TwoOneofs_Field2) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs_Field2") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs_Field2 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs_Field2 but is not nil && this == nil") } if this.Field2 != that1.Field2 { return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) } return nil } func (this *TwoOneofs_Field3) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs_Field3) if !ok { that2, ok := that.(TwoOneofs_Field3) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs_Field3") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs_Field3 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs_Field3 but is not nil && this == nil") } if this.Field3 != that1.Field3 { return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) } return nil } func (this *TwoOneofs_Field34) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs_Field34) if !ok { that2, ok := that.(TwoOneofs_Field34) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs_Field34") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs_Field34 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs_Field34 but is not nil && this == nil") } if this.Field34 != that1.Field34 { return fmt.Errorf("Field34 this(%v) Not Equal that(%v)", this.Field34, that1.Field34) } return nil } func (this *TwoOneofs_Field35) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs_Field35) if !ok { that2, ok := that.(TwoOneofs_Field35) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs_Field35") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs_Field35 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs_Field35 but is not nil && this == nil") } if !bytes.Equal(this.Field35, that1.Field35) { return fmt.Errorf("Field35 this(%v) Not Equal that(%v)", this.Field35, that1.Field35) } return nil } func (this *TwoOneofs_SubMessage2) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*TwoOneofs_SubMessage2) if !ok { that2, ok := that.(TwoOneofs_SubMessage2) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *TwoOneofs_SubMessage2") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is not nil && this == nil") } if !this.SubMessage2.Equal(that1.SubMessage2) { return fmt.Errorf("SubMessage2 this(%v) Not Equal that(%v)", this.SubMessage2, that1.SubMessage2) } return nil } func (this *TwoOneofs) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs) if !ok { that2, ok := that.(TwoOneofs) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.One == nil { if this.One != nil { return false } } else if this.One == nil { return false } else if !this.One.Equal(that1.One) { return false } if that1.Two == nil { if this.Two != nil { return false } } else if this.Two == nil { return false } else if !this.Two.Equal(that1.Two) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *TwoOneofs_Field1) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs_Field1) if !ok { that2, ok := that.(TwoOneofs_Field1) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field1 != that1.Field1 { return false } return true } func (this *TwoOneofs_Field2) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs_Field2) if !ok { that2, ok := that.(TwoOneofs_Field2) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field2 != that1.Field2 { return false } return true } func (this *TwoOneofs_Field3) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs_Field3) if !ok { that2, ok := that.(TwoOneofs_Field3) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field3 != that1.Field3 { return false } return true } func (this *TwoOneofs_Field34) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs_Field34) if !ok { that2, ok := that.(TwoOneofs_Field34) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Field34 != that1.Field34 { return false } return true } func (this *TwoOneofs_Field35) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs_Field35) if !ok { that2, ok := that.(TwoOneofs_Field35) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !bytes.Equal(this.Field35, that1.Field35) { return false } return true } func (this *TwoOneofs_SubMessage2) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*TwoOneofs_SubMessage2) if !ok { that2, ok := that.(TwoOneofs_SubMessage2) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.SubMessage2.Equal(that1.SubMessage2) { return false } return true } func (this *CustomOneof) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*CustomOneof) if !ok { that2, ok := that.(CustomOneof) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *CustomOneof") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *CustomOneof but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *CustomOneof but is not nil && this == nil") } if that1.Custom == nil { if this.Custom != nil { return fmt.Errorf("this.Custom != nil && that1.Custom == nil") } } else if this.Custom == nil { return fmt.Errorf("this.Custom == nil && that1.Custom != nil") } else if err := this.Custom.VerboseEqual(that1.Custom); err != nil { return err } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *CustomOneof_Stringy) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*CustomOneof_Stringy) if !ok { that2, ok := that.(CustomOneof_Stringy) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *CustomOneof_Stringy") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *CustomOneof_Stringy but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *CustomOneof_Stringy but is not nil && this == nil") } if this.Stringy != that1.Stringy { return fmt.Errorf("Stringy this(%v) Not Equal that(%v)", this.Stringy, that1.Stringy) } return nil } func (this *CustomOneof_CustomType) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*CustomOneof_CustomType) if !ok { that2, ok := that.(CustomOneof_CustomType) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *CustomOneof_CustomType") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *CustomOneof_CustomType but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *CustomOneof_CustomType but is not nil && this == nil") } if !this.CustomType.Equal(that1.CustomType) { return fmt.Errorf("CustomType this(%v) Not Equal that(%v)", this.CustomType, that1.CustomType) } return nil } func (this *CustomOneof_CastType) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*CustomOneof_CastType) if !ok { that2, ok := that.(CustomOneof_CastType) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *CustomOneof_CastType") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *CustomOneof_CastType but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *CustomOneof_CastType but is not nil && this == nil") } if this.CastType != that1.CastType { return fmt.Errorf("CastType this(%v) Not Equal that(%v)", this.CastType, that1.CastType) } return nil } func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*CustomOneof_MyCustomName) if !ok { that2, ok := that.(CustomOneof_MyCustomName) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *CustomOneof_MyCustomName") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *CustomOneof_MyCustomName but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *CustomOneof_MyCustomName but is not nil && this == nil") } if this.MyCustomName != that1.MyCustomName { return fmt.Errorf("MyCustomName this(%v) Not Equal that(%v)", this.MyCustomName, that1.MyCustomName) } return nil } func (this *CustomOneof) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*CustomOneof) if !ok { that2, ok := that.(CustomOneof) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.Custom == nil { if this.Custom != nil { return false } } else if this.Custom == nil { return false } else if !this.Custom.Equal(that1.Custom) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *CustomOneof_Stringy) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*CustomOneof_Stringy) if !ok { that2, ok := that.(CustomOneof_Stringy) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Stringy != that1.Stringy { return false } return true } func (this *CustomOneof_CustomType) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*CustomOneof_CustomType) if !ok { that2, ok := that.(CustomOneof_CustomType) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.CustomType.Equal(that1.CustomType) { return false } return true } func (this *CustomOneof_CastType) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*CustomOneof_CastType) if !ok { that2, ok := that.(CustomOneof_CastType) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.CastType != that1.CastType { return false } return true } func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*CustomOneof_MyCustomName) if !ok { that2, ok := that.(CustomOneof_MyCustomName) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.MyCustomName != that1.MyCustomName { return false } return true } func (this *Subby) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 5) s = append(s, "&one.Subby{") if this.Sub != nil { s = append(s, "Sub: "+valueToGoStringOne(this.Sub, "string")+",\n") } if this.XXX_unrecognized != nil { s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") } s = append(s, "}") return strings.Join(s, "") } func (this *AllTypesOneOf) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 20) s = append(s, "&one.AllTypesOneOf{") if this.TestOneof != nil { s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n") } if this.XXX_unrecognized != nil { s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") } s = append(s, "}") return strings.Join(s, "") } func (this *AllTypesOneOf_Field1) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field1{` + `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field2) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field2{` + `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field3) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field3{` + `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field4) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field4{` + `Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field5) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field5{` + `Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field6) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field6{` + `Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field7) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field7{` + `Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field8) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field8{` + `Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field9) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field9{` + `Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field10) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field10{` + `Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field11) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field11{` + `Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field12) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field12{` + `Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field13) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field13{` + `Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field14) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field14{` + `Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ") return s } func (this *AllTypesOneOf_Field15) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_Field15{` + `Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ") return s } func (this *AllTypesOneOf_SubMessage) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.AllTypesOneOf_SubMessage{` + `SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ") return s } func (this *TwoOneofs) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 10) s = append(s, "&one.TwoOneofs{") if this.One != nil { s = append(s, "One: "+fmt.Sprintf("%#v", this.One)+",\n") } if this.Two != nil { s = append(s, "Two: "+fmt.Sprintf("%#v", this.Two)+",\n") } if this.XXX_unrecognized != nil { s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") } s = append(s, "}") return strings.Join(s, "") } func (this *TwoOneofs_Field1) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.TwoOneofs_Field1{` + `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") return s } func (this *TwoOneofs_Field2) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.TwoOneofs_Field2{` + `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") return s } func (this *TwoOneofs_Field3) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.TwoOneofs_Field3{` + `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") return s } func (this *TwoOneofs_Field34) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.TwoOneofs_Field34{` + `Field34:` + fmt.Sprintf("%#v", this.Field34) + `}`}, ", ") return s } func (this *TwoOneofs_Field35) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.TwoOneofs_Field35{` + `Field35:` + fmt.Sprintf("%#v", this.Field35) + `}`}, ", ") return s } func (this *TwoOneofs_SubMessage2) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.TwoOneofs_SubMessage2{` + `SubMessage2:` + fmt.Sprintf("%#v", this.SubMessage2) + `}`}, ", ") return s } func (this *CustomOneof) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 8) s = append(s, "&one.CustomOneof{") if this.Custom != nil { s = append(s, "Custom: "+fmt.Sprintf("%#v", this.Custom)+",\n") } if this.XXX_unrecognized != nil { s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") } s = append(s, "}") return strings.Join(s, "") } func (this *CustomOneof_Stringy) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.CustomOneof_Stringy{` + `Stringy:` + fmt.Sprintf("%#v", this.Stringy) + `}`}, ", ") return s } func (this *CustomOneof_CustomType) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.CustomOneof_CustomType{` + `CustomType:` + fmt.Sprintf("%#v", this.CustomType) + `}`}, ", ") return s } func (this *CustomOneof_CastType) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.CustomOneof_CastType{` + `CastType:` + fmt.Sprintf("%#v", this.CastType) + `}`}, ", ") return s } func (this *CustomOneof_MyCustomName) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.CustomOneof_MyCustomName{` + `MyCustomName:` + fmt.Sprintf("%#v", this.MyCustomName) + `}`}, ", ") return s } func valueToGoStringOne(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { return "nil" } pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) } func (m *Subby) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Subby) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Sub != nil { dAtA[i] = 0xa i++ i = encodeVarintOne(dAtA, i, uint64(len(*m.Sub))) i += copy(dAtA[i:], *m.Sub) } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *AllTypesOneOf) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *AllTypesOneOf) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.TestOneof != nil { nn1, err := m.TestOneof.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn1 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *AllTypesOneOf_Field1) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x9 i++ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Field1)))) i += 8 return i, nil } func (m *AllTypesOneOf_Field2) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x15 i++ binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Field2)))) i += 4 return i, nil } func (m *AllTypesOneOf_Field3) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x18 i++ i = encodeVarintOne(dAtA, i, uint64(m.Field3)) return i, nil } func (m *AllTypesOneOf_Field4) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x20 i++ i = encodeVarintOne(dAtA, i, uint64(m.Field4)) return i, nil } func (m *AllTypesOneOf_Field5) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x28 i++ i = encodeVarintOne(dAtA, i, uint64(m.Field5)) return i, nil } func (m *AllTypesOneOf_Field6) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x30 i++ i = encodeVarintOne(dAtA, i, uint64(m.Field6)) return i, nil } func (m *AllTypesOneOf_Field7) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x38 i++ i = encodeVarintOne(dAtA, i, uint64((uint32(m.Field7)<<1)^uint32((m.Field7>>31)))) return i, nil } func (m *AllTypesOneOf_Field8) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x40 i++ i = encodeVarintOne(dAtA, i, uint64((uint64(m.Field8)<<1)^uint64((m.Field8>>63)))) return i, nil } func (m *AllTypesOneOf_Field9) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x4d i++ binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field9)) i += 4 return i, nil } func (m *AllTypesOneOf_Field10) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x55 i++ binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field10)) i += 4 return i, nil } func (m *AllTypesOneOf_Field11) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x59 i++ binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field11)) i += 8 return i, nil } func (m *AllTypesOneOf_Field12) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x61 i++ binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field12)) i += 8 return i, nil } func (m *AllTypesOneOf_Field13) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x68 i++ if m.Field13 { dAtA[i] = 1 } else { dAtA[i] = 0 } i++ return i, nil } func (m *AllTypesOneOf_Field14) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x72 i++ i = encodeVarintOne(dAtA, i, uint64(len(m.Field14))) i += copy(dAtA[i:], m.Field14) return i, nil } func (m *AllTypesOneOf_Field15) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.Field15 != nil { dAtA[i] = 0x7a i++ i = encodeVarintOne(dAtA, i, uint64(len(m.Field15))) i += copy(dAtA[i:], m.Field15) } return i, nil } func (m *AllTypesOneOf_SubMessage) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.SubMessage != nil { dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ i = encodeVarintOne(dAtA, i, uint64(m.SubMessage.Size())) n2, err := m.SubMessage.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n2 } return i, nil } func (m *TwoOneofs) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *TwoOneofs) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.One != nil { nn3, err := m.One.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn3 } if m.Two != nil { nn4, err := m.Two.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn4 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *TwoOneofs_Field1) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x9 i++ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Field1)))) i += 8 return i, nil } func (m *TwoOneofs_Field2) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x15 i++ binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Field2)))) i += 4 return i, nil } func (m *TwoOneofs_Field3) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x18 i++ i = encodeVarintOne(dAtA, i, uint64(m.Field3)) return i, nil } func (m *TwoOneofs_Field34) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x92 i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(len(m.Field34))) i += copy(dAtA[i:], m.Field34) return i, nil } func (m *TwoOneofs_Field35) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.Field35 != nil { dAtA[i] = 0x9a i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(len(m.Field35))) i += copy(dAtA[i:], m.Field35) } return i, nil } func (m *TwoOneofs_SubMessage2) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.SubMessage2 != nil { dAtA[i] = 0xa2 i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(m.SubMessage2.Size())) n5, err := m.SubMessage2.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n5 } return i, nil } func (m *CustomOneof) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *CustomOneof) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Custom != nil { nn6, err := m.Custom.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn6 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *CustomOneof_Stringy) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x92 i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(len(m.Stringy))) i += copy(dAtA[i:], m.Stringy) return i, nil } func (m *CustomOneof_CustomType) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x9a i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(m.CustomType.Size())) n7, err := m.CustomType.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n7 return i, nil } func (m *CustomOneof_CastType) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0xa0 i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(m.CastType)) return i, nil } func (m *CustomOneof_MyCustomName) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0xa8 i++ dAtA[i] = 0x2 i++ i = encodeVarintOne(dAtA, i, uint64(m.MyCustomName)) return i, nil } func encodeVarintOne(dAtA []byte, offset int, v uint64) int { for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return offset + 1 } func NewPopulatedSubby(r randyOne, easy bool) *Subby { this := &Subby{} if r.Intn(10) != 0 { v1 := string(randStringOne(r)) this.Sub = &v1 } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedOne(r, 2) } return this } func NewPopulatedAllTypesOneOf(r randyOne, easy bool) *AllTypesOneOf { this := &AllTypesOneOf{} oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)] switch oneofNumber_TestOneof { case 1: this.TestOneof = NewPopulatedAllTypesOneOf_Field1(r, easy) case 2: this.TestOneof = NewPopulatedAllTypesOneOf_Field2(r, easy) case 3: this.TestOneof = NewPopulatedAllTypesOneOf_Field3(r, easy) case 4: this.TestOneof = NewPopulatedAllTypesOneOf_Field4(r, easy) case 5: this.TestOneof = NewPopulatedAllTypesOneOf_Field5(r, easy) case 6: this.TestOneof = NewPopulatedAllTypesOneOf_Field6(r, easy) case 7: this.TestOneof = NewPopulatedAllTypesOneOf_Field7(r, easy) case 8: this.TestOneof = NewPopulatedAllTypesOneOf_Field8(r, easy) case 9: this.TestOneof = NewPopulatedAllTypesOneOf_Field9(r, easy) case 10: this.TestOneof = NewPopulatedAllTypesOneOf_Field10(r, easy) case 11: this.TestOneof = NewPopulatedAllTypesOneOf_Field11(r, easy) case 12: this.TestOneof = NewPopulatedAllTypesOneOf_Field12(r, easy) case 13: this.TestOneof = NewPopulatedAllTypesOneOf_Field13(r, easy) case 14: this.TestOneof = NewPopulatedAllTypesOneOf_Field14(r, easy) case 15: this.TestOneof = NewPopulatedAllTypesOneOf_Field15(r, easy) case 16: this.TestOneof = NewPopulatedAllTypesOneOf_SubMessage(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedOne(r, 17) } return this } func NewPopulatedAllTypesOneOf_Field1(r randyOne, easy bool) *AllTypesOneOf_Field1 { this := &AllTypesOneOf_Field1{} this.Field1 = float64(r.Float64()) if r.Intn(2) == 0 { this.Field1 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field2(r randyOne, easy bool) *AllTypesOneOf_Field2 { this := &AllTypesOneOf_Field2{} this.Field2 = float32(r.Float32()) if r.Intn(2) == 0 { this.Field2 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field3(r randyOne, easy bool) *AllTypesOneOf_Field3 { this := &AllTypesOneOf_Field3{} this.Field3 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field3 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field4(r randyOne, easy bool) *AllTypesOneOf_Field4 { this := &AllTypesOneOf_Field4{} this.Field4 = int64(r.Int63()) if r.Intn(2) == 0 { this.Field4 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field5(r randyOne, easy bool) *AllTypesOneOf_Field5 { this := &AllTypesOneOf_Field5{} this.Field5 = uint32(r.Uint32()) return this } func NewPopulatedAllTypesOneOf_Field6(r randyOne, easy bool) *AllTypesOneOf_Field6 { this := &AllTypesOneOf_Field6{} this.Field6 = uint64(uint64(r.Uint32())) return this } func NewPopulatedAllTypesOneOf_Field7(r randyOne, easy bool) *AllTypesOneOf_Field7 { this := &AllTypesOneOf_Field7{} this.Field7 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field7 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field8(r randyOne, easy bool) *AllTypesOneOf_Field8 { this := &AllTypesOneOf_Field8{} this.Field8 = int64(r.Int63()) if r.Intn(2) == 0 { this.Field8 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field9(r randyOne, easy bool) *AllTypesOneOf_Field9 { this := &AllTypesOneOf_Field9{} this.Field9 = uint32(r.Uint32()) return this } func NewPopulatedAllTypesOneOf_Field10(r randyOne, easy bool) *AllTypesOneOf_Field10 { this := &AllTypesOneOf_Field10{} this.Field10 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field10 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field11(r randyOne, easy bool) *AllTypesOneOf_Field11 { this := &AllTypesOneOf_Field11{} this.Field11 = uint64(uint64(r.Uint32())) return this } func NewPopulatedAllTypesOneOf_Field12(r randyOne, easy bool) *AllTypesOneOf_Field12 { this := &AllTypesOneOf_Field12{} this.Field12 = int64(r.Int63()) if r.Intn(2) == 0 { this.Field12 *= -1 } return this } func NewPopulatedAllTypesOneOf_Field13(r randyOne, easy bool) *AllTypesOneOf_Field13 { this := &AllTypesOneOf_Field13{} this.Field13 = bool(bool(r.Intn(2) == 0)) return this } func NewPopulatedAllTypesOneOf_Field14(r randyOne, easy bool) *AllTypesOneOf_Field14 { this := &AllTypesOneOf_Field14{} this.Field14 = string(randStringOne(r)) return this } func NewPopulatedAllTypesOneOf_Field15(r randyOne, easy bool) *AllTypesOneOf_Field15 { this := &AllTypesOneOf_Field15{} v2 := r.Intn(100) this.Field15 = make([]byte, v2) for i := 0; i < v2; i++ { this.Field15[i] = byte(r.Intn(256)) } return this } func NewPopulatedAllTypesOneOf_SubMessage(r randyOne, easy bool) *AllTypesOneOf_SubMessage { this := &AllTypesOneOf_SubMessage{} this.SubMessage = NewPopulatedSubby(r, easy) return this } func NewPopulatedTwoOneofs(r randyOne, easy bool) *TwoOneofs { this := &TwoOneofs{} oneofNumber_One := []int32{1, 2, 3}[r.Intn(3)] switch oneofNumber_One { case 1: this.One = NewPopulatedTwoOneofs_Field1(r, easy) case 2: this.One = NewPopulatedTwoOneofs_Field2(r, easy) case 3: this.One = NewPopulatedTwoOneofs_Field3(r, easy) } oneofNumber_Two := []int32{34, 35, 36}[r.Intn(3)] switch oneofNumber_Two { case 34: this.Two = NewPopulatedTwoOneofs_Field34(r, easy) case 35: this.Two = NewPopulatedTwoOneofs_Field35(r, easy) case 36: this.Two = NewPopulatedTwoOneofs_SubMessage2(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedOne(r, 37) } return this } func NewPopulatedTwoOneofs_Field1(r randyOne, easy bool) *TwoOneofs_Field1 { this := &TwoOneofs_Field1{} this.Field1 = float64(r.Float64()) if r.Intn(2) == 0 { this.Field1 *= -1 } return this } func NewPopulatedTwoOneofs_Field2(r randyOne, easy bool) *TwoOneofs_Field2 { this := &TwoOneofs_Field2{} this.Field2 = float32(r.Float32()) if r.Intn(2) == 0 { this.Field2 *= -1 } return this } func NewPopulatedTwoOneofs_Field3(r randyOne, easy bool) *TwoOneofs_Field3 { this := &TwoOneofs_Field3{} this.Field3 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field3 *= -1 } return this } func NewPopulatedTwoOneofs_Field34(r randyOne, easy bool) *TwoOneofs_Field34 { this := &TwoOneofs_Field34{} this.Field34 = string(randStringOne(r)) return this } func NewPopulatedTwoOneofs_Field35(r randyOne, easy bool) *TwoOneofs_Field35 { this := &TwoOneofs_Field35{} v3 := r.Intn(100) this.Field35 = make([]byte, v3) for i := 0; i < v3; i++ { this.Field35[i] = byte(r.Intn(256)) } return this } func NewPopulatedTwoOneofs_SubMessage2(r randyOne, easy bool) *TwoOneofs_SubMessage2 { this := &TwoOneofs_SubMessage2{} this.SubMessage2 = NewPopulatedSubby(r, easy) return this } func NewPopulatedCustomOneof(r randyOne, easy bool) *CustomOneof { this := &CustomOneof{} oneofNumber_Custom := []int32{34, 35, 36, 37}[r.Intn(4)] switch oneofNumber_Custom { case 34: this.Custom = NewPopulatedCustomOneof_Stringy(r, easy) case 35: this.Custom = NewPopulatedCustomOneof_CustomType(r, easy) case 36: this.Custom = NewPopulatedCustomOneof_CastType(r, easy) case 37: this.Custom = NewPopulatedCustomOneof_MyCustomName(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedOne(r, 38) } return this } func NewPopulatedCustomOneof_Stringy(r randyOne, easy bool) *CustomOneof_Stringy { this := &CustomOneof_Stringy{} this.Stringy = string(randStringOne(r)) return this } func NewPopulatedCustomOneof_CustomType(r randyOne, easy bool) *CustomOneof_CustomType { this := &CustomOneof_CustomType{} v4 := github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r) this.CustomType = *v4 return this } func NewPopulatedCustomOneof_CastType(r randyOne, easy bool) *CustomOneof_CastType { this := &CustomOneof_CastType{} this.CastType = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) return this } func NewPopulatedCustomOneof_MyCustomName(r randyOne, easy bool) *CustomOneof_MyCustomName { this := &CustomOneof_MyCustomName{} this.MyCustomName = int64(r.Int63()) if r.Intn(2) == 0 { this.MyCustomName *= -1 } return this } type randyOne interface { Float32() float32 Float64() float64 Int63() int64 Int31() int32 Uint32() uint32 Intn(n int) int } func randUTF8RuneOne(r randyOne) rune { ru := r.Intn(62) if ru < 10 { return rune(ru + 48) } else if ru < 36 { return rune(ru + 55) } return rune(ru + 61) } func randStringOne(r randyOne) string { v5 := r.Intn(100) tmps := make([]rune, v5) for i := 0; i < v5; i++ { tmps[i] = randUTF8RuneOne(r) } return string(tmps) } func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) { l := r.Intn(5) for i := 0; i < l; i++ { wire := r.Intn(4) if wire == 3 { wire = 5 } fieldNumber := maxFieldNumber + r.Intn(100) dAtA = randFieldOne(dAtA, r, fieldNumber, wire) } return dAtA } func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte { key := uint32(fieldNumber)<<3 | uint32(wire) switch wire { case 0: dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) v6 := r.Int63() if r.Intn(2) == 0 { v6 *= -1 } dAtA = encodeVarintPopulateOne(dAtA, uint64(v6)) case 1: dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 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))) case 2: dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) ll := r.Intn(100) dAtA = encodeVarintPopulateOne(dAtA, uint64(ll)) for j := 0; j < ll; j++ { dAtA = append(dAtA, byte(r.Intn(256))) } default: dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) } return dAtA } func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte { for v >= 1<<7 { dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) v >>= 7 } dAtA = append(dAtA, uint8(v)) return dAtA } func (m *Subby) Size() (n int) { var l int _ = l if m.Sub != nil { l = len(*m.Sub) n += 1 + l + sovOne(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *AllTypesOneOf) Size() (n int) { var l int _ = l if m.TestOneof != nil { n += m.TestOneof.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *AllTypesOneOf_Field1) Size() (n int) { var l int _ = l n += 9 return n } func (m *AllTypesOneOf_Field2) Size() (n int) { var l int _ = l n += 5 return n } func (m *AllTypesOneOf_Field3) Size() (n int) { var l int _ = l n += 1 + sovOne(uint64(m.Field3)) return n } func (m *AllTypesOneOf_Field4) Size() (n int) { var l int _ = l n += 1 + sovOne(uint64(m.Field4)) return n } func (m *AllTypesOneOf_Field5) Size() (n int) { var l int _ = l n += 1 + sovOne(uint64(m.Field5)) return n } func (m *AllTypesOneOf_Field6) Size() (n int) { var l int _ = l n += 1 + sovOne(uint64(m.Field6)) return n } func (m *AllTypesOneOf_Field7) Size() (n int) { var l int _ = l n += 1 + sozOne(uint64(m.Field7)) return n } func (m *AllTypesOneOf_Field8) Size() (n int) { var l int _ = l n += 1 + sozOne(uint64(m.Field8)) return n } func (m *AllTypesOneOf_Field9) Size() (n int) { var l int _ = l n += 5 return n } func (m *AllTypesOneOf_Field10) Size() (n int) { var l int _ = l n += 5 return n } func (m *AllTypesOneOf_Field11) Size() (n int) { var l int _ = l n += 9 return n } func (m *AllTypesOneOf_Field12) Size() (n int) { var l int _ = l n += 9 return n } func (m *AllTypesOneOf_Field13) Size() (n int) { var l int _ = l n += 2 return n } func (m *AllTypesOneOf_Field14) Size() (n int) { var l int _ = l l = len(m.Field14) n += 1 + l + sovOne(uint64(l)) return n } func (m *AllTypesOneOf_Field15) Size() (n int) { var l int _ = l if m.Field15 != nil { l = len(m.Field15) n += 1 + l + sovOne(uint64(l)) } return n } func (m *AllTypesOneOf_SubMessage) Size() (n int) { var l int _ = l if m.SubMessage != nil { l = m.SubMessage.Size() n += 2 + l + sovOne(uint64(l)) } return n } func (m *TwoOneofs) Size() (n int) { var l int _ = l if m.One != nil { n += m.One.Size() } if m.Two != nil { n += m.Two.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *TwoOneofs_Field1) Size() (n int) { var l int _ = l n += 9 return n } func (m *TwoOneofs_Field2) Size() (n int) { var l int _ = l n += 5 return n } func (m *TwoOneofs_Field3) Size() (n int) { var l int _ = l n += 1 + sovOne(uint64(m.Field3)) return n } func (m *TwoOneofs_Field34) Size() (n int) { var l int _ = l l = len(m.Field34) n += 2 + l + sovOne(uint64(l)) return n } func (m *TwoOneofs_Field35) Size() (n int) { var l int _ = l if m.Field35 != nil { l = len(m.Field35) n += 2 + l + sovOne(uint64(l)) } return n } func (m *TwoOneofs_SubMessage2) Size() (n int) { var l int _ = l if m.SubMessage2 != nil { l = m.SubMessage2.Size() n += 2 + l + sovOne(uint64(l)) } return n } func (m *CustomOneof) Size() (n int) { var l int _ = l if m.Custom != nil { n += m.Custom.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *CustomOneof_Stringy) Size() (n int) { var l int _ = l l = len(m.Stringy) n += 2 + l + sovOne(uint64(l)) return n } func (m *CustomOneof_CustomType) Size() (n int) { var l int _ = l l = m.CustomType.Size() n += 2 + l + sovOne(uint64(l)) return n } func (m *CustomOneof_CastType) Size() (n int) { var l int _ = l n += 2 + sovOne(uint64(m.CastType)) return n } func (m *CustomOneof_MyCustomName) Size() (n int) { var l int _ = l n += 2 + sovOne(uint64(m.MyCustomName)) return n } func sovOne(x uint64) (n int) { for { n++ x >>= 7 if x == 0 { break } } return n } func sozOne(x uint64) (n int) { return sovOne(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (this *Subby) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&Subby{`, `Sub:` + valueToStringOne(this.Sub) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf{`, `TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field1) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field1{`, `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field2) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field2{`, `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field3) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field3{`, `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field4) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field4{`, `Field4:` + fmt.Sprintf("%v", this.Field4) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field5) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field5{`, `Field5:` + fmt.Sprintf("%v", this.Field5) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field6) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field6{`, `Field6:` + fmt.Sprintf("%v", this.Field6) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field7) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field7{`, `Field7:` + fmt.Sprintf("%v", this.Field7) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field8) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field8{`, `Field8:` + fmt.Sprintf("%v", this.Field8) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field9) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field9{`, `Field9:` + fmt.Sprintf("%v", this.Field9) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field10) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field10{`, `Field10:` + fmt.Sprintf("%v", this.Field10) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field11) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field11{`, `Field11:` + fmt.Sprintf("%v", this.Field11) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field12) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field12{`, `Field12:` + fmt.Sprintf("%v", this.Field12) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field13) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field13{`, `Field13:` + fmt.Sprintf("%v", this.Field13) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field14) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field14{`, `Field14:` + fmt.Sprintf("%v", this.Field14) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_Field15) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_Field15{`, `Field15:` + fmt.Sprintf("%v", this.Field15) + `,`, `}`, }, "") return s } func (this *AllTypesOneOf_SubMessage) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&AllTypesOneOf_SubMessage{`, `SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`, `}`, }, "") return s } func (this *TwoOneofs) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs{`, `One:` + fmt.Sprintf("%v", this.One) + `,`, `Two:` + fmt.Sprintf("%v", this.Two) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *TwoOneofs_Field1) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs_Field1{`, `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, `}`, }, "") return s } func (this *TwoOneofs_Field2) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs_Field2{`, `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, `}`, }, "") return s } func (this *TwoOneofs_Field3) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs_Field3{`, `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, `}`, }, "") return s } func (this *TwoOneofs_Field34) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs_Field34{`, `Field34:` + fmt.Sprintf("%v", this.Field34) + `,`, `}`, }, "") return s } func (this *TwoOneofs_Field35) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs_Field35{`, `Field35:` + fmt.Sprintf("%v", this.Field35) + `,`, `}`, }, "") return s } func (this *TwoOneofs_SubMessage2) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&TwoOneofs_SubMessage2{`, `SubMessage2:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage2), "Subby", "Subby", 1) + `,`, `}`, }, "") return s } func (this *CustomOneof) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&CustomOneof{`, `Custom:` + fmt.Sprintf("%v", this.Custom) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *CustomOneof_Stringy) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&CustomOneof_Stringy{`, `Stringy:` + fmt.Sprintf("%v", this.Stringy) + `,`, `}`, }, "") return s } func (this *CustomOneof_CustomType) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&CustomOneof_CustomType{`, `CustomType:` + fmt.Sprintf("%v", this.CustomType) + `,`, `}`, }, "") return s } func (this *CustomOneof_CastType) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&CustomOneof_CastType{`, `CastType:` + fmt.Sprintf("%v", this.CastType) + `,`, `}`, }, "") return s } func (this *CustomOneof_MyCustomName) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&CustomOneof_MyCustomName{`, `MyCustomName:` + fmt.Sprintf("%v", this.MyCustomName) + `,`, `}`, }, "") return s } func valueToStringOne(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { return "nil" } pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("*%v", pv) } func init() { proto.RegisterFile("combos/marshaler/one.proto", fileDescriptorOne) } var fileDescriptorOne = []byte{ // 601 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0xbf, 0x4f, 0xdb, 0x4e, 0x14, 0x00, 0xf0, 0x7b, 0x84, 0x84, 0x70, 0x09, 0x5f, 0xf2, 0xf5, 0x74, 0x65, 0x38, 0x4e, 0x69, 0x2b, 0xdd, 0x50, 0x12, 0xe2, 0x24, 0xfc, 0x18, 0x6b, 0xaa, 0x2a, 0x0b, 0x45, 0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