mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 16:51:01 -04:00
5620 lines
153 KiB
Go
5620 lines
153 KiB
Go
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||
|
// source: combos/both/one.proto
|
||
|
|
||
|
/*
|
||
|
Package one is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
combos/both/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 github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
|
||
|
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
|
||
|
import compress_gzip "compress/gzip"
|
||
|
import bytes "bytes"
|
||
|
import io_ioutil "io/ioutil"
|
||
|
|
||
|
import strings "strings"
|
||
|
import reflect "reflect"
|
||
|
|
||
|
import encoding_binary "encoding/binary"
|
||
|
|
||
|
import io "io"
|
||
|
|
||
|
// 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 *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
||
|
return OneDescription()
|
||
|
}
|
||
|
func (this *AllTypesOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
||
|
return OneDescription()
|
||
|
}
|
||
|
func (this *TwoOneofs) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
||
|
return OneDescription()
|
||
|
}
|
||
|
func (this *CustomOneof) 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{
|
||
|
// 4116 bytes of a gzipped FileDescriptorSet
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5d, 0x70, 0x24, 0xd7,
|
||
|
0x55, 0x56, 0xcf, 0x8f, 0x34, 0x73, 0x66, 0x34, 0x6a, 0x5d, 0x69, 0x77, 0x67, 0xe5, 0x78, 0x76,
|
||
|
0x57, 0xfe, 0x93, 0xed, 0x58, 0xb2, 0xb5, 0xd2, 0xfe, 0xcc, 0x92, 0x98, 0x91, 0x34, 0xab, 0xd5,
|
||
|
0x22, 0x69, 0x94, 0x96, 0x14, 0xaf, 0xc3, 0x43, 0x57, 0xab, 0xe7, 0xce, 0xa8, 0x77, 0x7b, 0xba,
|
||
|
0x3b, 0xdd, 0x3d, 0xbb, 0xd6, 0x16, 0x0f, 0x4b, 0x99, 0x9f, 0x4a, 0x51, 0xfc, 0x05, 0xaa, 0x48,
|
||
|
0x8c, 0x63, 0x20, 0x55, 0xe0, 0x90, 0xf0, 0x93, 0x10, 0x08, 0x81, 0x27, 0x5e, 0x02, 0x7e, 0xa2,
|
||
|
0x9c, 0x37, 0x8a, 0xa2, 0x5c, 0x5e, 0xe1, 0x2a, 0x02, 0x18, 0x30, 0xc4, 0x54, 0xa5, 0xf0, 0x0b,
|
||
|
0x75, 0xff, 0xba, 0x7b, 0x7e, 0xb4, 0x3d, 0x4a, 0xc5, 0xce, 0x93, 0xd4, 0xe7, 0x9c, 0xef, 0xeb,
|
||
|
0x73, 0x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c, 0x43, 0x06, 0xb1,
|
||
|
0x02, 0x39, 0x0b, 0x7b, 0x3e, 0xae, 0xb3, 0x8c, 0x48, 0x0e, 0x98, 0x53, 0xc0, 0x40, 0xbd, 0x29,
|
||
|
0x95, 0xfa, 0xa1, 0x52, 0xea, 0x06, 0x8c, 0x05, 0x2e, 0xa9, 0xae, 0x66, 0x35, 0x45, 0x6e, 0xce,
|
||
|
0xc5, 0x79, 0x32, 0x5b, 0x15, 0x38, 0x85, 0xc0, 0x94, 0x02, 0xee, 0x78, 0x46, 0x2b, 0x00, 0xb6,
|
||
|
0x85, 0xed, 0x86, 0x5a, 0xc7, 0xba, 0x59, 0xcc, 0x1c, 0x11, 0xa5, 0x1a, 0x31, 0xe9, 0x89, 0x92,
|
||
|
0xcd, 0xa4, 0xba, 0x89, 0x2e, 0x87, 0xa9, 0x36, 0x72, 0x44, 0xa6, 0x6c, 0xb0, 0x45, 0xd6, 0x93,
|
||
|
0x6d, 0xbb, 0x50, 0x70, 0x31, 0xc9, 0x7b, 0x5c, 0xe7, 0x23, 0xcb, 0x52, 0x27, 0x66, 0x63, 0x47,
|
||
|
0xa6, 0x70, 0x18, 0x1b, 0xd8, 0xa8, 0x1b, 0x7d, 0x44, 0x8f, 0x40, 0x20, 0x50, 0x69, 0x5a, 0x01,
|
||
|
0xdd, 0x85, 0xf2, 0x42, 0xb8, 0xa9, 0xb5, 0xf0, 0xd4, 0x5d, 0x28, 0x74, 0x86, 0x07, 0x4d, 0x42,
|
||
|
0xda, 0xf3, 0x35, 0xd7, 0xa7, 0x59, 0x98, 0x56, 0xd8, 0x03, 0x92, 0x21, 0x89, 0xad, 0x3a, 0xdd,
|
||
|
0xe5, 0xd2, 0x0a, 0xf9, 0x17, 0xfd, 0x64, 0x38, 0xe0, 0x24, 0x1d, 0xf0, 0xe3, 0xbd, 0x33, 0xda,
|
||
|
0xc1, 0xdc, 0x3d, 0xee, 0xa9, 0x8b, 0x30, 0xda, 0x31, 0x80, 0x41, 0x5f,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x3f, 0x00, 0x00, 0xff, 0xff, 0x63, 0x60, 0x2e, 0x01,
|
||
|
0x1c, 0x34, 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 != 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*Subby)
|
||
|
if !ok {
|
||
|
that2, ok := that.(Subby)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field1)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field1)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field2)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field2)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field3)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field3)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field4)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field4)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field5)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field5)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field6)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field6)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field7)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field7)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field8)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field8)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field9)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field9)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field10)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field10)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field11)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field11)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field12)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field12)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field13)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field13)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field14)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field14)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_Field15)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_Field15)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*AllTypesOneOf_SubMessage)
|
||
|
if !ok {
|
||
|
that2, ok := that.(AllTypesOneOf_SubMessage)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs_Field1)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs_Field1)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs_Field2)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs_Field2)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs_Field3)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs_Field3)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs_Field34)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs_Field34)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs_Field35)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs_Field35)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*TwoOneofs_SubMessage2)
|
||
|
if !ok {
|
||
|
that2, ok := that.(TwoOneofs_SubMessage2)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*CustomOneof)
|
||
|
if !ok {
|
||
|
that2, ok := that.(CustomOneof)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*CustomOneof_Stringy)
|
||
|
if !ok {
|
||
|
that2, ok := that.(CustomOneof_Stringy)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*CustomOneof_CustomType)
|
||
|
if !ok {
|
||
|
that2, ok := that.(CustomOneof_CustomType)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*CustomOneof_CastType)
|
||
|
if !ok {
|
||
|
that2, ok := that.(CustomOneof_CastType)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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 {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
that1, ok := that.(*CustomOneof_MyCustomName)
|
||
|
if !ok {
|
||
|
that2, ok := that.(CustomOneof_MyCustomName)
|
||
|
if ok {
|
||
|
that1 = &that2
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
if that1 == nil {
|
||
|
if this == nil {
|
||
|
return true
|
||
|
}
|
||
|
return false
|
||
|
} 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++
|
||
|
encoding_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++
|
||
|
encoding_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++
|
||
|
encoding_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++
|
||
|
encoding_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++
|
||
|
encoding_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++
|
||
|
encoding_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++
|
||
|
encoding_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++
|
||
|
encoding_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 (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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
s := string(dAtA[iNdEx:postIndex])
|
||
|
m.Sub = &s
|
||
|
iNdEx = postIndex
|
||
|
default:
|
||
|
iNdEx = preIndex
|
||
|
skippy, err := skipOne(dAtA[iNdEx:])
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
if 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 *AllTypesOneOf) 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: AllTypesOneOf: wiretype end group for non-group")
|
||
|
}
|
||
|
if fieldNum <= 0 {
|
||
|
return fmt.Errorf("proto: AllTypesOneOf: 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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 = &AllTypesOneOf_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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
m.TestOneof = &AllTypesOneOf_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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
v := make([]byte, postIndex-iNdEx)
|
||
|
copy(v, dAtA[iNdEx:postIndex])
|
||
|
m.TestOneof = &AllTypesOneOf_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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
v := &Subby{}
|
||
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
m.TestOneof = &AllTypesOneOf_SubMessage{v}
|
||
|
iNdEx = postIndex
|
||
|
default:
|
||
|
iNdEx = preIndex
|
||
|
skippy, err := skipOne(dAtA[iNdEx:])
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
if 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 *TwoOneofs) 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: TwoOneofs: wiretype end group for non-group")
|
||
|
}
|
||
|
if fieldNum <= 0 {
|
||
|
return fmt.Errorf("proto: TwoOneofs: 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.One = &TwoOneofs_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.One = &TwoOneofs_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.One = &TwoOneofs_Field3{v}
|
||
|
case 34:
|
||
|
if wireType != 2 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field Field34", 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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
m.Two = &TwoOneofs_Field34{string(dAtA[iNdEx:postIndex])}
|
||
|
iNdEx = postIndex
|
||
|
case 35:
|
||
|
if wireType != 2 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field Field35", 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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
v := make([]byte, postIndex-iNdEx)
|
||
|
copy(v, dAtA[iNdEx:postIndex])
|
||
|
m.Two = &TwoOneofs_Field35{v}
|
||
|
iNdEx = postIndex
|
||
|
case 36:
|
||
|
if wireType != 2 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field SubMessage2", 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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
v := &Subby{}
|
||
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
m.Two = &TwoOneofs_SubMessage2{v}
|
||
|
iNdEx = postIndex
|
||
|
default:
|
||
|
iNdEx = preIndex
|
||
|
skippy, err := skipOne(dAtA[iNdEx:])
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
if 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 *CustomOneof) 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: CustomOneof: wiretype end group for non-group")
|
||
|
}
|
||
|
if fieldNum <= 0 {
|
||
|
return fmt.Errorf("proto: CustomOneof: illegal tag %d (wire type %d)", fieldNum, wire)
|
||
|
}
|
||
|
switch fieldNum {
|
||
|
case 34:
|
||
|
if wireType != 2 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field Stringy", 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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
m.Custom = &CustomOneof_Stringy{string(dAtA[iNdEx:postIndex])}
|
||
|
iNdEx = postIndex
|
||
|
case 35:
|
||
|
if wireType != 2 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field CustomType", 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 > l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
var vv github_com_gogo_protobuf_test_custom.Uint128
|
||
|
v := &vv
|
||
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
m.Custom = &CustomOneof_CustomType{*v}
|
||
|
iNdEx = postIndex
|
||
|
case 36:
|
||
|
if wireType != 0 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field CastType", wireType)
|
||
|
}
|
||
|
var v github_com_gogo_protobuf_test_casttype.MyUint64Type
|
||
|
for shift := uint(0); ; shift += 7 {
|
||
|
if shift >= 64 {
|
||
|
return ErrIntOverflowOne
|
||
|
}
|
||
|
if iNdEx >= l {
|
||
|
return io.ErrUnexpectedEOF
|
||
|
}
|
||
|
b := dAtA[iNdEx]
|
||
|
iNdEx++
|
||
|
v |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift
|
||
|
if b < 0x80 {
|
||
|
break
|
||
|
}
|
||
|
}
|
||
|
m.Custom = &CustomOneof_CastType{v}
|
||
|
case 37:
|
||
|
if wireType != 0 {
|
||
|
return fmt.Errorf("proto: wrong wireType = %d for field MyCustomName", 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.Custom = &CustomOneof_MyCustomName{v}
|
||
|
default:
|
||
|
iNdEx = preIndex
|
||
|
skippy, err := skipOne(dAtA[iNdEx:])
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
if 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
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
return iNdEx, nil
|
||
|
case 1:
|
||
|
iNdEx += 8
|
||
|
return iNdEx, nil
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
iNdEx += length
|
||
|
if length < 0 {
|
||
|
return 0, ErrInvalidLengthOne
|
||
|
}
|
||
|
return iNdEx, nil
|
||
|
case 3:
|
||
|
for {
|
||
|
var innerWire uint64
|
||
|
var start int = iNdEx
|
||
|
for shift := uint(0); ; shift += 7 {
|
||
|
if shift >= 64 {
|
||
|
return 0, ErrIntOverflowOne
|
||
|
}
|
||
|
if iNdEx >= l {
|
||
|
return 0, io.ErrUnexpectedEOF
|
||
|
}
|
||
|
b := dAtA[iNdEx]
|
||
|
iNdEx++
|
||
|
innerWire |= (uint64(b) & 0x7F) << shift
|
||
|
if b < 0x80 {
|
||
|
break
|
||
|
}
|
||
|
}
|
||
|
innerWireType := int(innerWire & 0x7)
|
||
|
if innerWireType == 4 {
|
||
|
break
|
||
|
}
|
||
|
next, err := skipOne(dAtA[start:])
|
||
|
if err != nil {
|
||
|
return 0, err
|
||
|
}
|
||
|
iNdEx = start + next
|
||
|
}
|
||
|
return iNdEx, nil
|
||
|
case 4:
|
||
|
return iNdEx, nil
|
||
|
case 5:
|
||
|
iNdEx += 4
|
||
|
return iNdEx, nil
|
||
|
default:
|
||
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
||
|
}
|
||
|
}
|
||
|
panic("unreachable")
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling")
|
||
|
ErrIntOverflowOne = fmt.Errorf("proto: integer overflow")
|
||
|
)
|
||
|
|
||
|
func init() { proto.RegisterFile("combos/both/one.proto", fileDescriptorOne) }
|
||
|
|
||
|
var fileDescriptorOne = []byte{
|
||
|
// 596 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0x3f, 0x4f, 0xdb, 0x40,
|
||
|
0x14, 0x00, 0x70, 0x3f, 0x42, 0x42, 0xb8, 0x84, 0x92, 0x5a, 0xaa, 0x74, 0x65, 0x38, 0x4e, 0x69,
|
||
|
0x2b, 0xdd, 0x50, 0x12, 0xe2, 0xd8, 0xfc, 0x19, 0x6b, 0xaa, 0x2a, 0x0b, 0x45, 0x32, 0x30, 0xa3,
|
||
|
0x98, 0x9a, 0x10, 0x89, 0xf8, 0x10, 0x77, 0x16, 0xf2, 0xc6, 0x67, 0xe8, 0xa7, 0xe8, 0xd8, 0xb1,
|
||
|
0x1f, 0x81, 0x31, 0x63, 0xd5, 0x21, 0xc2, 0xee, 0xd2, 0x91, 0x11, 0x75, 0xaa, 0xce, 0x26, 0x77,
|
||
|
0x95, 0xaa, 0xaa, 0x4b, 0xa7, 0xf8, 0xbd, 0x9f, 0xef, 0xe5, 0x3d, 0xdf, 0x1d, 0x7a, 0x76, 0xca,
|
||
|
0x27, 0x21, 0x17, 0xdd, 0x90, 0xcb, 0xf3, 0x2e, 0x8f, 0xa3, 0xce, 0xe5, 0x15, 0x97, 0xdc, 0xae,
|
||
|
0xf0, 0x38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