Documentation ¶
Overview ¶
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 AllMaps
Index ¶
- Variables
- func Mapsproto2Description() (desc *google_protobuf.FileDescriptorSet)
- type AllMaps
- func (this *AllMaps) Description() (desc *google_protobuf.FileDescriptorSet)
- 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 (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
- type AllMapsFace
- type FloatingPoint
- func (this *FloatingPoint) Description() (desc *google_protobuf.FileDescriptorSet)
- 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 (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
- type FloatingPointFace
- type MapEnum
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLengthMapsproto2 = fmt.Errorf("proto: negative length found during unmarshaling")
)
View Source
var MapEnum_name = map[int32]string{
0: "MA",
1: "MB",
2: "MC",
}
View Source
var MapEnum_value = map[string]int32{
"MA": 0,
"MB": 1,
"MC": 2,
}
Functions ¶
func Mapsproto2Description ¶
func Mapsproto2Description() (desc *google_protobuf.FileDescriptorSet)
Types ¶
type AllMaps ¶
type AllMaps struct { StringToDoubleMap map[string]float64 `` /* 133-byte string literal not displayed */ StringToFloatMap map[string]float32 `` /* 132-byte string literal not displayed */ Int32Map map[int32]int32 `protobuf:"bytes,3,rep" 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" 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" 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" json:"Uint64Map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` Sint32Map map[int32]int32 `` /* 129-byte string literal not displayed */ Sint64Map map[int64]int64 `` /* 129-byte string literal not displayed */ Fixed32Map map[uint32]uint32 `` /* 128-byte string literal not displayed */ Sfixed32Map map[int32]int32 `` /* 130-byte string literal not displayed */ Fixed64Map map[uint64]uint64 `` /* 129-byte string literal not displayed */ Sfixed64Map map[int64]int64 `` /* 130-byte string literal not displayed */ BoolMap map[bool]bool `protobuf:"bytes,13,rep" 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" json:"StringMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` StringToBytesMap map[string][]byte `` /* 131-byte string literal not displayed */ StringToEnumMap map[string]MapEnum `` /* 156-byte string literal not displayed */ StringToMsgMap map[string]*FloatingPoint `` /* 129-byte string literal not displayed */ XXX_unrecognized []byte `json:"-"` }
func NewAllMapsFromFace ¶
func NewAllMapsFromFace(that AllMapsFace) *AllMaps
func NewPopulatedAllMaps ¶
func (*AllMaps) Description ¶
func (this *AllMaps) Description() (desc *google_protobuf.FileDescriptorSet)
func (*AllMaps) GetBoolMap ¶
func (*AllMaps) GetFixed32Map ¶
func (*AllMaps) GetFixed64Map ¶
func (*AllMaps) GetInt32Map ¶
func (*AllMaps) GetInt64Map ¶
func (*AllMaps) GetSfixed32Map ¶
func (*AllMaps) GetSfixed64Map ¶
func (*AllMaps) GetSint32Map ¶
func (*AllMaps) GetSint64Map ¶
func (*AllMaps) GetStringMap ¶
func (*AllMaps) GetStringToBytesMap ¶
func (*AllMaps) GetStringToDoubleMap ¶
func (*AllMaps) GetStringToEnumMap ¶
func (*AllMaps) GetStringToFloatMap ¶
func (*AllMaps) GetStringToMsgMap ¶
func (this *AllMaps) GetStringToMsgMap() map[string]*FloatingPoint
func (*AllMaps) GetUint32Map ¶
func (*AllMaps) GetUint64Map ¶
func (*AllMaps) Proto ¶
func (this *AllMaps) Proto() github_com_gogo_protobuf_proto.Message
func (*AllMaps) ProtoMessage ¶
func (*AllMaps) ProtoMessage()
func (*AllMaps) TestProto ¶
func (this *AllMaps) TestProto() github_com_gogo_protobuf_proto.Message
func (*AllMaps) VerboseEqual ¶
type AllMapsFace ¶
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 FloatingPoint ¶
type FloatingPoint struct { F *float64 `protobuf:"fixed64,1,opt,name=f" json:"f,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewFloatingPointFromFace ¶
func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint
func NewPopulatedFloatingPoint ¶
func NewPopulatedFloatingPoint(r randyMapsproto2, easy bool) *FloatingPoint
func (*FloatingPoint) Description ¶
func (this *FloatingPoint) Description() (desc *google_protobuf.FileDescriptorSet)
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) Proto ¶
func (this *FloatingPoint) Proto() github_com_gogo_protobuf_proto.Message
func (*FloatingPoint) ProtoMessage ¶
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 (*FloatingPoint) VerboseEqual ¶
func (this *FloatingPoint) VerboseEqual(that interface{}) error
type FloatingPointFace ¶
type FloatingPointFace interface { Proto() github_com_gogo_protobuf_proto.Message GetF() *float64 }
Click to show internal directories.
Click to hide internal directories.