theproto3

package
v1.1.2-0...-baf2ea5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTheproto3 = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTheproto3   = fmt.Errorf("proto: integer overflow")
)
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,
}
View Source
var Message_Humour_name = map[int32]string{
	0: "UNKNOWN",
	1: "PUNS",
	2: "SLAPSTICK",
	3: "BILL_BAILEY",
}
View Source
var Message_Humour_value = map[string]int32{
	"UNKNOWN":     0,
	"PUNS":        1,
	"SLAPSTICK":   2,
	"BILL_BAILEY": 3,
}

Functions

Types

type AllMaps

type AllMaps struct {
	StringToDoubleMap    map[string]float64        `` /* 170-byte string literal not displayed */
	StringToFloatMap     map[string]float32        `` /* 168-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         `` /* 154-byte string literal not displayed */
	Uint64Map            map[uint64]uint64         `` /* 154-byte string literal not displayed */
	Sint32Map            map[int32]int32           `` /* 158-byte string literal not displayed */
	Sint64Map            map[int64]int64           `` /* 158-byte string literal not displayed */
	Fixed32Map           map[uint32]uint32         `` /* 158-byte string literal not displayed */
	Sfixed32Map          map[int32]int32           `` /* 161-byte string literal not displayed */
	Fixed64Map           map[uint64]uint64         `` /* 159-byte string literal not displayed */
	Sfixed64Map          map[int64]int64           `` /* 161-byte string literal not displayed */
	BoolMap              map[bool]bool             `` /* 151-byte string literal not displayed */
	StringMap            map[string]string         `` /* 153-byte string literal not displayed */
	StringToBytesMap     map[string][]byte         `` /* 167-byte string literal not displayed */
	StringToEnumMap      map[string]MapEnum        `` /* 189-byte string literal not displayed */
	StringToMsgMap       map[string]*FloatingPoint `` /* 156-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 NewPopulatedAllMaps(r randyTheproto3, 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) Unmarshal

func (m *AllMaps) Unmarshal(dAtA []byte) error

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 (dst *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_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        `` /* 170-byte string literal not displayed */
	StringToFloatMap     map[string]float32        `` /* 168-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         `` /* 154-byte string literal not displayed */
	Uint64Map            map[uint64]uint64         `` /* 154-byte string literal not displayed */
	Sint32Map            map[int32]int32           `` /* 158-byte string literal not displayed */
	Sint64Map            map[int64]int64           `` /* 158-byte string literal not displayed */
	Fixed32Map           map[uint32]uint32         `` /* 158-byte string literal not displayed */
	Sfixed32Map          map[int32]int32           `` /* 161-byte string literal not displayed */
	Fixed64Map           map[uint64]uint64         `` /* 159-byte string literal not displayed */
	Sfixed64Map          map[int64]int64           `` /* 161-byte string literal not displayed */
	BoolMap              map[bool]bool             `` /* 151-byte string literal not displayed */
	StringMap            map[string]string         `` /* 153-byte string literal not displayed */
	StringToBytesMap     map[string][]byte         `` /* 167-byte string literal not displayed */
	StringToEnumMap      map[string]MapEnum        `` /* 189-byte string literal not displayed */
	StringToMsgMap       map[string]*FloatingPoint `` /* 156-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 randyTheproto3, easy bool) *AllMapsOrdered

func (*AllMapsOrdered) Description

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

func (m *AllMapsOrdered) Unmarshal(dAtA []byte) error

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 (dst *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_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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewContainsNestedMapFromFace

func NewContainsNestedMapFromFace(that ContainsNestedMapFace) *ContainsNestedMap

func NewPopulatedContainsNestedMap

func NewPopulatedContainsNestedMap(r randyTheproto3, easy bool) *ContainsNestedMap

func (*ContainsNestedMap) Description

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 (*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 (*ContainsNestedMap) Unmarshal

func (m *ContainsNestedMap) Unmarshal(dAtA []byte) error

func (*ContainsNestedMap) VerboseEqual

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

func (*ContainsNestedMap) XXX_DiscardUnknown

func (m *ContainsNestedMap) XXX_DiscardUnknown()

func (*ContainsNestedMap) XXX_Marshal

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

func (*ContainsNestedMap) XXX_Merge

func (dst *ContainsNestedMap) XXX_Merge(src proto.Message)

func (*ContainsNestedMap) XXX_Size

func (m *ContainsNestedMap) XXX_Size() int

func (*ContainsNestedMap) XXX_Unmarshal

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

type ContainsNestedMapFace

type ContainsNestedMapFace interface {
	Proto() github_com_gogo_protobuf_proto.Message
}

type ContainsNestedMap_NestedMap

type ContainsNestedMap_NestedMap struct {
	NestedMapField       map[string]float64 `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func NewPopulatedContainsNestedMap_NestedMap

func NewPopulatedContainsNestedMap_NestedMap(r randyTheproto3, easy bool) *ContainsNestedMap_NestedMap

func (*ContainsNestedMap_NestedMap) Description

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 (*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 (*ContainsNestedMap_NestedMap) Unmarshal

func (m *ContainsNestedMap_NestedMap) Unmarshal(dAtA []byte) error

func (*ContainsNestedMap_NestedMap) VerboseEqual

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

func (*ContainsNestedMap_NestedMap) XXX_DiscardUnknown

func (m *ContainsNestedMap_NestedMap) XXX_DiscardUnknown()

func (*ContainsNestedMap_NestedMap) XXX_Marshal

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

func (*ContainsNestedMap_NestedMap) XXX_Merge

func (dst *ContainsNestedMap_NestedMap) XXX_Merge(src proto.Message)

func (*ContainsNestedMap_NestedMap) XXX_Size

func (m *ContainsNestedMap_NestedMap) XXX_Size() int

func (*ContainsNestedMap_NestedMap) XXX_Unmarshal

func (m *ContainsNestedMap_NestedMap) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewFloatingPointFromFace

func NewFloatingPointFromFace(that FloatingPointFace) *FloatingPoint

func NewPopulatedFloatingPoint

func NewPopulatedFloatingPoint(r randyTheproto3, easy bool) *FloatingPoint

func (*FloatingPoint) Description

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

func (m *FloatingPoint) Unmarshal(dAtA []byte) error

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 (dst *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_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          `` /* 143-byte string literal not displayed */
	Proto2Field          *both.NinOptNative         `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field" json:"proto2_field,omitempty"`
	Proto2Value          map[int64]*both.NinOptEnum `` /* 170-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func NewMessageFromFace

func NewMessageFromFace(that MessageFace) *Message

func NewPopulatedMessage

func NewPopulatedMessage(r randyTheproto3, easy bool) *Message

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() *both.NinOptNative

func (*Message) GetProto2Value

func (this *Message) GetProto2Value() map[int64]*both.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 (*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 (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) VerboseEqual

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

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

func (dst *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) 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() *both.NinOptNative
	GetProto2Value() map[int64]*both.NinOptEnum
}

type MessageWithMap

type MessageWithMap struct {
	NameMapping          map[int32]string         `` /* 176-byte string literal not displayed */
	MsgMapping           map[int64]*FloatingPoint `` /* 168-byte string literal not displayed */
	ByteMapping          map[bool][]byte          `` /* 176-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func NewMessageWithMapFromFace

func NewMessageWithMapFromFace(that MessageWithMapFace) *MessageWithMap

func NewPopulatedMessageWithMap

func NewPopulatedMessageWithMap(r randyTheproto3, easy bool) *MessageWithMap

func (*MessageWithMap) Description

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 (*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 (*MessageWithMap) Unmarshal

func (m *MessageWithMap) Unmarshal(dAtA []byte) error

func (*MessageWithMap) VerboseEqual

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

func (*MessageWithMap) XXX_DiscardUnknown

func (m *MessageWithMap) XXX_DiscardUnknown()

func (*MessageWithMap) XXX_Marshal

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

func (*MessageWithMap) XXX_Merge

func (dst *MessageWithMap) XXX_Merge(src proto.Message)

func (*MessageWithMap) XXX_Size

func (m *MessageWithMap) XXX_Size() int

func (*MessageWithMap) XXX_Unmarshal

func (m *MessageWithMap) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewNestedFromFace

func NewNestedFromFace(that NestedFace) *Nested

func NewPopulatedNested

func NewPopulatedNested(r randyTheproto3, easy bool) *Nested

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 (*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

func (*Nested) XXX_DiscardUnknown

func (m *Nested) XXX_DiscardUnknown()

func (*Nested) XXX_Marshal

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

func (*Nested) XXX_Merge

func (dst *Nested) XXX_Merge(src proto.Message)

func (*Nested) XXX_Size

func (m *Nested) XXX_Size() int

func (*Nested) XXX_Unmarshal

func (m *Nested) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewNotPackedFromFace

func NewNotPackedFromFace(that NotPackedFace) *NotPacked

func NewPopulatedNotPacked

func NewPopulatedNotPacked(r randyTheproto3, easy bool) *NotPacked

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 (*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 (*NotPacked) Unmarshal

func (m *NotPacked) Unmarshal(dAtA []byte) error

func (*NotPacked) VerboseEqual

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

func (*NotPacked) XXX_DiscardUnknown

func (m *NotPacked) XXX_DiscardUnknown()

func (*NotPacked) XXX_Marshal

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

func (*NotPacked) XXX_Merge

func (dst *NotPacked) XXX_Merge(src proto.Message)

func (*NotPacked) XXX_Size

func (m *NotPacked) XXX_Size() int

func (*NotPacked) XXX_Unmarshal

func (m *NotPacked) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func NewPopulatedUint128Pair

func NewPopulatedUint128Pair(r randyTheproto3, easy bool) *Uint128Pair

func NewUint128PairFromFace

func NewUint128PairFromFace(that Uint128PairFace) *Uint128Pair

func (*Uint128Pair) Descriptor

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

func (*Uint128Pair) Equal

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

func (*Uint128Pair) GetLeft

func (*Uint128Pair) GetRight

func (*Uint128Pair) GoString

func (this *Uint128Pair) GoString() string

func (*Uint128Pair) Proto

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 (*Uint128Pair) Unmarshal

func (m *Uint128Pair) Unmarshal(dAtA []byte) error

func (*Uint128Pair) VerboseEqual

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

func (*Uint128Pair) XXX_DiscardUnknown

func (m *Uint128Pair) XXX_DiscardUnknown()

func (*Uint128Pair) XXX_Marshal

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

func (*Uint128Pair) XXX_Merge

func (dst *Uint128Pair) XXX_Merge(src proto.Message)

func (*Uint128Pair) XXX_Size

func (m *Uint128Pair) XXX_Size() int

func (*Uint128Pair) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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