mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-25 15:30:23 -04:00
8651 lines
260 KiB
Go
8651 lines
260 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: combos/both/mapsproto2.proto
|
|
|
|
/*
|
|
Package proto2_maps is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
combos/both/mapsproto2.proto
|
|
|
|
It has these top-level messages:
|
|
FloatingPoint
|
|
CustomMap
|
|
AllMaps
|
|
AllMapsOrdered
|
|
*/
|
|
package proto2_maps
|
|
|
|
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 "github.com/gogo/protobuf/test"
|
|
|
|
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 strconv "strconv"
|
|
|
|
import strings "strings"
|
|
import reflect "reflect"
|
|
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
|
|
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 MapEnum int32
|
|
|
|
const (
|
|
MA MapEnum = 0
|
|
MB MapEnum = 1
|
|
MC MapEnum = 2
|
|
)
|
|
|
|
var MapEnum_name = map[int32]string{
|
|
0: "MA",
|
|
1: "MB",
|
|
2: "MC",
|
|
}
|
|
var MapEnum_value = map[string]int32{
|
|
"MA": 0,
|
|
"MB": 1,
|
|
"MC": 2,
|
|
}
|
|
|
|
func (x MapEnum) Enum() *MapEnum {
|
|
p := new(MapEnum)
|
|
*p = x
|
|
return p
|
|
}
|
|
func (x MapEnum) MarshalJSON() ([]byte, error) {
|
|
return proto.MarshalJSONEnum(MapEnum_name, int32(x))
|
|
}
|
|
func (x *MapEnum) UnmarshalJSON(data []byte) error {
|
|
value, err := proto.UnmarshalJSONEnum(MapEnum_value, data, "MapEnum")
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = MapEnum(value)
|
|
return nil
|
|
}
|
|
func (MapEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptorMapsproto2, []int{0} }
|
|
|
|
type FloatingPoint struct {
|
|
F *float64 `protobuf:"fixed64,1,opt,name=f" json:"f,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *FloatingPoint) Reset() { *m = FloatingPoint{} }
|
|
func (*FloatingPoint) ProtoMessage() {}
|
|
func (*FloatingPoint) Descriptor() ([]byte, []int) { return fileDescriptorMapsproto2, []int{0} }
|
|
|
|
type CustomMap struct {
|
|
Nullable128S map[string]*github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,1,rep,name=Nullable128s,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"Nullable128s,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Uint128S map[string]github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,2,rep,name=Uint128s,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"Uint128s" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
NullableIds map[string]*github_com_gogo_protobuf_test.Uuid `protobuf:"bytes,3,rep,name=NullableIds,customtype=github.com/gogo/protobuf/test.Uuid" json:"NullableIds,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Ids map[string]github_com_gogo_protobuf_test.Uuid `protobuf:"bytes,4,rep,name=Ids,customtype=github.com/gogo/protobuf/test.Uuid" json:"Ids" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *CustomMap) Reset() { *m = CustomMap{} }
|
|
func (*CustomMap) ProtoMessage() {}
|
|
func (*CustomMap) Descriptor() ([]byte, []int) { return fileDescriptorMapsproto2, []int{1} }
|
|
|
|
type AllMaps struct {
|
|
StringToDoubleMap map[string]float64 `protobuf:"bytes,1,rep,name=StringToDoubleMap" json:"StringToDoubleMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
|
StringToFloatMap map[string]float32 `protobuf:"bytes,2,rep,name=StringToFloatMap" json:"StringToFloatMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
|
|
Int32Map map[int32]int32 `protobuf:"bytes,3,rep,name=Int32Map" json:"Int32Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Int64Map map[int64]int64 `protobuf:"bytes,4,rep,name=Int64Map" json:"Int64Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Uint32Map map[uint32]uint32 `protobuf:"bytes,5,rep,name=Uint32Map" json:"Uint32Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Uint64Map map[uint64]uint64 `protobuf:"bytes,6,rep,name=Uint64Map" json:"Uint64Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Sint32Map map[int32]int32 `protobuf:"bytes,7,rep,name=Sint32Map" json:"Sint32Map,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
|
|
Sint64Map map[int64]int64 `protobuf:"bytes,8,rep,name=Sint64Map" json:"Sint64Map,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
|
|
Fixed32Map map[uint32]uint32 `protobuf:"bytes,9,rep,name=Fixed32Map" json:"Fixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
|
|
Sfixed32Map map[int32]int32 `protobuf:"bytes,10,rep,name=Sfixed32Map" json:"Sfixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
|
|
Fixed64Map map[uint64]uint64 `protobuf:"bytes,11,rep,name=Fixed64Map" json:"Fixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
|
Sfixed64Map map[int64]int64 `protobuf:"bytes,12,rep,name=Sfixed64Map" json:"Sfixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
|
BoolMap map[bool]bool `protobuf:"bytes,13,rep,name=BoolMap" json:"BoolMap,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
StringMap map[string]string `protobuf:"bytes,14,rep,name=StringMap" json:"StringMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
StringToBytesMap map[string][]byte `protobuf:"bytes,15,rep,name=StringToBytesMap" json:"StringToBytesMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
StringToEnumMap map[string]MapEnum `protobuf:"bytes,16,rep,name=StringToEnumMap" json:"StringToEnumMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=proto2.maps.MapEnum"`
|
|
StringToMsgMap map[string]*FloatingPoint `protobuf:"bytes,17,rep,name=StringToMsgMap" json:"StringToMsgMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *AllMaps) Reset() { *m = AllMaps{} }
|
|
func (*AllMaps) ProtoMessage() {}
|
|
func (*AllMaps) Descriptor() ([]byte, []int) { return fileDescriptorMapsproto2, []int{2} }
|
|
|
|
type AllMapsOrdered struct {
|
|
StringToDoubleMap map[string]float64 `protobuf:"bytes,1,rep,name=StringToDoubleMap" json:"StringToDoubleMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
|
StringToFloatMap map[string]float32 `protobuf:"bytes,2,rep,name=StringToFloatMap" json:"StringToFloatMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
|
|
Int32Map map[int32]int32 `protobuf:"bytes,3,rep,name=Int32Map" json:"Int32Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Int64Map map[int64]int64 `protobuf:"bytes,4,rep,name=Int64Map" json:"Int64Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Uint32Map map[uint32]uint32 `protobuf:"bytes,5,rep,name=Uint32Map" json:"Uint32Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Uint64Map map[uint64]uint64 `protobuf:"bytes,6,rep,name=Uint64Map" json:"Uint64Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
Sint32Map map[int32]int32 `protobuf:"bytes,7,rep,name=Sint32Map" json:"Sint32Map,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
|
|
Sint64Map map[int64]int64 `protobuf:"bytes,8,rep,name=Sint64Map" json:"Sint64Map,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
|
|
Fixed32Map map[uint32]uint32 `protobuf:"bytes,9,rep,name=Fixed32Map" json:"Fixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
|
|
Sfixed32Map map[int32]int32 `protobuf:"bytes,10,rep,name=Sfixed32Map" json:"Sfixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
|
|
Fixed64Map map[uint64]uint64 `protobuf:"bytes,11,rep,name=Fixed64Map" json:"Fixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
|
Sfixed64Map map[int64]int64 `protobuf:"bytes,12,rep,name=Sfixed64Map" json:"Sfixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
|
BoolMap map[bool]bool `protobuf:"bytes,13,rep,name=BoolMap" json:"BoolMap,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
StringMap map[string]string `protobuf:"bytes,14,rep,name=StringMap" json:"StringMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
StringToBytesMap map[string][]byte `protobuf:"bytes,15,rep,name=StringToBytesMap" json:"StringToBytesMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
StringToEnumMap map[string]MapEnum `protobuf:"bytes,16,rep,name=StringToEnumMap" json:"StringToEnumMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=proto2.maps.MapEnum"`
|
|
StringToMsgMap map[string]*FloatingPoint `protobuf:"bytes,17,rep,name=StringToMsgMap" json:"StringToMsgMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *AllMapsOrdered) Reset() { *m = AllMapsOrdered{} }
|
|
func (*AllMapsOrdered) ProtoMessage() {}
|
|
func (*AllMapsOrdered) Descriptor() ([]byte, []int) { return fileDescriptorMapsproto2, []int{3} }
|
|
|
|
func init() {
|
|
proto.RegisterType((*FloatingPoint)(nil), "proto2.maps.FloatingPoint")
|
|
proto.RegisterType((*CustomMap)(nil), "proto2.maps.CustomMap")
|
|
proto.RegisterType((*AllMaps)(nil), "proto2.maps.AllMaps")
|
|
proto.RegisterType((*AllMapsOrdered)(nil), "proto2.maps.AllMapsOrdered")
|
|
proto.RegisterEnum("proto2.maps.MapEnum", MapEnum_name, MapEnum_value)
|
|
}
|
|
func (this *FloatingPoint) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return Mapsproto2Description()
|
|
}
|
|
func (this *CustomMap) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return Mapsproto2Description()
|
|
}
|
|
func (this *AllMaps) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return Mapsproto2Description()
|
|
}
|
|
func (this *AllMapsOrdered) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return Mapsproto2Description()
|
|
}
|
|
func Mapsproto2Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{}
|
|
var gzipped = []byte{
|
|
// 4653 bytes of a gzipped FileDescriptorSet
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x5d, 0x6c, 0x23, 0xd7,
|
|
0x75, 0xde, 0xe1, 0x8f, 0x44, 0x1e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, 0x1d, 0xce, 0x48, 0xdf, 0x3e, 0x9c,
|
|
0x91, 0xde, 0x3c, 0x9c, 0x91, 0xbe, 0x7b, 0x38, 0x23, 0xbd, 0x7d, 0x38, 0x23, 0xbd, 0x7b, 0x38,
|
|
0x73, 0xec, 0xfd, 0xc3, 0x19, 0xe9, 0x27, 0x87, 0x33, 0xc7, 0xae, 0xfd, 0xdb, 0xcc, 0xb1, 0xff,
|
|
0x0f, 0x00, 0x00, 0xff, 0xff, 0xef, 0x64, 0xe0, 0x84, 0x99, 0x46, 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 (x MapEnum) String() string {
|
|
s, ok := MapEnum_name[int32(x)]
|
|
if ok {
|
|
return s
|
|
}
|
|
return strconv.Itoa(int(x))
|
|
}
|
|
func (this *FloatingPoint) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*FloatingPoint)
|
|
if !ok {
|
|
that2, ok := that.(FloatingPoint)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *FloatingPoint")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *FloatingPoint but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *FloatingPoint but is not nil && this == nil")
|
|
}
|
|
if this.F != nil && that1.F != nil {
|
|
if *this.F != *that1.F {
|
|
return fmt.Errorf("F this(%v) Not Equal that(%v)", *this.F, *that1.F)
|
|
}
|
|
} else if this.F != nil {
|
|
return fmt.Errorf("this.F == nil && that.F != nil")
|
|
} else if that1.F != nil {
|
|
return fmt.Errorf("F this(%v) Not Equal that(%v)", this.F, that1.F)
|
|
}
|
|
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 *FloatingPoint) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*FloatingPoint)
|
|
if !ok {
|
|
that2, ok := that.(FloatingPoint)
|
|
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.F != nil && that1.F != nil {
|
|
if *this.F != *that1.F {
|
|
return false
|
|
}
|
|
} else if this.F != nil {
|
|
return false
|
|
} else if that1.F != nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *CustomMap) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*CustomMap)
|
|
if !ok {
|
|
that2, ok := that.(CustomMap)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *CustomMap")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *CustomMap but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *CustomMap but is not nil && this == nil")
|
|
}
|
|
if len(this.Nullable128S) != len(that1.Nullable128S) {
|
|
return fmt.Errorf("Nullable128S this(%v) Not Equal that(%v)", len(this.Nullable128S), len(that1.Nullable128S))
|
|
}
|
|
for i := range this.Nullable128S {
|
|
if !this.Nullable128S[i].Equal(*that1.Nullable128S[i]) { //nullable
|
|
return fmt.Errorf("Nullable128S this[%v](%v) Not Equal that[%v](%v)", i, this.Nullable128S[i], i, that1.Nullable128S[i])
|
|
}
|
|
}
|
|
if len(this.Uint128S) != len(that1.Uint128S) {
|
|
return fmt.Errorf("Uint128S this(%v) Not Equal that(%v)", len(this.Uint128S), len(that1.Uint128S))
|
|
}
|
|
for i := range this.Uint128S {
|
|
if !this.Uint128S[i].Equal(that1.Uint128S[i]) { //not nullable
|
|
return fmt.Errorf("Uint128S this[%v](%v) Not Equal that[%v](%v)", i, this.Uint128S[i], i, that1.Uint128S[i])
|
|
}
|
|
}
|
|
if len(this.NullableIds) != len(that1.NullableIds) {
|
|
return fmt.Errorf("NullableIds this(%v) Not Equal that(%v)", len(this.NullableIds), len(that1.NullableIds))
|
|
}
|
|
for i := range this.NullableIds {
|
|
if !this.NullableIds[i].Equal(*that1.NullableIds[i]) { //nullable
|
|
return fmt.Errorf("NullableIds this[%v](%v) Not Equal that[%v](%v)", i, this.NullableIds[i], i, that1.NullableIds[i])
|
|
}
|
|
}
|
|
if len(this.Ids) != len(that1.Ids) {
|
|
return fmt.Errorf("Ids this(%v) Not Equal that(%v)", len(this.Ids), len(that1.Ids))
|
|
}
|
|
for i := range this.Ids {
|
|
if !this.Ids[i].Equal(that1.Ids[i]) { //not nullable
|
|
return fmt.Errorf("Ids this[%v](%v) Not Equal that[%v](%v)", i, this.Ids[i], i, that1.Ids[i])
|
|
}
|
|
}
|
|
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 *CustomMap) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*CustomMap)
|
|
if !ok {
|
|
that2, ok := that.(CustomMap)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.Nullable128S) != len(that1.Nullable128S) {
|
|
return false
|
|
}
|
|
for i := range this.Nullable128S {
|
|
if !this.Nullable128S[i].Equal(*that1.Nullable128S[i]) { //nullable
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Uint128S) != len(that1.Uint128S) {
|
|
return false
|
|
}
|
|
for i := range this.Uint128S {
|
|
if !this.Uint128S[i].Equal(that1.Uint128S[i]) { //not nullable
|
|
return false
|
|
}
|
|
}
|
|
if len(this.NullableIds) != len(that1.NullableIds) {
|
|
return false
|
|
}
|
|
for i := range this.NullableIds {
|
|
if !this.NullableIds[i].Equal(*that1.NullableIds[i]) { //nullable
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Ids) != len(that1.Ids) {
|
|
return false
|
|
}
|
|
for i := range this.Ids {
|
|
if !this.Ids[i].Equal(that1.Ids[i]) { //not nullable
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *AllMaps) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*AllMaps)
|
|
if !ok {
|
|
that2, ok := that.(AllMaps)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *AllMaps")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *AllMaps but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *AllMaps but is not nil && this == nil")
|
|
}
|
|
if len(this.StringToDoubleMap) != len(that1.StringToDoubleMap) {
|
|
return fmt.Errorf("StringToDoubleMap this(%v) Not Equal that(%v)", len(this.StringToDoubleMap), len(that1.StringToDoubleMap))
|
|
}
|
|
for i := range this.StringToDoubleMap {
|
|
if this.StringToDoubleMap[i] != that1.StringToDoubleMap[i] {
|
|
return fmt.Errorf("StringToDoubleMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToDoubleMap[i], i, that1.StringToDoubleMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToFloatMap) != len(that1.StringToFloatMap) {
|
|
return fmt.Errorf("StringToFloatMap this(%v) Not Equal that(%v)", len(this.StringToFloatMap), len(that1.StringToFloatMap))
|
|
}
|
|
for i := range this.StringToFloatMap {
|
|
if this.StringToFloatMap[i] != that1.StringToFloatMap[i] {
|
|
return fmt.Errorf("StringToFloatMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToFloatMap[i], i, that1.StringToFloatMap[i])
|
|
}
|
|
}
|
|
if len(this.Int32Map) != len(that1.Int32Map) {
|
|
return fmt.Errorf("Int32Map this(%v) Not Equal that(%v)", len(this.Int32Map), len(that1.Int32Map))
|
|
}
|
|
for i := range this.Int32Map {
|
|
if this.Int32Map[i] != that1.Int32Map[i] {
|
|
return fmt.Errorf("Int32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Int32Map[i], i, that1.Int32Map[i])
|
|
}
|
|
}
|
|
if len(this.Int64Map) != len(that1.Int64Map) {
|
|
return fmt.Errorf("Int64Map this(%v) Not Equal that(%v)", len(this.Int64Map), len(that1.Int64Map))
|
|
}
|
|
for i := range this.Int64Map {
|
|
if this.Int64Map[i] != that1.Int64Map[i] {
|
|
return fmt.Errorf("Int64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Int64Map[i], i, that1.Int64Map[i])
|
|
}
|
|
}
|
|
if len(this.Uint32Map) != len(that1.Uint32Map) {
|
|
return fmt.Errorf("Uint32Map this(%v) Not Equal that(%v)", len(this.Uint32Map), len(that1.Uint32Map))
|
|
}
|
|
for i := range this.Uint32Map {
|
|
if this.Uint32Map[i] != that1.Uint32Map[i] {
|
|
return fmt.Errorf("Uint32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Uint32Map[i], i, that1.Uint32Map[i])
|
|
}
|
|
}
|
|
if len(this.Uint64Map) != len(that1.Uint64Map) {
|
|
return fmt.Errorf("Uint64Map this(%v) Not Equal that(%v)", len(this.Uint64Map), len(that1.Uint64Map))
|
|
}
|
|
for i := range this.Uint64Map {
|
|
if this.Uint64Map[i] != that1.Uint64Map[i] {
|
|
return fmt.Errorf("Uint64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Uint64Map[i], i, that1.Uint64Map[i])
|
|
}
|
|
}
|
|
if len(this.Sint32Map) != len(that1.Sint32Map) {
|
|
return fmt.Errorf("Sint32Map this(%v) Not Equal that(%v)", len(this.Sint32Map), len(that1.Sint32Map))
|
|
}
|
|
for i := range this.Sint32Map {
|
|
if this.Sint32Map[i] != that1.Sint32Map[i] {
|
|
return fmt.Errorf("Sint32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sint32Map[i], i, that1.Sint32Map[i])
|
|
}
|
|
}
|
|
if len(this.Sint64Map) != len(that1.Sint64Map) {
|
|
return fmt.Errorf("Sint64Map this(%v) Not Equal that(%v)", len(this.Sint64Map), len(that1.Sint64Map))
|
|
}
|
|
for i := range this.Sint64Map {
|
|
if this.Sint64Map[i] != that1.Sint64Map[i] {
|
|
return fmt.Errorf("Sint64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sint64Map[i], i, that1.Sint64Map[i])
|
|
}
|
|
}
|
|
if len(this.Fixed32Map) != len(that1.Fixed32Map) {
|
|
return fmt.Errorf("Fixed32Map this(%v) Not Equal that(%v)", len(this.Fixed32Map), len(that1.Fixed32Map))
|
|
}
|
|
for i := range this.Fixed32Map {
|
|
if this.Fixed32Map[i] != that1.Fixed32Map[i] {
|
|
return fmt.Errorf("Fixed32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Fixed32Map[i], i, that1.Fixed32Map[i])
|
|
}
|
|
}
|
|
if len(this.Sfixed32Map) != len(that1.Sfixed32Map) {
|
|
return fmt.Errorf("Sfixed32Map this(%v) Not Equal that(%v)", len(this.Sfixed32Map), len(that1.Sfixed32Map))
|
|
}
|
|
for i := range this.Sfixed32Map {
|
|
if this.Sfixed32Map[i] != that1.Sfixed32Map[i] {
|
|
return fmt.Errorf("Sfixed32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sfixed32Map[i], i, that1.Sfixed32Map[i])
|
|
}
|
|
}
|
|
if len(this.Fixed64Map) != len(that1.Fixed64Map) {
|
|
return fmt.Errorf("Fixed64Map this(%v) Not Equal that(%v)", len(this.Fixed64Map), len(that1.Fixed64Map))
|
|
}
|
|
for i := range this.Fixed64Map {
|
|
if this.Fixed64Map[i] != that1.Fixed64Map[i] {
|
|
return fmt.Errorf("Fixed64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Fixed64Map[i], i, that1.Fixed64Map[i])
|
|
}
|
|
}
|
|
if len(this.Sfixed64Map) != len(that1.Sfixed64Map) {
|
|
return fmt.Errorf("Sfixed64Map this(%v) Not Equal that(%v)", len(this.Sfixed64Map), len(that1.Sfixed64Map))
|
|
}
|
|
for i := range this.Sfixed64Map {
|
|
if this.Sfixed64Map[i] != that1.Sfixed64Map[i] {
|
|
return fmt.Errorf("Sfixed64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sfixed64Map[i], i, that1.Sfixed64Map[i])
|
|
}
|
|
}
|
|
if len(this.BoolMap) != len(that1.BoolMap) {
|
|
return fmt.Errorf("BoolMap this(%v) Not Equal that(%v)", len(this.BoolMap), len(that1.BoolMap))
|
|
}
|
|
for i := range this.BoolMap {
|
|
if this.BoolMap[i] != that1.BoolMap[i] {
|
|
return fmt.Errorf("BoolMap this[%v](%v) Not Equal that[%v](%v)", i, this.BoolMap[i], i, that1.BoolMap[i])
|
|
}
|
|
}
|
|
if len(this.StringMap) != len(that1.StringMap) {
|
|
return fmt.Errorf("StringMap this(%v) Not Equal that(%v)", len(this.StringMap), len(that1.StringMap))
|
|
}
|
|
for i := range this.StringMap {
|
|
if this.StringMap[i] != that1.StringMap[i] {
|
|
return fmt.Errorf("StringMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringMap[i], i, that1.StringMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToBytesMap) != len(that1.StringToBytesMap) {
|
|
return fmt.Errorf("StringToBytesMap this(%v) Not Equal that(%v)", len(this.StringToBytesMap), len(that1.StringToBytesMap))
|
|
}
|
|
for i := range this.StringToBytesMap {
|
|
if !bytes.Equal(this.StringToBytesMap[i], that1.StringToBytesMap[i]) {
|
|
return fmt.Errorf("StringToBytesMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToBytesMap[i], i, that1.StringToBytesMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToEnumMap) != len(that1.StringToEnumMap) {
|
|
return fmt.Errorf("StringToEnumMap this(%v) Not Equal that(%v)", len(this.StringToEnumMap), len(that1.StringToEnumMap))
|
|
}
|
|
for i := range this.StringToEnumMap {
|
|
if this.StringToEnumMap[i] != that1.StringToEnumMap[i] {
|
|
return fmt.Errorf("StringToEnumMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToEnumMap[i], i, that1.StringToEnumMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToMsgMap) != len(that1.StringToMsgMap) {
|
|
return fmt.Errorf("StringToMsgMap this(%v) Not Equal that(%v)", len(this.StringToMsgMap), len(that1.StringToMsgMap))
|
|
}
|
|
for i := range this.StringToMsgMap {
|
|
if !this.StringToMsgMap[i].Equal(that1.StringToMsgMap[i]) {
|
|
return fmt.Errorf("StringToMsgMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToMsgMap[i], i, that1.StringToMsgMap[i])
|
|
}
|
|
}
|
|
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 *AllMaps) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*AllMaps)
|
|
if !ok {
|
|
that2, ok := that.(AllMaps)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.StringToDoubleMap) != len(that1.StringToDoubleMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToDoubleMap {
|
|
if this.StringToDoubleMap[i] != that1.StringToDoubleMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToFloatMap) != len(that1.StringToFloatMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToFloatMap {
|
|
if this.StringToFloatMap[i] != that1.StringToFloatMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Int32Map) != len(that1.Int32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Int32Map {
|
|
if this.Int32Map[i] != that1.Int32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Int64Map) != len(that1.Int64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Int64Map {
|
|
if this.Int64Map[i] != that1.Int64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Uint32Map) != len(that1.Uint32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Uint32Map {
|
|
if this.Uint32Map[i] != that1.Uint32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Uint64Map) != len(that1.Uint64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Uint64Map {
|
|
if this.Uint64Map[i] != that1.Uint64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sint32Map) != len(that1.Sint32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sint32Map {
|
|
if this.Sint32Map[i] != that1.Sint32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sint64Map) != len(that1.Sint64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sint64Map {
|
|
if this.Sint64Map[i] != that1.Sint64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Fixed32Map) != len(that1.Fixed32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Fixed32Map {
|
|
if this.Fixed32Map[i] != that1.Fixed32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sfixed32Map) != len(that1.Sfixed32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sfixed32Map {
|
|
if this.Sfixed32Map[i] != that1.Sfixed32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Fixed64Map) != len(that1.Fixed64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Fixed64Map {
|
|
if this.Fixed64Map[i] != that1.Fixed64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sfixed64Map) != len(that1.Sfixed64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sfixed64Map {
|
|
if this.Sfixed64Map[i] != that1.Sfixed64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.BoolMap) != len(that1.BoolMap) {
|
|
return false
|
|
}
|
|
for i := range this.BoolMap {
|
|
if this.BoolMap[i] != that1.BoolMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringMap) != len(that1.StringMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringMap {
|
|
if this.StringMap[i] != that1.StringMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToBytesMap) != len(that1.StringToBytesMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToBytesMap {
|
|
if !bytes.Equal(this.StringToBytesMap[i], that1.StringToBytesMap[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToEnumMap) != len(that1.StringToEnumMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToEnumMap {
|
|
if this.StringToEnumMap[i] != that1.StringToEnumMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToMsgMap) != len(that1.StringToMsgMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToMsgMap {
|
|
if !this.StringToMsgMap[i].Equal(that1.StringToMsgMap[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *AllMapsOrdered) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*AllMapsOrdered)
|
|
if !ok {
|
|
that2, ok := that.(AllMapsOrdered)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *AllMapsOrdered")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *AllMapsOrdered but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *AllMapsOrdered but is not nil && this == nil")
|
|
}
|
|
if len(this.StringToDoubleMap) != len(that1.StringToDoubleMap) {
|
|
return fmt.Errorf("StringToDoubleMap this(%v) Not Equal that(%v)", len(this.StringToDoubleMap), len(that1.StringToDoubleMap))
|
|
}
|
|
for i := range this.StringToDoubleMap {
|
|
if this.StringToDoubleMap[i] != that1.StringToDoubleMap[i] {
|
|
return fmt.Errorf("StringToDoubleMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToDoubleMap[i], i, that1.StringToDoubleMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToFloatMap) != len(that1.StringToFloatMap) {
|
|
return fmt.Errorf("StringToFloatMap this(%v) Not Equal that(%v)", len(this.StringToFloatMap), len(that1.StringToFloatMap))
|
|
}
|
|
for i := range this.StringToFloatMap {
|
|
if this.StringToFloatMap[i] != that1.StringToFloatMap[i] {
|
|
return fmt.Errorf("StringToFloatMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToFloatMap[i], i, that1.StringToFloatMap[i])
|
|
}
|
|
}
|
|
if len(this.Int32Map) != len(that1.Int32Map) {
|
|
return fmt.Errorf("Int32Map this(%v) Not Equal that(%v)", len(this.Int32Map), len(that1.Int32Map))
|
|
}
|
|
for i := range this.Int32Map {
|
|
if this.Int32Map[i] != that1.Int32Map[i] {
|
|
return fmt.Errorf("Int32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Int32Map[i], i, that1.Int32Map[i])
|
|
}
|
|
}
|
|
if len(this.Int64Map) != len(that1.Int64Map) {
|
|
return fmt.Errorf("Int64Map this(%v) Not Equal that(%v)", len(this.Int64Map), len(that1.Int64Map))
|
|
}
|
|
for i := range this.Int64Map {
|
|
if this.Int64Map[i] != that1.Int64Map[i] {
|
|
return fmt.Errorf("Int64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Int64Map[i], i, that1.Int64Map[i])
|
|
}
|
|
}
|
|
if len(this.Uint32Map) != len(that1.Uint32Map) {
|
|
return fmt.Errorf("Uint32Map this(%v) Not Equal that(%v)", len(this.Uint32Map), len(that1.Uint32Map))
|
|
}
|
|
for i := range this.Uint32Map {
|
|
if this.Uint32Map[i] != that1.Uint32Map[i] {
|
|
return fmt.Errorf("Uint32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Uint32Map[i], i, that1.Uint32Map[i])
|
|
}
|
|
}
|
|
if len(this.Uint64Map) != len(that1.Uint64Map) {
|
|
return fmt.Errorf("Uint64Map this(%v) Not Equal that(%v)", len(this.Uint64Map), len(that1.Uint64Map))
|
|
}
|
|
for i := range this.Uint64Map {
|
|
if this.Uint64Map[i] != that1.Uint64Map[i] {
|
|
return fmt.Errorf("Uint64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Uint64Map[i], i, that1.Uint64Map[i])
|
|
}
|
|
}
|
|
if len(this.Sint32Map) != len(that1.Sint32Map) {
|
|
return fmt.Errorf("Sint32Map this(%v) Not Equal that(%v)", len(this.Sint32Map), len(that1.Sint32Map))
|
|
}
|
|
for i := range this.Sint32Map {
|
|
if this.Sint32Map[i] != that1.Sint32Map[i] {
|
|
return fmt.Errorf("Sint32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sint32Map[i], i, that1.Sint32Map[i])
|
|
}
|
|
}
|
|
if len(this.Sint64Map) != len(that1.Sint64Map) {
|
|
return fmt.Errorf("Sint64Map this(%v) Not Equal that(%v)", len(this.Sint64Map), len(that1.Sint64Map))
|
|
}
|
|
for i := range this.Sint64Map {
|
|
if this.Sint64Map[i] != that1.Sint64Map[i] {
|
|
return fmt.Errorf("Sint64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sint64Map[i], i, that1.Sint64Map[i])
|
|
}
|
|
}
|
|
if len(this.Fixed32Map) != len(that1.Fixed32Map) {
|
|
return fmt.Errorf("Fixed32Map this(%v) Not Equal that(%v)", len(this.Fixed32Map), len(that1.Fixed32Map))
|
|
}
|
|
for i := range this.Fixed32Map {
|
|
if this.Fixed32Map[i] != that1.Fixed32Map[i] {
|
|
return fmt.Errorf("Fixed32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Fixed32Map[i], i, that1.Fixed32Map[i])
|
|
}
|
|
}
|
|
if len(this.Sfixed32Map) != len(that1.Sfixed32Map) {
|
|
return fmt.Errorf("Sfixed32Map this(%v) Not Equal that(%v)", len(this.Sfixed32Map), len(that1.Sfixed32Map))
|
|
}
|
|
for i := range this.Sfixed32Map {
|
|
if this.Sfixed32Map[i] != that1.Sfixed32Map[i] {
|
|
return fmt.Errorf("Sfixed32Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sfixed32Map[i], i, that1.Sfixed32Map[i])
|
|
}
|
|
}
|
|
if len(this.Fixed64Map) != len(that1.Fixed64Map) {
|
|
return fmt.Errorf("Fixed64Map this(%v) Not Equal that(%v)", len(this.Fixed64Map), len(that1.Fixed64Map))
|
|
}
|
|
for i := range this.Fixed64Map {
|
|
if this.Fixed64Map[i] != that1.Fixed64Map[i] {
|
|
return fmt.Errorf("Fixed64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Fixed64Map[i], i, that1.Fixed64Map[i])
|
|
}
|
|
}
|
|
if len(this.Sfixed64Map) != len(that1.Sfixed64Map) {
|
|
return fmt.Errorf("Sfixed64Map this(%v) Not Equal that(%v)", len(this.Sfixed64Map), len(that1.Sfixed64Map))
|
|
}
|
|
for i := range this.Sfixed64Map {
|
|
if this.Sfixed64Map[i] != that1.Sfixed64Map[i] {
|
|
return fmt.Errorf("Sfixed64Map this[%v](%v) Not Equal that[%v](%v)", i, this.Sfixed64Map[i], i, that1.Sfixed64Map[i])
|
|
}
|
|
}
|
|
if len(this.BoolMap) != len(that1.BoolMap) {
|
|
return fmt.Errorf("BoolMap this(%v) Not Equal that(%v)", len(this.BoolMap), len(that1.BoolMap))
|
|
}
|
|
for i := range this.BoolMap {
|
|
if this.BoolMap[i] != that1.BoolMap[i] {
|
|
return fmt.Errorf("BoolMap this[%v](%v) Not Equal that[%v](%v)", i, this.BoolMap[i], i, that1.BoolMap[i])
|
|
}
|
|
}
|
|
if len(this.StringMap) != len(that1.StringMap) {
|
|
return fmt.Errorf("StringMap this(%v) Not Equal that(%v)", len(this.StringMap), len(that1.StringMap))
|
|
}
|
|
for i := range this.StringMap {
|
|
if this.StringMap[i] != that1.StringMap[i] {
|
|
return fmt.Errorf("StringMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringMap[i], i, that1.StringMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToBytesMap) != len(that1.StringToBytesMap) {
|
|
return fmt.Errorf("StringToBytesMap this(%v) Not Equal that(%v)", len(this.StringToBytesMap), len(that1.StringToBytesMap))
|
|
}
|
|
for i := range this.StringToBytesMap {
|
|
if !bytes.Equal(this.StringToBytesMap[i], that1.StringToBytesMap[i]) {
|
|
return fmt.Errorf("StringToBytesMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToBytesMap[i], i, that1.StringToBytesMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToEnumMap) != len(that1.StringToEnumMap) {
|
|
return fmt.Errorf("StringToEnumMap this(%v) Not Equal that(%v)", len(this.StringToEnumMap), len(that1.StringToEnumMap))
|
|
}
|
|
for i := range this.StringToEnumMap {
|
|
if this.StringToEnumMap[i] != that1.StringToEnumMap[i] {
|
|
return fmt.Errorf("StringToEnumMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToEnumMap[i], i, that1.StringToEnumMap[i])
|
|
}
|
|
}
|
|
if len(this.StringToMsgMap) != len(that1.StringToMsgMap) {
|
|
return fmt.Errorf("StringToMsgMap this(%v) Not Equal that(%v)", len(this.StringToMsgMap), len(that1.StringToMsgMap))
|
|
}
|
|
for i := range this.StringToMsgMap {
|
|
if !this.StringToMsgMap[i].Equal(that1.StringToMsgMap[i]) {
|
|
return fmt.Errorf("StringToMsgMap this[%v](%v) Not Equal that[%v](%v)", i, this.StringToMsgMap[i], i, that1.StringToMsgMap[i])
|
|
}
|
|
}
|
|
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 *AllMapsOrdered) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|
|
that1, ok := that.(*AllMapsOrdered)
|
|
if !ok {
|
|
that2, ok := that.(AllMapsOrdered)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return true
|
|
}
|
|
return false
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if len(this.StringToDoubleMap) != len(that1.StringToDoubleMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToDoubleMap {
|
|
if this.StringToDoubleMap[i] != that1.StringToDoubleMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToFloatMap) != len(that1.StringToFloatMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToFloatMap {
|
|
if this.StringToFloatMap[i] != that1.StringToFloatMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Int32Map) != len(that1.Int32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Int32Map {
|
|
if this.Int32Map[i] != that1.Int32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Int64Map) != len(that1.Int64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Int64Map {
|
|
if this.Int64Map[i] != that1.Int64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Uint32Map) != len(that1.Uint32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Uint32Map {
|
|
if this.Uint32Map[i] != that1.Uint32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Uint64Map) != len(that1.Uint64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Uint64Map {
|
|
if this.Uint64Map[i] != that1.Uint64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sint32Map) != len(that1.Sint32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sint32Map {
|
|
if this.Sint32Map[i] != that1.Sint32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sint64Map) != len(that1.Sint64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sint64Map {
|
|
if this.Sint64Map[i] != that1.Sint64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Fixed32Map) != len(that1.Fixed32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Fixed32Map {
|
|
if this.Fixed32Map[i] != that1.Fixed32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sfixed32Map) != len(that1.Sfixed32Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sfixed32Map {
|
|
if this.Sfixed32Map[i] != that1.Sfixed32Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Fixed64Map) != len(that1.Fixed64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Fixed64Map {
|
|
if this.Fixed64Map[i] != that1.Fixed64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.Sfixed64Map) != len(that1.Sfixed64Map) {
|
|
return false
|
|
}
|
|
for i := range this.Sfixed64Map {
|
|
if this.Sfixed64Map[i] != that1.Sfixed64Map[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.BoolMap) != len(that1.BoolMap) {
|
|
return false
|
|
}
|
|
for i := range this.BoolMap {
|
|
if this.BoolMap[i] != that1.BoolMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringMap) != len(that1.StringMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringMap {
|
|
if this.StringMap[i] != that1.StringMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToBytesMap) != len(that1.StringToBytesMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToBytesMap {
|
|
if !bytes.Equal(this.StringToBytesMap[i], that1.StringToBytesMap[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToEnumMap) != len(that1.StringToEnumMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToEnumMap {
|
|
if this.StringToEnumMap[i] != that1.StringToEnumMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.StringToMsgMap) != len(that1.StringToMsgMap) {
|
|
return false
|
|
}
|
|
for i := range this.StringToMsgMap {
|
|
if !this.StringToMsgMap[i].Equal(that1.StringToMsgMap[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
|
|
type FloatingPointFace interface {
|
|
Proto() github_com_gogo_protobuf_proto.Message
|
|
GetF() *float64
|
|
}
|
|
|
|
func (this *FloatingPoint) Proto() github_com_gogo_protobuf_proto.Message {
|
|
return this
|
|
}
|
|
|
|
func (this *FloatingPoint) TestProto() github_com_gogo_protobuf_proto.Message {
|
|
return NewFloatingPointFromFace(this)
|
|
}
|
|
|
|
func (this *FloatingPoint) GetF() *float64 {
|
|
return this.F
|
|
}
|
|
|
|
func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint {
|
|
this := &FloatingPoint{}
|
|
this.F = that.GetF()
|
|
return this
|
|
}
|
|
|
|
type CustomMapFace interface {
|
|
Proto() github_com_gogo_protobuf_proto.Message
|
|
GetNullable128S() map[string]*github_com_gogo_protobuf_test_custom.Uint128
|
|
GetUint128S() map[string]github_com_gogo_protobuf_test_custom.Uint128
|
|
GetNullableIds() map[string]*github_com_gogo_protobuf_test.Uuid
|
|
GetIds() map[string]github_com_gogo_protobuf_test.Uuid
|
|
}
|
|
|
|
func (this *CustomMap) Proto() github_com_gogo_protobuf_proto.Message {
|
|
return this
|
|
}
|
|
|
|
func (this *CustomMap) TestProto() github_com_gogo_protobuf_proto.Message {
|
|
return NewCustomMapFromFace(this)
|
|
}
|
|
|
|
func (this *CustomMap) GetNullable128S() map[string]*github_com_gogo_protobuf_test_custom.Uint128 {
|
|
return this.Nullable128S
|
|
}
|
|
|
|
func (this *CustomMap) GetUint128S() map[string]github_com_gogo_protobuf_test_custom.Uint128 {
|
|
return this.Uint128S
|
|
}
|
|
|
|
func (this *CustomMap) GetNullableIds() map[string]*github_com_gogo_protobuf_test.Uuid {
|
|
return this.NullableIds
|
|
}
|
|
|
|
func (this *CustomMap) GetIds() map[string]github_com_gogo_protobuf_test.Uuid {
|
|
return this.Ids
|
|
}
|
|
|
|
func NewCustomMapFromFace(that CustomMapFace) *CustomMap {
|
|
this := &CustomMap{}
|
|
this.Nullable128S = that.GetNullable128S()
|
|
this.Uint128S = that.GetUint128S()
|
|
this.NullableIds = that.GetNullableIds()
|
|
this.Ids = that.GetIds()
|
|
return this
|
|
}
|
|
|
|
type AllMapsFace interface {
|
|
Proto() github_com_gogo_protobuf_proto.Message
|
|
GetStringToDoubleMap() map[string]float64
|
|
GetStringToFloatMap() map[string]float32
|
|
GetInt32Map() map[int32]int32
|
|
GetInt64Map() map[int64]int64
|
|
GetUint32Map() map[uint32]uint32
|
|
GetUint64Map() map[uint64]uint64
|
|
GetSint32Map() map[int32]int32
|
|
GetSint64Map() map[int64]int64
|
|
GetFixed32Map() map[uint32]uint32
|
|
GetSfixed32Map() map[int32]int32
|
|
GetFixed64Map() map[uint64]uint64
|
|
GetSfixed64Map() map[int64]int64
|
|
GetBoolMap() map[bool]bool
|
|
GetStringMap() map[string]string
|
|
GetStringToBytesMap() map[string][]byte
|
|
GetStringToEnumMap() map[string]MapEnum
|
|
GetStringToMsgMap() map[string]*FloatingPoint
|
|
}
|
|
|
|
func (this *AllMaps) Proto() github_com_gogo_protobuf_proto.Message {
|
|
return this
|
|
}
|
|
|
|
func (this *AllMaps) TestProto() github_com_gogo_protobuf_proto.Message {
|
|
return NewAllMapsFromFace(this)
|
|
}
|
|
|
|
func (this *AllMaps) GetStringToDoubleMap() map[string]float64 {
|
|
return this.StringToDoubleMap
|
|
}
|
|
|
|
func (this *AllMaps) GetStringToFloatMap() map[string]float32 {
|
|
return this.StringToFloatMap
|
|
}
|
|
|
|
func (this *AllMaps) GetInt32Map() map[int32]int32 {
|
|
return this.Int32Map
|
|
}
|
|
|
|
func (this *AllMaps) GetInt64Map() map[int64]int64 {
|
|
return this.Int64Map
|
|
}
|
|
|
|
func (this *AllMaps) GetUint32Map() map[uint32]uint32 {
|
|
return this.Uint32Map
|
|
}
|
|
|
|
func (this *AllMaps) GetUint64Map() map[uint64]uint64 {
|
|
return this.Uint64Map
|
|
}
|
|
|
|
func (this *AllMaps) GetSint32Map() map[int32]int32 {
|
|
return this.Sint32Map
|
|
}
|
|
|
|
func (this *AllMaps) GetSint64Map() map[int64]int64 {
|
|
return this.Sint64Map
|
|
}
|
|
|
|
func (this *AllMaps) GetFixed32Map() map[uint32]uint32 {
|
|
return this.Fixed32Map
|
|
}
|
|
|
|
func (this *AllMaps) GetSfixed32Map() map[int32]int32 {
|
|
return this.Sfixed32Map
|
|
}
|
|
|
|
func (this *AllMaps) GetFixed64Map() map[uint64]uint64 {
|
|
return this.Fixed64Map
|
|
}
|
|
|
|
func (this *AllMaps) GetSfixed64Map() map[int64]int64 {
|
|
return this.Sfixed64Map
|
|
}
|
|
|
|
func (this *AllMaps) GetBoolMap() map[bool]bool {
|
|
return this.BoolMap
|
|
}
|
|
|
|
func (this *AllMaps) GetStringMap() map[string]string {
|
|
return this.StringMap
|
|
}
|
|
|
|
func (this *AllMaps) GetStringToBytesMap() map[string][]byte {
|
|
return this.StringToBytesMap
|
|
}
|
|
|
|
func (this *AllMaps) GetStringToEnumMap() map[string]MapEnum {
|
|
return this.StringToEnumMap
|
|
}
|
|
|
|
func (this *AllMaps) GetStringToMsgMap() map[string]*FloatingPoint {
|
|
return this.StringToMsgMap
|
|
}
|
|
|
|
func NewAllMapsFromFace(that AllMapsFace) *AllMaps {
|
|
this := &AllMaps{}
|
|
this.StringToDoubleMap = that.GetStringToDoubleMap()
|
|
this.StringToFloatMap = that.GetStringToFloatMap()
|
|
this.Int32Map = that.GetInt32Map()
|
|
this.Int64Map = that.GetInt64Map()
|
|
this.Uint32Map = that.GetUint32Map()
|
|
this.Uint64Map = that.GetUint64Map()
|
|
this.Sint32Map = that.GetSint32Map()
|
|
this.Sint64Map = that.GetSint64Map()
|
|
this.Fixed32Map = that.GetFixed32Map()
|
|
this.Sfixed32Map = that.GetSfixed32Map()
|
|
this.Fixed64Map = that.GetFixed64Map()
|
|
this.Sfixed64Map = that.GetSfixed64Map()
|
|
this.BoolMap = that.GetBoolMap()
|
|
this.StringMap = that.GetStringMap()
|
|
this.StringToBytesMap = that.GetStringToBytesMap()
|
|
this.StringToEnumMap = that.GetStringToEnumMap()
|
|
this.StringToMsgMap = that.GetStringToMsgMap()
|
|
return this
|
|
}
|
|
|
|
type AllMapsOrderedFace interface {
|
|
Proto() github_com_gogo_protobuf_proto.Message
|
|
GetStringToDoubleMap() map[string]float64
|
|
GetStringToFloatMap() map[string]float32
|
|
GetInt32Map() map[int32]int32
|
|
GetInt64Map() map[int64]int64
|
|
GetUint32Map() map[uint32]uint32
|
|
GetUint64Map() map[uint64]uint64
|
|
GetSint32Map() map[int32]int32
|
|
GetSint64Map() map[int64]int64
|
|
GetFixed32Map() map[uint32]uint32
|
|
GetSfixed32Map() map[int32]int32
|
|
GetFixed64Map() map[uint64]uint64
|
|
GetSfixed64Map() map[int64]int64
|
|
GetBoolMap() map[bool]bool
|
|
GetStringMap() map[string]string
|
|
GetStringToBytesMap() map[string][]byte
|
|
GetStringToEnumMap() map[string]MapEnum
|
|
GetStringToMsgMap() map[string]*FloatingPoint
|
|
}
|
|
|
|
func (this *AllMapsOrdered) Proto() github_com_gogo_protobuf_proto.Message {
|
|
return this
|
|
}
|
|
|
|
func (this *AllMapsOrdered) TestProto() github_com_gogo_protobuf_proto.Message {
|
|
return NewAllMapsOrderedFromFace(this)
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetStringToDoubleMap() map[string]float64 {
|
|
return this.StringToDoubleMap
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetStringToFloatMap() map[string]float32 {
|
|
return this.StringToFloatMap
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetInt32Map() map[int32]int32 {
|
|
return this.Int32Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetInt64Map() map[int64]int64 {
|
|
return this.Int64Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetUint32Map() map[uint32]uint32 {
|
|
return this.Uint32Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetUint64Map() map[uint64]uint64 {
|
|
return this.Uint64Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetSint32Map() map[int32]int32 {
|
|
return this.Sint32Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetSint64Map() map[int64]int64 {
|
|
return this.Sint64Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetFixed32Map() map[uint32]uint32 {
|
|
return this.Fixed32Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetSfixed32Map() map[int32]int32 {
|
|
return this.Sfixed32Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetFixed64Map() map[uint64]uint64 {
|
|
return this.Fixed64Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetSfixed64Map() map[int64]int64 {
|
|
return this.Sfixed64Map
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetBoolMap() map[bool]bool {
|
|
return this.BoolMap
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetStringMap() map[string]string {
|
|
return this.StringMap
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetStringToBytesMap() map[string][]byte {
|
|
return this.StringToBytesMap
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetStringToEnumMap() map[string]MapEnum {
|
|
return this.StringToEnumMap
|
|
}
|
|
|
|
func (this *AllMapsOrdered) GetStringToMsgMap() map[string]*FloatingPoint {
|
|
return this.StringToMsgMap
|
|
}
|
|
|
|
func NewAllMapsOrderedFromFace(that AllMapsOrderedFace) *AllMapsOrdered {
|
|
this := &AllMapsOrdered{}
|
|
this.StringToDoubleMap = that.GetStringToDoubleMap()
|
|
this.StringToFloatMap = that.GetStringToFloatMap()
|
|
this.Int32Map = that.GetInt32Map()
|
|
this.Int64Map = that.GetInt64Map()
|
|
this.Uint32Map = that.GetUint32Map()
|
|
this.Uint64Map = that.GetUint64Map()
|
|
this.Sint32Map = that.GetSint32Map()
|
|
this.Sint64Map = that.GetSint64Map()
|
|
this.Fixed32Map = that.GetFixed32Map()
|
|
this.Sfixed32Map = that.GetSfixed32Map()
|
|
this.Fixed64Map = that.GetFixed64Map()
|
|
this.Sfixed64Map = that.GetSfixed64Map()
|
|
this.BoolMap = that.GetBoolMap()
|
|
this.StringMap = that.GetStringMap()
|
|
this.StringToBytesMap = that.GetStringToBytesMap()
|
|
this.StringToEnumMap = that.GetStringToEnumMap()
|
|
this.StringToMsgMap = that.GetStringToMsgMap()
|
|
return this
|
|
}
|
|
|
|
func (this *FloatingPoint) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&proto2_maps.FloatingPoint{")
|
|
if this.F != nil {
|
|
s = append(s, "F: "+valueToGoStringMapsproto2(this.F, "float64")+",\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 *CustomMap) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 8)
|
|
s = append(s, "&proto2_maps.CustomMap{")
|
|
keysForNullable128S := make([]string, 0, len(this.Nullable128S))
|
|
for k := range this.Nullable128S {
|
|
keysForNullable128S = append(keysForNullable128S, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForNullable128S)
|
|
mapStringForNullable128S := "map[string]*github_com_gogo_protobuf_test_custom.Uint128{"
|
|
for _, k := range keysForNullable128S {
|
|
mapStringForNullable128S += fmt.Sprintf("%#v: %#v,", k, this.Nullable128S[k])
|
|
}
|
|
mapStringForNullable128S += "}"
|
|
if this.Nullable128S != nil {
|
|
s = append(s, "Nullable128S: "+mapStringForNullable128S+",\n")
|
|
}
|
|
keysForUint128S := make([]string, 0, len(this.Uint128S))
|
|
for k := range this.Uint128S {
|
|
keysForUint128S = append(keysForUint128S, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForUint128S)
|
|
mapStringForUint128S := "map[string]github_com_gogo_protobuf_test_custom.Uint128{"
|
|
for _, k := range keysForUint128S {
|
|
mapStringForUint128S += fmt.Sprintf("%#v: %#v,", k, this.Uint128S[k])
|
|
}
|
|
mapStringForUint128S += "}"
|
|
if this.Uint128S != nil {
|
|
s = append(s, "Uint128S: "+mapStringForUint128S+",\n")
|
|
}
|
|
keysForNullableIds := make([]string, 0, len(this.NullableIds))
|
|
for k := range this.NullableIds {
|
|
keysForNullableIds = append(keysForNullableIds, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForNullableIds)
|
|
mapStringForNullableIds := "map[string]*github_com_gogo_protobuf_test.Uuid{"
|
|
for _, k := range keysForNullableIds {
|
|
mapStringForNullableIds += fmt.Sprintf("%#v: %#v,", k, this.NullableIds[k])
|
|
}
|
|
mapStringForNullableIds += "}"
|
|
if this.NullableIds != nil {
|
|
s = append(s, "NullableIds: "+mapStringForNullableIds+",\n")
|
|
}
|
|
keysForIds := make([]string, 0, len(this.Ids))
|
|
for k := range this.Ids {
|
|
keysForIds = append(keysForIds, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForIds)
|
|
mapStringForIds := "map[string]github_com_gogo_protobuf_test.Uuid{"
|
|
for _, k := range keysForIds {
|
|
mapStringForIds += fmt.Sprintf("%#v: %#v,", k, this.Ids[k])
|
|
}
|
|
mapStringForIds += "}"
|
|
if this.Ids != nil {
|
|
s = append(s, "Ids: "+mapStringForIds+",\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 *AllMaps) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 21)
|
|
s = append(s, "&proto2_maps.AllMaps{")
|
|
keysForStringToDoubleMap := make([]string, 0, len(this.StringToDoubleMap))
|
|
for k := range this.StringToDoubleMap {
|
|
keysForStringToDoubleMap = append(keysForStringToDoubleMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToDoubleMap)
|
|
mapStringForStringToDoubleMap := "map[string]float64{"
|
|
for _, k := range keysForStringToDoubleMap {
|
|
mapStringForStringToDoubleMap += fmt.Sprintf("%#v: %#v,", k, this.StringToDoubleMap[k])
|
|
}
|
|
mapStringForStringToDoubleMap += "}"
|
|
if this.StringToDoubleMap != nil {
|
|
s = append(s, "StringToDoubleMap: "+mapStringForStringToDoubleMap+",\n")
|
|
}
|
|
keysForStringToFloatMap := make([]string, 0, len(this.StringToFloatMap))
|
|
for k := range this.StringToFloatMap {
|
|
keysForStringToFloatMap = append(keysForStringToFloatMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToFloatMap)
|
|
mapStringForStringToFloatMap := "map[string]float32{"
|
|
for _, k := range keysForStringToFloatMap {
|
|
mapStringForStringToFloatMap += fmt.Sprintf("%#v: %#v,", k, this.StringToFloatMap[k])
|
|
}
|
|
mapStringForStringToFloatMap += "}"
|
|
if this.StringToFloatMap != nil {
|
|
s = append(s, "StringToFloatMap: "+mapStringForStringToFloatMap+",\n")
|
|
}
|
|
keysForInt32Map := make([]int32, 0, len(this.Int32Map))
|
|
for k := range this.Int32Map {
|
|
keysForInt32Map = append(keysForInt32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForInt32Map)
|
|
mapStringForInt32Map := "map[int32]int32{"
|
|
for _, k := range keysForInt32Map {
|
|
mapStringForInt32Map += fmt.Sprintf("%#v: %#v,", k, this.Int32Map[k])
|
|
}
|
|
mapStringForInt32Map += "}"
|
|
if this.Int32Map != nil {
|
|
s = append(s, "Int32Map: "+mapStringForInt32Map+",\n")
|
|
}
|
|
keysForInt64Map := make([]int64, 0, len(this.Int64Map))
|
|
for k := range this.Int64Map {
|
|
keysForInt64Map = append(keysForInt64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForInt64Map)
|
|
mapStringForInt64Map := "map[int64]int64{"
|
|
for _, k := range keysForInt64Map {
|
|
mapStringForInt64Map += fmt.Sprintf("%#v: %#v,", k, this.Int64Map[k])
|
|
}
|
|
mapStringForInt64Map += "}"
|
|
if this.Int64Map != nil {
|
|
s = append(s, "Int64Map: "+mapStringForInt64Map+",\n")
|
|
}
|
|
keysForUint32Map := make([]uint32, 0, len(this.Uint32Map))
|
|
for k := range this.Uint32Map {
|
|
keysForUint32Map = append(keysForUint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForUint32Map)
|
|
mapStringForUint32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForUint32Map {
|
|
mapStringForUint32Map += fmt.Sprintf("%#v: %#v,", k, this.Uint32Map[k])
|
|
}
|
|
mapStringForUint32Map += "}"
|
|
if this.Uint32Map != nil {
|
|
s = append(s, "Uint32Map: "+mapStringForUint32Map+",\n")
|
|
}
|
|
keysForUint64Map := make([]uint64, 0, len(this.Uint64Map))
|
|
for k := range this.Uint64Map {
|
|
keysForUint64Map = append(keysForUint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForUint64Map)
|
|
mapStringForUint64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForUint64Map {
|
|
mapStringForUint64Map += fmt.Sprintf("%#v: %#v,", k, this.Uint64Map[k])
|
|
}
|
|
mapStringForUint64Map += "}"
|
|
if this.Uint64Map != nil {
|
|
s = append(s, "Uint64Map: "+mapStringForUint64Map+",\n")
|
|
}
|
|
keysForSint32Map := make([]int32, 0, len(this.Sint32Map))
|
|
for k := range this.Sint32Map {
|
|
keysForSint32Map = append(keysForSint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSint32Map)
|
|
mapStringForSint32Map := "map[int32]int32{"
|
|
for _, k := range keysForSint32Map {
|
|
mapStringForSint32Map += fmt.Sprintf("%#v: %#v,", k, this.Sint32Map[k])
|
|
}
|
|
mapStringForSint32Map += "}"
|
|
if this.Sint32Map != nil {
|
|
s = append(s, "Sint32Map: "+mapStringForSint32Map+",\n")
|
|
}
|
|
keysForSint64Map := make([]int64, 0, len(this.Sint64Map))
|
|
for k := range this.Sint64Map {
|
|
keysForSint64Map = append(keysForSint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSint64Map)
|
|
mapStringForSint64Map := "map[int64]int64{"
|
|
for _, k := range keysForSint64Map {
|
|
mapStringForSint64Map += fmt.Sprintf("%#v: %#v,", k, this.Sint64Map[k])
|
|
}
|
|
mapStringForSint64Map += "}"
|
|
if this.Sint64Map != nil {
|
|
s = append(s, "Sint64Map: "+mapStringForSint64Map+",\n")
|
|
}
|
|
keysForFixed32Map := make([]uint32, 0, len(this.Fixed32Map))
|
|
for k := range this.Fixed32Map {
|
|
keysForFixed32Map = append(keysForFixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForFixed32Map)
|
|
mapStringForFixed32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForFixed32Map {
|
|
mapStringForFixed32Map += fmt.Sprintf("%#v: %#v,", k, this.Fixed32Map[k])
|
|
}
|
|
mapStringForFixed32Map += "}"
|
|
if this.Fixed32Map != nil {
|
|
s = append(s, "Fixed32Map: "+mapStringForFixed32Map+",\n")
|
|
}
|
|
keysForSfixed32Map := make([]int32, 0, len(this.Sfixed32Map))
|
|
for k := range this.Sfixed32Map {
|
|
keysForSfixed32Map = append(keysForSfixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSfixed32Map)
|
|
mapStringForSfixed32Map := "map[int32]int32{"
|
|
for _, k := range keysForSfixed32Map {
|
|
mapStringForSfixed32Map += fmt.Sprintf("%#v: %#v,", k, this.Sfixed32Map[k])
|
|
}
|
|
mapStringForSfixed32Map += "}"
|
|
if this.Sfixed32Map != nil {
|
|
s = append(s, "Sfixed32Map: "+mapStringForSfixed32Map+",\n")
|
|
}
|
|
keysForFixed64Map := make([]uint64, 0, len(this.Fixed64Map))
|
|
for k := range this.Fixed64Map {
|
|
keysForFixed64Map = append(keysForFixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForFixed64Map)
|
|
mapStringForFixed64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForFixed64Map {
|
|
mapStringForFixed64Map += fmt.Sprintf("%#v: %#v,", k, this.Fixed64Map[k])
|
|
}
|
|
mapStringForFixed64Map += "}"
|
|
if this.Fixed64Map != nil {
|
|
s = append(s, "Fixed64Map: "+mapStringForFixed64Map+",\n")
|
|
}
|
|
keysForSfixed64Map := make([]int64, 0, len(this.Sfixed64Map))
|
|
for k := range this.Sfixed64Map {
|
|
keysForSfixed64Map = append(keysForSfixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSfixed64Map)
|
|
mapStringForSfixed64Map := "map[int64]int64{"
|
|
for _, k := range keysForSfixed64Map {
|
|
mapStringForSfixed64Map += fmt.Sprintf("%#v: %#v,", k, this.Sfixed64Map[k])
|
|
}
|
|
mapStringForSfixed64Map += "}"
|
|
if this.Sfixed64Map != nil {
|
|
s = append(s, "Sfixed64Map: "+mapStringForSfixed64Map+",\n")
|
|
}
|
|
keysForBoolMap := make([]bool, 0, len(this.BoolMap))
|
|
for k := range this.BoolMap {
|
|
keysForBoolMap = append(keysForBoolMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Bools(keysForBoolMap)
|
|
mapStringForBoolMap := "map[bool]bool{"
|
|
for _, k := range keysForBoolMap {
|
|
mapStringForBoolMap += fmt.Sprintf("%#v: %#v,", k, this.BoolMap[k])
|
|
}
|
|
mapStringForBoolMap += "}"
|
|
if this.BoolMap != nil {
|
|
s = append(s, "BoolMap: "+mapStringForBoolMap+",\n")
|
|
}
|
|
keysForStringMap := make([]string, 0, len(this.StringMap))
|
|
for k := range this.StringMap {
|
|
keysForStringMap = append(keysForStringMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringMap)
|
|
mapStringForStringMap := "map[string]string{"
|
|
for _, k := range keysForStringMap {
|
|
mapStringForStringMap += fmt.Sprintf("%#v: %#v,", k, this.StringMap[k])
|
|
}
|
|
mapStringForStringMap += "}"
|
|
if this.StringMap != nil {
|
|
s = append(s, "StringMap: "+mapStringForStringMap+",\n")
|
|
}
|
|
keysForStringToBytesMap := make([]string, 0, len(this.StringToBytesMap))
|
|
for k := range this.StringToBytesMap {
|
|
keysForStringToBytesMap = append(keysForStringToBytesMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToBytesMap)
|
|
mapStringForStringToBytesMap := "map[string][]byte{"
|
|
for _, k := range keysForStringToBytesMap {
|
|
mapStringForStringToBytesMap += fmt.Sprintf("%#v: %#v,", k, this.StringToBytesMap[k])
|
|
}
|
|
mapStringForStringToBytesMap += "}"
|
|
if this.StringToBytesMap != nil {
|
|
s = append(s, "StringToBytesMap: "+mapStringForStringToBytesMap+",\n")
|
|
}
|
|
keysForStringToEnumMap := make([]string, 0, len(this.StringToEnumMap))
|
|
for k := range this.StringToEnumMap {
|
|
keysForStringToEnumMap = append(keysForStringToEnumMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToEnumMap)
|
|
mapStringForStringToEnumMap := "map[string]MapEnum{"
|
|
for _, k := range keysForStringToEnumMap {
|
|
mapStringForStringToEnumMap += fmt.Sprintf("%#v: %#v,", k, this.StringToEnumMap[k])
|
|
}
|
|
mapStringForStringToEnumMap += "}"
|
|
if this.StringToEnumMap != nil {
|
|
s = append(s, "StringToEnumMap: "+mapStringForStringToEnumMap+",\n")
|
|
}
|
|
keysForStringToMsgMap := make([]string, 0, len(this.StringToMsgMap))
|
|
for k := range this.StringToMsgMap {
|
|
keysForStringToMsgMap = append(keysForStringToMsgMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToMsgMap)
|
|
mapStringForStringToMsgMap := "map[string]*FloatingPoint{"
|
|
for _, k := range keysForStringToMsgMap {
|
|
mapStringForStringToMsgMap += fmt.Sprintf("%#v: %#v,", k, this.StringToMsgMap[k])
|
|
}
|
|
mapStringForStringToMsgMap += "}"
|
|
if this.StringToMsgMap != nil {
|
|
s = append(s, "StringToMsgMap: "+mapStringForStringToMsgMap+",\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 *AllMapsOrdered) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 21)
|
|
s = append(s, "&proto2_maps.AllMapsOrdered{")
|
|
keysForStringToDoubleMap := make([]string, 0, len(this.StringToDoubleMap))
|
|
for k := range this.StringToDoubleMap {
|
|
keysForStringToDoubleMap = append(keysForStringToDoubleMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToDoubleMap)
|
|
mapStringForStringToDoubleMap := "map[string]float64{"
|
|
for _, k := range keysForStringToDoubleMap {
|
|
mapStringForStringToDoubleMap += fmt.Sprintf("%#v: %#v,", k, this.StringToDoubleMap[k])
|
|
}
|
|
mapStringForStringToDoubleMap += "}"
|
|
if this.StringToDoubleMap != nil {
|
|
s = append(s, "StringToDoubleMap: "+mapStringForStringToDoubleMap+",\n")
|
|
}
|
|
keysForStringToFloatMap := make([]string, 0, len(this.StringToFloatMap))
|
|
for k := range this.StringToFloatMap {
|
|
keysForStringToFloatMap = append(keysForStringToFloatMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToFloatMap)
|
|
mapStringForStringToFloatMap := "map[string]float32{"
|
|
for _, k := range keysForStringToFloatMap {
|
|
mapStringForStringToFloatMap += fmt.Sprintf("%#v: %#v,", k, this.StringToFloatMap[k])
|
|
}
|
|
mapStringForStringToFloatMap += "}"
|
|
if this.StringToFloatMap != nil {
|
|
s = append(s, "StringToFloatMap: "+mapStringForStringToFloatMap+",\n")
|
|
}
|
|
keysForInt32Map := make([]int32, 0, len(this.Int32Map))
|
|
for k := range this.Int32Map {
|
|
keysForInt32Map = append(keysForInt32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForInt32Map)
|
|
mapStringForInt32Map := "map[int32]int32{"
|
|
for _, k := range keysForInt32Map {
|
|
mapStringForInt32Map += fmt.Sprintf("%#v: %#v,", k, this.Int32Map[k])
|
|
}
|
|
mapStringForInt32Map += "}"
|
|
if this.Int32Map != nil {
|
|
s = append(s, "Int32Map: "+mapStringForInt32Map+",\n")
|
|
}
|
|
keysForInt64Map := make([]int64, 0, len(this.Int64Map))
|
|
for k := range this.Int64Map {
|
|
keysForInt64Map = append(keysForInt64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForInt64Map)
|
|
mapStringForInt64Map := "map[int64]int64{"
|
|
for _, k := range keysForInt64Map {
|
|
mapStringForInt64Map += fmt.Sprintf("%#v: %#v,", k, this.Int64Map[k])
|
|
}
|
|
mapStringForInt64Map += "}"
|
|
if this.Int64Map != nil {
|
|
s = append(s, "Int64Map: "+mapStringForInt64Map+",\n")
|
|
}
|
|
keysForUint32Map := make([]uint32, 0, len(this.Uint32Map))
|
|
for k := range this.Uint32Map {
|
|
keysForUint32Map = append(keysForUint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForUint32Map)
|
|
mapStringForUint32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForUint32Map {
|
|
mapStringForUint32Map += fmt.Sprintf("%#v: %#v,", k, this.Uint32Map[k])
|
|
}
|
|
mapStringForUint32Map += "}"
|
|
if this.Uint32Map != nil {
|
|
s = append(s, "Uint32Map: "+mapStringForUint32Map+",\n")
|
|
}
|
|
keysForUint64Map := make([]uint64, 0, len(this.Uint64Map))
|
|
for k := range this.Uint64Map {
|
|
keysForUint64Map = append(keysForUint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForUint64Map)
|
|
mapStringForUint64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForUint64Map {
|
|
mapStringForUint64Map += fmt.Sprintf("%#v: %#v,", k, this.Uint64Map[k])
|
|
}
|
|
mapStringForUint64Map += "}"
|
|
if this.Uint64Map != nil {
|
|
s = append(s, "Uint64Map: "+mapStringForUint64Map+",\n")
|
|
}
|
|
keysForSint32Map := make([]int32, 0, len(this.Sint32Map))
|
|
for k := range this.Sint32Map {
|
|
keysForSint32Map = append(keysForSint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSint32Map)
|
|
mapStringForSint32Map := "map[int32]int32{"
|
|
for _, k := range keysForSint32Map {
|
|
mapStringForSint32Map += fmt.Sprintf("%#v: %#v,", k, this.Sint32Map[k])
|
|
}
|
|
mapStringForSint32Map += "}"
|
|
if this.Sint32Map != nil {
|
|
s = append(s, "Sint32Map: "+mapStringForSint32Map+",\n")
|
|
}
|
|
keysForSint64Map := make([]int64, 0, len(this.Sint64Map))
|
|
for k := range this.Sint64Map {
|
|
keysForSint64Map = append(keysForSint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSint64Map)
|
|
mapStringForSint64Map := "map[int64]int64{"
|
|
for _, k := range keysForSint64Map {
|
|
mapStringForSint64Map += fmt.Sprintf("%#v: %#v,", k, this.Sint64Map[k])
|
|
}
|
|
mapStringForSint64Map += "}"
|
|
if this.Sint64Map != nil {
|
|
s = append(s, "Sint64Map: "+mapStringForSint64Map+",\n")
|
|
}
|
|
keysForFixed32Map := make([]uint32, 0, len(this.Fixed32Map))
|
|
for k := range this.Fixed32Map {
|
|
keysForFixed32Map = append(keysForFixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForFixed32Map)
|
|
mapStringForFixed32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForFixed32Map {
|
|
mapStringForFixed32Map += fmt.Sprintf("%#v: %#v,", k, this.Fixed32Map[k])
|
|
}
|
|
mapStringForFixed32Map += "}"
|
|
if this.Fixed32Map != nil {
|
|
s = append(s, "Fixed32Map: "+mapStringForFixed32Map+",\n")
|
|
}
|
|
keysForSfixed32Map := make([]int32, 0, len(this.Sfixed32Map))
|
|
for k := range this.Sfixed32Map {
|
|
keysForSfixed32Map = append(keysForSfixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSfixed32Map)
|
|
mapStringForSfixed32Map := "map[int32]int32{"
|
|
for _, k := range keysForSfixed32Map {
|
|
mapStringForSfixed32Map += fmt.Sprintf("%#v: %#v,", k, this.Sfixed32Map[k])
|
|
}
|
|
mapStringForSfixed32Map += "}"
|
|
if this.Sfixed32Map != nil {
|
|
s = append(s, "Sfixed32Map: "+mapStringForSfixed32Map+",\n")
|
|
}
|
|
keysForFixed64Map := make([]uint64, 0, len(this.Fixed64Map))
|
|
for k := range this.Fixed64Map {
|
|
keysForFixed64Map = append(keysForFixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForFixed64Map)
|
|
mapStringForFixed64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForFixed64Map {
|
|
mapStringForFixed64Map += fmt.Sprintf("%#v: %#v,", k, this.Fixed64Map[k])
|
|
}
|
|
mapStringForFixed64Map += "}"
|
|
if this.Fixed64Map != nil {
|
|
s = append(s, "Fixed64Map: "+mapStringForFixed64Map+",\n")
|
|
}
|
|
keysForSfixed64Map := make([]int64, 0, len(this.Sfixed64Map))
|
|
for k := range this.Sfixed64Map {
|
|
keysForSfixed64Map = append(keysForSfixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSfixed64Map)
|
|
mapStringForSfixed64Map := "map[int64]int64{"
|
|
for _, k := range keysForSfixed64Map {
|
|
mapStringForSfixed64Map += fmt.Sprintf("%#v: %#v,", k, this.Sfixed64Map[k])
|
|
}
|
|
mapStringForSfixed64Map += "}"
|
|
if this.Sfixed64Map != nil {
|
|
s = append(s, "Sfixed64Map: "+mapStringForSfixed64Map+",\n")
|
|
}
|
|
keysForBoolMap := make([]bool, 0, len(this.BoolMap))
|
|
for k := range this.BoolMap {
|
|
keysForBoolMap = append(keysForBoolMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Bools(keysForBoolMap)
|
|
mapStringForBoolMap := "map[bool]bool{"
|
|
for _, k := range keysForBoolMap {
|
|
mapStringForBoolMap += fmt.Sprintf("%#v: %#v,", k, this.BoolMap[k])
|
|
}
|
|
mapStringForBoolMap += "}"
|
|
if this.BoolMap != nil {
|
|
s = append(s, "BoolMap: "+mapStringForBoolMap+",\n")
|
|
}
|
|
keysForStringMap := make([]string, 0, len(this.StringMap))
|
|
for k := range this.StringMap {
|
|
keysForStringMap = append(keysForStringMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringMap)
|
|
mapStringForStringMap := "map[string]string{"
|
|
for _, k := range keysForStringMap {
|
|
mapStringForStringMap += fmt.Sprintf("%#v: %#v,", k, this.StringMap[k])
|
|
}
|
|
mapStringForStringMap += "}"
|
|
if this.StringMap != nil {
|
|
s = append(s, "StringMap: "+mapStringForStringMap+",\n")
|
|
}
|
|
keysForStringToBytesMap := make([]string, 0, len(this.StringToBytesMap))
|
|
for k := range this.StringToBytesMap {
|
|
keysForStringToBytesMap = append(keysForStringToBytesMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToBytesMap)
|
|
mapStringForStringToBytesMap := "map[string][]byte{"
|
|
for _, k := range keysForStringToBytesMap {
|
|
mapStringForStringToBytesMap += fmt.Sprintf("%#v: %#v,", k, this.StringToBytesMap[k])
|
|
}
|
|
mapStringForStringToBytesMap += "}"
|
|
if this.StringToBytesMap != nil {
|
|
s = append(s, "StringToBytesMap: "+mapStringForStringToBytesMap+",\n")
|
|
}
|
|
keysForStringToEnumMap := make([]string, 0, len(this.StringToEnumMap))
|
|
for k := range this.StringToEnumMap {
|
|
keysForStringToEnumMap = append(keysForStringToEnumMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToEnumMap)
|
|
mapStringForStringToEnumMap := "map[string]MapEnum{"
|
|
for _, k := range keysForStringToEnumMap {
|
|
mapStringForStringToEnumMap += fmt.Sprintf("%#v: %#v,", k, this.StringToEnumMap[k])
|
|
}
|
|
mapStringForStringToEnumMap += "}"
|
|
if this.StringToEnumMap != nil {
|
|
s = append(s, "StringToEnumMap: "+mapStringForStringToEnumMap+",\n")
|
|
}
|
|
keysForStringToMsgMap := make([]string, 0, len(this.StringToMsgMap))
|
|
for k := range this.StringToMsgMap {
|
|
keysForStringToMsgMap = append(keysForStringToMsgMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToMsgMap)
|
|
mapStringForStringToMsgMap := "map[string]*FloatingPoint{"
|
|
for _, k := range keysForStringToMsgMap {
|
|
mapStringForStringToMsgMap += fmt.Sprintf("%#v: %#v,", k, this.StringToMsgMap[k])
|
|
}
|
|
mapStringForStringToMsgMap += "}"
|
|
if this.StringToMsgMap != nil {
|
|
s = append(s, "StringToMsgMap: "+mapStringForStringToMsgMap+",\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 valueToGoStringMapsproto2(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 *FloatingPoint) 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 *FloatingPoint) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.F != nil {
|
|
dAtA[i] = 0x9
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.F))))
|
|
i += 8
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *CustomMap) 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 *CustomMap) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Nullable128S) > 0 {
|
|
for k := range m.Nullable128S {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
v := m.Nullable128S[k]
|
|
cSize := 0
|
|
if v != nil {
|
|
cSize = v.Size()
|
|
cSize += 1 + sovMapsproto2(uint64(cSize))
|
|
}
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + cSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
if v != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v.Size()))
|
|
n1, err := v.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n1
|
|
}
|
|
}
|
|
}
|
|
if len(m.Uint128S) > 0 {
|
|
for k := range m.Uint128S {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
v := m.Uint128S[k]
|
|
cSize := 0
|
|
cSize = v.Size()
|
|
cSize += 1 + sovMapsproto2(uint64(cSize))
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + cSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v.Size()))
|
|
n2, err := v.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n2
|
|
}
|
|
}
|
|
if len(m.NullableIds) > 0 {
|
|
for k := range m.NullableIds {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
v := m.NullableIds[k]
|
|
cSize := 0
|
|
if v != nil {
|
|
cSize = v.Size()
|
|
cSize += 1 + sovMapsproto2(uint64(cSize))
|
|
}
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + cSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
if v != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v.Size()))
|
|
n3, err := v.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n3
|
|
}
|
|
}
|
|
}
|
|
if len(m.Ids) > 0 {
|
|
for k := range m.Ids {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
v := m.Ids[k]
|
|
cSize := 0
|
|
cSize = v.Size()
|
|
cSize += 1 + sovMapsproto2(uint64(cSize))
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + cSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v.Size()))
|
|
n4, err := v.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n4
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *AllMaps) 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 *AllMaps) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.StringToDoubleMap) > 0 {
|
|
for k := range m.StringToDoubleMap {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
v := m.StringToDoubleMap[k]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 8
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x11
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v))))
|
|
i += 8
|
|
}
|
|
}
|
|
if len(m.StringToFloatMap) > 0 {
|
|
for k := range m.StringToFloatMap {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
v := m.StringToFloatMap[k]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 4
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x15
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(v))))
|
|
i += 4
|
|
}
|
|
}
|
|
if len(m.Int32Map) > 0 {
|
|
for k := range m.Int32Map {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
v := m.Int32Map[k]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Int64Map) > 0 {
|
|
for k := range m.Int64Map {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
v := m.Int64Map[k]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Uint32Map) > 0 {
|
|
for k := range m.Uint32Map {
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
v := m.Uint32Map[k]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Uint64Map) > 0 {
|
|
for k := range m.Uint64Map {
|
|
dAtA[i] = 0x32
|
|
i++
|
|
v := m.Uint64Map[k]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Sint32Map) > 0 {
|
|
for k := range m.Sint32Map {
|
|
dAtA[i] = 0x3a
|
|
i++
|
|
v := m.Sint32Map[k]
|
|
mapSize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint32(k)<<1)^uint32((k>>31))))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint32(v)<<1)^uint32((v>>31))))
|
|
}
|
|
}
|
|
if len(m.Sint64Map) > 0 {
|
|
for k := range m.Sint64Map {
|
|
dAtA[i] = 0x42
|
|
i++
|
|
v := m.Sint64Map[k]
|
|
mapSize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint64(k)<<1)^uint64((k>>63))))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint64(v)<<1)^uint64((v>>63))))
|
|
}
|
|
}
|
|
if len(m.Fixed32Map) > 0 {
|
|
for k := range m.Fixed32Map {
|
|
dAtA[i] = 0x4a
|
|
i++
|
|
v := m.Fixed32Map[k]
|
|
mapSize := 1 + 4 + 1 + 4
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xd
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(k))
|
|
i += 4
|
|
dAtA[i] = 0x15
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(v))
|
|
i += 4
|
|
}
|
|
}
|
|
if len(m.Sfixed32Map) > 0 {
|
|
for k := range m.Sfixed32Map {
|
|
dAtA[i] = 0x52
|
|
i++
|
|
v := m.Sfixed32Map[k]
|
|
mapSize := 1 + 4 + 1 + 4
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xd
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(k))
|
|
i += 4
|
|
dAtA[i] = 0x15
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(v))
|
|
i += 4
|
|
}
|
|
}
|
|
if len(m.Fixed64Map) > 0 {
|
|
for k := range m.Fixed64Map {
|
|
dAtA[i] = 0x5a
|
|
i++
|
|
v := m.Fixed64Map[k]
|
|
mapSize := 1 + 8 + 1 + 8
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x9
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(k))
|
|
i += 8
|
|
dAtA[i] = 0x11
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(v))
|
|
i += 8
|
|
}
|
|
}
|
|
if len(m.Sfixed64Map) > 0 {
|
|
for k := range m.Sfixed64Map {
|
|
dAtA[i] = 0x62
|
|
i++
|
|
v := m.Sfixed64Map[k]
|
|
mapSize := 1 + 8 + 1 + 8
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x9
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(k))
|
|
i += 8
|
|
dAtA[i] = 0x11
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(v))
|
|
i += 8
|
|
}
|
|
}
|
|
if len(m.BoolMap) > 0 {
|
|
for k := range m.BoolMap {
|
|
dAtA[i] = 0x6a
|
|
i++
|
|
v := m.BoolMap[k]
|
|
mapSize := 1 + 1 + 1 + 1
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
if k {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
dAtA[i] = 0x10
|
|
i++
|
|
if v {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
}
|
|
if len(m.StringMap) > 0 {
|
|
for k := range m.StringMap {
|
|
dAtA[i] = 0x72
|
|
i++
|
|
v := m.StringMap[k]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(v)))
|
|
i += copy(dAtA[i:], v)
|
|
}
|
|
}
|
|
if len(m.StringToBytesMap) > 0 {
|
|
for k := range m.StringToBytesMap {
|
|
dAtA[i] = 0x7a
|
|
i++
|
|
v := m.StringToBytesMap[k]
|
|
byteSize := 0
|
|
if v != nil {
|
|
byteSize = 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
}
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + byteSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
if v != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(v)))
|
|
i += copy(dAtA[i:], v)
|
|
}
|
|
}
|
|
}
|
|
if len(m.StringToEnumMap) > 0 {
|
|
for k := range m.StringToEnumMap {
|
|
dAtA[i] = 0x82
|
|
i++
|
|
dAtA[i] = 0x1
|
|
i++
|
|
v := m.StringToEnumMap[k]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.StringToMsgMap) > 0 {
|
|
for k := range m.StringToMsgMap {
|
|
dAtA[i] = 0x8a
|
|
i++
|
|
dAtA[i] = 0x1
|
|
i++
|
|
v := m.StringToMsgMap[k]
|
|
msgSize := 0
|
|
if v != nil {
|
|
msgSize = v.Size()
|
|
msgSize += 1 + sovMapsproto2(uint64(msgSize))
|
|
}
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + msgSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
if v != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v.Size()))
|
|
n5, err := v.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n5
|
|
}
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *AllMapsOrdered) 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 *AllMapsOrdered) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.StringToDoubleMap) > 0 {
|
|
keysForStringToDoubleMap := make([]string, 0, len(m.StringToDoubleMap))
|
|
for k := range m.StringToDoubleMap {
|
|
keysForStringToDoubleMap = append(keysForStringToDoubleMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToDoubleMap)
|
|
for _, k := range keysForStringToDoubleMap {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
v := m.StringToDoubleMap[string(k)]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 8
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x11
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v))))
|
|
i += 8
|
|
}
|
|
}
|
|
if len(m.StringToFloatMap) > 0 {
|
|
keysForStringToFloatMap := make([]string, 0, len(m.StringToFloatMap))
|
|
for k := range m.StringToFloatMap {
|
|
keysForStringToFloatMap = append(keysForStringToFloatMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToFloatMap)
|
|
for _, k := range keysForStringToFloatMap {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
v := m.StringToFloatMap[string(k)]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 4
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x15
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(v))))
|
|
i += 4
|
|
}
|
|
}
|
|
if len(m.Int32Map) > 0 {
|
|
keysForInt32Map := make([]int32, 0, len(m.Int32Map))
|
|
for k := range m.Int32Map {
|
|
keysForInt32Map = append(keysForInt32Map, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForInt32Map)
|
|
for _, k := range keysForInt32Map {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
v := m.Int32Map[int32(k)]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Int64Map) > 0 {
|
|
keysForInt64Map := make([]int64, 0, len(m.Int64Map))
|
|
for k := range m.Int64Map {
|
|
keysForInt64Map = append(keysForInt64Map, int64(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForInt64Map)
|
|
for _, k := range keysForInt64Map {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
v := m.Int64Map[int64(k)]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Uint32Map) > 0 {
|
|
keysForUint32Map := make([]uint32, 0, len(m.Uint32Map))
|
|
for k := range m.Uint32Map {
|
|
keysForUint32Map = append(keysForUint32Map, uint32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForUint32Map)
|
|
for _, k := range keysForUint32Map {
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
v := m.Uint32Map[uint32(k)]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Uint64Map) > 0 {
|
|
keysForUint64Map := make([]uint64, 0, len(m.Uint64Map))
|
|
for k := range m.Uint64Map {
|
|
keysForUint64Map = append(keysForUint64Map, uint64(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForUint64Map)
|
|
for _, k := range keysForUint64Map {
|
|
dAtA[i] = 0x32
|
|
i++
|
|
v := m.Uint64Map[uint64(k)]
|
|
mapSize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(k))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.Sint32Map) > 0 {
|
|
keysForSint32Map := make([]int32, 0, len(m.Sint32Map))
|
|
for k := range m.Sint32Map {
|
|
keysForSint32Map = append(keysForSint32Map, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSint32Map)
|
|
for _, k := range keysForSint32Map {
|
|
dAtA[i] = 0x3a
|
|
i++
|
|
v := m.Sint32Map[int32(k)]
|
|
mapSize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint32(k)<<1)^uint32((k>>31))))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint32(v)<<1)^uint32((v>>31))))
|
|
}
|
|
}
|
|
if len(m.Sint64Map) > 0 {
|
|
keysForSint64Map := make([]int64, 0, len(m.Sint64Map))
|
|
for k := range m.Sint64Map {
|
|
keysForSint64Map = append(keysForSint64Map, int64(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSint64Map)
|
|
for _, k := range keysForSint64Map {
|
|
dAtA[i] = 0x42
|
|
i++
|
|
v := m.Sint64Map[int64(k)]
|
|
mapSize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint64(k)<<1)^uint64((k>>63))))
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64((uint64(v)<<1)^uint64((v>>63))))
|
|
}
|
|
}
|
|
if len(m.Fixed32Map) > 0 {
|
|
keysForFixed32Map := make([]uint32, 0, len(m.Fixed32Map))
|
|
for k := range m.Fixed32Map {
|
|
keysForFixed32Map = append(keysForFixed32Map, uint32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForFixed32Map)
|
|
for _, k := range keysForFixed32Map {
|
|
dAtA[i] = 0x4a
|
|
i++
|
|
v := m.Fixed32Map[uint32(k)]
|
|
mapSize := 1 + 4 + 1 + 4
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xd
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(k))
|
|
i += 4
|
|
dAtA[i] = 0x15
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(v))
|
|
i += 4
|
|
}
|
|
}
|
|
if len(m.Sfixed32Map) > 0 {
|
|
keysForSfixed32Map := make([]int32, 0, len(m.Sfixed32Map))
|
|
for k := range m.Sfixed32Map {
|
|
keysForSfixed32Map = append(keysForSfixed32Map, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSfixed32Map)
|
|
for _, k := range keysForSfixed32Map {
|
|
dAtA[i] = 0x52
|
|
i++
|
|
v := m.Sfixed32Map[int32(k)]
|
|
mapSize := 1 + 4 + 1 + 4
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xd
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(k))
|
|
i += 4
|
|
dAtA[i] = 0x15
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(v))
|
|
i += 4
|
|
}
|
|
}
|
|
if len(m.Fixed64Map) > 0 {
|
|
keysForFixed64Map := make([]uint64, 0, len(m.Fixed64Map))
|
|
for k := range m.Fixed64Map {
|
|
keysForFixed64Map = append(keysForFixed64Map, uint64(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForFixed64Map)
|
|
for _, k := range keysForFixed64Map {
|
|
dAtA[i] = 0x5a
|
|
i++
|
|
v := m.Fixed64Map[uint64(k)]
|
|
mapSize := 1 + 8 + 1 + 8
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x9
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(k))
|
|
i += 8
|
|
dAtA[i] = 0x11
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(v))
|
|
i += 8
|
|
}
|
|
}
|
|
if len(m.Sfixed64Map) > 0 {
|
|
keysForSfixed64Map := make([]int64, 0, len(m.Sfixed64Map))
|
|
for k := range m.Sfixed64Map {
|
|
keysForSfixed64Map = append(keysForSfixed64Map, int64(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSfixed64Map)
|
|
for _, k := range keysForSfixed64Map {
|
|
dAtA[i] = 0x62
|
|
i++
|
|
v := m.Sfixed64Map[int64(k)]
|
|
mapSize := 1 + 8 + 1 + 8
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x9
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(k))
|
|
i += 8
|
|
dAtA[i] = 0x11
|
|
i++
|
|
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(v))
|
|
i += 8
|
|
}
|
|
}
|
|
if len(m.BoolMap) > 0 {
|
|
keysForBoolMap := make([]bool, 0, len(m.BoolMap))
|
|
for k := range m.BoolMap {
|
|
keysForBoolMap = append(keysForBoolMap, bool(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Bools(keysForBoolMap)
|
|
for _, k := range keysForBoolMap {
|
|
dAtA[i] = 0x6a
|
|
i++
|
|
v := m.BoolMap[bool(k)]
|
|
mapSize := 1 + 1 + 1 + 1
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0x8
|
|
i++
|
|
if k {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
dAtA[i] = 0x10
|
|
i++
|
|
if v {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
}
|
|
if len(m.StringMap) > 0 {
|
|
keysForStringMap := make([]string, 0, len(m.StringMap))
|
|
for k := range m.StringMap {
|
|
keysForStringMap = append(keysForStringMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringMap)
|
|
for _, k := range keysForStringMap {
|
|
dAtA[i] = 0x72
|
|
i++
|
|
v := m.StringMap[string(k)]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(v)))
|
|
i += copy(dAtA[i:], v)
|
|
}
|
|
}
|
|
if len(m.StringToBytesMap) > 0 {
|
|
keysForStringToBytesMap := make([]string, 0, len(m.StringToBytesMap))
|
|
for k := range m.StringToBytesMap {
|
|
keysForStringToBytesMap = append(keysForStringToBytesMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToBytesMap)
|
|
for _, k := range keysForStringToBytesMap {
|
|
dAtA[i] = 0x7a
|
|
i++
|
|
v := m.StringToBytesMap[string(k)]
|
|
byteSize := 0
|
|
if v != nil {
|
|
byteSize = 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
}
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + byteSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
if v != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(v)))
|
|
i += copy(dAtA[i:], v)
|
|
}
|
|
}
|
|
}
|
|
if len(m.StringToEnumMap) > 0 {
|
|
keysForStringToEnumMap := make([]string, 0, len(m.StringToEnumMap))
|
|
for k := range m.StringToEnumMap {
|
|
keysForStringToEnumMap = append(keysForStringToEnumMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToEnumMap)
|
|
for _, k := range keysForStringToEnumMap {
|
|
dAtA[i] = 0x82
|
|
i++
|
|
dAtA[i] = 0x1
|
|
i++
|
|
v := m.StringToEnumMap[string(k)]
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + sovMapsproto2(uint64(v))
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v))
|
|
}
|
|
}
|
|
if len(m.StringToMsgMap) > 0 {
|
|
keysForStringToMsgMap := make([]string, 0, len(m.StringToMsgMap))
|
|
for k := range m.StringToMsgMap {
|
|
keysForStringToMsgMap = append(keysForStringToMsgMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToMsgMap)
|
|
for _, k := range keysForStringToMsgMap {
|
|
dAtA[i] = 0x8a
|
|
i++
|
|
dAtA[i] = 0x1
|
|
i++
|
|
v := m.StringToMsgMap[string(k)]
|
|
msgSize := 0
|
|
if v != nil {
|
|
msgSize = v.Size()
|
|
msgSize += 1 + sovMapsproto2(uint64(msgSize))
|
|
}
|
|
mapSize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + msgSize
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
if v != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintMapsproto2(dAtA, i, uint64(v.Size()))
|
|
n6, err := v.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n6
|
|
}
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func encodeVarintMapsproto2(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 NewPopulatedFloatingPoint(r randyMapsproto2, easy bool) *FloatingPoint {
|
|
this := &FloatingPoint{}
|
|
if r.Intn(10) != 0 {
|
|
v1 := float64(r.Float64())
|
|
if r.Intn(2) == 0 {
|
|
v1 *= -1
|
|
}
|
|
this.F = &v1
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
this.XXX_unrecognized = randUnrecognizedMapsproto2(r, 2)
|
|
}
|
|
return this
|
|
}
|
|
|
|
func NewPopulatedCustomMap(r randyMapsproto2, easy bool) *CustomMap {
|
|
this := &CustomMap{}
|
|
if r.Intn(10) != 0 {
|
|
v2 := r.Intn(10)
|
|
this.Nullable128S = make(map[string]*github_com_gogo_protobuf_test_custom.Uint128)
|
|
for i := 0; i < v2; i++ {
|
|
this.Nullable128S[randStringMapsproto2(r)] = (*github_com_gogo_protobuf_test_custom.Uint128)(github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v3 := r.Intn(10)
|
|
this.Uint128S = make(map[string]github_com_gogo_protobuf_test_custom.Uint128)
|
|
for i := 0; i < v3; i++ {
|
|
this.Uint128S[randStringMapsproto2(r)] = (github_com_gogo_protobuf_test_custom.Uint128)(*github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v4 := r.Intn(10)
|
|
this.NullableIds = make(map[string]*github_com_gogo_protobuf_test.Uuid)
|
|
for i := 0; i < v4; i++ {
|
|
this.NullableIds[randStringMapsproto2(r)] = (*github_com_gogo_protobuf_test.Uuid)(github_com_gogo_protobuf_test.NewPopulatedUuid(r))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v5 := r.Intn(10)
|
|
this.Ids = make(map[string]github_com_gogo_protobuf_test.Uuid)
|
|
for i := 0; i < v5; i++ {
|
|
this.Ids[randStringMapsproto2(r)] = (github_com_gogo_protobuf_test.Uuid)(*github_com_gogo_protobuf_test.NewPopulatedUuid(r))
|
|
}
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
this.XXX_unrecognized = randUnrecognizedMapsproto2(r, 5)
|
|
}
|
|
return this
|
|
}
|
|
|
|
func NewPopulatedAllMaps(r randyMapsproto2, easy bool) *AllMaps {
|
|
this := &AllMaps{}
|
|
if r.Intn(10) != 0 {
|
|
v6 := r.Intn(10)
|
|
this.StringToDoubleMap = make(map[string]float64)
|
|
for i := 0; i < v6; i++ {
|
|
v7 := randStringMapsproto2(r)
|
|
this.StringToDoubleMap[v7] = float64(r.Float64())
|
|
if r.Intn(2) == 0 {
|
|
this.StringToDoubleMap[v7] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v8 := r.Intn(10)
|
|
this.StringToFloatMap = make(map[string]float32)
|
|
for i := 0; i < v8; i++ {
|
|
v9 := randStringMapsproto2(r)
|
|
this.StringToFloatMap[v9] = float32(r.Float32())
|
|
if r.Intn(2) == 0 {
|
|
this.StringToFloatMap[v9] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v10 := r.Intn(10)
|
|
this.Int32Map = make(map[int32]int32)
|
|
for i := 0; i < v10; i++ {
|
|
v11 := int32(r.Int31())
|
|
this.Int32Map[v11] = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Int32Map[v11] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v12 := r.Intn(10)
|
|
this.Int64Map = make(map[int64]int64)
|
|
for i := 0; i < v12; i++ {
|
|
v13 := int64(r.Int63())
|
|
this.Int64Map[v13] = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Int64Map[v13] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v14 := r.Intn(10)
|
|
this.Uint32Map = make(map[uint32]uint32)
|
|
for i := 0; i < v14; i++ {
|
|
v15 := uint32(r.Uint32())
|
|
this.Uint32Map[v15] = uint32(r.Uint32())
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v16 := r.Intn(10)
|
|
this.Uint64Map = make(map[uint64]uint64)
|
|
for i := 0; i < v16; i++ {
|
|
v17 := uint64(uint64(r.Uint32()))
|
|
this.Uint64Map[v17] = uint64(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v18 := r.Intn(10)
|
|
this.Sint32Map = make(map[int32]int32)
|
|
for i := 0; i < v18; i++ {
|
|
v19 := int32(r.Int31())
|
|
this.Sint32Map[v19] = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Sint32Map[v19] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v20 := r.Intn(10)
|
|
this.Sint64Map = make(map[int64]int64)
|
|
for i := 0; i < v20; i++ {
|
|
v21 := int64(r.Int63())
|
|
this.Sint64Map[v21] = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Sint64Map[v21] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v22 := r.Intn(10)
|
|
this.Fixed32Map = make(map[uint32]uint32)
|
|
for i := 0; i < v22; i++ {
|
|
v23 := uint32(r.Uint32())
|
|
this.Fixed32Map[v23] = uint32(r.Uint32())
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v24 := r.Intn(10)
|
|
this.Sfixed32Map = make(map[int32]int32)
|
|
for i := 0; i < v24; i++ {
|
|
v25 := int32(r.Int31())
|
|
this.Sfixed32Map[v25] = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Sfixed32Map[v25] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v26 := r.Intn(10)
|
|
this.Fixed64Map = make(map[uint64]uint64)
|
|
for i := 0; i < v26; i++ {
|
|
v27 := uint64(uint64(r.Uint32()))
|
|
this.Fixed64Map[v27] = uint64(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v28 := r.Intn(10)
|
|
this.Sfixed64Map = make(map[int64]int64)
|
|
for i := 0; i < v28; i++ {
|
|
v29 := int64(r.Int63())
|
|
this.Sfixed64Map[v29] = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Sfixed64Map[v29] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v30 := r.Intn(10)
|
|
this.BoolMap = make(map[bool]bool)
|
|
for i := 0; i < v30; i++ {
|
|
v31 := bool(bool(r.Intn(2) == 0))
|
|
this.BoolMap[v31] = bool(bool(r.Intn(2) == 0))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v32 := r.Intn(10)
|
|
this.StringMap = make(map[string]string)
|
|
for i := 0; i < v32; i++ {
|
|
this.StringMap[randStringMapsproto2(r)] = randStringMapsproto2(r)
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v33 := r.Intn(10)
|
|
this.StringToBytesMap = make(map[string][]byte)
|
|
for i := 0; i < v33; i++ {
|
|
v34 := r.Intn(100)
|
|
v35 := randStringMapsproto2(r)
|
|
this.StringToBytesMap[v35] = make([]byte, v34)
|
|
for i := 0; i < v34; i++ {
|
|
this.StringToBytesMap[v35][i] = byte(r.Intn(256))
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v36 := r.Intn(10)
|
|
this.StringToEnumMap = make(map[string]MapEnum)
|
|
for i := 0; i < v36; i++ {
|
|
this.StringToEnumMap[randStringMapsproto2(r)] = MapEnum([]int32{0, 1, 2}[r.Intn(3)])
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v37 := r.Intn(10)
|
|
this.StringToMsgMap = make(map[string]*FloatingPoint)
|
|
for i := 0; i < v37; i++ {
|
|
this.StringToMsgMap[randStringMapsproto2(r)] = NewPopulatedFloatingPoint(r, easy)
|
|
}
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
this.XXX_unrecognized = randUnrecognizedMapsproto2(r, 18)
|
|
}
|
|
return this
|
|
}
|
|
|
|
func NewPopulatedAllMapsOrdered(r randyMapsproto2, easy bool) *AllMapsOrdered {
|
|
this := &AllMapsOrdered{}
|
|
if r.Intn(10) != 0 {
|
|
v38 := r.Intn(10)
|
|
this.StringToDoubleMap = make(map[string]float64)
|
|
for i := 0; i < v38; i++ {
|
|
v39 := randStringMapsproto2(r)
|
|
this.StringToDoubleMap[v39] = float64(r.Float64())
|
|
if r.Intn(2) == 0 {
|
|
this.StringToDoubleMap[v39] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v40 := r.Intn(10)
|
|
this.StringToFloatMap = make(map[string]float32)
|
|
for i := 0; i < v40; i++ {
|
|
v41 := randStringMapsproto2(r)
|
|
this.StringToFloatMap[v41] = float32(r.Float32())
|
|
if r.Intn(2) == 0 {
|
|
this.StringToFloatMap[v41] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v42 := r.Intn(10)
|
|
this.Int32Map = make(map[int32]int32)
|
|
for i := 0; i < v42; i++ {
|
|
v43 := int32(r.Int31())
|
|
this.Int32Map[v43] = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Int32Map[v43] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v44 := r.Intn(10)
|
|
this.Int64Map = make(map[int64]int64)
|
|
for i := 0; i < v44; i++ {
|
|
v45 := int64(r.Int63())
|
|
this.Int64Map[v45] = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Int64Map[v45] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v46 := r.Intn(10)
|
|
this.Uint32Map = make(map[uint32]uint32)
|
|
for i := 0; i < v46; i++ {
|
|
v47 := uint32(r.Uint32())
|
|
this.Uint32Map[v47] = uint32(r.Uint32())
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v48 := r.Intn(10)
|
|
this.Uint64Map = make(map[uint64]uint64)
|
|
for i := 0; i < v48; i++ {
|
|
v49 := uint64(uint64(r.Uint32()))
|
|
this.Uint64Map[v49] = uint64(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v50 := r.Intn(10)
|
|
this.Sint32Map = make(map[int32]int32)
|
|
for i := 0; i < v50; i++ {
|
|
v51 := int32(r.Int31())
|
|
this.Sint32Map[v51] = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Sint32Map[v51] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v52 := r.Intn(10)
|
|
this.Sint64Map = make(map[int64]int64)
|
|
for i := 0; i < v52; i++ {
|
|
v53 := int64(r.Int63())
|
|
this.Sint64Map[v53] = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Sint64Map[v53] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v54 := r.Intn(10)
|
|
this.Fixed32Map = make(map[uint32]uint32)
|
|
for i := 0; i < v54; i++ {
|
|
v55 := uint32(r.Uint32())
|
|
this.Fixed32Map[v55] = uint32(r.Uint32())
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v56 := r.Intn(10)
|
|
this.Sfixed32Map = make(map[int32]int32)
|
|
for i := 0; i < v56; i++ {
|
|
v57 := int32(r.Int31())
|
|
this.Sfixed32Map[v57] = int32(r.Int31())
|
|
if r.Intn(2) == 0 {
|
|
this.Sfixed32Map[v57] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v58 := r.Intn(10)
|
|
this.Fixed64Map = make(map[uint64]uint64)
|
|
for i := 0; i < v58; i++ {
|
|
v59 := uint64(uint64(r.Uint32()))
|
|
this.Fixed64Map[v59] = uint64(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v60 := r.Intn(10)
|
|
this.Sfixed64Map = make(map[int64]int64)
|
|
for i := 0; i < v60; i++ {
|
|
v61 := int64(r.Int63())
|
|
this.Sfixed64Map[v61] = int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Sfixed64Map[v61] *= -1
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v62 := r.Intn(10)
|
|
this.BoolMap = make(map[bool]bool)
|
|
for i := 0; i < v62; i++ {
|
|
v63 := bool(bool(r.Intn(2) == 0))
|
|
this.BoolMap[v63] = bool(bool(r.Intn(2) == 0))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v64 := r.Intn(10)
|
|
this.StringMap = make(map[string]string)
|
|
for i := 0; i < v64; i++ {
|
|
this.StringMap[randStringMapsproto2(r)] = randStringMapsproto2(r)
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v65 := r.Intn(10)
|
|
this.StringToBytesMap = make(map[string][]byte)
|
|
for i := 0; i < v65; i++ {
|
|
v66 := r.Intn(100)
|
|
v67 := randStringMapsproto2(r)
|
|
this.StringToBytesMap[v67] = make([]byte, v66)
|
|
for i := 0; i < v66; i++ {
|
|
this.StringToBytesMap[v67][i] = byte(r.Intn(256))
|
|
}
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v68 := r.Intn(10)
|
|
this.StringToEnumMap = make(map[string]MapEnum)
|
|
for i := 0; i < v68; i++ {
|
|
this.StringToEnumMap[randStringMapsproto2(r)] = MapEnum([]int32{0, 1, 2}[r.Intn(3)])
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v69 := r.Intn(10)
|
|
this.StringToMsgMap = make(map[string]*FloatingPoint)
|
|
for i := 0; i < v69; i++ {
|
|
this.StringToMsgMap[randStringMapsproto2(r)] = NewPopulatedFloatingPoint(r, easy)
|
|
}
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
this.XXX_unrecognized = randUnrecognizedMapsproto2(r, 18)
|
|
}
|
|
return this
|
|
}
|
|
|
|
type randyMapsproto2 interface {
|
|
Float32() float32
|
|
Float64() float64
|
|
Int63() int64
|
|
Int31() int32
|
|
Uint32() uint32
|
|
Intn(n int) int
|
|
}
|
|
|
|
func randUTF8RuneMapsproto2(r randyMapsproto2) 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 randStringMapsproto2(r randyMapsproto2) string {
|
|
v70 := r.Intn(100)
|
|
tmps := make([]rune, v70)
|
|
for i := 0; i < v70; i++ {
|
|
tmps[i] = randUTF8RuneMapsproto2(r)
|
|
}
|
|
return string(tmps)
|
|
}
|
|
func randUnrecognizedMapsproto2(r randyMapsproto2, 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 = randFieldMapsproto2(dAtA, r, fieldNumber, wire)
|
|
}
|
|
return dAtA
|
|
}
|
|
func randFieldMapsproto2(dAtA []byte, r randyMapsproto2, fieldNumber int, wire int) []byte {
|
|
key := uint32(fieldNumber)<<3 | uint32(wire)
|
|
switch wire {
|
|
case 0:
|
|
dAtA = encodeVarintPopulateMapsproto2(dAtA, uint64(key))
|
|
v71 := r.Int63()
|
|
if r.Intn(2) == 0 {
|
|
v71 *= -1
|
|
}
|
|
dAtA = encodeVarintPopulateMapsproto2(dAtA, uint64(v71))
|
|
case 1:
|
|
dAtA = encodeVarintPopulateMapsproto2(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 = encodeVarintPopulateMapsproto2(dAtA, uint64(key))
|
|
ll := r.Intn(100)
|
|
dAtA = encodeVarintPopulateMapsproto2(dAtA, uint64(ll))
|
|
for j := 0; j < ll; j++ {
|
|
dAtA = append(dAtA, byte(r.Intn(256)))
|
|
}
|
|
default:
|
|
dAtA = encodeVarintPopulateMapsproto2(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 encodeVarintPopulateMapsproto2(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 *FloatingPoint) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.F != nil {
|
|
n += 9
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CustomMap) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.Nullable128S) > 0 {
|
|
for k, v := range m.Nullable128S {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovMapsproto2(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Uint128S) > 0 {
|
|
for k, v := range m.Uint128S {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
l = v.Size()
|
|
l += 1 + sovMapsproto2(uint64(l))
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.NullableIds) > 0 {
|
|
for k, v := range m.NullableIds {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovMapsproto2(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Ids) > 0 {
|
|
for k, v := range m.Ids {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
l = v.Size()
|
|
l += 1 + sovMapsproto2(uint64(l))
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AllMaps) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.StringToDoubleMap) > 0 {
|
|
for k, v := range m.StringToDoubleMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 8
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToFloatMap) > 0 {
|
|
for k, v := range m.StringToFloatMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 4
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Int32Map) > 0 {
|
|
for k, v := range m.Int32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Int64Map) > 0 {
|
|
for k, v := range m.Int64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Uint32Map) > 0 {
|
|
for k, v := range m.Uint32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Uint64Map) > 0 {
|
|
for k, v := range m.Uint64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sint32Map) > 0 {
|
|
for k, v := range m.Sint32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sint64Map) > 0 {
|
|
for k, v := range m.Sint64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Fixed32Map) > 0 {
|
|
for k, v := range m.Fixed32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 4 + 1 + 4
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sfixed32Map) > 0 {
|
|
for k, v := range m.Sfixed32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 4 + 1 + 4
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Fixed64Map) > 0 {
|
|
for k, v := range m.Fixed64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 8 + 1 + 8
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sfixed64Map) > 0 {
|
|
for k, v := range m.Sfixed64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 8 + 1 + 8
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.BoolMap) > 0 {
|
|
for k, v := range m.BoolMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 1 + 1 + 1
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringMap) > 0 {
|
|
for k, v := range m.StringMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToBytesMap) > 0 {
|
|
for k, v := range m.StringToBytesMap {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToEnumMap) > 0 {
|
|
for k, v := range m.StringToEnumMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 2 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToMsgMap) > 0 {
|
|
for k, v := range m.StringToMsgMap {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovMapsproto2(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 2 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AllMapsOrdered) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.StringToDoubleMap) > 0 {
|
|
for k, v := range m.StringToDoubleMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 8
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToFloatMap) > 0 {
|
|
for k, v := range m.StringToFloatMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + 4
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Int32Map) > 0 {
|
|
for k, v := range m.Int32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Int64Map) > 0 {
|
|
for k, v := range m.Int64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Uint32Map) > 0 {
|
|
for k, v := range m.Uint32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Uint64Map) > 0 {
|
|
for k, v := range m.Uint64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sovMapsproto2(uint64(k)) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sint32Map) > 0 {
|
|
for k, v := range m.Sint32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sint64Map) > 0 {
|
|
for k, v := range m.Sint64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + sozMapsproto2(uint64(k)) + 1 + sozMapsproto2(uint64(v))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Fixed32Map) > 0 {
|
|
for k, v := range m.Fixed32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 4 + 1 + 4
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sfixed32Map) > 0 {
|
|
for k, v := range m.Sfixed32Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 4 + 1 + 4
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Fixed64Map) > 0 {
|
|
for k, v := range m.Fixed64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 8 + 1 + 8
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.Sfixed64Map) > 0 {
|
|
for k, v := range m.Sfixed64Map {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 8 + 1 + 8
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.BoolMap) > 0 {
|
|
for k, v := range m.BoolMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + 1 + 1 + 1
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringMap) > 0 {
|
|
for k, v := range m.StringMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToBytesMap) > 0 {
|
|
for k, v := range m.StringToBytesMap {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = 1 + len(v) + sovMapsproto2(uint64(len(v)))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 1 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToEnumMap) > 0 {
|
|
for k, v := range m.StringToEnumMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + 1 + sovMapsproto2(uint64(v))
|
|
n += mapEntrySize + 2 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.StringToMsgMap) > 0 {
|
|
for k, v := range m.StringToMsgMap {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovMapsproto2(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + len(k) + sovMapsproto2(uint64(len(k))) + l
|
|
n += mapEntrySize + 2 + sovMapsproto2(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovMapsproto2(x uint64) (n int) {
|
|
for {
|
|
n++
|
|
x >>= 7
|
|
if x == 0 {
|
|
break
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
func sozMapsproto2(x uint64) (n int) {
|
|
return sovMapsproto2(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *FloatingPoint) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&FloatingPoint{`,
|
|
`F:` + valueToStringMapsproto2(this.F) + `,`,
|
|
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CustomMap) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForNullable128S := make([]string, 0, len(this.Nullable128S))
|
|
for k := range this.Nullable128S {
|
|
keysForNullable128S = append(keysForNullable128S, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForNullable128S)
|
|
mapStringForNullable128S := "map[string]*github_com_gogo_protobuf_test_custom.Uint128{"
|
|
for _, k := range keysForNullable128S {
|
|
mapStringForNullable128S += fmt.Sprintf("%v: %v,", k, this.Nullable128S[k])
|
|
}
|
|
mapStringForNullable128S += "}"
|
|
keysForUint128S := make([]string, 0, len(this.Uint128S))
|
|
for k := range this.Uint128S {
|
|
keysForUint128S = append(keysForUint128S, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForUint128S)
|
|
mapStringForUint128S := "map[string]github_com_gogo_protobuf_test_custom.Uint128{"
|
|
for _, k := range keysForUint128S {
|
|
mapStringForUint128S += fmt.Sprintf("%v: %v,", k, this.Uint128S[k])
|
|
}
|
|
mapStringForUint128S += "}"
|
|
keysForNullableIds := make([]string, 0, len(this.NullableIds))
|
|
for k := range this.NullableIds {
|
|
keysForNullableIds = append(keysForNullableIds, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForNullableIds)
|
|
mapStringForNullableIds := "map[string]*github_com_gogo_protobuf_test.Uuid{"
|
|
for _, k := range keysForNullableIds {
|
|
mapStringForNullableIds += fmt.Sprintf("%v: %v,", k, this.NullableIds[k])
|
|
}
|
|
mapStringForNullableIds += "}"
|
|
keysForIds := make([]string, 0, len(this.Ids))
|
|
for k := range this.Ids {
|
|
keysForIds = append(keysForIds, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForIds)
|
|
mapStringForIds := "map[string]github_com_gogo_protobuf_test.Uuid{"
|
|
for _, k := range keysForIds {
|
|
mapStringForIds += fmt.Sprintf("%v: %v,", k, this.Ids[k])
|
|
}
|
|
mapStringForIds += "}"
|
|
s := strings.Join([]string{`&CustomMap{`,
|
|
`Nullable128S:` + mapStringForNullable128S + `,`,
|
|
`Uint128S:` + mapStringForUint128S + `,`,
|
|
`NullableIds:` + mapStringForNullableIds + `,`,
|
|
`Ids:` + mapStringForIds + `,`,
|
|
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AllMaps) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForStringToDoubleMap := make([]string, 0, len(this.StringToDoubleMap))
|
|
for k := range this.StringToDoubleMap {
|
|
keysForStringToDoubleMap = append(keysForStringToDoubleMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToDoubleMap)
|
|
mapStringForStringToDoubleMap := "map[string]float64{"
|
|
for _, k := range keysForStringToDoubleMap {
|
|
mapStringForStringToDoubleMap += fmt.Sprintf("%v: %v,", k, this.StringToDoubleMap[k])
|
|
}
|
|
mapStringForStringToDoubleMap += "}"
|
|
keysForStringToFloatMap := make([]string, 0, len(this.StringToFloatMap))
|
|
for k := range this.StringToFloatMap {
|
|
keysForStringToFloatMap = append(keysForStringToFloatMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToFloatMap)
|
|
mapStringForStringToFloatMap := "map[string]float32{"
|
|
for _, k := range keysForStringToFloatMap {
|
|
mapStringForStringToFloatMap += fmt.Sprintf("%v: %v,", k, this.StringToFloatMap[k])
|
|
}
|
|
mapStringForStringToFloatMap += "}"
|
|
keysForInt32Map := make([]int32, 0, len(this.Int32Map))
|
|
for k := range this.Int32Map {
|
|
keysForInt32Map = append(keysForInt32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForInt32Map)
|
|
mapStringForInt32Map := "map[int32]int32{"
|
|
for _, k := range keysForInt32Map {
|
|
mapStringForInt32Map += fmt.Sprintf("%v: %v,", k, this.Int32Map[k])
|
|
}
|
|
mapStringForInt32Map += "}"
|
|
keysForInt64Map := make([]int64, 0, len(this.Int64Map))
|
|
for k := range this.Int64Map {
|
|
keysForInt64Map = append(keysForInt64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForInt64Map)
|
|
mapStringForInt64Map := "map[int64]int64{"
|
|
for _, k := range keysForInt64Map {
|
|
mapStringForInt64Map += fmt.Sprintf("%v: %v,", k, this.Int64Map[k])
|
|
}
|
|
mapStringForInt64Map += "}"
|
|
keysForUint32Map := make([]uint32, 0, len(this.Uint32Map))
|
|
for k := range this.Uint32Map {
|
|
keysForUint32Map = append(keysForUint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForUint32Map)
|
|
mapStringForUint32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForUint32Map {
|
|
mapStringForUint32Map += fmt.Sprintf("%v: %v,", k, this.Uint32Map[k])
|
|
}
|
|
mapStringForUint32Map += "}"
|
|
keysForUint64Map := make([]uint64, 0, len(this.Uint64Map))
|
|
for k := range this.Uint64Map {
|
|
keysForUint64Map = append(keysForUint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForUint64Map)
|
|
mapStringForUint64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForUint64Map {
|
|
mapStringForUint64Map += fmt.Sprintf("%v: %v,", k, this.Uint64Map[k])
|
|
}
|
|
mapStringForUint64Map += "}"
|
|
keysForSint32Map := make([]int32, 0, len(this.Sint32Map))
|
|
for k := range this.Sint32Map {
|
|
keysForSint32Map = append(keysForSint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSint32Map)
|
|
mapStringForSint32Map := "map[int32]int32{"
|
|
for _, k := range keysForSint32Map {
|
|
mapStringForSint32Map += fmt.Sprintf("%v: %v,", k, this.Sint32Map[k])
|
|
}
|
|
mapStringForSint32Map += "}"
|
|
keysForSint64Map := make([]int64, 0, len(this.Sint64Map))
|
|
for k := range this.Sint64Map {
|
|
keysForSint64Map = append(keysForSint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSint64Map)
|
|
mapStringForSint64Map := "map[int64]int64{"
|
|
for _, k := range keysForSint64Map {
|
|
mapStringForSint64Map += fmt.Sprintf("%v: %v,", k, this.Sint64Map[k])
|
|
}
|
|
mapStringForSint64Map += "}"
|
|
keysForFixed32Map := make([]uint32, 0, len(this.Fixed32Map))
|
|
for k := range this.Fixed32Map {
|
|
keysForFixed32Map = append(keysForFixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForFixed32Map)
|
|
mapStringForFixed32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForFixed32Map {
|
|
mapStringForFixed32Map += fmt.Sprintf("%v: %v,", k, this.Fixed32Map[k])
|
|
}
|
|
mapStringForFixed32Map += "}"
|
|
keysForSfixed32Map := make([]int32, 0, len(this.Sfixed32Map))
|
|
for k := range this.Sfixed32Map {
|
|
keysForSfixed32Map = append(keysForSfixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSfixed32Map)
|
|
mapStringForSfixed32Map := "map[int32]int32{"
|
|
for _, k := range keysForSfixed32Map {
|
|
mapStringForSfixed32Map += fmt.Sprintf("%v: %v,", k, this.Sfixed32Map[k])
|
|
}
|
|
mapStringForSfixed32Map += "}"
|
|
keysForFixed64Map := make([]uint64, 0, len(this.Fixed64Map))
|
|
for k := range this.Fixed64Map {
|
|
keysForFixed64Map = append(keysForFixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForFixed64Map)
|
|
mapStringForFixed64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForFixed64Map {
|
|
mapStringForFixed64Map += fmt.Sprintf("%v: %v,", k, this.Fixed64Map[k])
|
|
}
|
|
mapStringForFixed64Map += "}"
|
|
keysForSfixed64Map := make([]int64, 0, len(this.Sfixed64Map))
|
|
for k := range this.Sfixed64Map {
|
|
keysForSfixed64Map = append(keysForSfixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSfixed64Map)
|
|
mapStringForSfixed64Map := "map[int64]int64{"
|
|
for _, k := range keysForSfixed64Map {
|
|
mapStringForSfixed64Map += fmt.Sprintf("%v: %v,", k, this.Sfixed64Map[k])
|
|
}
|
|
mapStringForSfixed64Map += "}"
|
|
keysForBoolMap := make([]bool, 0, len(this.BoolMap))
|
|
for k := range this.BoolMap {
|
|
keysForBoolMap = append(keysForBoolMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Bools(keysForBoolMap)
|
|
mapStringForBoolMap := "map[bool]bool{"
|
|
for _, k := range keysForBoolMap {
|
|
mapStringForBoolMap += fmt.Sprintf("%v: %v,", k, this.BoolMap[k])
|
|
}
|
|
mapStringForBoolMap += "}"
|
|
keysForStringMap := make([]string, 0, len(this.StringMap))
|
|
for k := range this.StringMap {
|
|
keysForStringMap = append(keysForStringMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringMap)
|
|
mapStringForStringMap := "map[string]string{"
|
|
for _, k := range keysForStringMap {
|
|
mapStringForStringMap += fmt.Sprintf("%v: %v,", k, this.StringMap[k])
|
|
}
|
|
mapStringForStringMap += "}"
|
|
keysForStringToBytesMap := make([]string, 0, len(this.StringToBytesMap))
|
|
for k := range this.StringToBytesMap {
|
|
keysForStringToBytesMap = append(keysForStringToBytesMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToBytesMap)
|
|
mapStringForStringToBytesMap := "map[string][]byte{"
|
|
for _, k := range keysForStringToBytesMap {
|
|
mapStringForStringToBytesMap += fmt.Sprintf("%v: %v,", k, this.StringToBytesMap[k])
|
|
}
|
|
mapStringForStringToBytesMap += "}"
|
|
keysForStringToEnumMap := make([]string, 0, len(this.StringToEnumMap))
|
|
for k := range this.StringToEnumMap {
|
|
keysForStringToEnumMap = append(keysForStringToEnumMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToEnumMap)
|
|
mapStringForStringToEnumMap := "map[string]MapEnum{"
|
|
for _, k := range keysForStringToEnumMap {
|
|
mapStringForStringToEnumMap += fmt.Sprintf("%v: %v,", k, this.StringToEnumMap[k])
|
|
}
|
|
mapStringForStringToEnumMap += "}"
|
|
keysForStringToMsgMap := make([]string, 0, len(this.StringToMsgMap))
|
|
for k := range this.StringToMsgMap {
|
|
keysForStringToMsgMap = append(keysForStringToMsgMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToMsgMap)
|
|
mapStringForStringToMsgMap := "map[string]*FloatingPoint{"
|
|
for _, k := range keysForStringToMsgMap {
|
|
mapStringForStringToMsgMap += fmt.Sprintf("%v: %v,", k, this.StringToMsgMap[k])
|
|
}
|
|
mapStringForStringToMsgMap += "}"
|
|
s := strings.Join([]string{`&AllMaps{`,
|
|
`StringToDoubleMap:` + mapStringForStringToDoubleMap + `,`,
|
|
`StringToFloatMap:` + mapStringForStringToFloatMap + `,`,
|
|
`Int32Map:` + mapStringForInt32Map + `,`,
|
|
`Int64Map:` + mapStringForInt64Map + `,`,
|
|
`Uint32Map:` + mapStringForUint32Map + `,`,
|
|
`Uint64Map:` + mapStringForUint64Map + `,`,
|
|
`Sint32Map:` + mapStringForSint32Map + `,`,
|
|
`Sint64Map:` + mapStringForSint64Map + `,`,
|
|
`Fixed32Map:` + mapStringForFixed32Map + `,`,
|
|
`Sfixed32Map:` + mapStringForSfixed32Map + `,`,
|
|
`Fixed64Map:` + mapStringForFixed64Map + `,`,
|
|
`Sfixed64Map:` + mapStringForSfixed64Map + `,`,
|
|
`BoolMap:` + mapStringForBoolMap + `,`,
|
|
`StringMap:` + mapStringForStringMap + `,`,
|
|
`StringToBytesMap:` + mapStringForStringToBytesMap + `,`,
|
|
`StringToEnumMap:` + mapStringForStringToEnumMap + `,`,
|
|
`StringToMsgMap:` + mapStringForStringToMsgMap + `,`,
|
|
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *AllMapsOrdered) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForStringToDoubleMap := make([]string, 0, len(this.StringToDoubleMap))
|
|
for k := range this.StringToDoubleMap {
|
|
keysForStringToDoubleMap = append(keysForStringToDoubleMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToDoubleMap)
|
|
mapStringForStringToDoubleMap := "map[string]float64{"
|
|
for _, k := range keysForStringToDoubleMap {
|
|
mapStringForStringToDoubleMap += fmt.Sprintf("%v: %v,", k, this.StringToDoubleMap[k])
|
|
}
|
|
mapStringForStringToDoubleMap += "}"
|
|
keysForStringToFloatMap := make([]string, 0, len(this.StringToFloatMap))
|
|
for k := range this.StringToFloatMap {
|
|
keysForStringToFloatMap = append(keysForStringToFloatMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToFloatMap)
|
|
mapStringForStringToFloatMap := "map[string]float32{"
|
|
for _, k := range keysForStringToFloatMap {
|
|
mapStringForStringToFloatMap += fmt.Sprintf("%v: %v,", k, this.StringToFloatMap[k])
|
|
}
|
|
mapStringForStringToFloatMap += "}"
|
|
keysForInt32Map := make([]int32, 0, len(this.Int32Map))
|
|
for k := range this.Int32Map {
|
|
keysForInt32Map = append(keysForInt32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForInt32Map)
|
|
mapStringForInt32Map := "map[int32]int32{"
|
|
for _, k := range keysForInt32Map {
|
|
mapStringForInt32Map += fmt.Sprintf("%v: %v,", k, this.Int32Map[k])
|
|
}
|
|
mapStringForInt32Map += "}"
|
|
keysForInt64Map := make([]int64, 0, len(this.Int64Map))
|
|
for k := range this.Int64Map {
|
|
keysForInt64Map = append(keysForInt64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForInt64Map)
|
|
mapStringForInt64Map := "map[int64]int64{"
|
|
for _, k := range keysForInt64Map {
|
|
mapStringForInt64Map += fmt.Sprintf("%v: %v,", k, this.Int64Map[k])
|
|
}
|
|
mapStringForInt64Map += "}"
|
|
keysForUint32Map := make([]uint32, 0, len(this.Uint32Map))
|
|
for k := range this.Uint32Map {
|
|
keysForUint32Map = append(keysForUint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForUint32Map)
|
|
mapStringForUint32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForUint32Map {
|
|
mapStringForUint32Map += fmt.Sprintf("%v: %v,", k, this.Uint32Map[k])
|
|
}
|
|
mapStringForUint32Map += "}"
|
|
keysForUint64Map := make([]uint64, 0, len(this.Uint64Map))
|
|
for k := range this.Uint64Map {
|
|
keysForUint64Map = append(keysForUint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForUint64Map)
|
|
mapStringForUint64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForUint64Map {
|
|
mapStringForUint64Map += fmt.Sprintf("%v: %v,", k, this.Uint64Map[k])
|
|
}
|
|
mapStringForUint64Map += "}"
|
|
keysForSint32Map := make([]int32, 0, len(this.Sint32Map))
|
|
for k := range this.Sint32Map {
|
|
keysForSint32Map = append(keysForSint32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSint32Map)
|
|
mapStringForSint32Map := "map[int32]int32{"
|
|
for _, k := range keysForSint32Map {
|
|
mapStringForSint32Map += fmt.Sprintf("%v: %v,", k, this.Sint32Map[k])
|
|
}
|
|
mapStringForSint32Map += "}"
|
|
keysForSint64Map := make([]int64, 0, len(this.Sint64Map))
|
|
for k := range this.Sint64Map {
|
|
keysForSint64Map = append(keysForSint64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSint64Map)
|
|
mapStringForSint64Map := "map[int64]int64{"
|
|
for _, k := range keysForSint64Map {
|
|
mapStringForSint64Map += fmt.Sprintf("%v: %v,", k, this.Sint64Map[k])
|
|
}
|
|
mapStringForSint64Map += "}"
|
|
keysForFixed32Map := make([]uint32, 0, len(this.Fixed32Map))
|
|
for k := range this.Fixed32Map {
|
|
keysForFixed32Map = append(keysForFixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint32s(keysForFixed32Map)
|
|
mapStringForFixed32Map := "map[uint32]uint32{"
|
|
for _, k := range keysForFixed32Map {
|
|
mapStringForFixed32Map += fmt.Sprintf("%v: %v,", k, this.Fixed32Map[k])
|
|
}
|
|
mapStringForFixed32Map += "}"
|
|
keysForSfixed32Map := make([]int32, 0, len(this.Sfixed32Map))
|
|
for k := range this.Sfixed32Map {
|
|
keysForSfixed32Map = append(keysForSfixed32Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForSfixed32Map)
|
|
mapStringForSfixed32Map := "map[int32]int32{"
|
|
for _, k := range keysForSfixed32Map {
|
|
mapStringForSfixed32Map += fmt.Sprintf("%v: %v,", k, this.Sfixed32Map[k])
|
|
}
|
|
mapStringForSfixed32Map += "}"
|
|
keysForFixed64Map := make([]uint64, 0, len(this.Fixed64Map))
|
|
for k := range this.Fixed64Map {
|
|
keysForFixed64Map = append(keysForFixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Uint64s(keysForFixed64Map)
|
|
mapStringForFixed64Map := "map[uint64]uint64{"
|
|
for _, k := range keysForFixed64Map {
|
|
mapStringForFixed64Map += fmt.Sprintf("%v: %v,", k, this.Fixed64Map[k])
|
|
}
|
|
mapStringForFixed64Map += "}"
|
|
keysForSfixed64Map := make([]int64, 0, len(this.Sfixed64Map))
|
|
for k := range this.Sfixed64Map {
|
|
keysForSfixed64Map = append(keysForSfixed64Map, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int64s(keysForSfixed64Map)
|
|
mapStringForSfixed64Map := "map[int64]int64{"
|
|
for _, k := range keysForSfixed64Map {
|
|
mapStringForSfixed64Map += fmt.Sprintf("%v: %v,", k, this.Sfixed64Map[k])
|
|
}
|
|
mapStringForSfixed64Map += "}"
|
|
keysForBoolMap := make([]bool, 0, len(this.BoolMap))
|
|
for k := range this.BoolMap {
|
|
keysForBoolMap = append(keysForBoolMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Bools(keysForBoolMap)
|
|
mapStringForBoolMap := "map[bool]bool{"
|
|
for _, k := range keysForBoolMap {
|
|
mapStringForBoolMap += fmt.Sprintf("%v: %v,", k, this.BoolMap[k])
|
|
}
|
|
mapStringForBoolMap += "}"
|
|
keysForStringMap := make([]string, 0, len(this.StringMap))
|
|
for k := range this.StringMap {
|
|
keysForStringMap = append(keysForStringMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringMap)
|
|
mapStringForStringMap := "map[string]string{"
|
|
for _, k := range keysForStringMap {
|
|
mapStringForStringMap += fmt.Sprintf("%v: %v,", k, this.StringMap[k])
|
|
}
|
|
mapStringForStringMap += "}"
|
|
keysForStringToBytesMap := make([]string, 0, len(this.StringToBytesMap))
|
|
for k := range this.StringToBytesMap {
|
|
keysForStringToBytesMap = append(keysForStringToBytesMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToBytesMap)
|
|
mapStringForStringToBytesMap := "map[string][]byte{"
|
|
for _, k := range keysForStringToBytesMap {
|
|
mapStringForStringToBytesMap += fmt.Sprintf("%v: %v,", k, this.StringToBytesMap[k])
|
|
}
|
|
mapStringForStringToBytesMap += "}"
|
|
keysForStringToEnumMap := make([]string, 0, len(this.StringToEnumMap))
|
|
for k := range this.StringToEnumMap {
|
|
keysForStringToEnumMap = append(keysForStringToEnumMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToEnumMap)
|
|
mapStringForStringToEnumMap := "map[string]MapEnum{"
|
|
for _, k := range keysForStringToEnumMap {
|
|
mapStringForStringToEnumMap += fmt.Sprintf("%v: %v,", k, this.StringToEnumMap[k])
|
|
}
|
|
mapStringForStringToEnumMap += "}"
|
|
keysForStringToMsgMap := make([]string, 0, len(this.StringToMsgMap))
|
|
for k := range this.StringToMsgMap {
|
|
keysForStringToMsgMap = append(keysForStringToMsgMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForStringToMsgMap)
|
|
mapStringForStringToMsgMap := "map[string]*FloatingPoint{"
|
|
for _, k := range keysForStringToMsgMap {
|
|
mapStringForStringToMsgMap += fmt.Sprintf("%v: %v,", k, this.StringToMsgMap[k])
|
|
}
|
|
mapStringForStringToMsgMap += "}"
|
|
s := strings.Join([]string{`&AllMapsOrdered{`,
|
|
`StringToDoubleMap:` + mapStringForStringToDoubleMap + `,`,
|
|
`StringToFloatMap:` + mapStringForStringToFloatMap + `,`,
|
|
`Int32Map:` + mapStringForInt32Map + `,`,
|
|
`Int64Map:` + mapStringForInt64Map + `,`,
|
|
`Uint32Map:` + mapStringForUint32Map + `,`,
|
|
`Uint64Map:` + mapStringForUint64Map + `,`,
|
|
`Sint32Map:` + mapStringForSint32Map + `,`,
|
|
`Sint64Map:` + mapStringForSint64Map + `,`,
|
|
`Fixed32Map:` + mapStringForFixed32Map + `,`,
|
|
`Sfixed32Map:` + mapStringForSfixed32Map + `,`,
|
|
`Fixed64Map:` + mapStringForFixed64Map + `,`,
|
|
`Sfixed64Map:` + mapStringForSfixed64Map + `,`,
|
|
`BoolMap:` + mapStringForBoolMap + `,`,
|
|
`StringMap:` + mapStringForStringMap + `,`,
|
|
`StringToBytesMap:` + mapStringForStringToBytesMap + `,`,
|
|
`StringToEnumMap:` + mapStringForStringToEnumMap + `,`,
|
|
`StringToMsgMap:` + mapStringForStringToMsgMap + `,`,
|
|
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringMapsproto2(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *FloatingPoint) 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 ErrIntOverflowMapsproto2
|
|
}
|
|
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: FloatingPoint: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: FloatingPoint: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field F", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
v2 := float64(math.Float64frombits(v))
|
|
m.F = &v2
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
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 *CustomMap) 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 ErrIntOverflowMapsproto2
|
|
}
|
|
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: CustomMap: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CustomMap: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Nullable128S", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Nullable128S == nil {
|
|
m.Nullable128S = make(map[string]*github_com_gogo_protobuf_test_custom.Uint128)
|
|
}
|
|
var mapkey string
|
|
var mapvalue1 github_com_gogo_protobuf_test_custom.Uint128
|
|
var mapvalue = &mapvalue1
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapbyteLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapbyteLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intMapbyteLen := int(mapbyteLen)
|
|
if intMapbyteLen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postbytesIndex := iNdEx + intMapbyteLen
|
|
if postbytesIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postbytesIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postbytesIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Nullable128S[mapkey] = ((*github_com_gogo_protobuf_test_custom.Uint128)(mapvalue))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Uint128S", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Uint128S == nil {
|
|
m.Uint128S = make(map[string]github_com_gogo_protobuf_test_custom.Uint128)
|
|
}
|
|
var mapkey string
|
|
var mapvalue1 github_com_gogo_protobuf_test_custom.Uint128
|
|
var mapvalue = &mapvalue1
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapbyteLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapbyteLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intMapbyteLen := int(mapbyteLen)
|
|
if intMapbyteLen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postbytesIndex := iNdEx + intMapbyteLen
|
|
if postbytesIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postbytesIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postbytesIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Uint128S[mapkey] = ((github_com_gogo_protobuf_test_custom.Uint128)(*mapvalue))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NullableIds", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.NullableIds == nil {
|
|
m.NullableIds = make(map[string]*github_com_gogo_protobuf_test.Uuid)
|
|
}
|
|
var mapkey string
|
|
var mapvalue1 github_com_gogo_protobuf_test.Uuid
|
|
var mapvalue = &mapvalue1
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapbyteLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapbyteLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intMapbyteLen := int(mapbyteLen)
|
|
if intMapbyteLen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postbytesIndex := iNdEx + intMapbyteLen
|
|
if postbytesIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postbytesIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postbytesIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.NullableIds[mapkey] = ((*github_com_gogo_protobuf_test.Uuid)(mapvalue))
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Ids == nil {
|
|
m.Ids = make(map[string]github_com_gogo_protobuf_test.Uuid)
|
|
}
|
|
var mapkey string
|
|
var mapvalue1 github_com_gogo_protobuf_test.Uuid
|
|
var mapvalue = &mapvalue1
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapbyteLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapbyteLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intMapbyteLen := int(mapbyteLen)
|
|
if intMapbyteLen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postbytesIndex := iNdEx + intMapbyteLen
|
|
if postbytesIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postbytesIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postbytesIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Ids[mapkey] = ((github_com_gogo_protobuf_test.Uuid)(*mapvalue))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
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 *AllMaps) 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 ErrIntOverflowMapsproto2
|
|
}
|
|
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: AllMaps: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AllMaps: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToDoubleMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToDoubleMap == nil {
|
|
m.StringToDoubleMap = make(map[string]float64)
|
|
}
|
|
var mapkey string
|
|
var mapvalue float64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
mapvalue = math.Float64frombits(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToDoubleMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToFloatMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToFloatMap == nil {
|
|
m.StringToFloatMap = make(map[string]float32)
|
|
}
|
|
var mapkey string
|
|
var mapvalue float32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp uint32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvaluetemp = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
mapvalue = math.Float32frombits(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToFloatMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Int32Map == nil {
|
|
m.Int32Map = make(map[int32]int32)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue int32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Int32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Int64Map == nil {
|
|
m.Int64Map = make(map[int64]int64)
|
|
}
|
|
var mapkey int64
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Int64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Uint32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Uint32Map == nil {
|
|
m.Uint32Map = make(map[uint32]uint32)
|
|
}
|
|
var mapkey uint32
|
|
var mapvalue uint32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Uint32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Uint64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Uint64Map == nil {
|
|
m.Uint64Map = make(map[uint64]uint64)
|
|
}
|
|
var mapkey uint64
|
|
var mapvalue uint64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Uint64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sint32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sint32Map == nil {
|
|
m.Sint32Map = make(map[int32]int32)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue int32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var mapkeytemp int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkeytemp |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapkeytemp = int32((uint32(mapkeytemp) >> 1) ^ uint32(((mapkeytemp&1)<<31)>>31))
|
|
mapkey = int32(mapkeytemp)
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvaluetemp = int32((uint32(mapvaluetemp) >> 1) ^ uint32(((mapvaluetemp&1)<<31)>>31))
|
|
mapvalue = int32(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sint32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sint64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sint64Map == nil {
|
|
m.Sint64Map = make(map[int64]int64)
|
|
}
|
|
var mapkey int64
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var mapkeytemp uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkeytemp |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapkeytemp = (mapkeytemp >> 1) ^ uint64((int64(mapkeytemp&1)<<63)>>63)
|
|
mapkey = int64(mapkeytemp)
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvaluetemp = (mapvaluetemp >> 1) ^ uint64((int64(mapvaluetemp&1)<<63)>>63)
|
|
mapvalue = int64(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sint64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Fixed32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Fixed32Map == nil {
|
|
m.Fixed32Map = make(map[uint32]uint32)
|
|
}
|
|
var mapkey uint32
|
|
var mapvalue uint32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Fixed32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sfixed32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sfixed32Map == nil {
|
|
m.Sfixed32Map = make(map[int32]int32)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue int32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sfixed32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Fixed64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Fixed64Map == nil {
|
|
m.Fixed64Map = make(map[uint64]uint64)
|
|
}
|
|
var mapkey uint64
|
|
var mapvalue uint64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Fixed64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sfixed64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sfixed64Map == nil {
|
|
m.Sfixed64Map = make(map[int64]int64)
|
|
}
|
|
var mapkey int64
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sfixed64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BoolMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BoolMap == nil {
|
|
m.BoolMap = make(map[bool]bool)
|
|
}
|
|
var mapkey bool
|
|
var mapvalue bool
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var mapkeytemp int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkeytemp |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapkey = bool(mapkeytemp != 0)
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvalue = bool(mapvaluetemp != 0)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.BoolMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringMap == nil {
|
|
m.StringMap = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToBytesMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToBytesMap == nil {
|
|
m.StringToBytesMap = make(map[string][]byte)
|
|
}
|
|
var mapkey string
|
|
mapvalue := []byte{}
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapbyteLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapbyteLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intMapbyteLen := int(mapbyteLen)
|
|
if intMapbyteLen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postbytesIndex := iNdEx + intMapbyteLen
|
|
if postbytesIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = make([]byte, mapbyteLen)
|
|
copy(mapvalue, dAtA[iNdEx:postbytesIndex])
|
|
iNdEx = postbytesIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToBytesMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToEnumMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToEnumMap == nil {
|
|
m.StringToEnumMap = make(map[string]MapEnum)
|
|
}
|
|
var mapkey string
|
|
var mapvalue MapEnum
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (MapEnum(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToEnumMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 17:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToMsgMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToMsgMap == nil {
|
|
m.StringToMsgMap = make(map[string]*FloatingPoint)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *FloatingPoint
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &FloatingPoint{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToMsgMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
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 *AllMapsOrdered) 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 ErrIntOverflowMapsproto2
|
|
}
|
|
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: AllMapsOrdered: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AllMapsOrdered: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToDoubleMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToDoubleMap == nil {
|
|
m.StringToDoubleMap = make(map[string]float64)
|
|
}
|
|
var mapkey string
|
|
var mapvalue float64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
mapvalue = math.Float64frombits(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToDoubleMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToFloatMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToFloatMap == nil {
|
|
m.StringToFloatMap = make(map[string]float32)
|
|
}
|
|
var mapkey string
|
|
var mapvalue float32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp uint32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvaluetemp = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
mapvalue = math.Float32frombits(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToFloatMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Int32Map == nil {
|
|
m.Int32Map = make(map[int32]int32)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue int32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Int32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Int64Map == nil {
|
|
m.Int64Map = make(map[int64]int64)
|
|
}
|
|
var mapkey int64
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Int64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Uint32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Uint32Map == nil {
|
|
m.Uint32Map = make(map[uint32]uint32)
|
|
}
|
|
var mapkey uint32
|
|
var mapvalue uint32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Uint32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Uint64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Uint64Map == nil {
|
|
m.Uint64Map = make(map[uint64]uint64)
|
|
}
|
|
var mapkey uint64
|
|
var mapvalue uint64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Uint64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 7:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sint32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sint32Map == nil {
|
|
m.Sint32Map = make(map[int32]int32)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue int32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var mapkeytemp int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkeytemp |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapkeytemp = int32((uint32(mapkeytemp) >> 1) ^ uint32(((mapkeytemp&1)<<31)>>31))
|
|
mapkey = int32(mapkeytemp)
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvaluetemp = int32((uint32(mapvaluetemp) >> 1) ^ uint32(((mapvaluetemp&1)<<31)>>31))
|
|
mapvalue = int32(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sint32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sint64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sint64Map == nil {
|
|
m.Sint64Map = make(map[int64]int64)
|
|
}
|
|
var mapkey int64
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var mapkeytemp uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkeytemp |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapkeytemp = (mapkeytemp >> 1) ^ uint64((int64(mapkeytemp&1)<<63)>>63)
|
|
mapkey = int64(mapkeytemp)
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvaluetemp = (mapvaluetemp >> 1) ^ uint64((int64(mapvaluetemp&1)<<63)>>63)
|
|
mapvalue = int64(mapvaluetemp)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sint64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Fixed32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Fixed32Map == nil {
|
|
m.Fixed32Map = make(map[uint32]uint32)
|
|
}
|
|
var mapkey uint32
|
|
var mapvalue uint32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Fixed32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sfixed32Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sfixed32Map == nil {
|
|
m.Sfixed32Map = make(map[int32]int32)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue int32
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sfixed32Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Fixed64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Fixed64Map == nil {
|
|
m.Fixed64Map = make(map[uint64]uint64)
|
|
}
|
|
var mapkey uint64
|
|
var mapvalue uint64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Fixed64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Sfixed64Map", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Sfixed64Map == nil {
|
|
m.Sfixed64Map = make(map[int64]int64)
|
|
}
|
|
var mapkey int64
|
|
var mapvalue int64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else if fieldNum == 2 {
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.Sfixed64Map[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BoolMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.BoolMap == nil {
|
|
m.BoolMap = make(map[bool]bool)
|
|
}
|
|
var mapkey bool
|
|
var mapvalue bool
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var mapkeytemp int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkeytemp |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapkey = bool(mapkeytemp != 0)
|
|
} else if fieldNum == 2 {
|
|
var mapvaluetemp int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvaluetemp |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
mapvalue = bool(mapvaluetemp != 0)
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.BoolMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringMap == nil {
|
|
m.StringMap = make(map[string]string)
|
|
}
|
|
var mapkey string
|
|
var mapvalue string
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToBytesMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToBytesMap == nil {
|
|
m.StringToBytesMap = make(map[string][]byte)
|
|
}
|
|
var mapkey string
|
|
mapvalue := []byte{}
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapbyteLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapbyteLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intMapbyteLen := int(mapbyteLen)
|
|
if intMapbyteLen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postbytesIndex := iNdEx + intMapbyteLen
|
|
if postbytesIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = make([]byte, mapbyteLen)
|
|
copy(mapvalue, dAtA[iNdEx:postbytesIndex])
|
|
iNdEx = postbytesIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToBytesMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToEnumMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToEnumMap == nil {
|
|
m.StringToEnumMap = make(map[string]MapEnum)
|
|
}
|
|
var mapkey string
|
|
var mapvalue MapEnum
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (MapEnum(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToEnumMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 17:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringToMsgMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.StringToMsgMap == nil {
|
|
m.StringToMsgMap = make(map[string]*FloatingPoint)
|
|
}
|
|
var mapkey string
|
|
var mapvalue *FloatingPoint
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowMapsproto2
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &FloatingPoint{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.StringToMsgMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipMapsproto2(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthMapsproto2
|
|
}
|
|
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 skipMapsproto2(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, ErrIntOverflowMapsproto2
|
|
}
|
|
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, ErrIntOverflowMapsproto2
|
|
}
|
|
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, ErrIntOverflowMapsproto2
|
|
}
|
|
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, ErrInvalidLengthMapsproto2
|
|
}
|
|
return iNdEx, nil
|
|
case 3:
|
|
for {
|
|
var innerWire uint64
|
|
var start int = iNdEx
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowMapsproto2
|
|
}
|
|
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 := skipMapsproto2(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 (
|
|
ErrInvalidLengthMapsproto2 = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowMapsproto2 = fmt.Errorf("proto: integer overflow")
|
|
)
|
|
|
|
func init() { proto.RegisterFile("combos/both/mapsproto2.proto", fileDescriptorMapsproto2) }
|
|
|
|
var fileDescriptorMapsproto2 = []byte{
|
|
// 1143 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xcb, 0x6f, 0x1a, 0x57,
|
|
0x14, 0xc6, 0xb9, 0x3c, 0x0c, 0x5c, 0xde, 0x37, 0x69, 0x85, 0x50, 0x7b, 0x71, 0xe8, 0x8b, 0x90,
|
|
0x14, 0x6c, 0x1a, 0x45, 0x96, 0xd3, 0xa6, 0x32, 0xb6, 0x53, 0xac, 0x14, 0x37, 0x82, 0xa6, 0x2f,
|
|
0xc9, 0x52, 0xc1, 0x3c, 0x82, 0x0a, 0x0c, 0x65, 0x86, 0xa8, 0xde, 0x54, 0xf9, 0x33, 0xba, 0xed,
|
|
0xae, 0xcb, 0x2e, 0xbb, 0xec, 0xd2, 0x52, 0x37, 0x59, 0x46, 0x51, 0x65, 0x85, 0xe9, 0x26, 0xcb,
|
|
0x2c, 0xb3, 0xac, 0xe6, 0xce, 0x83, 0x3b, 0x33, 0x67, 0x66, 0xa0, 0xab, 0x2e, 0xbc, 0xc2, 0x77,
|
|
0x38, 0xdf, 0xef, 0x3b, 0x33, 0x73, 0xef, 0xe1, 0x33, 0x7e, 0xeb, 0x54, 0x18, 0x77, 0x04, 0xb1,
|
|
0xd2, 0x11, 0xa4, 0x47, 0x95, 0x71, 0x7b, 0x2a, 0x4e, 0x67, 0x82, 0x24, 0x54, 0xcb, 0xec, 0x83,
|
|
0xc4, 0xb4, 0x95, 0xf2, 0x45, 0xee, 0xc3, 0xc1, 0x50, 0x7a, 0x34, 0xef, 0x94, 0x4f, 0x85, 0x71,
|
|
0x65, 0x20, 0x0c, 0x84, 0x0a, 0xfb, 0xb2, 0x33, 0xef, 0xb3, 0x15, 0x5b, 0xb0, 0xbf, 0x54, 0x6d,
|
|
0xe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