proto2_maps

package
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

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

Types

type AllMaps

type AllMaps struct {
	StringToDoubleMap    map[string]float64        `` /* 179-byte string literal not displayed */
	StringToFloatMap     map[string]float32        `` /* 176-byte string literal not displayed */
	Int32Map             map[int32]int32           `` /* 152-byte string literal not displayed */
	Int64Map             map[int64]int64           `` /* 152-byte string literal not displayed */
	Uint32Map            map[uint32]uint32         `` /* 155-byte string literal not displayed */
	Uint64Map            map[uint64]uint64         `` /* 155-byte string literal not displayed */
	Sint32Map            map[int32]int32           `` /* 159-byte string literal not displayed */
	Sint64Map            map[int64]int64           `` /* 159-byte string literal not displayed */
	Fixed32Map           map[uint32]uint32         `` /* 160-byte string literal not displayed */
	Sfixed32Map          map[int32]int32           `` /* 164-byte string literal not displayed */
	Fixed64Map           map[uint64]uint64         `` /* 161-byte string literal not displayed */
	Sfixed64Map          map[int64]int64           `` /* 164-byte string literal not displayed */
	BoolMap              map[bool]bool             `` /* 150-byte string literal not displayed */
	StringMap            map[string]string         `` /* 154-byte string literal not displayed */
	StringToBytesMap     map[string][]byte         `` /* 175-byte string literal not displayed */
	StringToEnumMap      map[string]MapEnum        `` /* 198-byte string literal not displayed */
	StringToMsgMap       map[string]*FloatingPoint `` /* 169-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" pg:"-"`
	XXX_unrecognized     []byte                    `json:"-" pg:"-"`
	XXX_sizecache        int32                     `json:"-" pg:"-"`
}

func NewAllMapsFromFace

func NewAllMapsFromFace(that AllMapsFace) *AllMaps

func NewPopulatedAllMaps

func NewPopulatedAllMaps(r randyMapsproto2, easy bool) *AllMaps

func (*AllMaps) Descriptor

func (*AllMaps) Descriptor() ([]byte, []int)

func (*AllMaps) Equal

func (this *AllMaps) Equal(that interface{}) bool

func (*AllMaps) GetBoolMap

func (this *AllMaps) GetBoolMap() map[bool]bool

func (*AllMaps) GetFixed32Map

func (this *AllMaps) GetFixed32Map() map[uint32]uint32

func (*AllMaps) GetFixed64Map

func (this *AllMaps) GetFixed64Map() map[uint64]uint64

func (*AllMaps) GetInt32Map

func (this *AllMaps) GetInt32Map() map[int32]int32

func (*AllMaps) GetInt64Map

func (this *AllMaps) GetInt64Map() map[int64]int64

func (*AllMaps) GetSfixed32Map

func (this *AllMaps) GetSfixed32Map() map[int32]int32

func (*AllMaps) GetSfixed64Map

func (this *AllMaps) GetSfixed64Map() map[int64]int64

func (*AllMaps) GetSint32Map

func (this *AllMaps) GetSint32Map() map[int32]int32

func (*AllMaps) GetSint64Map

func (this *AllMaps) GetSint64Map() map[int64]int64

func (*AllMaps) GetStringMap

func (this *AllMaps) GetStringMap() map[string]string

func (*AllMaps) GetStringToBytesMap

func (this *AllMaps) GetStringToBytesMap() map[string][]byte

func (*AllMaps) GetStringToDoubleMap

func (this *AllMaps) GetStringToDoubleMap() map[string]float64

func (*AllMaps) GetStringToEnumMap

func (this *AllMaps) GetStringToEnumMap() map[string]MapEnum

func (*AllMaps) GetStringToFloatMap

func (this *AllMaps) GetStringToFloatMap() map[string]float32

func (*AllMaps) GetStringToMsgMap

func (this *AllMaps) GetStringToMsgMap() map[string]*FloatingPoint

func (*AllMaps) GetUint32Map

func (this *AllMaps) GetUint32Map() map[uint32]uint32

func (*AllMaps) GetUint64Map

func (this *AllMaps) GetUint64Map() map[uint64]uint64

func (*AllMaps) GoString

func (this *AllMaps) GoString() string

func (*AllMaps) Proto

func (*AllMaps) ProtoMessage

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 (*AllMaps) TestProto

func (*AllMaps) VerboseEqual

func (this *AllMaps) VerboseEqual(that interface{}) error

func (*AllMaps) XXX_DiscardUnknown

func (m *AllMaps) XXX_DiscardUnknown()

func (*AllMaps) XXX_Marshal

func (m *AllMaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllMaps) XXX_Merge

func (m *AllMaps) XXX_Merge(src proto.Message)

func (*AllMaps) XXX_Size

func (m *AllMaps) XXX_Size() int

func (*AllMaps) XXX_Unmarshal

func (m *AllMaps) XXX_Unmarshal(b []byte) error

type AllMapsFace

type AllMapsFace interface {
	Proto() github_com_tron_us_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        `` /* 179-byte string literal not displayed */
	StringToFloatMap     map[string]float32        `` /* 176-byte string literal not displayed */
	Int32Map             map[int32]int32           `` /* 152-byte string literal not displayed */
	Int64Map             map[int64]int64           `` /* 152-byte string literal not displayed */
	Uint32Map            map[uint32]uint32         `` /* 155-byte string literal not displayed */
	Uint64Map            map[uint64]uint64         `` /* 155-byte string literal not displayed */
	Sint32Map            map[int32]int32           `` /* 159-byte string literal not displayed */
	Sint64Map            map[int64]int64           `` /* 159-byte string literal not displayed */
	Fixed32Map           map[uint32]uint32         `` /* 160-byte string literal not displayed */
	Sfixed32Map          map[int32]int32           `` /* 164-byte string literal not displayed */
	Fixed64Map           map[uint64]uint64         `` /* 161-byte string literal not displayed */
	Sfixed64Map          map[int64]int64           `` /* 164-byte string literal not displayed */
	BoolMap              map[bool]bool             `` /* 150-byte string literal not displayed */
	StringMap            map[string]string         `` /* 154-byte string literal not displayed */
	StringToBytesMap     map[string][]byte         `` /* 175-byte string literal not displayed */
	StringToEnumMap      map[string]MapEnum        `` /* 198-byte string literal not displayed */
	StringToMsgMap       map[string]*FloatingPoint `` /* 169-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" pg:"-"`
	XXX_unrecognized     []byte                    `json:"-" pg:"-"`
	XXX_sizecache        int32                     `json:"-" pg:"-"`
}

func NewAllMapsOrderedFromFace

func NewAllMapsOrderedFromFace(that AllMapsOrderedFace) *AllMapsOrdered

func NewPopulatedAllMapsOrdered

func NewPopulatedAllMapsOrdered(r randyMapsproto2, easy bool) *AllMapsOrdered

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) Proto

func (*AllMapsOrdered) ProtoMessage

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 (*AllMapsOrdered) VerboseEqual

func (this *AllMapsOrdered) VerboseEqual(that interface{}) error

func (*AllMapsOrdered) XXX_DiscardUnknown

func (m *AllMapsOrdered) XXX_DiscardUnknown()

func (*AllMapsOrdered) XXX_Marshal

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 (*AllMapsOrdered) XXX_Unmarshal

func (m *AllMapsOrdered) XXX_Unmarshal(b []byte) error

type AllMapsOrderedFace

type AllMapsOrderedFace interface {
	Proto() github_com_tron_us_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_tron_us_protobuf_test_custom.Uint128 `` /* 221-byte string literal not displayed */
	Uint128S             map[string]github_com_tron_us_protobuf_test_custom.Uint128  `` /* 199-byte string literal not displayed */
	NullableIds          map[string]*github_com_tron_us_protobuf_test.Uuid           `` /* 208-byte string literal not displayed */
	Ids                  map[string]github_com_tron_us_protobuf_test.Uuid            `` /* 174-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                    `json:"-" pg:"-"`
	XXX_unrecognized     []byte                                                      `json:"-" pg:"-"`
	XXX_sizecache        int32                                                       `json:"-" pg:"-"`
}

func NewCustomMapFromFace

func NewCustomMapFromFace(that CustomMapFace) *CustomMap

func NewPopulatedCustomMap

func NewPopulatedCustomMap(r randyMapsproto2, easy bool) *CustomMap

func (*CustomMap) Descriptor

func (*CustomMap) Descriptor() ([]byte, []int)

func (*CustomMap) Equal

func (this *CustomMap) Equal(that interface{}) bool

func (*CustomMap) GetIds

func (*CustomMap) GetNullable128S

func (this *CustomMap) GetNullable128S() map[string]*github_com_tron_us_protobuf_test_custom.Uint128

func (*CustomMap) GetNullableIds

func (this *CustomMap) GetNullableIds() map[string]*github_com_tron_us_protobuf_test.Uuid

func (*CustomMap) GetUint128S

func (*CustomMap) GoString

func (this *CustomMap) GoString() string

func (*CustomMap) Proto

func (*CustomMap) ProtoMessage

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 (*CustomMap) TestProto

func (*CustomMap) VerboseEqual

func (this *CustomMap) VerboseEqual(that interface{}) error

func (*CustomMap) XXX_DiscardUnknown

func (m *CustomMap) XXX_DiscardUnknown()

func (*CustomMap) XXX_Marshal

func (m *CustomMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomMap) XXX_Merge

func (m *CustomMap) XXX_Merge(src proto.Message)

func (*CustomMap) XXX_Size

func (m *CustomMap) XXX_Size() int

func (*CustomMap) XXX_Unmarshal

func (m *CustomMap) XXX_Unmarshal(b []byte) error

type FloatingPoint

type FloatingPoint struct {
	F                    *float64 `protobuf:"fixed64,1,opt,name=f" json:"f,omitempty" pg:"f"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func NewFloatingPointFromFace

func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint

func NewPopulatedFloatingPoint

func NewPopulatedFloatingPoint(r randyMapsproto2, easy bool) *FloatingPoint

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) Proto

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 (*FloatingPoint) VerboseEqual

func (this *FloatingPoint) VerboseEqual(that interface{}) error

func (*FloatingPoint) XXX_DiscardUnknown

func (m *FloatingPoint) XXX_DiscardUnknown()

func (*FloatingPoint) XXX_Marshal

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 (*FloatingPoint) XXX_Unmarshal

func (m *FloatingPoint) XXX_Unmarshal(b []byte) error

type FloatingPointFace

type FloatingPointFace interface {
	Proto() github_com_tron_us_protobuf_proto.Message
	GetF() *float64
}

type MapEnum

type MapEnum int32
const (
	MA MapEnum = 0
	MB MapEnum = 1
	MC MapEnum = 2
)

func (MapEnum) Enum

func (x MapEnum) Enum() *MapEnum

func (MapEnum) EnumDescriptor

func (MapEnum) EnumDescriptor() ([]byte, []int)

func (MapEnum) MarshalJSON

func (x MapEnum) MarshalJSON() ([]byte, error)

func (MapEnum) String

func (x MapEnum) String() string

func (*MapEnum) UnmarshalJSON

func (x *MapEnum) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL