...
Package theproto3
Overview ▹
Index ▹
Variables
var (
ErrInvalidLengthTheproto3 = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowTheproto3 = fmt.Errorf("proto: integer overflow")
)
var MapEnum_name = map[int32]string{
0: "MA",
1: "MB",
2: "MC",
}
var MapEnum_value = map[string]int32{
"MA": 0,
"MB": 1,
"MC": 2,
}
var Message_Humour_name = map[int32]string{
0: "UNKNOWN",
1: "PUNS",
2: "SLAPSTICK",
3: "BILL_BAILEY",
}
var Message_Humour_value = map[string]int32{
"UNKNOWN": 0,
"PUNS": 1,
"SLAPSTICK": 2,
"BILL_BAILEY": 3,
}
func Theproto3Description ¶
func Theproto3Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
type AllMaps ¶
type AllMaps struct {
StringToDoubleMap map[string]float64 `protobuf:"bytes,1,rep,name=StringToDoubleMap" json:"StringToDoubleMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
StringToFloatMap map[string]float32 `protobuf:"bytes,2,rep,name=StringToFloatMap" json:"StringToFloatMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
Int32Map map[int32]int32 `protobuf:"bytes,3,rep,name=Int32Map" json:"Int32Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Int64Map map[int64]int64 `protobuf:"bytes,4,rep,name=Int64Map" json:"Int64Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Uint32Map map[uint32]uint32 `protobuf:"bytes,5,rep,name=Uint32Map" json:"Uint32Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Uint64Map map[uint64]uint64 `protobuf:"bytes,6,rep,name=Uint64Map" json:"Uint64Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Sint32Map map[int32]int32 `protobuf:"bytes,7,rep,name=Sint32Map" json:"Sint32Map,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
Sint64Map map[int64]int64 `protobuf:"bytes,8,rep,name=Sint64Map" json:"Sint64Map,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
Fixed32Map map[uint32]uint32 `protobuf:"bytes,9,rep,name=Fixed32Map" json:"Fixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
Sfixed32Map map[int32]int32 `protobuf:"bytes,10,rep,name=Sfixed32Map" json:"Sfixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
Fixed64Map map[uint64]uint64 `protobuf:"bytes,11,rep,name=Fixed64Map" json:"Fixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
Sfixed64Map map[int64]int64 `protobuf:"bytes,12,rep,name=Sfixed64Map" json:"Sfixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
BoolMap map[bool]bool `protobuf:"bytes,13,rep,name=BoolMap" json:"BoolMap,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
StringMap map[string]string `protobuf:"bytes,14,rep,name=StringMap" json:"StringMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
StringToBytesMap map[string][]byte `protobuf:"bytes,15,rep,name=StringToBytesMap" json:"StringToBytesMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
StringToEnumMap map[string]MapEnum `protobuf:"bytes,16,rep,name=StringToEnumMap" json:"StringToEnumMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=theproto3.MapEnum"`
StringToMsgMap map[string]*FloatingPoint `protobuf:"bytes,17,rep,name=StringToMsgMap" json:"StringToMsgMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}
func NewAllMapsFromFace ¶
func NewAllMapsFromFace(that AllMapsFace) *AllMaps
func NewPopulatedAllMaps ¶
func NewPopulatedAllMaps(r randyTheproto3, easy bool) *AllMaps
func (*AllMaps) Description ¶
func (this *AllMaps) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
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 (this *AllMaps) Proto() github_com_gogo_protobuf_proto.Message
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 (this *AllMaps) TestProto() github_com_gogo_protobuf_proto.Message
func (*AllMaps) Unmarshal ¶
func (m *AllMaps) Unmarshal(dAtA []byte) error
func (*AllMaps) VerboseEqual ¶
func (this *AllMaps) VerboseEqual(that interface{}) error
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 AllMapsOrdered ¶
type AllMapsOrdered struct {
StringToDoubleMap map[string]float64 `protobuf:"bytes,1,rep,name=StringToDoubleMap" json:"StringToDoubleMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
StringToFloatMap map[string]float32 `protobuf:"bytes,2,rep,name=StringToFloatMap" json:"StringToFloatMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
Int32Map map[int32]int32 `protobuf:"bytes,3,rep,name=Int32Map" json:"Int32Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Int64Map map[int64]int64 `protobuf:"bytes,4,rep,name=Int64Map" json:"Int64Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Uint32Map map[uint32]uint32 `protobuf:"bytes,5,rep,name=Uint32Map" json:"Uint32Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Uint64Map map[uint64]uint64 `protobuf:"bytes,6,rep,name=Uint64Map" json:"Uint64Map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
Sint32Map map[int32]int32 `protobuf:"bytes,7,rep,name=Sint32Map" json:"Sint32Map,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
Sint64Map map[int64]int64 `protobuf:"bytes,8,rep,name=Sint64Map" json:"Sint64Map,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
Fixed32Map map[uint32]uint32 `protobuf:"bytes,9,rep,name=Fixed32Map" json:"Fixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
Sfixed32Map map[int32]int32 `protobuf:"bytes,10,rep,name=Sfixed32Map" json:"Sfixed32Map,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
Fixed64Map map[uint64]uint64 `protobuf:"bytes,11,rep,name=Fixed64Map" json:"Fixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
Sfixed64Map map[int64]int64 `protobuf:"bytes,12,rep,name=Sfixed64Map" json:"Sfixed64Map,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
BoolMap map[bool]bool `protobuf:"bytes,13,rep,name=BoolMap" json:"BoolMap,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
StringMap map[string]string `protobuf:"bytes,14,rep,name=StringMap" json:"StringMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
StringToBytesMap map[string][]byte `protobuf:"bytes,15,rep,name=StringToBytesMap" json:"StringToBytesMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
StringToEnumMap map[string]MapEnum `protobuf:"bytes,16,rep,name=StringToEnumMap" json:"StringToEnumMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=theproto3.MapEnum"`
StringToMsgMap map[string]*FloatingPoint `protobuf:"bytes,17,rep,name=StringToMsgMap" json:"StringToMsgMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}
func NewAllMapsOrderedFromFace ¶
func NewAllMapsOrderedFromFace(that AllMapsOrderedFace) *AllMapsOrdered
func NewPopulatedAllMapsOrdered ¶
func NewPopulatedAllMapsOrdered(r randyTheproto3, easy bool) *AllMapsOrdered
func (*AllMapsOrdered) Description ¶
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 (*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 (this *AllMapsOrdered) Proto() github_com_gogo_protobuf_proto.Message
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 (this *AllMapsOrdered) TestProto() github_com_gogo_protobuf_proto.Message
func (*AllMapsOrdered) Unmarshal ¶
func (m *AllMapsOrdered) Unmarshal(dAtA []byte) error
func (*AllMapsOrdered) VerboseEqual ¶
func (this *AllMapsOrdered) VerboseEqual(that interface{}) error
type AllMapsOrderedFace ¶
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 ContainsNestedMap ¶
type ContainsNestedMap struct {
}
func NewContainsNestedMapFromFace ¶
func NewContainsNestedMapFromFace(that ContainsNestedMapFace) *ContainsNestedMap
func NewPopulatedContainsNestedMap ¶
func NewPopulatedContainsNestedMap(r randyTheproto3, easy bool) *ContainsNestedMap
func (*ContainsNestedMap) Description ¶
func (this *ContainsNestedMap) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*ContainsNestedMap) Descriptor ¶
func (*ContainsNestedMap) Descriptor() ([]byte, []int)
func (*ContainsNestedMap) Equal ¶
func (this *ContainsNestedMap) Equal(that interface{}) bool
func (*ContainsNestedMap) GoString ¶
func (this *ContainsNestedMap) GoString() string
func (*ContainsNestedMap) Proto ¶
func (this *ContainsNestedMap) Proto() github_com_gogo_protobuf_proto.Message
func (*ContainsNestedMap) ProtoMessage ¶
func (*ContainsNestedMap) ProtoMessage()
func (*ContainsNestedMap) Reset ¶
func (m *ContainsNestedMap) Reset()
func (*ContainsNestedMap) Size ¶
func (m *ContainsNestedMap) Size() (n int)
func (*ContainsNestedMap) String ¶
func (this *ContainsNestedMap) String() string
func (*ContainsNestedMap) TestProto ¶
func (this *ContainsNestedMap) TestProto() github_com_gogo_protobuf_proto.Message
func (*ContainsNestedMap) Unmarshal ¶
func (m *ContainsNestedMap) Unmarshal(dAtA []byte) error
func (*ContainsNestedMap) VerboseEqual ¶
func (this *ContainsNestedMap) VerboseEqual(that interface{}) error
type ContainsNestedMapFace ¶
type ContainsNestedMapFace interface {
Proto() github_com_gogo_protobuf_proto.Message
}
type ContainsNestedMap_NestedMap ¶
type ContainsNestedMap_NestedMap struct {
NestedMapField map[string]float64 `protobuf:"bytes,1,rep,name=NestedMapField" json:"NestedMapField,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
}
func NewContainsNestedMap_NestedMapFromFace ¶
func NewContainsNestedMap_NestedMapFromFace(that ContainsNestedMap_NestedMapFace) *ContainsNestedMap_NestedMap
func NewPopulatedContainsNestedMap_NestedMap ¶
func NewPopulatedContainsNestedMap_NestedMap(r randyTheproto3, easy bool) *ContainsNestedMap_NestedMap
func (*ContainsNestedMap_NestedMap) Description ¶
func (this *ContainsNestedMap_NestedMap) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*ContainsNestedMap_NestedMap) Descriptor ¶
func (*ContainsNestedMap_NestedMap) Descriptor() ([]byte, []int)
func (*ContainsNestedMap_NestedMap) Equal ¶
func (this *ContainsNestedMap_NestedMap) Equal(that interface{}) bool
func (*ContainsNestedMap_NestedMap) GetNestedMapField ¶
func (this *ContainsNestedMap_NestedMap) GetNestedMapField() map[string]float64
func (*ContainsNestedMap_NestedMap) GoString ¶
func (this *ContainsNestedMap_NestedMap) GoString() string
func (*ContainsNestedMap_NestedMap) Proto ¶
func (this *ContainsNestedMap_NestedMap) Proto() github_com_gogo_protobuf_proto.Message
func (*ContainsNestedMap_NestedMap) ProtoMessage ¶
func (*ContainsNestedMap_NestedMap) ProtoMessage()
func (*ContainsNestedMap_NestedMap) Reset ¶
func (m *ContainsNestedMap_NestedMap) Reset()
func (*ContainsNestedMap_NestedMap) Size ¶
func (m *ContainsNestedMap_NestedMap) Size() (n int)
func (*ContainsNestedMap_NestedMap) String ¶
func (this *ContainsNestedMap_NestedMap) String() string
func (*ContainsNestedMap_NestedMap) TestProto ¶
func (this *ContainsNestedMap_NestedMap) TestProto() github_com_gogo_protobuf_proto.Message
func (*ContainsNestedMap_NestedMap) Unmarshal ¶
func (m *ContainsNestedMap_NestedMap) Unmarshal(dAtA []byte) error
func (*ContainsNestedMap_NestedMap) VerboseEqual ¶
func (this *ContainsNestedMap_NestedMap) VerboseEqual(that interface{}) error
type ContainsNestedMap_NestedMapFace ¶
type ContainsNestedMap_NestedMapFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetNestedMapField() map[string]float64
}
type FloatingPoint ¶
type FloatingPoint struct {
F float64 `protobuf:"fixed64,1,opt,name=f,proto3" json:"f,omitempty"`
}
func NewFloatingPointFromFace ¶
func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint
func NewPopulatedFloatingPoint ¶
func NewPopulatedFloatingPoint(r randyTheproto3, easy bool) *FloatingPoint
func (*FloatingPoint) Description ¶
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) 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
}
type MapEnum ¶
type MapEnum int32
const (
MA MapEnum = 0
MB MapEnum = 1
MC MapEnum = 2
)
func (MapEnum) EnumDescriptor ¶
func (MapEnum) EnumDescriptor() ([]byte, []int)
func (MapEnum) String ¶
func (x MapEnum) String() string
type Message ¶
type Message struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Hilarity Message_Humour `protobuf:"varint,2,opt,name=hilarity,proto3,enum=theproto3.Message_Humour" json:"hilarity,omitempty"`
HeightInCm uint32 `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm,proto3" json:"height_in_cm,omitempty"`
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
ResultCount int64 `protobuf:"varint,7,opt,name=result_count,json=resultCount,proto3" json:"result_count,omitempty"`
TrueScotsman bool `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman,proto3" json:"true_scotsman,omitempty"`
Score float32 `protobuf:"fixed32,9,opt,name=score,proto3" json:"score,omitempty"`
Key []uint64 `protobuf:"varint,5,rep,packed,name=key" json:"key,omitempty"`
Nested *Nested `protobuf:"bytes,6,opt,name=nested" json:"nested,omitempty"`
Terrain map[int64]*Nested `protobuf:"bytes,10,rep,name=terrain" json:"terrain,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
Proto2Field *test.NinOptNative `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field" json:"proto2_field,omitempty"`
Proto2Value map[int64]*test.NinOptEnum `protobuf:"bytes,13,rep,name=proto2_value,json=proto2Value" json:"proto2_value,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}
func NewMessageFromFace ¶
func NewMessageFromFace(that MessageFace) *Message
func NewPopulatedMessage ¶
func NewPopulatedMessage(r randyTheproto3, easy bool) *Message
func (*Message) Description ¶
func (this *Message) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Message) Descriptor ¶
func (*Message) Descriptor() ([]byte, []int)
func (*Message) Equal ¶
func (this *Message) Equal(that interface{}) bool
func (*Message) GetData ¶
func (this *Message) GetData() []byte
func (*Message) GetHeightInCm ¶
func (this *Message) GetHeightInCm() uint32
func (*Message) GetHilarity ¶
func (this *Message) GetHilarity() Message_Humour
func (*Message) GetKey ¶
func (this *Message) GetKey() []uint64
func (*Message) GetName ¶
func (this *Message) GetName() string
func (*Message) GetNested ¶
func (this *Message) GetNested() *Nested
func (*Message) GetProto2Field ¶
func (this *Message) GetProto2Field() *test.NinOptNative
func (*Message) GetProto2Value ¶
func (this *Message) GetProto2Value() map[int64]*test.NinOptEnum
func (*Message) GetResultCount ¶
func (this *Message) GetResultCount() int64
func (*Message) GetScore ¶
func (this *Message) GetScore() float32
func (*Message) GetTerrain ¶
func (this *Message) GetTerrain() map[int64]*Nested
func (*Message) GetTrueScotsman ¶
func (this *Message) GetTrueScotsman() bool
func (*Message) GoString ¶
func (this *Message) GoString() string
func (*Message) Proto ¶
func (this *Message) Proto() github_com_gogo_protobuf_proto.Message
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) Reset ¶
func (m *Message) Reset()
func (*Message) Size ¶
func (m *Message) Size() (n int)
func (*Message) String ¶
func (this *Message) String() string
func (*Message) TestProto ¶
func (this *Message) TestProto() github_com_gogo_protobuf_proto.Message
func (*Message) Unmarshal ¶
func (m *Message) Unmarshal(dAtA []byte) error
func (*Message) VerboseEqual ¶
func (this *Message) VerboseEqual(that interface{}) error
type MessageFace ¶
type MessageFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetName() string
GetHilarity() Message_Humour
GetHeightInCm() uint32
GetData() []byte
GetResultCount() int64
GetTrueScotsman() bool
GetScore() float32
GetKey() []uint64
GetNested() *Nested
GetTerrain() map[int64]*Nested
GetProto2Field() *test.NinOptNative
GetProto2Value() map[int64]*test.NinOptEnum
}
type MessageWithMap ¶
type MessageWithMap struct {
NameMapping map[int32]string `protobuf:"bytes,1,rep,name=name_mapping,json=nameMapping" json:"name_mapping,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
MsgMapping map[int64]*FloatingPoint `protobuf:"bytes,2,rep,name=msg_mapping,json=msgMapping" json:"msg_mapping,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
ByteMapping map[bool][]byte `protobuf:"bytes,3,rep,name=byte_mapping,json=byteMapping" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func NewMessageWithMapFromFace ¶
func NewMessageWithMapFromFace(that MessageWithMapFace) *MessageWithMap
func NewPopulatedMessageWithMap ¶
func NewPopulatedMessageWithMap(r randyTheproto3, easy bool) *MessageWithMap
func (*MessageWithMap) Description ¶
func (this *MessageWithMap) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*MessageWithMap) Descriptor ¶
func (*MessageWithMap) Descriptor() ([]byte, []int)
func (*MessageWithMap) Equal ¶
func (this *MessageWithMap) Equal(that interface{}) bool
func (*MessageWithMap) GetByteMapping ¶
func (this *MessageWithMap) GetByteMapping() map[bool][]byte
func (*MessageWithMap) GetMsgMapping ¶
func (this *MessageWithMap) GetMsgMapping() map[int64]*FloatingPoint
func (*MessageWithMap) GetNameMapping ¶
func (this *MessageWithMap) GetNameMapping() map[int32]string
func (*MessageWithMap) GoString ¶
func (this *MessageWithMap) GoString() string
func (*MessageWithMap) Proto ¶
func (this *MessageWithMap) Proto() github_com_gogo_protobuf_proto.Message
func (*MessageWithMap) ProtoMessage ¶
func (*MessageWithMap) ProtoMessage()
func (*MessageWithMap) Reset ¶
func (m *MessageWithMap) Reset()
func (*MessageWithMap) Size ¶
func (m *MessageWithMap) Size() (n int)
func (*MessageWithMap) String ¶
func (this *MessageWithMap) String() string
func (*MessageWithMap) TestProto ¶
func (this *MessageWithMap) TestProto() github_com_gogo_protobuf_proto.Message
func (*MessageWithMap) Unmarshal ¶
func (m *MessageWithMap) Unmarshal(dAtA []byte) error
func (*MessageWithMap) VerboseEqual ¶
func (this *MessageWithMap) VerboseEqual(that interface{}) error
type MessageWithMapFace ¶
type MessageWithMapFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetNameMapping() map[int32]string
GetMsgMapping() map[int64]*FloatingPoint
GetByteMapping() map[bool][]byte
}
type Message_Humour ¶
type Message_Humour int32
const (
UNKNOWN Message_Humour = 0
PUNS Message_Humour = 1
SLAPSTICK Message_Humour = 2
BILL_BAILEY Message_Humour = 3
)
func (Message_Humour) EnumDescriptor ¶
func (Message_Humour) EnumDescriptor() ([]byte, []int)
func (Message_Humour) String ¶
func (x Message_Humour) String() string
type Nested ¶
type Nested struct {
Bunny string `protobuf:"bytes,1,opt,name=bunny,proto3" json:"bunny,omitempty"`
}
func NewNestedFromFace ¶
func NewNestedFromFace(that NestedFace) *Nested
func NewPopulatedNested ¶
func NewPopulatedNested(r randyTheproto3, easy bool) *Nested
func (*Nested) Description ¶
func (this *Nested) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Nested) Descriptor ¶
func (*Nested) Descriptor() ([]byte, []int)
func (*Nested) Equal ¶
func (this *Nested) Equal(that interface{}) bool
func (*Nested) GetBunny ¶
func (this *Nested) GetBunny() string
func (*Nested) GoString ¶
func (this *Nested) GoString() string
func (*Nested) Proto ¶
func (this *Nested) Proto() github_com_gogo_protobuf_proto.Message
func (*Nested) ProtoMessage ¶
func (*Nested) ProtoMessage()
func (*Nested) Reset ¶
func (m *Nested) Reset()
func (*Nested) Size ¶
func (m *Nested) Size() (n int)
func (*Nested) String ¶
func (this *Nested) String() string
func (*Nested) TestProto ¶
func (this *Nested) TestProto() github_com_gogo_protobuf_proto.Message
func (*Nested) Unmarshal ¶
func (m *Nested) Unmarshal(dAtA []byte) error
func (*Nested) VerboseEqual ¶
func (this *Nested) VerboseEqual(that interface{}) error
type NestedFace ¶
type NestedFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetBunny() string
}
type NotPacked ¶
type NotPacked struct {
Key []uint64 `protobuf:"varint,5,rep,name=key" json:"key,omitempty"`
}
func NewNotPackedFromFace ¶
func NewNotPackedFromFace(that NotPackedFace) *NotPacked
func NewPopulatedNotPacked ¶
func NewPopulatedNotPacked(r randyTheproto3, easy bool) *NotPacked
func (*NotPacked) Description ¶
func (this *NotPacked) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*NotPacked) Descriptor ¶
func (*NotPacked) Descriptor() ([]byte, []int)
func (*NotPacked) Equal ¶
func (this *NotPacked) Equal(that interface{}) bool
func (*NotPacked) GetKey ¶
func (this *NotPacked) GetKey() []uint64
func (*NotPacked) GoString ¶
func (this *NotPacked) GoString() string
func (*NotPacked) Proto ¶
func (this *NotPacked) Proto() github_com_gogo_protobuf_proto.Message
func (*NotPacked) ProtoMessage ¶
func (*NotPacked) ProtoMessage()
func (*NotPacked) Reset ¶
func (m *NotPacked) Reset()
func (*NotPacked) Size ¶
func (m *NotPacked) Size() (n int)
func (*NotPacked) String ¶
func (this *NotPacked) String() string
func (*NotPacked) TestProto ¶
func (this *NotPacked) TestProto() github_com_gogo_protobuf_proto.Message
func (*NotPacked) Unmarshal ¶
func (m *NotPacked) Unmarshal(dAtA []byte) error
func (*NotPacked) VerboseEqual ¶
func (this *NotPacked) VerboseEqual(that interface{}) error
type NotPackedFace ¶
type NotPackedFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetKey() []uint64
}
type Uint128Pair ¶
type Uint128Pair struct {
Left github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,1,opt,name=left,proto3,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"left"`
Right *github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,2,opt,name=right,proto3,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"right,omitempty"`
}
func NewPopulatedUint128Pair ¶
func NewPopulatedUint128Pair(r randyTheproto3, easy bool) *Uint128Pair
func NewUint128PairFromFace ¶
func NewUint128PairFromFace(that Uint128PairFace) *Uint128Pair
func (*Uint128Pair) Description ¶
func (this *Uint128Pair) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Uint128Pair) Descriptor ¶
func (*Uint128Pair) Descriptor() ([]byte, []int)
func (*Uint128Pair) Equal ¶
func (this *Uint128Pair) Equal(that interface{}) bool
func (*Uint128Pair) GetLeft ¶
func (this *Uint128Pair) GetLeft() github_com_gogo_protobuf_test_custom.Uint128
func (*Uint128Pair) GetRight ¶
func (this *Uint128Pair) GetRight() *github_com_gogo_protobuf_test_custom.Uint128
func (*Uint128Pair) GoString ¶
func (this *Uint128Pair) GoString() string
func (*Uint128Pair) Proto ¶
func (this *Uint128Pair) Proto() github_com_gogo_protobuf_proto.Message
func (*Uint128Pair) ProtoMessage ¶
func (*Uint128Pair) ProtoMessage()
func (*Uint128Pair) Reset ¶
func (m *Uint128Pair) Reset()
func (*Uint128Pair) Size ¶
func (m *Uint128Pair) Size() (n int)
func (*Uint128Pair) String ¶
func (this *Uint128Pair) String() string
func (*Uint128Pair) TestProto ¶
func (this *Uint128Pair) TestProto() github_com_gogo_protobuf_proto.Message
func (*Uint128Pair) Unmarshal ¶
func (m *Uint128Pair) Unmarshal(dAtA []byte) error
func (*Uint128Pair) VerboseEqual ¶
func (this *Uint128Pair) VerboseEqual(that interface{}) error
type Uint128PairFace ¶
type Uint128PairFace interface {
Proto() github_com_gogo_protobuf_proto.Message
GetLeft() github_com_gogo_protobuf_test_custom.Uint128
GetRight() *github_com_gogo_protobuf_test_custom.Uint128
}
ActiveGo 1.8