mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 16:51:01 -04:00
3834c605e5
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
3184 lines
93 KiB
Go
3184 lines
93 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: combos/unmarshaler/one.proto
|
|
|
|
/*
|
|
Package one is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
combos/unmarshaler/one.proto
|
|
|
|
It has these top-level messages:
|
|
Subby
|
|
SampleOneOf
|
|
*/
|
|
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_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 io "io"
|
|
import encoding_binary "encoding/binary"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Subby struct {
|
|
Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
|
|
}
|
|
|
|
func (m *Subby) Reset() { *m = Subby{} }
|
|
func (*Subby) ProtoMessage() {}
|
|
func (*Subby) Descriptor() ([]byte, []int) { return fileDescriptorOne, []int{0} }
|
|
|
|
type SampleOneOf struct {
|
|
// Types that are valid to be assigned to TestOneof:
|
|
// *SampleOneOf_Field1
|
|
// *SampleOneOf_Field2
|
|
// *SampleOneOf_Field3
|
|
// *SampleOneOf_Field4
|
|
// *SampleOneOf_Field5
|
|
// *SampleOneOf_Field6
|
|
// *SampleOneOf_Field7
|
|
// *SampleOneOf_Field8
|
|
// *SampleOneOf_Field9
|
|
// *SampleOneOf_Field10
|
|
// *SampleOneOf_Field11
|
|
// *SampleOneOf_Field12
|
|
// *SampleOneOf_Field13
|
|
// *SampleOneOf_Field14
|
|
// *SampleOneOf_Field15
|
|
// *SampleOneOf_SubMessage
|
|
TestOneof isSampleOneOf_TestOneof `protobuf_oneof:"test_oneof"`
|
|
}
|
|
|
|
func (m *SampleOneOf) Reset() { *m = SampleOneOf{} }
|
|
func (*SampleOneOf) ProtoMessage() {}
|
|
func (*SampleOneOf) Descriptor() ([]byte, []int) { return fileDescriptorOne, []int{1} }
|
|
|
|
type isSampleOneOf_TestOneof interface {
|
|
isSampleOneOf_TestOneof()
|
|
Equal(interface{}) bool
|
|
VerboseEqual(interface{}) error
|
|
Size() int
|
|
}
|
|
|
|
type SampleOneOf_Field1 struct {
|
|
Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field2 struct {
|
|
Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field3 struct {
|
|
Field3 int32 `protobuf:"varint,3,opt,name=Field3,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field4 struct {
|
|
Field4 int64 `protobuf:"varint,4,opt,name=Field4,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field5 struct {
|
|
Field5 uint32 `protobuf:"varint,5,opt,name=Field5,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field6 struct {
|
|
Field6 uint64 `protobuf:"varint,6,opt,name=Field6,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field7 struct {
|
|
Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field8 struct {
|
|
Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field9 struct {
|
|
Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field10 struct {
|
|
Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field11 struct {
|
|
Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field12 struct {
|
|
Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field13 struct {
|
|
Field13 bool `protobuf:"varint,13,opt,name=Field13,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field14 struct {
|
|
Field14 string `protobuf:"bytes,14,opt,name=Field14,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_Field15 struct {
|
|
Field15 []byte `protobuf:"bytes,15,opt,name=Field15,proto3,oneof"`
|
|
}
|
|
type SampleOneOf_SubMessage struct {
|
|
SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof"`
|
|
}
|
|
|
|
func (*SampleOneOf_Field1) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field2) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field3) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field4) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field5) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field6) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field7) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field8) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field9) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field10) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field11) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field12) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field13) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field14) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_Field15) isSampleOneOf_TestOneof() {}
|
|
func (*SampleOneOf_SubMessage) isSampleOneOf_TestOneof() {}
|
|
|
|
func (m *SampleOneOf) GetTestOneof() isSampleOneOf_TestOneof {
|
|
if m != nil {
|
|
return m.TestOneof
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField1() float64 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field1); ok {
|
|
return x.Field1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField2() float32 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field2); ok {
|
|
return x.Field2
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField3() int32 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field3); ok {
|
|
return x.Field3
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField4() int64 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field4); ok {
|
|
return x.Field4
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField5() uint32 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field5); ok {
|
|
return x.Field5
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField6() uint64 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field6); ok {
|
|
return x.Field6
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField7() int32 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field7); ok {
|
|
return x.Field7
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField8() int64 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field8); ok {
|
|
return x.Field8
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField9() uint32 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field9); ok {
|
|
return x.Field9
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField10() int32 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field10); ok {
|
|
return x.Field10
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField11() uint64 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field11); ok {
|
|
return x.Field11
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField12() int64 {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field12); ok {
|
|
return x.Field12
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField13() bool {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field13); ok {
|
|
return x.Field13
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField14() string {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field14); ok {
|
|
return x.Field14
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SampleOneOf) GetField15() []byte {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_Field15); ok {
|
|
return x.Field15
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SampleOneOf) GetSubMessage() *Subby {
|
|
if x, ok := m.GetTestOneof().(*SampleOneOf_SubMessage); ok {
|
|
return x.SubMessage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
func (*SampleOneOf) 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 _SampleOneOf_OneofMarshaler, _SampleOneOf_OneofUnmarshaler, _SampleOneOf_OneofSizer, []interface{}{
|
|
(*SampleOneOf_Field1)(nil),
|
|
(*SampleOneOf_Field2)(nil),
|
|
(*SampleOneOf_Field3)(nil),
|
|
(*SampleOneOf_Field4)(nil),
|
|
(*SampleOneOf_Field5)(nil),
|
|
(*SampleOneOf_Field6)(nil),
|
|
(*SampleOneOf_Field7)(nil),
|
|
(*SampleOneOf_Field8)(nil),
|
|
(*SampleOneOf_Field9)(nil),
|
|
(*SampleOneOf_Field10)(nil),
|
|
(*SampleOneOf_Field11)(nil),
|
|
(*SampleOneOf_Field12)(nil),
|
|
(*SampleOneOf_Field13)(nil),
|
|
(*SampleOneOf_Field14)(nil),
|
|
(*SampleOneOf_Field15)(nil),
|
|
(*SampleOneOf_SubMessage)(nil),
|
|
}
|
|
}
|
|
|
|
func _SampleOneOf_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
m := msg.(*SampleOneOf)
|
|
// test_oneof
|
|
switch x := m.TestOneof.(type) {
|
|
case *SampleOneOf_Field1:
|
|
_ = b.EncodeVarint(1<<3 | proto.WireFixed64)
|
|
_ = b.EncodeFixed64(math.Float64bits(x.Field1))
|
|
case *SampleOneOf_Field2:
|
|
_ = b.EncodeVarint(2<<3 | proto.WireFixed32)
|
|
_ = b.EncodeFixed32(uint64(math.Float32bits(x.Field2)))
|
|
case *SampleOneOf_Field3:
|
|
_ = b.EncodeVarint(3<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(uint64(x.Field3))
|
|
case *SampleOneOf_Field4:
|
|
_ = b.EncodeVarint(4<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(uint64(x.Field4))
|
|
case *SampleOneOf_Field5:
|
|
_ = b.EncodeVarint(5<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(uint64(x.Field5))
|
|
case *SampleOneOf_Field6:
|
|
_ = b.EncodeVarint(6<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(uint64(x.Field6))
|
|
case *SampleOneOf_Field7:
|
|
_ = b.EncodeVarint(7<<3 | proto.WireVarint)
|
|
_ = b.EncodeZigzag32(uint64(x.Field7))
|
|
case *SampleOneOf_Field8:
|
|
_ = b.EncodeVarint(8<<3 | proto.WireVarint)
|
|
_ = b.EncodeZigzag64(uint64(x.Field8))
|
|
case *SampleOneOf_Field9:
|
|
_ = b.EncodeVarint(9<<3 | proto.WireFixed32)
|
|
_ = b.EncodeFixed32(uint64(x.Field9))
|
|
case *SampleOneOf_Field10:
|
|
_ = b.EncodeVarint(10<<3 | proto.WireFixed32)
|
|
_ = b.EncodeFixed32(uint64(x.Field10))
|
|
case *SampleOneOf_Field11:
|
|
_ = b.EncodeVarint(11<<3 | proto.WireFixed64)
|
|
_ = b.EncodeFixed64(uint64(x.Field11))
|
|
case *SampleOneOf_Field12:
|
|
_ = b.EncodeVarint(12<<3 | proto.WireFixed64)
|
|
_ = b.EncodeFixed64(uint64(x.Field12))
|
|
case *SampleOneOf_Field13:
|
|
t := uint64(0)
|
|
if x.Field13 {
|
|
t = 1
|
|
}
|
|
_ = b.EncodeVarint(13<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(t)
|
|
case *SampleOneOf_Field14:
|
|
_ = b.EncodeVarint(14<<3 | proto.WireBytes)
|
|
_ = b.EncodeStringBytes(x.Field14)
|
|
case *SampleOneOf_Field15:
|
|
_ = b.EncodeVarint(15<<3 | proto.WireBytes)
|
|
_ = b.EncodeRawBytes(x.Field15)
|
|
case *SampleOneOf_SubMessage:
|
|
_ = b.EncodeVarint(16<<3 | proto.WireBytes)
|
|
if err := b.EncodeMessage(x.SubMessage); err != nil {
|
|
return err
|
|
}
|
|
case nil:
|
|
default:
|
|
return fmt.Errorf("SampleOneOf.TestOneof has unexpected type %T", x)
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func _SampleOneOf_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
m := msg.(*SampleOneOf)
|
|
switch tag {
|
|
case 1: // test_oneof.Field1
|
|
if wire != proto.WireFixed64 {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeFixed64()
|
|
m.TestOneof = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_Field6{x}
|
|
return true, err
|
|
case 7: // test_oneof.Field7
|
|
if wire != proto.WireVarint {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeZigzag32()
|
|
m.TestOneof = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_Field11{x}
|
|
return true, err
|
|
case 12: // test_oneof.Field12
|
|
if wire != proto.WireFixed64 {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeFixed64()
|
|
m.TestOneof = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_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 = &SampleOneOf_SubMessage{msg}
|
|
return true, err
|
|
default:
|
|
return false, nil
|
|
}
|
|
}
|
|
|
|
func _SampleOneOf_OneofSizer(msg proto.Message) (n int) {
|
|
m := msg.(*SampleOneOf)
|
|
// test_oneof
|
|
switch x := m.TestOneof.(type) {
|
|
case *SampleOneOf_Field1:
|
|
n += proto.SizeVarint(1<<3 | proto.WireFixed64)
|
|
n += 8
|
|
case *SampleOneOf_Field2:
|
|
n += proto.SizeVarint(2<<3 | proto.WireFixed32)
|
|
n += 4
|
|
case *SampleOneOf_Field3:
|
|
n += proto.SizeVarint(3<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64(x.Field3))
|
|
case *SampleOneOf_Field4:
|
|
n += proto.SizeVarint(4<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64(x.Field4))
|
|
case *SampleOneOf_Field5:
|
|
n += proto.SizeVarint(5<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64(x.Field5))
|
|
case *SampleOneOf_Field6:
|
|
n += proto.SizeVarint(6<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64(x.Field6))
|
|
case *SampleOneOf_Field7:
|
|
n += proto.SizeVarint(7<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64((uint32(x.Field7) << 1) ^ uint32((int32(x.Field7) >> 31))))
|
|
case *SampleOneOf_Field8:
|
|
n += proto.SizeVarint(8<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64(uint64(x.Field8<<1) ^ uint64((int64(x.Field8) >> 63))))
|
|
case *SampleOneOf_Field9:
|
|
n += proto.SizeVarint(9<<3 | proto.WireFixed32)
|
|
n += 4
|
|
case *SampleOneOf_Field10:
|
|
n += proto.SizeVarint(10<<3 | proto.WireFixed32)
|
|
n += 4
|
|
case *SampleOneOf_Field11:
|
|
n += proto.SizeVarint(11<<3 | proto.WireFixed64)
|
|
n += 8
|
|
case *SampleOneOf_Field12:
|
|
n += proto.SizeVarint(12<<3 | proto.WireFixed64)
|
|
n += 8
|
|
case *SampleOneOf_Field13:
|
|
n += proto.SizeVarint(13<<3 | proto.WireVarint)
|
|
n += 1
|
|
case *SampleOneOf_Field14:
|
|
n += proto.SizeVarint(14<<3 | proto.WireBytes)
|
|
n += proto.SizeVarint(uint64(len(x.Field14)))
|
|
n += len(x.Field14)
|
|
case *SampleOneOf_Field15:
|
|
n += proto.SizeVarint(15<<3 | proto.WireBytes)
|
|
n += proto.SizeVarint(uint64(len(x.Field15)))
|
|
n += len(x.Field15)
|
|
case *SampleOneOf_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
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Subby)(nil), "one.Subby")
|
|
proto.RegisterType((*SampleOneOf)(nil), "one.SampleOneOf")
|
|
}
|
|
func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return OneDescription()
|
|
}
|
|
func (this *SampleOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return OneDescription()
|
|
}
|
|
func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{}
|
|
var gzipped = []byte{
|
|
// 3935 bytes of a gzipped FileDescriptorSet
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5d, 0x70, 0x1b, 0xd7,
|
|
0x75, 0x26, 0x7e, 0x09, 0x1c, 0x80, 0xe0, 0xf2, 0x92, 0x96, 0x20, 0xc6, 0x86, 0x28, 0xfa, 0x8f,
|
|
0xb6, 0x6b, 0xd2, 0xa6, 0x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b1, 0x46, 0x9a, 0xa6, 0xd1,
|
|
0xf9, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x2e, 0xe1, 0x8c, 0x41, 0x32, 0x00, 0x00,
|
|
}
|
|
r := bytes.NewReader(gzipped)
|
|
gzipr, err := compress_gzip.NewReader(r)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
ungzipped, err := io_ioutil.ReadAll(gzipr)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil {
|
|
panic(err)
|
|
}
|
|
return d
|
|
}
|
|
func (this *Subby) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*Subby)
|
|
if !ok {
|
|
that2, ok := that.(Subby)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *Subby")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *Subby but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *Subby but is not nil && this == nil")
|
|
}
|
|
if this.Sub != that1.Sub {
|
|
return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub)
|
|
}
|
|
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 != that1.Sub {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *SampleOneOf) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf but is not nil && this == nil")
|
|
}
|
|
if that1.TestOneof == nil {
|
|
if this.TestOneof != nil {
|
|
return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil")
|
|
}
|
|
} else if this.TestOneof == nil {
|
|
return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil")
|
|
} else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field1) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field1)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field1)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field1")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field1 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field1 but is not nil && this == nil")
|
|
}
|
|
if this.Field1 != that1.Field1 {
|
|
return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field2) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field2)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field2)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field2")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field2 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field2 but is not nil && this == nil")
|
|
}
|
|
if this.Field2 != that1.Field2 {
|
|
return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field3) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field3)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field3)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field3")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field3 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field3 but is not nil && this == nil")
|
|
}
|
|
if this.Field3 != that1.Field3 {
|
|
return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field4) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field4)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field4)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field4")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field4 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field4 but is not nil && this == nil")
|
|
}
|
|
if this.Field4 != that1.Field4 {
|
|
return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field5) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field5)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field5)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field5")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field5 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field5 but is not nil && this == nil")
|
|
}
|
|
if this.Field5 != that1.Field5 {
|
|
return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field6) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field6)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field6)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field6")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field6 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field6 but is not nil && this == nil")
|
|
}
|
|
if this.Field6 != that1.Field6 {
|
|
return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field7) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field7)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field7)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field7")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field7 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field7 but is not nil && this == nil")
|
|
}
|
|
if this.Field7 != that1.Field7 {
|
|
return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field8) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field8)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field8)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field8")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field8 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field8 but is not nil && this == nil")
|
|
}
|
|
if this.Field8 != that1.Field8 {
|
|
return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field9) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field9)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field9)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field9")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field9 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field9 but is not nil && this == nil")
|
|
}
|
|
if this.Field9 != that1.Field9 {
|
|
return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field10) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field10)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field10)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field10")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field10 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field10 but is not nil && this == nil")
|
|
}
|
|
if this.Field10 != that1.Field10 {
|
|
return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field11) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field11)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field11)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field11")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field11 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field11 but is not nil && this == nil")
|
|
}
|
|
if this.Field11 != that1.Field11 {
|
|
return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field12) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field12)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field12)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field12")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field12 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field12 but is not nil && this == nil")
|
|
}
|
|
if this.Field12 != that1.Field12 {
|
|
return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field13) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field13)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field13)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field13")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field13 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field13 but is not nil && this == nil")
|
|
}
|
|
if this.Field13 != that1.Field13 {
|
|
return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field14) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field14)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field14)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field14")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field14 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field14 but is not nil && this == nil")
|
|
}
|
|
if this.Field14 != that1.Field14 {
|
|
return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_Field15) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field15)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_Field15)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_Field15")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_Field15 but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_Field15 but is not nil && this == nil")
|
|
}
|
|
if !bytes.Equal(this.Field15, that1.Field15) {
|
|
return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf_SubMessage) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_SubMessage)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_SubMessage)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *SampleOneOf_SubMessage")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *SampleOneOf_SubMessage but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *SampleOneOf_SubMessage but is not nil && this == nil")
|
|
}
|
|
if !this.SubMessage.Equal(that1.SubMessage) {
|
|
return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *SampleOneOf) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf)
|
|
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
|
|
}
|
|
return true
|
|
}
|
|
func (this *SampleOneOf_Field1) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field1)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field2) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field2)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field3) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field3)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field4) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field4)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field5) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field5)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field6) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field6)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field7) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field7)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field8) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field8)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field9) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field9)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field10) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field10)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field11) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field11)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field12) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field12)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field13) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field13)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field14) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field14)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_Field15) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_Field15)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *SampleOneOf_SubMessage) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*SampleOneOf_SubMessage)
|
|
if !ok {
|
|
that2, ok := that.(SampleOneOf_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 *Subby) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&one.Subby{")
|
|
s = append(s, "Sub: "+fmt.Sprintf("%#v", this.Sub)+",\n")
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SampleOneOf) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 20)
|
|
s = append(s, "&one.SampleOneOf{")
|
|
if this.TestOneof != nil {
|
|
s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *SampleOneOf_Field1) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field1{` +
|
|
`Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field2) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field2{` +
|
|
`Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field3) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field3{` +
|
|
`Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field4) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field4{` +
|
|
`Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field5) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field5{` +
|
|
`Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field6) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field6{` +
|
|
`Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field7) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field7{` +
|
|
`Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field8) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field8{` +
|
|
`Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field9) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field9{` +
|
|
`Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field10) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field10{` +
|
|
`Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field11) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field11{` +
|
|
`Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field12) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field12{` +
|
|
`Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field13) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field13{` +
|
|
`Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field14) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field14{` +
|
|
`Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field15) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_Field15{` +
|
|
`Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_SubMessage) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&one.SampleOneOf_SubMessage{` +
|
|
`SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ")
|
|
return s
|
|
}
|
|
func valueToGoStringOne(v interface{}, typ string) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
|
}
|
|
func NewPopulatedSubby(r randyOne, easy bool) *Subby {
|
|
this := &Subby{}
|
|
this.Sub = string(randStringOne(r))
|
|
if !easy && r.Intn(10) != 0 {
|
|
}
|
|
return this
|
|
}
|
|
|
|
func NewPopulatedSampleOneOf(r randyOne, easy bool) *SampleOneOf {
|
|
this := &SampleOneOf{}
|
|
oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)]
|
|
switch oneofNumber_TestOneof {
|
|
case 1:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field1(r, easy)
|
|
case 2:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field2(r, easy)
|
|
case 3:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field3(r, easy)
|
|
case 4:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field4(r, easy)
|
|
case 5:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field5(r, easy)
|
|
case 6:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field6(r, easy)
|
|
case 7:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field7(r, easy)
|
|
case 8:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field8(r, easy)
|
|
case 9:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field9(r, easy)
|
|
case 10:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field10(r, easy)
|
|
case 11:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field11(r, easy)
|
|
case 12:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field12(r, easy)
|
|
case 13:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field13(r, easy)
|
|
case 14:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field14(r, easy)
|
|
case 15:
|
|
this.TestOneof = NewPopulatedSampleOneOf_Field15(r, easy)
|
|
case 16:
|
|
this.TestOneof = NewPopulatedSampleOneOf_SubMessage(r, easy)
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
}
|
|
return this
|
|
}
|
|
|
|
func NewPopulatedSampleOneOf_Field1(r randyOne, easy bool) *SampleOneOf_Field1 {
|
|
this := &SampleOneOf_Field1{}
|
|
this.Field1 = float64(r.Float64())
|
|
if r.Intn(2) == 0 {
|
|
this.Field1 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field2(r randyOne, easy bool) *SampleOneOf_Field2 {
|
|
this := &SampleOneOf_Field2{}
|
|
this.Field2 = float32(r.Float32())
|
|
if r.Intn(2) == 0 {
|
|
this.Field2 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field3(r randyOne, easy bool) *SampleOneOf_Field3 {
|
|
this := &SampleOneOf_Field3{}
|
|
this.Field3 = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Field3 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field4(r randyOne, easy bool) *SampleOneOf_Field4 {
|
|
this := &SampleOneOf_Field4{}
|
|
this.Field4 = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Field4 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field5(r randyOne, easy bool) *SampleOneOf_Field5 {
|
|
this := &SampleOneOf_Field5{}
|
|
this.Field5 = uint32(r.Uint32())
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field6(r randyOne, easy bool) *SampleOneOf_Field6 {
|
|
this := &SampleOneOf_Field6{}
|
|
this.Field6 = uint64(uint64(r.Uint32()))
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field7(r randyOne, easy bool) *SampleOneOf_Field7 {
|
|
this := &SampleOneOf_Field7{}
|
|
this.Field7 = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Field7 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field8(r randyOne, easy bool) *SampleOneOf_Field8 {
|
|
this := &SampleOneOf_Field8{}
|
|
this.Field8 = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Field8 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field9(r randyOne, easy bool) *SampleOneOf_Field9 {
|
|
this := &SampleOneOf_Field9{}
|
|
this.Field9 = uint32(r.Uint32())
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field10(r randyOne, easy bool) *SampleOneOf_Field10 {
|
|
this := &SampleOneOf_Field10{}
|
|
this.Field10 = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Field10 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field11(r randyOne, easy bool) *SampleOneOf_Field11 {
|
|
this := &SampleOneOf_Field11{}
|
|
this.Field11 = uint64(uint64(r.Uint32()))
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field12(r randyOne, easy bool) *SampleOneOf_Field12 {
|
|
this := &SampleOneOf_Field12{}
|
|
this.Field12 = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Field12 *= -1
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field13(r randyOne, easy bool) *SampleOneOf_Field13 {
|
|
this := &SampleOneOf_Field13{}
|
|
this.Field13 = bool(bool(r.Intn(2) == 0))
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field14(r randyOne, easy bool) *SampleOneOf_Field14 {
|
|
this := &SampleOneOf_Field14{}
|
|
this.Field14 = string(randStringOne(r))
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_Field15(r randyOne, easy bool) *SampleOneOf_Field15 {
|
|
this := &SampleOneOf_Field15{}
|
|
v1 := r.Intn(100)
|
|
this.Field15 = make([]byte, v1)
|
|
for i := 0; i < v1; i++ {
|
|
this.Field15[i] = byte(r.Intn(256))
|
|
}
|
|
return this
|
|
}
|
|
func NewPopulatedSampleOneOf_SubMessage(r randyOne, easy bool) *SampleOneOf_SubMessage {
|
|
this := &SampleOneOf_SubMessage{}
|
|
this.SubMessage = NewPopulatedSubby(r, easy)
|
|
return this
|
|
}
|
|
|
|
type randyOne interface {
|
|
Float32() float32
|
|
Float64() float64
|
|
Int63() int64
|
|
Int31() int32
|
|
Uint32() uint32
|
|
Intn(n int) int
|
|
}
|
|
|
|
func randUTF8RuneOne(r randyOne) rune {
|
|
ru := r.Intn(62)
|
|
if ru < 10 {
|
|
return rune(ru + 48)
|
|
} else if ru < 36 {
|
|
return rune(ru + 55)
|
|
}
|
|
return rune(ru + 61)
|
|
}
|
|
func randStringOne(r randyOne) string {
|
|
v2 := r.Intn(100)
|
|
tmps := make([]rune, v2)
|
|
for i := 0; i < v2; i++ {
|
|
tmps[i] = randUTF8RuneOne(r)
|
|
}
|
|
return string(tmps)
|
|
}
|
|
func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) {
|
|
l := r.Intn(5)
|
|
for i := 0; i < l; i++ {
|
|
wire := r.Intn(4)
|
|
if wire == 3 {
|
|
wire = 5
|
|
}
|
|
fieldNumber := maxFieldNumber + r.Intn(100)
|
|
dAtA = randFieldOne(dAtA, r, fieldNumber, wire)
|
|
}
|
|
return dAtA
|
|
}
|
|
func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte {
|
|
key := uint32(fieldNumber)<<3 | uint32(wire)
|
|
switch wire {
|
|
case 0:
|
|
dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
|
|
v3 := r.Int63()
|
|
if r.Intn(2) == 0 {
|
|
v3 *= -1
|
|
}
|
|
dAtA = encodeVarintPopulateOne(dAtA, uint64(v3))
|
|
case 1:
|
|
dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
|
|
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
|
|
case 2:
|
|
dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
|
|
ll := r.Intn(100)
|
|
dAtA = encodeVarintPopulateOne(dAtA, uint64(ll))
|
|
for j := 0; j < ll; j++ {
|
|
dAtA = append(dAtA, byte(r.Intn(256)))
|
|
}
|
|
default:
|
|
dAtA = encodeVarintPopulateOne(dAtA, uint64(key))
|
|
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
|
|
}
|
|
return dAtA
|
|
}
|
|
func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte {
|
|
for v >= 1<<7 {
|
|
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
|
|
v >>= 7
|
|
}
|
|
dAtA = append(dAtA, uint8(v))
|
|
return dAtA
|
|
}
|
|
func (m *Subby) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.Sub)
|
|
if l > 0 {
|
|
n += 1 + l + sovOne(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SampleOneOf) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.TestOneof != nil {
|
|
n += m.TestOneof.Size()
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SampleOneOf_Field1) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 9
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field2) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 5
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field3) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovOne(uint64(m.Field3))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field4) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovOne(uint64(m.Field4))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field5) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovOne(uint64(m.Field5))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field6) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovOne(uint64(m.Field6))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field7) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sozOne(uint64(m.Field7))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field8) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sozOne(uint64(m.Field8))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field9) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 5
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field10) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 5
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field11) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 9
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field12) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 9
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field13) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_Field14) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.Field14)
|
|
n += 1 + l + sovOne(uint64(l))
|
|
return n
|
|
}
|
|
func (m *SampleOneOf_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 *SampleOneOf_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 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:` + fmt.Sprintf("%v", this.Sub) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf{`,
|
|
`TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field1) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field1{`,
|
|
`Field1:` + fmt.Sprintf("%v", this.Field1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field2) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field2{`,
|
|
`Field2:` + fmt.Sprintf("%v", this.Field2) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field3) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field3{`,
|
|
`Field3:` + fmt.Sprintf("%v", this.Field3) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field4) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field4{`,
|
|
`Field4:` + fmt.Sprintf("%v", this.Field4) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field5) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field5{`,
|
|
`Field5:` + fmt.Sprintf("%v", this.Field5) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field6) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field6{`,
|
|
`Field6:` + fmt.Sprintf("%v", this.Field6) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field7) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field7{`,
|
|
`Field7:` + fmt.Sprintf("%v", this.Field7) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field8) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field8{`,
|
|
`Field8:` + fmt.Sprintf("%v", this.Field8) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field9) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field9{`,
|
|
`Field9:` + fmt.Sprintf("%v", this.Field9) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field10) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field10{`,
|
|
`Field10:` + fmt.Sprintf("%v", this.Field10) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field11) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field11{`,
|
|
`Field11:` + fmt.Sprintf("%v", this.Field11) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field12) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field12{`,
|
|
`Field12:` + fmt.Sprintf("%v", this.Field12) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field13) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field13{`,
|
|
`Field13:` + fmt.Sprintf("%v", this.Field13) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field14) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field14{`,
|
|
`Field14:` + fmt.Sprintf("%v", this.Field14) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_Field15) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_Field15{`,
|
|
`Field15:` + fmt.Sprintf("%v", this.Field15) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *SampleOneOf_SubMessage) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&SampleOneOf_SubMessage{`,
|
|
`SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringOne(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *Subby) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Subby: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Subby: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthOne
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Sub = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipOne(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthOne
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SampleOneOf) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SampleOneOf: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SampleOneOf: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
m.TestOneof = &SampleOneOf_Field1{float64(math.Float64frombits(v))}
|
|
case 2:
|
|
if wireType != 5 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType)
|
|
}
|
|
var v uint32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
m.TestOneof = &SampleOneOf_Field2{float32(math.Float32frombits(v))}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType)
|
|
}
|
|
var v int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.TestOneof = &SampleOneOf_Field3{v}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.TestOneof = &SampleOneOf_Field4{v}
|
|
case 5:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType)
|
|
}
|
|
var v uint32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.TestOneof = &SampleOneOf_Field5{v}
|
|
case 6:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType)
|
|
}
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.TestOneof = &SampleOneOf_Field6{v}
|
|
case 7:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType)
|
|
}
|
|
var v int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31))
|
|
m.TestOneof = &SampleOneOf_Field7{v}
|
|
case 8:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType)
|
|
}
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63)
|
|
m.TestOneof = &SampleOneOf_Field8{int64(v)}
|
|
case 9:
|
|
if wireType != 5 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType)
|
|
}
|
|
var v uint32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
m.TestOneof = &SampleOneOf_Field9{v}
|
|
case 10:
|
|
if wireType != 5 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType)
|
|
}
|
|
var v int32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
m.TestOneof = &SampleOneOf_Field10{v}
|
|
case 11:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
m.TestOneof = &SampleOneOf_Field11{v}
|
|
case 12:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType)
|
|
}
|
|
var v int64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
m.TestOneof = &SampleOneOf_Field12{v}
|
|
case 13:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.TestOneof = &SampleOneOf_Field13{b}
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthOne
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.TestOneof = &SampleOneOf_Field14{string(dAtA[iNdEx:postIndex])}
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Field15", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthOne
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := make([]byte, postIndex-iNdEx)
|
|
copy(v, dAtA[iNdEx:postIndex])
|
|
m.TestOneof = &SampleOneOf_Field15{v}
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SubMessage", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowOne
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthOne
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v := &Subby{}
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
m.TestOneof = &SampleOneOf_SubMessage{v}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipOne(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthOne
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
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/unmarshaler/one.proto", fileDescriptorOne) }
|
|
|
|
var fileDescriptorOne = []byte{
|
|
// 409 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0xd2, 0xbf, 0x4f, 0x1b, 0x31,
|
|
0x14, 0x07, 0x70, 0x3f, 0x8e, 0x24, 0xe0, 0x84, 0x92, 0xde, 0xf4, 0x8a, 0xaa, 0x27, 0x8b, 0xc9,
|
|
0x0b, 0x49, 0x73, 0x97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