// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: combos/both/one.proto package one import ( bytes "bytes" compress_gzip "compress/gzip" encoding_binary "encoding/binary" fmt "fmt" _ "github.com/gogo/protobuf/gogoproto" github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" io "io" io_ioutil "io/ioutil" math "math" math_bits "math/bits" reflect "reflect" strings "strings" ) // 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Subby struct { Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Subby) Reset() { *m = Subby{} } func (*Subby) ProtoMessage() {} func (*Subby) Descriptor() ([]byte, []int) { return fileDescriptor_5ca5df6bbfd2f47d, []int{0} } func (m *Subby) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *Subby) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Subby.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *Subby) XXX_Merge(src proto.Message) { xxx_messageInfo_Subby.Merge(m, src) } func (m *Subby) XXX_Size() int { return m.Size() } func (m *Subby) XXX_DiscardUnknown() { xxx_messageInfo_Subby.DiscardUnknown(m) } var xxx_messageInfo_Subby proto.InternalMessageInfo type SampleOneOf struct { // Types that are valid to be assigned to TestOneof: // *SampleOneOf_Field1 // *SampleOneOf_Field2 // *SampleOneOf_Field3 // *SampleOneOf_Field4 // *SampleOneOf_Field5 // *SampleOneOf_Field6 // *SampleOneOf_Field7 // *SampleOneOf_Field8 // *SampleOneOf_Field9 // *SampleOneOf_Field10 // *SampleOneOf_Field11 // *SampleOneOf_Field12 // *SampleOneOf_Field13 // *SampleOneOf_Field14 // *SampleOneOf_Field15 // *SampleOneOf_SubMessage TestOneof isSampleOneOf_TestOneof `protobuf_oneof:"test_oneof"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SampleOneOf) Reset() { *m = SampleOneOf{} } func (*SampleOneOf) ProtoMessage() {} func (*SampleOneOf) Descriptor() ([]byte, []int) { return fileDescriptor_5ca5df6bbfd2f47d, []int{1} } func (m *SampleOneOf) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *SampleOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_SampleOneOf.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *SampleOneOf) XXX_Merge(src proto.Message) { xxx_messageInfo_SampleOneOf.Merge(m, src) } func (m *SampleOneOf) XXX_Size() int { return m.Size() } func (m *SampleOneOf) XXX_DiscardUnknown() { xxx_messageInfo_SampleOneOf.DiscardUnknown(m) } var xxx_messageInfo_SampleOneOf proto.InternalMessageInfo type isSampleOneOf_TestOneof interface { isSampleOneOf_TestOneof() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int Compare(interface{}) int } type SampleOneOf_Field1 struct { Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,proto3,oneof" json:"Field1,omitempty"` } type SampleOneOf_Field2 struct { Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,proto3,oneof" json:"Field2,omitempty"` } type SampleOneOf_Field3 struct { Field3 int32 `protobuf:"varint,3,opt,name=Field3,proto3,oneof" json:"Field3,omitempty"` } type SampleOneOf_Field4 struct { Field4 int64 `protobuf:"varint,4,opt,name=Field4,proto3,oneof" json:"Field4,omitempty"` } type SampleOneOf_Field5 struct { Field5 uint32 `protobuf:"varint,5,opt,name=Field5,proto3,oneof" json:"Field5,omitempty"` } type SampleOneOf_Field6 struct { Field6 uint64 `protobuf:"varint,6,opt,name=Field6,proto3,oneof" json:"Field6,omitempty"` } type SampleOneOf_Field7 struct { Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,proto3,oneof" json:"Field7,omitempty"` } type SampleOneOf_Field8 struct { Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,proto3,oneof" json:"Field8,omitempty"` } type SampleOneOf_Field9 struct { Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,proto3,oneof" json:"Field9,omitempty"` } type SampleOneOf_Field10 struct { Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,proto3,oneof" json:"Field10,omitempty"` } type SampleOneOf_Field11 struct { Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,proto3,oneof" json:"Field11,omitempty"` } type SampleOneOf_Field12 struct { Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,proto3,oneof" json:"Field12,omitempty"` } type SampleOneOf_Field13 struct { Field13 bool `protobuf:"varint,13,opt,name=Field13,proto3,oneof" json:"Field13,omitempty"` } type SampleOneOf_Field14 struct { Field14 string `protobuf:"bytes,14,opt,name=Field14,proto3,oneof" json:"Field14,omitempty"` } type SampleOneOf_Field15 struct { Field15 []byte `protobuf:"bytes,15,opt,name=Field15,proto3,oneof" json:"Field15,omitempty"` } type SampleOneOf_SubMessage struct { SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,proto3,oneof" json:"sub_message,omitempty"` } func (*SampleOneOf_Field1) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field2) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field3) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field4) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field5) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field6) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field7) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field8) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field9) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field10) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field11) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field12) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field13) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field14) isSampleOneOf_TestOneof() {} func (*SampleOneOf_Field15) isSampleOneOf_TestOneof() {} func (*SampleOneOf_SubMessage) isSampleOneOf_TestOneof() {} func (m *SampleOneOf) GetTestOneof() isSampleOneOf_TestOneof { if m != nil { return m.TestOneof } return nil } func (m *SampleOneOf) GetField1() float64 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field1); ok { return x.Field1 } return 0 } func (m *SampleOneOf) GetField2() float32 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field2); ok { return x.Field2 } return 0 } func (m *SampleOneOf) GetField3() int32 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field3); ok { return x.Field3 } return 0 } func (m *SampleOneOf) GetField4() int64 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field4); ok { return x.Field4 } return 0 } func (m *SampleOneOf) GetField5() uint32 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field5); ok { return x.Field5 } return 0 } func (m *SampleOneOf) GetField6() uint64 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field6); ok { return x.Field6 } return 0 } func (m *SampleOneOf) GetField7() int32 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field7); ok { return x.Field7 } return 0 } func (m *SampleOneOf) GetField8() int64 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field8); ok { return x.Field8 } return 0 } func (m *SampleOneOf) GetField9() uint32 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field9); ok { return x.Field9 } return 0 } func (m *SampleOneOf) GetField10() int32 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field10); ok { return x.Field10 } return 0 } func (m *SampleOneOf) GetField11() uint64 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field11); ok { return x.Field11 } return 0 } func (m *SampleOneOf) GetField12() int64 { if x, ok := m.GetTestOneof().(*SampleOneOf_Field12); ok { return x.Field12 } return 0 } func (m *SampleOneOf) GetField13() bool { if x, ok := m.GetTestOneof().(*SampleOneOf_Field13); ok { return x.Field13 } return false } func (m *SampleOneOf) GetField14() string { if x, ok := m.GetTestOneof().(*SampleOneOf_Field14); ok { return x.Field14 } return "" } func (m *SampleOneOf) GetField15() []byte { if x, ok := m.GetTestOneof().(*SampleOneOf_Field15); ok { return x.Field15 } return nil } func (m *SampleOneOf) GetSubMessage() *Subby { if x, ok := m.GetTestOneof().(*SampleOneOf_SubMessage); ok { return x.SubMessage } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*SampleOneOf) XXX_OneofWrappers() []interface{} { return []interface{}{ (*SampleOneOf_Field1)(nil), (*SampleOneOf_Field2)(nil), (*SampleOneOf_Field3)(nil), (*SampleOneOf_Field4)(nil), (*SampleOneOf_Field5)(nil), (*SampleOneOf_Field6)(nil), (*SampleOneOf_Field7)(nil), (*SampleOneOf_Field8)(nil), (*SampleOneOf_Field9)(nil), (*SampleOneOf_Field10)(nil), (*SampleOneOf_Field11)(nil), (*SampleOneOf_Field12)(nil), (*SampleOneOf_Field13)(nil), (*SampleOneOf_Field14)(nil), (*SampleOneOf_Field15)(nil), (*SampleOneOf_SubMessage)(nil), } } func init() { proto.RegisterType((*Subby)(nil), "one.Subby") proto.RegisterType((*SampleOneOf)(nil), "one.SampleOneOf") } func init() { proto.RegisterFile("combos/both/one.proto", fileDescriptor_5ca5df6bbfd2f47d) } var fileDescriptor_5ca5df6bbfd2f47d = []byte{ // 406 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 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 0x3c, 0x89, 0x57, 0x4f, 0xf0, 0xe6, 0x49, 0xdc, 0xbf, 0x90, 0x78, 0x78, 0x21, 0x30, 0xdd, 0xb6, 0x4a, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x86, 0x03, 0x1f, 0x92, 0x97, 0x02, 0x00, 0x00, } func (this *Subby) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*Subby) if !ok { that2, ok := that.(Subby) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Sub != that1.Sub { if this.Sub < that1.Sub { return -1 } return 1 } if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { return c } return 0 } func (this *SampleOneOf) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf) if !ok { that2, ok := that.(SampleOneOf) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if that1.TestOneof == nil { if this.TestOneof != nil { return 1 } } else if this.TestOneof == nil { return -1 } else { thisType := -1 switch this.TestOneof.(type) { case *SampleOneOf_Field1: thisType = 0 case *SampleOneOf_Field2: thisType = 1 case *SampleOneOf_Field3: thisType = 2 case *SampleOneOf_Field4: thisType = 3 case *SampleOneOf_Field5: thisType = 4 case *SampleOneOf_Field6: thisType = 5 case *SampleOneOf_Field7: thisType = 6 case *SampleOneOf_Field8: thisType = 7 case *SampleOneOf_Field9: thisType = 8 case *SampleOneOf_Field10: thisType = 9 case *SampleOneOf_Field11: thisType = 10 case *SampleOneOf_Field12: thisType = 11 case *SampleOneOf_Field13: thisType = 12 case *SampleOneOf_Field14: thisType = 13 case *SampleOneOf_Field15: thisType = 14 case *SampleOneOf_SubMessage: thisType = 15 default: panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.TestOneof)) } that1Type := -1 switch that1.TestOneof.(type) { case *SampleOneOf_Field1: that1Type = 0 case *SampleOneOf_Field2: that1Type = 1 case *SampleOneOf_Field3: that1Type = 2 case *SampleOneOf_Field4: that1Type = 3 case *SampleOneOf_Field5: that1Type = 4 case *SampleOneOf_Field6: that1Type = 5 case *SampleOneOf_Field7: that1Type = 6 case *SampleOneOf_Field8: that1Type = 7 case *SampleOneOf_Field9: that1Type = 8 case *SampleOneOf_Field10: that1Type = 9 case *SampleOneOf_Field11: that1Type = 10 case *SampleOneOf_Field12: that1Type = 11 case *SampleOneOf_Field13: that1Type = 12 case *SampleOneOf_Field14: that1Type = 13 case *SampleOneOf_Field15: that1Type = 14 case *SampleOneOf_SubMessage: that1Type = 15 default: panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.TestOneof)) } if thisType == that1Type { if c := this.TestOneof.Compare(that1.TestOneof); c != 0 { return c } } else if thisType < that1Type { return -1 } else if thisType > that1Type { return 1 } } if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { return c } return 0 } func (this *SampleOneOf_Field1) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field1) if !ok { that2, ok := that.(SampleOneOf_Field1) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field1 != that1.Field1 { if this.Field1 < that1.Field1 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field2) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field2) if !ok { that2, ok := that.(SampleOneOf_Field2) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field2 != that1.Field2 { if this.Field2 < that1.Field2 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field3) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field3) if !ok { that2, ok := that.(SampleOneOf_Field3) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field3 != that1.Field3 { if this.Field3 < that1.Field3 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field4) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field4) if !ok { that2, ok := that.(SampleOneOf_Field4) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field4 != that1.Field4 { if this.Field4 < that1.Field4 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field5) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field5) if !ok { that2, ok := that.(SampleOneOf_Field5) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field5 != that1.Field5 { if this.Field5 < that1.Field5 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field6) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field6) if !ok { that2, ok := that.(SampleOneOf_Field6) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field6 != that1.Field6 { if this.Field6 < that1.Field6 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field7) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field7) if !ok { that2, ok := that.(SampleOneOf_Field7) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field7 != that1.Field7 { if this.Field7 < that1.Field7 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field8) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field8) if !ok { that2, ok := that.(SampleOneOf_Field8) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field8 != that1.Field8 { if this.Field8 < that1.Field8 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field9) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field9) if !ok { that2, ok := that.(SampleOneOf_Field9) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field9 != that1.Field9 { if this.Field9 < that1.Field9 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field10) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field10) if !ok { that2, ok := that.(SampleOneOf_Field10) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field10 != that1.Field10 { if this.Field10 < that1.Field10 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field11) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field11) if !ok { that2, ok := that.(SampleOneOf_Field11) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field11 != that1.Field11 { if this.Field11 < that1.Field11 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field12) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field12) if !ok { that2, ok := that.(SampleOneOf_Field12) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field12 != that1.Field12 { if this.Field12 < that1.Field12 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field13) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field13) if !ok { that2, ok := that.(SampleOneOf_Field13) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field13 != that1.Field13 { if !this.Field13 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field14) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field14) if !ok { that2, ok := that.(SampleOneOf_Field14) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if this.Field14 != that1.Field14 { if this.Field14 < that1.Field14 { return -1 } return 1 } return 0 } func (this *SampleOneOf_Field15) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_Field15) if !ok { that2, ok := that.(SampleOneOf_Field15) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if c := bytes.Compare(this.Field15, that1.Field15); c != 0 { return c } return 0 } func (this *SampleOneOf_SubMessage) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*SampleOneOf_SubMessage) if !ok { that2, ok := that.(SampleOneOf_SubMessage) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if c := this.SubMessage.Compare(that1.SubMessage); c != 0 { return c } return 0 } func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { return OneDescription() } func (this *SampleOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { return OneDescription() } func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{} var gzipped = []byte{ // 4121 bytes of a gzipped FileDescriptorSet 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5b, 0x70, 0xe3, 0xe6, 0x75, 0x16, 0x78, 0x13, 0x79, 0x48, 0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0x06, 0xff, 0x4b, 0x73, 0x23, 0x45, 0x7c, 0x4e, 0x63, 0x01, 0xce, 0x0b, 0x69, 0x06, 0xd2, 0x64, 0x99, 0x34, 0x10, 0x2f, 0x6d, 0xfe, 0x33, 0x4e, 0xac, 0x06, 0x6a, 0xaa, 0x1d, 0xc3, 0x53, 0x6e, 0xaa, 0x46, 0x07, 0x91, 0x84, 0xcf, 0xc8, 0x39, 0x26, 0xfc, 0x0c, 0x96, 0x49, 0x67, 0x21, 0x4b, 0x57, 0x95, 0x6e, 0x36, 0xd0, 0x4b, 0x64, 0xf7, 0x4c, 0xca, 0x74, 0xa1, 0x6d, 0x62, 0x09, 0x7e, 0xfd, 0x75, 0xd7, 0x32, 0x79, 0x6a, 0x92, 0x57, 0x60, 0x01, 0x79, 0xfd, 0xc5, 0xde, 0x8d, 0xfb, 0xc1, 0xc1, 0xc3, 0xeb, 0xcd, 0xa9, 0xb9, 0x6f, 0xc5, 0x20, 0x41, 0xf6, 0x8b, 0x71, 0xc8, 0xee, 0xbd, 0xb0, 0x5b, 0x51, 0xd6, 0xab, 0xfb, 0xab, 0x5b, 0x15, 0x51, 0x90, 0xf2, 0x00, 0x44, 0x70, 0x75, 0xab, 0x5a, 0xde, 0x13, 0x63, 0xfe, 0xf3, 0xe6, 0xce, 0xde, 0x85, 0x65, 0x31, 0xee, 0x03, 0xf6, 0xa9, 0x20, 0x11, 0x36, 0x38, 0xbf, 0x24, 0x26, 0x25, 0x11, 0x72, 0x94, 0x60, 0xf3, 0xf9, 0xca, 0xfa, 0x85, 0x65, 0x31, 0xd5, 0x2d, 0x39, 0xbf, 0x24, 0x8e, 0x4a, 0x63, 0x90, 0x21, 0x92, 0xd5, 0x6a, 0x75, 0x4b, 0x4c, 0xfb, 0x9c, 0xb5, 0x3d, 0x79, 0x73, 0x67, 0x43, 0xcc, 0xf8, 0x9c, 0x1b, 0x72, 0x75, 0x7f, 0x57, 0x04, 0x9f, 0x61, 0xbb, 0x52, 0xab, 0x95, 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0x0a, 0x3f, 0x3a, 0x2a, 0x8e, 0xbc, 0x77, 0x54, 0x14, 0xde, 0x3f, 0x2a, 0x8e, 0xdc, 0x79, 0xbb, 0x38, 0xf2, 0xc6, 0xdb, 0x45, 0xa1, 0x9e, 0x22, 0xa9, 0x74, 0xfe, 0xc7, 0x01, 0x00, 0x00, 0xff, 0xff, 0x08, 0x6d, 0x89, 0x62, 0x8e, 0x35, 0x00, 0x00, } r := bytes.NewReader(gzipped) gzipr, err := compress_gzip.NewReader(r) if err != nil { panic(err) } ungzipped, err := io_ioutil.ReadAll(gzipr) if err != nil { panic(err) } if err := github_com_gogo_protobuf_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 != that1.Sub { 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 != that1.Sub { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *SampleOneOf) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf) if !ok { that2, ok := that.(SampleOneOf) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf 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 *SampleOneOf_Field1) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field1) if !ok { that2, ok := that.(SampleOneOf_Field1) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field1") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field1 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field2) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field2) if !ok { that2, ok := that.(SampleOneOf_Field2) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field2") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field2 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field3) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field3) if !ok { that2, ok := that.(SampleOneOf_Field3) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field3") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field3 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field4) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field4) if !ok { that2, ok := that.(SampleOneOf_Field4) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field4") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field4 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field5) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field5) if !ok { that2, ok := that.(SampleOneOf_Field5) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field5") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field5 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field6) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field6) if !ok { that2, ok := that.(SampleOneOf_Field6) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field6") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field6 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field7) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field7) if !ok { that2, ok := that.(SampleOneOf_Field7) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field7") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field7 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field8) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field8) if !ok { that2, ok := that.(SampleOneOf_Field8) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field8") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field8 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field9) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field9) if !ok { that2, ok := that.(SampleOneOf_Field9) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field9") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field9 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field10) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field10) if !ok { that2, ok := that.(SampleOneOf_Field10) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field10") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field10 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field11) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field11) if !ok { that2, ok := that.(SampleOneOf_Field11) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field11") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field11 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field12) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field12) if !ok { that2, ok := that.(SampleOneOf_Field12) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field12") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field12 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field13) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field13) if !ok { that2, ok := that.(SampleOneOf_Field13) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field13") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field13 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field14) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field14) if !ok { that2, ok := that.(SampleOneOf_Field14) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field14") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field14 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_Field15) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_Field15) if !ok { that2, ok := that.(SampleOneOf_Field15) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_Field15") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_Field15 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf_SubMessage) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*SampleOneOf_SubMessage) if !ok { that2, ok := that.(SampleOneOf_SubMessage) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *SampleOneOf_SubMessage") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *SampleOneOf_SubMessage but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *SampleOneOf_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 *SampleOneOf) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf) if !ok { that2, ok := that.(SampleOneOf) 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 *SampleOneOf_Field1) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field1) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field2) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field2) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field3) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field3) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field4) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field4) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field5) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field5) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field6) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field6) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field7) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field7) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field8) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field8) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field9) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field9) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field10) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field10) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field11) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field11) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field12) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field12) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field13) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field13) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field14) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field14) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field15) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_Field15) if !ok { that2, ok := that.(SampleOneOf_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 *SampleOneOf_SubMessage) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*SampleOneOf_SubMessage) if !ok { that2, ok := that.(SampleOneOf_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 *Subby) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 5) s = append(s, "&one.Subby{") s = append(s, "Sub: "+fmt.Sprintf("%#v", this.Sub)+",\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 *SampleOneOf) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 20) s = append(s, "&one.SampleOneOf{") 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 *SampleOneOf_Field1) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field1{` + `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") return s } func (this *SampleOneOf_Field2) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field2{` + `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") return s } func (this *SampleOneOf_Field3) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field3{` + `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") return s } func (this *SampleOneOf_Field4) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field4{` + `Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ") return s } func (this *SampleOneOf_Field5) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field5{` + `Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ") return s } func (this *SampleOneOf_Field6) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field6{` + `Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ") return s } func (this *SampleOneOf_Field7) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field7{` + `Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ") return s } func (this *SampleOneOf_Field8) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field8{` + `Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ") return s } func (this *SampleOneOf_Field9) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field9{` + `Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ") return s } func (this *SampleOneOf_Field10) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field10{` + `Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ") return s } func (this *SampleOneOf_Field11) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field11{` + `Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ") return s } func (this *SampleOneOf_Field12) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field12{` + `Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ") return s } func (this *SampleOneOf_Field13) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field13{` + `Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ") return s } func (this *SampleOneOf_Field14) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field14{` + `Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ") return s } func (this *SampleOneOf_Field15) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_Field15{` + `Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ") return s } func (this *SampleOneOf_SubMessage) GoString() string { if this == nil { return "nil" } s := strings.Join([]string{`&one.SampleOneOf_SubMessage{` + `SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ") 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.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Subby) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *Subby) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Sub) > 0 { i -= len(m.Sub) copy(dAtA[i:], m.Sub) i = encodeVarintOne(dAtA, i, uint64(len(m.Sub))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *SampleOneOf) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *SampleOneOf) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.XXX_unrecognized != nil { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } if m.TestOneof != nil { { size := m.TestOneof.Size() i -= size if _, err := m.TestOneof.MarshalTo(dAtA[i:]); err != nil { return 0, err } } } return len(dAtA) - i, nil } func (m *SampleOneOf_Field1) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field1) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= 8 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Field1)))) i-- dAtA[i] = 0x9 return len(dAtA) - i, nil } func (m *SampleOneOf_Field2) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field2) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= 4 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Field2)))) i-- dAtA[i] = 0x15 return len(dAtA) - i, nil } func (m *SampleOneOf_Field3) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field3) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i = encodeVarintOne(dAtA, i, uint64(m.Field3)) i-- dAtA[i] = 0x18 return len(dAtA) - i, nil } func (m *SampleOneOf_Field4) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field4) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i = encodeVarintOne(dAtA, i, uint64(m.Field4)) i-- dAtA[i] = 0x20 return len(dAtA) - i, nil } func (m *SampleOneOf_Field5) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field5) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i = encodeVarintOne(dAtA, i, uint64(m.Field5)) i-- dAtA[i] = 0x28 return len(dAtA) - i, nil } func (m *SampleOneOf_Field6) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field6) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i = encodeVarintOne(dAtA, i, uint64(m.Field6)) i-- dAtA[i] = 0x30 return len(dAtA) - i, nil } func (m *SampleOneOf_Field7) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field7) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i = encodeVarintOne(dAtA, i, uint64((uint32(m.Field7)<<1)^uint32((m.Field7>>31)))) i-- dAtA[i] = 0x38 return len(dAtA) - i, nil } func (m *SampleOneOf_Field8) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field8) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i = encodeVarintOne(dAtA, i, uint64((uint64(m.Field8)<<1)^uint64((m.Field8>>63)))) i-- dAtA[i] = 0x40 return len(dAtA) - i, nil } func (m *SampleOneOf_Field9) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field9) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= 4 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field9)) i-- dAtA[i] = 0x4d return len(dAtA) - i, nil } func (m *SampleOneOf_Field10) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field10) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= 4 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(m.Field10)) i-- dAtA[i] = 0x55 return len(dAtA) - i, nil } func (m *SampleOneOf_Field11) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field11) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= 8 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field11)) i-- dAtA[i] = 0x59 return len(dAtA) - i, nil } func (m *SampleOneOf_Field12) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field12) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= 8 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.Field12)) i-- dAtA[i] = 0x61 return len(dAtA) - i, nil } func (m *SampleOneOf_Field13) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field13) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i-- if m.Field13 { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- dAtA[i] = 0x68 return len(dAtA) - i, nil } func (m *SampleOneOf_Field14) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field14) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) i -= len(m.Field14) copy(dAtA[i:], m.Field14) i = encodeVarintOne(dAtA, i, uint64(len(m.Field14))) i-- dAtA[i] = 0x72 return len(dAtA) - i, nil } func (m *SampleOneOf_Field15) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_Field15) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.Field15 != nil { i -= len(m.Field15) copy(dAtA[i:], m.Field15) i = encodeVarintOne(dAtA, i, uint64(len(m.Field15))) i-- dAtA[i] = 0x7a } return len(dAtA) - i, nil } func (m *SampleOneOf_SubMessage) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *SampleOneOf_SubMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.SubMessage != nil { { size, err := m.SubMessage.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintOne(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x1 i-- dAtA[i] = 0x82 } return len(dAtA) - i, nil } func encodeVarintOne(dAtA []byte, offset int, v uint64) int { offset -= sovOne(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return base } func NewPopulatedSubby(r randyOne, easy bool) *Subby { this := &Subby{} this.Sub = string(randStringOne(r)) if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedOne(r, 2) } return this } func NewPopulatedSampleOneOf(r randyOne, easy bool) *SampleOneOf { this := &SampleOneOf{} 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 = NewPopulatedSampleOneOf_Field1(r, easy) case 2: this.TestOneof = NewPopulatedSampleOneOf_Field2(r, easy) case 3: this.TestOneof = NewPopulatedSampleOneOf_Field3(r, easy) case 4: this.TestOneof = NewPopulatedSampleOneOf_Field4(r, easy) case 5: this.TestOneof = NewPopulatedSampleOneOf_Field5(r, easy) case 6: this.TestOneof = NewPopulatedSampleOneOf_Field6(r, easy) case 7: this.TestOneof = NewPopulatedSampleOneOf_Field7(r, easy) case 8: this.TestOneof = NewPopulatedSampleOneOf_Field8(r, easy) case 9: this.TestOneof = NewPopulatedSampleOneOf_Field9(r, easy) case 10: this.TestOneof = NewPopulatedSampleOneOf_Field10(r, easy) case 11: this.TestOneof = NewPopulatedSampleOneOf_Field11(r, easy) case 12: this.TestOneof = NewPopulatedSampleOneOf_Field12(r, easy) case 13: this.TestOneof = NewPopulatedSampleOneOf_Field13(r, easy) case 14: this.TestOneof = NewPopulatedSampleOneOf_Field14(r, easy) case 15: this.TestOneof = NewPopulatedSampleOneOf_Field15(r, easy) case 16: this.TestOneof = NewPopulatedSampleOneOf_SubMessage(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedOne(r, 17) } return this } func NewPopulatedSampleOneOf_Field1(r randyOne, easy bool) *SampleOneOf_Field1 { this := &SampleOneOf_Field1{} this.Field1 = float64(r.Float64()) if r.Intn(2) == 0 { this.Field1 *= -1 } return this } func NewPopulatedSampleOneOf_Field2(r randyOne, easy bool) *SampleOneOf_Field2 { this := &SampleOneOf_Field2{} this.Field2 = float32(r.Float32()) if r.Intn(2) == 0 { this.Field2 *= -1 } return this } func NewPopulatedSampleOneOf_Field3(r randyOne, easy bool) *SampleOneOf_Field3 { this := &SampleOneOf_Field3{} this.Field3 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field3 *= -1 } return this } func NewPopulatedSampleOneOf_Field4(r randyOne, easy bool) *SampleOneOf_Field4 { this := &SampleOneOf_Field4{} this.Field4 = int64(r.Int63()) if r.Intn(2) == 0 { this.Field4 *= -1 } return this } func NewPopulatedSampleOneOf_Field5(r randyOne, easy bool) *SampleOneOf_Field5 { this := &SampleOneOf_Field5{} this.Field5 = uint32(r.Uint32()) return this } func NewPopulatedSampleOneOf_Field6(r randyOne, easy bool) *SampleOneOf_Field6 { this := &SampleOneOf_Field6{} this.Field6 = uint64(uint64(r.Uint32())) return this } func NewPopulatedSampleOneOf_Field7(r randyOne, easy bool) *SampleOneOf_Field7 { this := &SampleOneOf_Field7{} this.Field7 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field7 *= -1 } return this } func NewPopulatedSampleOneOf_Field8(r randyOne, easy bool) *SampleOneOf_Field8 { this := &SampleOneOf_Field8{} this.Field8 = int64(r.Int63()) if r.Intn(2) == 0 { this.Field8 *= -1 } return this } func NewPopulatedSampleOneOf_Field9(r randyOne, easy bool) *SampleOneOf_Field9 { this := &SampleOneOf_Field9{} this.Field9 = uint32(r.Uint32()) return this } func NewPopulatedSampleOneOf_Field10(r randyOne, easy bool) *SampleOneOf_Field10 { this := &SampleOneOf_Field10{} this.Field10 = int32(r.Int31()) if r.Intn(2) == 0 { this.Field10 *= -1 } return this } func NewPopulatedSampleOneOf_Field11(r randyOne, easy bool) *SampleOneOf_Field11 { this := &SampleOneOf_Field11{} this.Field11 = uint64(uint64(r.Uint32())) return this } func NewPopulatedSampleOneOf_Field12(r randyOne, easy bool) *SampleOneOf_Field12 { this := &SampleOneOf_Field12{} this.Field12 = int64(r.Int63()) if r.Intn(2) == 0 { this.Field12 *= -1 } return this } func NewPopulatedSampleOneOf_Field13(r randyOne, easy bool) *SampleOneOf_Field13 { this := &SampleOneOf_Field13{} this.Field13 = bool(bool(r.Intn(2) == 0)) return this } func NewPopulatedSampleOneOf_Field14(r randyOne, easy bool) *SampleOneOf_Field14 { this := &SampleOneOf_Field14{} this.Field14 = string(randStringOne(r)) return this } func NewPopulatedSampleOneOf_Field15(r randyOne, easy bool) *SampleOneOf_Field15 { this := &SampleOneOf_Field15{} v1 := r.Intn(100) this.Field15 = make([]byte, v1) for i := 0; i < v1; i++ { this.Field15[i] = byte(r.Intn(256)) } return this } func NewPopulatedSampleOneOf_SubMessage(r randyOne, easy bool) *SampleOneOf_SubMessage { this := &SampleOneOf_SubMessage{} this.SubMessage = NewPopulatedSubby(r, easy) 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 { v2 := r.Intn(100) tmps := make([]rune, v2) for i := 0; i < v2; 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)) v3 := r.Int63() if r.Intn(2) == 0 { v3 *= -1 } dAtA = encodeVarintPopulateOne(dAtA, uint64(v3)) 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) { if m == nil { return 0 } var l int _ = l l = len(m.Sub) if l > 0 { n += 1 + l + sovOne(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *SampleOneOf) Size() (n int) { if m == nil { return 0 } 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 *SampleOneOf_Field1) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 9 return n } func (m *SampleOneOf_Field2) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 5 return n } func (m *SampleOneOf_Field3) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 1 + sovOne(uint64(m.Field3)) return n } func (m *SampleOneOf_Field4) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 1 + sovOne(uint64(m.Field4)) return n } func (m *SampleOneOf_Field5) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 1 + sovOne(uint64(m.Field5)) return n } func (m *SampleOneOf_Field6) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 1 + sovOne(uint64(m.Field6)) return n } func (m *SampleOneOf_Field7) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 1 + sozOne(uint64(m.Field7)) return n } func (m *SampleOneOf_Field8) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 1 + sozOne(uint64(m.Field8)) return n } func (m *SampleOneOf_Field9) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 5 return n } func (m *SampleOneOf_Field10) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 5 return n } func (m *SampleOneOf_Field11) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 9 return n } func (m *SampleOneOf_Field12) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 9 return n } func (m *SampleOneOf_Field13) Size() (n int) { if m == nil { return 0 } var l int _ = l n += 2 return n } func (m *SampleOneOf_Field14) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Field14) n += 1 + l + sovOne(uint64(l)) return n } func (m *SampleOneOf_Field15) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Field15 != nil { l = len(m.Field15) n += 1 + l + sovOne(uint64(l)) } return n } func (m *SampleOneOf_SubMessage) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.SubMessage != nil { l = m.SubMessage.Size() n += 2 + l + sovOne(uint64(l)) } return n } func sovOne(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } 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:` + fmt.Sprintf("%v", this.Sub) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *SampleOneOf) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf{`, `TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field1) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field1{`, `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field2) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field2{`, `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field3) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field3{`, `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field4) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field4{`, `Field4:` + fmt.Sprintf("%v", this.Field4) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field5) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field5{`, `Field5:` + fmt.Sprintf("%v", this.Field5) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field6) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field6{`, `Field6:` + fmt.Sprintf("%v", this.Field6) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field7) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field7{`, `Field7:` + fmt.Sprintf("%v", this.Field7) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field8) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field8{`, `Field8:` + fmt.Sprintf("%v", this.Field8) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field9) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field9{`, `Field9:` + fmt.Sprintf("%v", this.Field9) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field10) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field10{`, `Field10:` + fmt.Sprintf("%v", this.Field10) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field11) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field11{`, `Field11:` + fmt.Sprintf("%v", this.Field11) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field12) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field12{`, `Field12:` + fmt.Sprintf("%v", this.Field12) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field13) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field13{`, `Field13:` + fmt.Sprintf("%v", this.Field13) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field14) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field14{`, `Field14:` + fmt.Sprintf("%v", this.Field14) + `,`, `}`, }, "") return s } func (this *SampleOneOf_Field15) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_Field15{`, `Field15:` + fmt.Sprintf("%v", this.Field15) + `,`, `}`, }, "") return s } func (this *SampleOneOf_SubMessage) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&SampleOneOf_SubMessage{`, `SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`, `}`, }, "") 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 (m *Subby) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Subby: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Subby: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthOne } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthOne } if postIndex > l { return io.ErrUnexpectedEOF } m.Sub = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipOne(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthOne } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *SampleOneOf) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: SampleOneOf: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: SampleOneOf: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 1 { return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) } var v uint64 if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) iNdEx += 8 m.TestOneof = &SampleOneOf_Field1{float64(math.Float64frombits(v))} case 2: if wireType != 5 { return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) } var v uint32 if (iNdEx + 4) > l { return io.ErrUnexpectedEOF } v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) iNdEx += 4 m.TestOneof = &SampleOneOf_Field2{float32(math.Float32frombits(v))} case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) } var v int32 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= int32(b&0x7F) << shift if b < 0x80 { break } } m.TestOneof = &SampleOneOf_Field3{v} case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) } var v int64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= int64(b&0x7F) << shift if b < 0x80 { break } } m.TestOneof = &SampleOneOf_Field4{v} case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) } var v uint32 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= uint32(b&0x7F) << shift if b < 0x80 { break } } m.TestOneof = &SampleOneOf_Field5{v} case 6: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) } var v uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= uint64(b&0x7F) << shift if b < 0x80 { break } } m.TestOneof = &SampleOneOf_Field6{v} case 7: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) } var v int32 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= int32(b&0x7F) << shift if b < 0x80 { break } } v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) m.TestOneof = &SampleOneOf_Field7{v} case 8: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) } var v uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= uint64(b&0x7F) << shift if b < 0x80 { break } } v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) m.TestOneof = &SampleOneOf_Field8{int64(v)} case 9: if wireType != 5 { return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) } var v uint32 if (iNdEx + 4) > l { return io.ErrUnexpectedEOF } v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) iNdEx += 4 m.TestOneof = &SampleOneOf_Field9{v} case 10: if wireType != 5 { return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) } var v int32 if (iNdEx + 4) > l { return io.ErrUnexpectedEOF } v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) iNdEx += 4 m.TestOneof = &SampleOneOf_Field10{v} case 11: if wireType != 1 { return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) } var v uint64 if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) iNdEx += 8 m.TestOneof = &SampleOneOf_Field11{v} case 12: if wireType != 1 { return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) } var v int64 if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) iNdEx += 8 m.TestOneof = &SampleOneOf_Field12{v} case 13: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) } var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= int(b&0x7F) << shift if b < 0x80 { break } } b := bool(v != 0) m.TestOneof = &SampleOneOf_Field13{b} case 14: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthOne } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthOne } if postIndex > l { return io.ErrUnexpectedEOF } m.TestOneof = &SampleOneOf_Field14{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex case 15: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Field15", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } if byteLen < 0 { return ErrInvalidLengthOne } postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthOne } if postIndex > l { return io.ErrUnexpectedEOF } v := make([]byte, postIndex-iNdEx) copy(v, dAtA[iNdEx:postIndex]) m.TestOneof = &SampleOneOf_Field15{v} iNdEx = postIndex case 16: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SubMessage", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowOne } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= int(b&0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthOne } postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthOne } if postIndex > l { return io.ErrUnexpectedEOF } v := &Subby{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } m.TestOneof = &SampleOneOf_SubMessage{v} iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipOne(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthOne } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func skipOne(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 depth := 0 for iNdEx < l { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowOne } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } wireType := int(wire & 0x7) switch wireType { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowOne } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } iNdEx++ if dAtA[iNdEx-1] < 0x80 { break } } case 1: iNdEx += 8 case 2: var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowOne } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ length |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if length < 0 { return 0, ErrInvalidLengthOne } iNdEx += length case 3: depth++ case 4: if depth == 0 { return 0, ErrUnexpectedEndOfGroupOne } depth-- case 5: iNdEx += 4 default: return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { return 0, ErrInvalidLengthOne } if depth == 0 { return iNdEx, nil } } return 0, io.ErrUnexpectedEOF } var ( ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOne = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOne = fmt.Errorf("proto: unexpected end of group") )