Package proto2_maps
import "github.com/gogo/protobuf/test/mapsproto2/combos/both"
- Overview
- Index
- Variables
- func Mapsproto2Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- type AllMaps
- func NewAllMapsFromFace(that AllMapsFace) *AllMaps
- func NewPopulatedAllMaps(r randyMapsproto2, easy bool) *AllMaps
- func (this *AllMaps) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*AllMaps) Descriptor() ([]byte, []int)
- func (this *AllMaps) Equal(that interface{}) bool
- func (this *AllMaps) GetBoolMap() map[bool]bool
- func (this *AllMaps) GetFixed32Map() map[uint32]uint32
- func (this *AllMaps) GetFixed64Map() map[uint64]uint64
- func (this *AllMaps) GetInt32Map() map[int32]int32
- func (this *AllMaps) GetInt64Map() map[int64]int64
- func (this *AllMaps) GetSfixed32Map() map[int32]int32
- func (this *AllMaps) GetSfixed64Map() map[int64]int64
- func (this *AllMaps) GetSint32Map() map[int32]int32
- func (this *AllMaps) GetSint64Map() map[int64]int64
- func (this *AllMaps) GetStringMap() map[string]string
- func (this *AllMaps) GetStringToBytesMap() map[string][]byte
- func (this *AllMaps) GetStringToDoubleMap() map[string]float64
- func (this *AllMaps) GetStringToEnumMap() map[string]MapEnum
- func (this *AllMaps) GetStringToFloatMap() map[string]float32
- func (this *AllMaps) GetStringToMsgMap() map[string]*FloatingPoint
- func (this *AllMaps) GetUint32Map() map[uint32]uint32
- func (this *AllMaps) GetUint64Map() map[uint64]uint64
- func (this *AllMaps) GoString() string
- func (m *AllMaps) Marshal() (dAtA []byte, err error)
- func (m *AllMaps) MarshalTo(dAtA []byte) (int, error)
- func (m *AllMaps) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *AllMaps) Proto() github_com_gogo_protobuf_proto.Message
- func (*AllMaps) ProtoMessage()
- func (m *AllMaps) Reset()
- func (m *AllMaps) Size() (n int)
- func (this *AllMaps) String() string
- func (this *AllMaps) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *AllMaps) Unmarshal(dAtA []byte) error
- func (this *AllMaps) VerboseEqual(that interface{}) error
- func (m *AllMaps) XXX_DiscardUnknown()
- func (m *AllMaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllMaps) XXX_Merge(src proto.Message)
- func (m *AllMaps) XXX_Size() int
- func (m *AllMaps) XXX_Unmarshal(b []byte) error
- type AllMapsFace
- type AllMapsOrdered
- func NewAllMapsOrderedFromFace(that AllMapsOrderedFace) *AllMapsOrdered
- func NewPopulatedAllMapsOrdered(r randyMapsproto2, easy bool) *AllMapsOrdered
- func (this *AllMapsOrdered) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*AllMapsOrdered) Descriptor() ([]byte, []int)
- func (this *AllMapsOrdered) Equal(that interface{}) bool
- func (this *AllMapsOrdered) GetBoolMap() map[bool]bool
- func (this *AllMapsOrdered) GetFixed32Map() map[uint32]uint32
- func (this *AllMapsOrdered) GetFixed64Map() map[uint64]uint64
- func (this *AllMapsOrdered) GetInt32Map() map[int32]int32
- func (this *AllMapsOrdered) GetInt64Map() map[int64]int64
- func (this *AllMapsOrdered) GetSfixed32Map() map[int32]int32
- func (this *AllMapsOrdered) GetSfixed64Map() map[int64]int64
- func (this *AllMapsOrdered) GetSint32Map() map[int32]int32
- func (this *AllMapsOrdered) GetSint64Map() map[int64]int64
- func (this *AllMapsOrdered) GetStringMap() map[string]string
- func (this *AllMapsOrdered) GetStringToBytesMap() map[string][]byte
- func (this *AllMapsOrdered) GetStringToDoubleMap() map[string]float64
- func (this *AllMapsOrdered) GetStringToEnumMap() map[string]MapEnum
- func (this *AllMapsOrdered) GetStringToFloatMap() map[string]float32
- func (this *AllMapsOrdered) GetStringToMsgMap() map[string]*FloatingPoint
- func (this *AllMapsOrdered) GetUint32Map() map[uint32]uint32
- func (this *AllMapsOrdered) GetUint64Map() map[uint64]uint64
- func (this *AllMapsOrdered) GoString() string
- func (m *AllMapsOrdered) Marshal() (dAtA []byte, err error)
- func (m *AllMapsOrdered) MarshalTo(dAtA []byte) (int, error)
- func (m *AllMapsOrdered) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *AllMapsOrdered) Proto() github_com_gogo_protobuf_proto.Message
- func (*AllMapsOrdered) ProtoMessage()
- func (m *AllMapsOrdered) Reset()
- func (m *AllMapsOrdered) Size() (n int)
- func (this *AllMapsOrdered) String() string
- func (this *AllMapsOrdered) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *AllMapsOrdered) Unmarshal(dAtA []byte) error
- func (this *AllMapsOrdered) VerboseEqual(that interface{}) error
- func (m *AllMapsOrdered) XXX_DiscardUnknown()
- func (m *AllMapsOrdered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllMapsOrdered) XXX_Merge(src proto.Message)
- func (m *AllMapsOrdered) XXX_Size() int
- func (m *AllMapsOrdered) XXX_Unmarshal(b []byte) error
- type AllMapsOrderedFace
- type CustomMap
- func NewCustomMapFromFace(that CustomMapFace) *CustomMap
- func NewPopulatedCustomMap(r randyMapsproto2, easy bool) *CustomMap
- func (this *CustomMap) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*CustomMap) Descriptor() ([]byte, []int)
- func (this *CustomMap) Equal(that interface{}) bool
- func (this *CustomMap) GetIds() map[string]github_com_gogo_protobuf_test.Uuid
- func (this *CustomMap) GetNullable128S() map[string]*github_com_gogo_protobuf_test_custom.Uint128
- func (this *CustomMap) GetNullableIds() map[string]*github_com_gogo_protobuf_test.Uuid
- func (this *CustomMap) GetUint128S() map[string]github_com_gogo_protobuf_test_custom.Uint128
- func (this *CustomMap) GoString() string
- func (m *CustomMap) Marshal() (dAtA []byte, err error)
- func (m *CustomMap) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *CustomMap) Proto() github_com_gogo_protobuf_proto.Message
- func (*CustomMap) ProtoMessage()
- func (m *CustomMap) Reset()
- func (m *CustomMap) Size() (n int)
- func (this *CustomMap) String() string
- func (this *CustomMap) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *CustomMap) Unmarshal(dAtA []byte) error
- func (this *CustomMap) VerboseEqual(that interface{}) error
- func (m *CustomMap) XXX_DiscardUnknown()
- func (m *CustomMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomMap) XXX_Merge(src proto.Message)
- func (m *CustomMap) XXX_Size() int
- func (m *CustomMap) XXX_Unmarshal(b []byte) error
- type CustomMapFace
- type FloatingPoint
- func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint
- func NewPopulatedFloatingPoint(r randyMapsproto2, easy bool) *FloatingPoint
- func (this *FloatingPoint) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*FloatingPoint) Descriptor() ([]byte, []int)
- func (this *FloatingPoint) Equal(that interface{}) bool
- func (this *FloatingPoint) GetF() *float64
- func (this *FloatingPoint) GoString() string
- func (m *FloatingPoint) Marshal() (dAtA []byte, err error)
- func (m *FloatingPoint) MarshalTo(dAtA []byte) (int, error)
- func (m *FloatingPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *FloatingPoint) Proto() github_com_gogo_protobuf_proto.Message
- func (*FloatingPoint) ProtoMessage()
- func (m *FloatingPoint) Reset()
- func (m *FloatingPoint) Size() (n int)
- func (this *FloatingPoint) String() string
- func (this *FloatingPoint) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *FloatingPoint) Unmarshal(dAtA []byte) error
- func (this *FloatingPoint) VerboseEqual(that interface{}) error
- func (m *FloatingPoint) XXX_DiscardUnknown()
- func (m *FloatingPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FloatingPoint) XXX_Merge(src proto.Message)
- func (m *FloatingPoint) XXX_Size() int
- func (m *FloatingPoint) XXX_Unmarshal(b []byte) error
- type FloatingPointFace
- type MapEnum
- func (x MapEnum) Enum() *MapEnum
- func (MapEnum) EnumDescriptor() ([]byte, []int)
- func (x MapEnum) MarshalJSON() ([]byte, error)
- func (x MapEnum) String() string
- func (x *MapEnum) UnmarshalJSON(data []byte) error
Package files
mapsproto2.pb.go
Variables
var (
ErrInvalidLengthMapsproto2 = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowMapsproto2 = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupMapsproto2 = fmt.Errorf("proto: unexpected end of group")
)
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 Mapsproto2Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
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_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewAllMapsFromFace(that AllMapsFace) *AllMaps
func NewPopulatedAllMaps(r randyMapsproto2, easy bool) *AllMaps
func (this *AllMaps) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*AllMaps) Descriptor() ([]byte, []int)
func (*AllMaps) Equal
¶
func (this *AllMaps) Equal(that interface{}) bool
func (this *AllMaps) GetBoolMap() map[bool]bool
func (this *AllMaps) GetFixed32Map() map[uint32]uint32
func (this *AllMaps) GetFixed64Map() map[uint64]uint64
func (this *AllMaps) GetInt32Map() map[int32]int32
func (this *AllMaps) GetInt64Map() map[int64]int64
func (this *AllMaps) GetSfixed32Map() map[int32]int32
func (this *AllMaps) GetSfixed64Map() map[int64]int64
func (this *AllMaps) GetSint32Map() map[int32]int32
func (this *AllMaps) GetSint64Map() map[int64]int64
func (this *AllMaps) GetStringMap() map[string]string
func (this *AllMaps) GetStringToBytesMap() map[string][]byte
func (this *AllMaps) GetStringToDoubleMap() map[string]float64
func (this *AllMaps) GetStringToEnumMap() map[string]MapEnum
func (this *AllMaps) GetStringToFloatMap() map[string]float32
func (this *AllMaps) GetStringToMsgMap() map[string]*FloatingPoint
func (this *AllMaps) GetUint32Map() map[uint32]uint32
func (this *AllMaps) GetUint64Map() map[uint64]uint64
func (this *AllMaps) GoString() string
func (*AllMaps) Marshal
¶
func (m *AllMaps) Marshal() (dAtA []byte, err error)
func (m *AllMaps) MarshalTo(dAtA []byte) (int, error)
func (m *AllMaps) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllMaps) Proto
¶
func (this *AllMaps) Proto() github_com_gogo_protobuf_proto.Message
func (*AllMaps) ProtoMessage()
func (*AllMaps) Reset
¶
func (m *AllMaps) Reset()
func (*AllMaps) Size
¶
func (m *AllMaps) Size() (n int)
func (*AllMaps) String
¶
func (this *AllMaps) String() string
func (this *AllMaps) TestProto() github_com_gogo_protobuf_proto.Message
func (m *AllMaps) Unmarshal(dAtA []byte) error
func (this *AllMaps) VerboseEqual(that interface{}) error
func (m *AllMaps) XXX_DiscardUnknown()
func (m *AllMaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *AllMaps) XXX_Merge(src proto.Message)
func (m *AllMaps) XXX_Size() int
func (m *AllMaps) XXX_Unmarshal(b []byte) error
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
}
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_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewAllMapsOrderedFromFace(that AllMapsOrderedFace) *AllMapsOrdered
func NewPopulatedAllMapsOrdered(r randyMapsproto2, easy bool) *AllMapsOrdered
func (this *AllMapsOrdered) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*AllMapsOrdered) Descriptor
¶
func (*AllMapsOrdered) Descriptor() ([]byte, []int)
func (*AllMapsOrdered) Equal
¶
func (this *AllMapsOrdered) Equal(that interface{}) bool
func (*AllMapsOrdered) GetBoolMap
¶
func (this *AllMapsOrdered) GetBoolMap() map[bool]bool
func (this *AllMapsOrdered) GetFixed32Map() map[uint32]uint32
func (this *AllMapsOrdered) GetFixed64Map() map[uint64]uint64
func (this *AllMapsOrdered) GetInt32Map() map[int32]int32
func (this *AllMapsOrdered) GetInt64Map() map[int64]int64
func (this *AllMapsOrdered) GetSfixed32Map() map[int32]int32
func (this *AllMapsOrdered) GetSfixed64Map() map[int64]int64
func (this *AllMapsOrdered) GetSint32Map() map[int32]int32
func (this *AllMapsOrdered) GetSint64Map() map[int64]int64
func (this *AllMapsOrdered) GetStringMap() map[string]string
func (this *AllMapsOrdered) GetStringToBytesMap() map[string][]byte
func (this *AllMapsOrdered) GetStringToDoubleMap() map[string]float64
func (this *AllMapsOrdered) GetStringToEnumMap() map[string]MapEnum
func (this *AllMapsOrdered) GetStringToFloatMap() map[string]float32
func (this *AllMapsOrdered) GetStringToMsgMap() map[string]*FloatingPoint
func (this *AllMapsOrdered) GetUint32Map() map[uint32]uint32
func (this *AllMapsOrdered) GetUint64Map() map[uint64]uint64
func (*AllMapsOrdered) GoString
¶
func (this *AllMapsOrdered) GoString() string
func (*AllMapsOrdered) Marshal
¶
func (m *AllMapsOrdered) Marshal() (dAtA []byte, err error)
func (*AllMapsOrdered) MarshalTo
¶
func (m *AllMapsOrdered) MarshalTo(dAtA []byte) (int, error)
func (m *AllMapsOrdered) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllMapsOrdered) Proto
¶
func (this *AllMapsOrdered) Proto() github_com_gogo_protobuf_proto.Message
func (*AllMapsOrdered) ProtoMessage()
func (*AllMapsOrdered) Reset
¶
func (m *AllMapsOrdered) Reset()
func (*AllMapsOrdered) Size
¶
func (m *AllMapsOrdered) Size() (n int)
func (*AllMapsOrdered) String
¶
func (this *AllMapsOrdered) String() string
func (*AllMapsOrdered) TestProto
¶
func (this *AllMapsOrdered) TestProto() github_com_gogo_protobuf_proto.Message
func (*AllMapsOrdered) Unmarshal
¶
func (m *AllMapsOrdered) Unmarshal(dAtA []byte) error
func (this *AllMapsOrdered) VerboseEqual(that interface{}) error
func (m *AllMapsOrdered) XXX_DiscardUnknown()
func (m *AllMapsOrdered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllMapsOrdered) XXX_Merge
¶
func (m *AllMapsOrdered) XXX_Merge(src proto.Message)
func (*AllMapsOrdered) XXX_Size
¶
func (m *AllMapsOrdered) XXX_Size() int
func (m *AllMapsOrdered) XXX_Unmarshal(b []byte) error
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
}
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_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewCustomMapFromFace(that CustomMapFace) *CustomMap
func NewPopulatedCustomMap(r randyMapsproto2, easy bool) *CustomMap
func (this *CustomMap) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*CustomMap) Descriptor() ([]byte, []int)
func (*CustomMap) Equal
¶
func (this *CustomMap) Equal(that interface{}) bool
func (*CustomMap) GetIds
¶
func (this *CustomMap) GetIds() map[string]github_com_gogo_protobuf_test.Uuid
func (this *CustomMap) GetNullable128S() map[string]*github_com_gogo_protobuf_test_custom.Uint128
func (this *CustomMap) GetNullableIds() map[string]*github_com_gogo_protobuf_test.Uuid
func (this *CustomMap) GetUint128S() map[string]github_com_gogo_protobuf_test_custom.Uint128
func (*CustomMap) GoString
¶
func (this *CustomMap) GoString() string
func (*CustomMap) Marshal
¶
func (m *CustomMap) Marshal() (dAtA []byte, err error)
func (m *CustomMap) MarshalTo(dAtA []byte) (int, error)
func (m *CustomMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomMap) Proto
¶
func (this *CustomMap) Proto() github_com_gogo_protobuf_proto.Message
func (*CustomMap) ProtoMessage()
func (*CustomMap) Reset
¶
func (m *CustomMap) Reset()
func (*CustomMap) Size
¶
func (m *CustomMap) Size() (n int)
func (*CustomMap) String
¶
func (this *CustomMap) String() string
func (this *CustomMap) TestProto() github_com_gogo_protobuf_proto.Message
func (m *CustomMap) Unmarshal(dAtA []byte) error
func (this *CustomMap) VerboseEqual(that interface{}) error
func (m *CustomMap) XXX_DiscardUnknown()
func (m *CustomMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *CustomMap) XXX_Merge(src proto.Message)
func (*CustomMap) XXX_Size
¶
func (m *CustomMap) XXX_Size() int
func (m *CustomMap) XXX_Unmarshal(b []byte) error
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
}
type FloatingPoint struct {
F *float64 `protobuf:"fixed64,1,opt,name=f" json:"f,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint
func NewPopulatedFloatingPoint(r randyMapsproto2, easy bool) *FloatingPoint
func (this *FloatingPoint) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*FloatingPoint) Descriptor
¶
func (*FloatingPoint) Descriptor() ([]byte, []int)
func (*FloatingPoint) Equal
¶
func (this *FloatingPoint) Equal(that interface{}) bool
func (*FloatingPoint) GetF
¶
func (this *FloatingPoint) GetF() *float64
func (*FloatingPoint) GoString
¶
func (this *FloatingPoint) GoString() string
func (*FloatingPoint) Marshal
¶
func (m *FloatingPoint) Marshal() (dAtA []byte, err error)
func (*FloatingPoint) MarshalTo
¶
func (m *FloatingPoint) MarshalTo(dAtA []byte) (int, error)
func (m *FloatingPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FloatingPoint) Proto
¶
func (this *FloatingPoint) Proto() github_com_gogo_protobuf_proto.Message
func (*FloatingPoint) ProtoMessage()
func (*FloatingPoint) Reset
¶
func (m *FloatingPoint) Reset()
func (*FloatingPoint) Size
¶
func (m *FloatingPoint) Size() (n int)
func (*FloatingPoint) String
¶
func (this *FloatingPoint) String() string
func (*FloatingPoint) TestProto
¶
func (this *FloatingPoint) TestProto() github_com_gogo_protobuf_proto.Message
func (*FloatingPoint) Unmarshal
¶
func (m *FloatingPoint) Unmarshal(dAtA []byte) error
func (this *FloatingPoint) VerboseEqual(that interface{}) error
func (m *FloatingPoint) XXX_DiscardUnknown()
func (m *FloatingPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FloatingPoint) XXX_Merge
¶
func (m *FloatingPoint) XXX_Merge(src proto.Message)
func (*FloatingPoint) XXX_Size
¶
func (m *FloatingPoint) XXX_Size() int
func (m *FloatingPoint) XXX_Unmarshal(b []byte) error
type FloatingPointFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetF() *float64
}
type MapEnum int32
const (
MA MapEnum = 0
MB MapEnum = 1
MC MapEnum = 2
)
func (MapEnum) Enum
¶
func (x MapEnum) Enum() *MapEnum
func (MapEnum) EnumDescriptor() ([]byte, []int)
func (x MapEnum) MarshalJSON() ([]byte, error)
func (MapEnum) String
¶
func (x MapEnum) String() string
func (x *MapEnum) UnmarshalJSON(data []byte) error