Documentation ¶
Index ¶
- Variables
- func Mapsproto2Description() (desc *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- type AllMaps
- func (this *AllMaps) Description() (desc *github_com_coderyw_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) IsNil() bool
- func (this *AllMaps) Proto() github_com_coderyw_protobuf_proto.Message
- func (*AllMaps) ProtoMessage()
- func (m *AllMaps) Reset()
- func (m *AllMaps) SetBoolMap_(val map[bool]bool)
- func (m *AllMaps) SetFixed32Map_(val map[uint32]uint32)
- func (m *AllMaps) SetFixed64Map_(val map[uint64]uint64)
- func (m *AllMaps) SetInt32Map_(val map[int32]int32)
- func (m *AllMaps) SetInt64Map_(val map[int64]int64)
- func (m *AllMaps) SetSfixed32Map_(val map[int32]int32)
- func (m *AllMaps) SetSfixed64Map_(val map[int64]int64)
- func (m *AllMaps) SetSint32Map_(val map[int32]int32)
- func (m *AllMaps) SetSint64Map_(val map[int64]int64)
- func (m *AllMaps) SetStringMap_(val map[string]string)
- func (m *AllMaps) SetStringToBytesMap_(val map[string][]byte)
- func (m *AllMaps) SetStringToDoubleMap_(val map[string]float64)
- func (m *AllMaps) SetStringToEnumMap_(val map[string]MapEnum)
- func (m *AllMaps) SetStringToFloatMap_(val map[string]float32)
- func (m *AllMaps) SetStringToMsgMap_(val map[string]*FloatingPoint)
- func (m *AllMaps) SetUint32Map_(val map[uint32]uint32)
- func (m *AllMaps) SetUint64Map_(val map[uint64]uint64)
- func (m *AllMaps) Size() (n int)
- func (this *AllMaps) String() string
- func (this *AllMaps) TestProto() github_com_coderyw_protobuf_proto.Message
- 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 (this *AllMapsOrdered) Description() (desc *github_com_coderyw_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) IsNil() bool
- func (this *AllMapsOrdered) Proto() github_com_coderyw_protobuf_proto.Message
- func (*AllMapsOrdered) ProtoMessage()
- func (m *AllMapsOrdered) Reset()
- func (m *AllMapsOrdered) SetBoolMap_(val map[bool]bool)
- func (m *AllMapsOrdered) SetFixed32Map_(val map[uint32]uint32)
- func (m *AllMapsOrdered) SetFixed64Map_(val map[uint64]uint64)
- func (m *AllMapsOrdered) SetInt32Map_(val map[int32]int32)
- func (m *AllMapsOrdered) SetInt64Map_(val map[int64]int64)
- func (m *AllMapsOrdered) SetSfixed32Map_(val map[int32]int32)
- func (m *AllMapsOrdered) SetSfixed64Map_(val map[int64]int64)
- func (m *AllMapsOrdered) SetSint32Map_(val map[int32]int32)
- func (m *AllMapsOrdered) SetSint64Map_(val map[int64]int64)
- func (m *AllMapsOrdered) SetStringMap_(val map[string]string)
- func (m *AllMapsOrdered) SetStringToBytesMap_(val map[string][]byte)
- func (m *AllMapsOrdered) SetStringToDoubleMap_(val map[string]float64)
- func (m *AllMapsOrdered) SetStringToEnumMap_(val map[string]MapEnum)
- func (m *AllMapsOrdered) SetStringToFloatMap_(val map[string]float32)
- func (m *AllMapsOrdered) SetStringToMsgMap_(val map[string]*FloatingPoint)
- func (m *AllMapsOrdered) SetUint32Map_(val map[uint32]uint32)
- func (m *AllMapsOrdered) SetUint64Map_(val map[uint64]uint64)
- func (m *AllMapsOrdered) Size() (n int)
- func (this *AllMapsOrdered) String() string
- func (this *AllMapsOrdered) TestProto() github_com_coderyw_protobuf_proto.Message
- 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 (this *CustomMap) Description() (desc *github_com_coderyw_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_coderyw_protobuf_test.Uuid
- func (this *CustomMap) GetNullable128S() map[string]*github_com_coderyw_protobuf_test_custom.Uint128
- func (this *CustomMap) GetNullableIds() map[string]*github_com_coderyw_protobuf_test.Uuid
- func (this *CustomMap) GetUint128S() map[string]github_com_coderyw_protobuf_test_custom.Uint128
- func (this *CustomMap) GoString() string
- func (m *CustomMap) IsNil() bool
- func (this *CustomMap) Proto() github_com_coderyw_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_coderyw_protobuf_proto.Message
- 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 (this *FloatingPoint) Description() (desc *github_com_coderyw_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) IsNil() bool
- func (this *FloatingPoint) Proto() github_com_coderyw_protobuf_proto.Message
- func (*FloatingPoint) ProtoMessage()
- func (m *FloatingPoint) Reset()
- func (m *FloatingPoint) SetF_(val float64)
- func (m *FloatingPoint) Size() (n int)
- func (this *FloatingPoint) String() string
- func (this *FloatingPoint) TestProto() github_com_coderyw_protobuf_proto.Message
- 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
Constants ¶
This section is empty.
Variables ¶
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 *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
Types ¶
type AllMaps ¶
type AllMaps struct { StringToDoubleMap map[string]float64 `` /* 156-byte string literal not displayed */ StringToFloatMap map[string]float32 `` /* 154-byte string literal not displayed */ Int32Map map[int32]int32 `` /* 138-byte string literal not displayed */ Int64Map map[int64]int64 `` /* 138-byte string literal not displayed */ Uint32Map map[uint32]uint32 `` /* 140-byte string literal not displayed */ Uint64Map map[uint64]uint64 `` /* 140-byte string literal not displayed */ Sint32Map map[int32]int32 `` /* 144-byte string literal not displayed */ Sint64Map map[int64]int64 `` /* 144-byte string literal not displayed */ Fixed32Map map[uint32]uint32 `` /* 144-byte string literal not displayed */ Sfixed32Map map[int32]int32 `` /* 147-byte string literal not displayed */ Fixed64Map map[uint64]uint64 `` /* 145-byte string literal not displayed */ Sfixed64Map map[int64]int64 `` /* 147-byte string literal not displayed */ BoolMap map[bool]bool `` /* 137-byte string literal not displayed */ StringMap map[string]string `` /* 139-byte string literal not displayed */ StringToBytesMap map[string][]byte `` /* 153-byte string literal not displayed */ StringToEnumMap map[string]MapEnum `` /* 177-byte string literal not displayed */ StringToMsgMap map[string]*FloatingPoint `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewAllMapsFromFace ¶
func NewAllMapsFromFace(that AllMapsFace) *AllMaps
func NewPopulatedAllMaps ¶
func (*AllMaps) Description ¶
func (this *AllMaps) Description() (desc *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*AllMaps) Descriptor ¶
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_coderyw_protobuf_proto.Message
func (*AllMaps) ProtoMessage ¶
func (*AllMaps) ProtoMessage()
func (*AllMaps) SetBoolMap_ ¶ added in v1.4.9
func (*AllMaps) SetFixed32Map_ ¶ added in v1.4.9
func (*AllMaps) SetFixed64Map_ ¶ added in v1.4.9
func (*AllMaps) SetInt32Map_ ¶ added in v1.4.9
func (*AllMaps) SetInt64Map_ ¶ added in v1.4.9
func (*AllMaps) SetSfixed32Map_ ¶ added in v1.4.9
func (*AllMaps) SetSfixed64Map_ ¶ added in v1.4.9
func (*AllMaps) SetSint32Map_ ¶ added in v1.4.9
func (*AllMaps) SetSint64Map_ ¶ added in v1.4.9
func (*AllMaps) SetStringMap_ ¶ added in v1.4.9
func (*AllMaps) SetStringToBytesMap_ ¶ added in v1.4.9
func (*AllMaps) SetStringToDoubleMap_ ¶ added in v1.4.9
func (*AllMaps) SetStringToEnumMap_ ¶ added in v1.4.9
func (*AllMaps) SetStringToFloatMap_ ¶ added in v1.4.9
func (*AllMaps) SetStringToMsgMap_ ¶ added in v1.4.9
func (m *AllMaps) SetStringToMsgMap_(val map[string]*FloatingPoint)
func (*AllMaps) SetUint32Map_ ¶ added in v1.4.9
func (*AllMaps) SetUint64Map_ ¶ added in v1.4.9
func (*AllMaps) TestProto ¶
func (this *AllMaps) TestProto() github_com_coderyw_protobuf_proto.Message
func (*AllMaps) VerboseEqual ¶
func (*AllMaps) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *AllMaps) XXX_DiscardUnknown()
func (*AllMaps) XXX_Marshal ¶ added in v1.1.0
func (*AllMaps) XXX_Unmarshal ¶ added in v1.1.0
type AllMapsFace ¶
type AllMapsFace interface { Proto() github_com_coderyw_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 ¶
type AllMapsOrdered struct { StringToDoubleMap map[string]float64 `` /* 156-byte string literal not displayed */ StringToFloatMap map[string]float32 `` /* 154-byte string literal not displayed */ Int32Map map[int32]int32 `` /* 138-byte string literal not displayed */ Int64Map map[int64]int64 `` /* 138-byte string literal not displayed */ Uint32Map map[uint32]uint32 `` /* 140-byte string literal not displayed */ Uint64Map map[uint64]uint64 `` /* 140-byte string literal not displayed */ Sint32Map map[int32]int32 `` /* 144-byte string literal not displayed */ Sint64Map map[int64]int64 `` /* 144-byte string literal not displayed */ Fixed32Map map[uint32]uint32 `` /* 144-byte string literal not displayed */ Sfixed32Map map[int32]int32 `` /* 147-byte string literal not displayed */ Fixed64Map map[uint64]uint64 `` /* 145-byte string literal not displayed */ Sfixed64Map map[int64]int64 `` /* 147-byte string literal not displayed */ BoolMap map[bool]bool `` /* 137-byte string literal not displayed */ StringMap map[string]string `` /* 139-byte string literal not displayed */ StringToBytesMap map[string][]byte `` /* 153-byte string literal not displayed */ StringToEnumMap map[string]MapEnum `` /* 177-byte string literal not displayed */ StringToMsgMap map[string]*FloatingPoint `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewAllMapsOrderedFromFace ¶
func NewAllMapsOrderedFromFace(that AllMapsOrderedFace) *AllMapsOrdered
func NewPopulatedAllMapsOrdered ¶
func NewPopulatedAllMapsOrdered(r randyMapsproto2, easy bool) *AllMapsOrdered
func (*AllMapsOrdered) Description ¶
func (this *AllMapsOrdered) Description() (desc *github_com_coderyw_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 (*AllMapsOrdered) GetFixed32Map ¶
func (this *AllMapsOrdered) GetFixed32Map() map[uint32]uint32
func (*AllMapsOrdered) GetFixed64Map ¶
func (this *AllMapsOrdered) GetFixed64Map() map[uint64]uint64
func (*AllMapsOrdered) GetInt32Map ¶
func (this *AllMapsOrdered) GetInt32Map() map[int32]int32
func (*AllMapsOrdered) GetInt64Map ¶
func (this *AllMapsOrdered) GetInt64Map() map[int64]int64
func (*AllMapsOrdered) GetSfixed32Map ¶
func (this *AllMapsOrdered) GetSfixed32Map() map[int32]int32
func (*AllMapsOrdered) GetSfixed64Map ¶
func (this *AllMapsOrdered) GetSfixed64Map() map[int64]int64
func (*AllMapsOrdered) GetSint32Map ¶
func (this *AllMapsOrdered) GetSint32Map() map[int32]int32
func (*AllMapsOrdered) GetSint64Map ¶
func (this *AllMapsOrdered) GetSint64Map() map[int64]int64
func (*AllMapsOrdered) GetStringMap ¶
func (this *AllMapsOrdered) GetStringMap() map[string]string
func (*AllMapsOrdered) GetStringToBytesMap ¶
func (this *AllMapsOrdered) GetStringToBytesMap() map[string][]byte
func (*AllMapsOrdered) GetStringToDoubleMap ¶
func (this *AllMapsOrdered) GetStringToDoubleMap() map[string]float64
func (*AllMapsOrdered) GetStringToEnumMap ¶
func (this *AllMapsOrdered) GetStringToEnumMap() map[string]MapEnum
func (*AllMapsOrdered) GetStringToFloatMap ¶
func (this *AllMapsOrdered) GetStringToFloatMap() map[string]float32
func (*AllMapsOrdered) GetStringToMsgMap ¶
func (this *AllMapsOrdered) GetStringToMsgMap() map[string]*FloatingPoint
func (*AllMapsOrdered) GetUint32Map ¶
func (this *AllMapsOrdered) GetUint32Map() map[uint32]uint32
func (*AllMapsOrdered) GetUint64Map ¶
func (this *AllMapsOrdered) GetUint64Map() map[uint64]uint64
func (*AllMapsOrdered) GoString ¶
func (this *AllMapsOrdered) GoString() string
func (*AllMapsOrdered) IsNil ¶ added in v1.4.9
func (m *AllMapsOrdered) IsNil() bool
func (*AllMapsOrdered) Proto ¶
func (this *AllMapsOrdered) Proto() github_com_coderyw_protobuf_proto.Message
func (*AllMapsOrdered) ProtoMessage ¶
func (*AllMapsOrdered) ProtoMessage()
func (*AllMapsOrdered) Reset ¶
func (m *AllMapsOrdered) Reset()
func (*AllMapsOrdered) SetBoolMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetBoolMap_(val map[bool]bool)
func (*AllMapsOrdered) SetFixed32Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetFixed32Map_(val map[uint32]uint32)
func (*AllMapsOrdered) SetFixed64Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetFixed64Map_(val map[uint64]uint64)
func (*AllMapsOrdered) SetInt32Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetInt32Map_(val map[int32]int32)
func (*AllMapsOrdered) SetInt64Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetInt64Map_(val map[int64]int64)
func (*AllMapsOrdered) SetSfixed32Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetSfixed32Map_(val map[int32]int32)
func (*AllMapsOrdered) SetSfixed64Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetSfixed64Map_(val map[int64]int64)
func (*AllMapsOrdered) SetSint32Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetSint32Map_(val map[int32]int32)
func (*AllMapsOrdered) SetSint64Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetSint64Map_(val map[int64]int64)
func (*AllMapsOrdered) SetStringMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetStringMap_(val map[string]string)
func (*AllMapsOrdered) SetStringToBytesMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetStringToBytesMap_(val map[string][]byte)
func (*AllMapsOrdered) SetStringToDoubleMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetStringToDoubleMap_(val map[string]float64)
func (*AllMapsOrdered) SetStringToEnumMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetStringToEnumMap_(val map[string]MapEnum)
func (*AllMapsOrdered) SetStringToFloatMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetStringToFloatMap_(val map[string]float32)
func (*AllMapsOrdered) SetStringToMsgMap_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetStringToMsgMap_(val map[string]*FloatingPoint)
func (*AllMapsOrdered) SetUint32Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetUint32Map_(val map[uint32]uint32)
func (*AllMapsOrdered) SetUint64Map_ ¶ added in v1.4.9
func (m *AllMapsOrdered) SetUint64Map_(val map[uint64]uint64)
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_coderyw_protobuf_proto.Message
func (*AllMapsOrdered) VerboseEqual ¶
func (this *AllMapsOrdered) VerboseEqual(that interface{}) error
func (*AllMapsOrdered) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *AllMapsOrdered) XXX_DiscardUnknown()
func (*AllMapsOrdered) XXX_Marshal ¶ added in v1.1.0
func (m *AllMapsOrdered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllMapsOrdered) XXX_Merge ¶ added in v1.1.0
func (m *AllMapsOrdered) XXX_Merge(src proto.Message)
func (*AllMapsOrdered) XXX_Size ¶ added in v1.1.0
func (m *AllMapsOrdered) XXX_Size() int
func (*AllMapsOrdered) XXX_Unmarshal ¶ added in v1.1.0
func (m *AllMapsOrdered) XXX_Unmarshal(b []byte) error
type AllMapsOrderedFace ¶
type AllMapsOrderedFace interface { Proto() github_com_coderyw_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 ¶
type CustomMap struct { Nullable128S map[string]*github_com_coderyw_protobuf_test_custom.Uint128 `` /* 203-byte string literal not displayed */ Uint128S map[string]github_com_coderyw_protobuf_test_custom.Uint128 `` /* 185-byte string literal not displayed */ NullableIds map[string]*github_com_coderyw_protobuf_test.Uuid `` /* 191-byte string literal not displayed */ Ids map[string]github_com_coderyw_protobuf_test.Uuid `` /* 165-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewCustomMapFromFace ¶
func NewCustomMapFromFace(that CustomMapFace) *CustomMap
func NewPopulatedCustomMap ¶
func (*CustomMap) Description ¶
func (this *CustomMap) Description() (desc *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*CustomMap) Descriptor ¶
func (*CustomMap) GetIds ¶
func (this *CustomMap) GetIds() map[string]github_com_coderyw_protobuf_test.Uuid
func (*CustomMap) GetNullable128S ¶
func (this *CustomMap) GetNullable128S() map[string]*github_com_coderyw_protobuf_test_custom.Uint128
func (*CustomMap) GetNullableIds ¶
func (this *CustomMap) GetNullableIds() map[string]*github_com_coderyw_protobuf_test.Uuid
func (*CustomMap) GetUint128S ¶
func (this *CustomMap) GetUint128S() map[string]github_com_coderyw_protobuf_test_custom.Uint128
func (*CustomMap) Proto ¶
func (this *CustomMap) Proto() github_com_coderyw_protobuf_proto.Message
func (*CustomMap) ProtoMessage ¶
func (*CustomMap) ProtoMessage()
func (*CustomMap) TestProto ¶
func (this *CustomMap) TestProto() github_com_coderyw_protobuf_proto.Message
func (*CustomMap) VerboseEqual ¶
func (*CustomMap) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *CustomMap) XXX_DiscardUnknown()
func (*CustomMap) XXX_Marshal ¶ added in v1.1.0
func (*CustomMap) XXX_Unmarshal ¶ added in v1.1.0
type CustomMapFace ¶
type CustomMapFace interface { Proto() github_com_coderyw_protobuf_proto.Message GetNullable128S() map[string]*github_com_coderyw_protobuf_test_custom.Uint128 GetUint128S() map[string]github_com_coderyw_protobuf_test_custom.Uint128 GetNullableIds() map[string]*github_com_coderyw_protobuf_test.Uuid GetIds() map[string]github_com_coderyw_protobuf_test.Uuid }
type FloatingPoint ¶
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 ¶
func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint
func NewPopulatedFloatingPoint ¶
func NewPopulatedFloatingPoint(r randyMapsproto2, easy bool) *FloatingPoint
func (*FloatingPoint) Description ¶
func (this *FloatingPoint) Description() (desc *github_com_coderyw_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) IsNil ¶ added in v1.4.9
func (m *FloatingPoint) IsNil() bool
func (*FloatingPoint) Proto ¶
func (this *FloatingPoint) Proto() github_com_coderyw_protobuf_proto.Message
func (*FloatingPoint) ProtoMessage ¶
func (*FloatingPoint) ProtoMessage()
func (*FloatingPoint) Reset ¶
func (m *FloatingPoint) Reset()
func (*FloatingPoint) SetF_ ¶ added in v1.4.9
func (m *FloatingPoint) SetF_(val float64)
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_coderyw_protobuf_proto.Message
func (*FloatingPoint) VerboseEqual ¶
func (this *FloatingPoint) VerboseEqual(that interface{}) error
func (*FloatingPoint) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *FloatingPoint) XXX_DiscardUnknown()
func (*FloatingPoint) XXX_Marshal ¶ added in v1.1.0
func (m *FloatingPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FloatingPoint) XXX_Merge ¶ added in v1.1.0
func (m *FloatingPoint) XXX_Merge(src proto.Message)
func (*FloatingPoint) XXX_Size ¶ added in v1.1.0
func (m *FloatingPoint) XXX_Size() int
func (*FloatingPoint) XXX_Unmarshal ¶ added in v1.1.0
func (m *FloatingPoint) XXX_Unmarshal(b []byte) error
type FloatingPointFace ¶
type FloatingPointFace interface { Proto() github_com_coderyw_protobuf_proto.Message GetF() *float64 }
type MapEnum ¶
type MapEnum int32
func (MapEnum) EnumDescriptor ¶
func (MapEnum) MarshalJSON ¶
func (*MapEnum) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.