proto3_proto

package
v0.0.0-...-32bf588 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

This section is empty.

Types

type IntMap

type IntMap struct {
	Rtt                  map[int32]int32 `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*IntMap) Descriptor

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

func (*IntMap) GetRtt

func (m *IntMap) GetRtt() map[int32]int32

func (*IntMap) ProtoMessage

func (*IntMap) ProtoMessage()

func (*IntMap) Reset

func (m *IntMap) Reset()

func (*IntMap) String

func (m *IntMap) String() string

func (*IntMap) XXX_DiscardUnknown

func (m *IntMap) XXX_DiscardUnknown()

func (*IntMap) XXX_Marshal

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

func (*IntMap) XXX_Merge

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

func (*IntMap) XXX_Size

func (m *IntMap) XXX_Size() int

func (*IntMap) XXX_Unmarshal

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

type IntMaps

type IntMaps struct {
	Maps                 []*IntMap `protobuf:"bytes,1,rep,name=maps" json:"maps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*IntMaps) Descriptor

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

func (*IntMaps) GetMaps

func (m *IntMaps) GetMaps() []*IntMap

func (*IntMaps) ProtoMessage

func (*IntMaps) ProtoMessage()

func (*IntMaps) Reset

func (m *IntMaps) Reset()

func (*IntMaps) String

func (m *IntMaps) String() string

func (*IntMaps) XXX_DiscardUnknown

func (m *IntMaps) XXX_DiscardUnknown()

func (*IntMaps) XXX_Marshal

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

func (*IntMaps) XXX_Merge

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

func (*IntMaps) XXX_Size

func (m *IntMaps) XXX_Size() int

func (*IntMaps) XXX_Unmarshal

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

type Message

type Message struct {
	Name                 string                             `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Hilarity             Message_Humour                     `protobuf:"varint,2,opt,name=hilarity,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"`
	HeightInCm           uint32                             `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm" 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" json:"result_count,omitempty"`
	TrueScotsman         bool                               `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman" json:"true_scotsman,omitempty"`
	Score                float32                            `protobuf:"fixed32,9,opt,name=score" json:"score,omitempty"`
	Key                  []uint64                           `protobuf:"varint,5,rep,packed,name=key" json:"key,omitempty"`
	ShortKey             []int32                            `protobuf:"varint,19,rep,packed,name=short_key,json=shortKey" json:"short_key,omitempty"`
	Nested               *Nested                            `protobuf:"bytes,6,opt,name=nested" json:"nested,omitempty"`
	RFunny               []Message_Humour                   `protobuf:"varint,16,rep,packed,name=r_funny,json=rFunny,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"`
	Terrain              map[string]*Nested                 `` /* 135-byte string literal not displayed */
	Proto2Field          *test_proto.SubDefaults            `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field" json:"proto2_field,omitempty"`
	Proto2Value          map[string]*test_proto.SubDefaults `` /* 162-byte string literal not displayed */
	Anything             *any.Any                           `protobuf:"bytes,14,opt,name=anything" json:"anything,omitempty"`
	ManyThings           []*any.Any                         `protobuf:"bytes,15,rep,name=many_things,json=manyThings" json:"many_things,omitempty"`
	Submessage           *Message                           `protobuf:"bytes,17,opt,name=submessage" json:"submessage,omitempty"`
	Children             []*Message                         `protobuf:"bytes,18,rep,name=children" json:"children,omitempty"`
	StringMap            map[string]string                  `` /* 156-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) GetAnything

func (m *Message) GetAnything() *any.Any

func (*Message) GetChildren

func (m *Message) GetChildren() []*Message

func (*Message) GetData

func (m *Message) GetData() []byte

func (*Message) GetHeightInCm

func (m *Message) GetHeightInCm() uint32

func (*Message) GetHilarity

func (m *Message) GetHilarity() Message_Humour

func (*Message) GetKey

func (m *Message) GetKey() []uint64

func (*Message) GetManyThings

func (m *Message) GetManyThings() []*any.Any

func (*Message) GetName

func (m *Message) GetName() string

func (*Message) GetNested

func (m *Message) GetNested() *Nested

func (*Message) GetProto2Field

func (m *Message) GetProto2Field() *test_proto.SubDefaults

func (*Message) GetProto2Value

func (m *Message) GetProto2Value() map[string]*test_proto.SubDefaults

func (*Message) GetRFunny

func (m *Message) GetRFunny() []Message_Humour

func (*Message) GetResultCount

func (m *Message) GetResultCount() int64

func (*Message) GetScore

func (m *Message) GetScore() float32

func (*Message) GetShortKey

func (m *Message) GetShortKey() []int32

func (*Message) GetStringMap

func (m *Message) GetStringMap() map[string]string

func (*Message) GetSubmessage

func (m *Message) GetSubmessage() *Message

func (*Message) GetTerrain

func (m *Message) GetTerrain() map[string]*Nested

func (*Message) GetTrueScotsman

func (m *Message) GetTrueScotsman() bool

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

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 MessageWithMap

type MessageWithMap struct {
	ByteMapping          map[bool][]byte `` /* 169-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*MessageWithMap) Descriptor

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

func (*MessageWithMap) GetByteMapping

func (m *MessageWithMap) GetByteMapping() map[bool][]byte

func (*MessageWithMap) ProtoMessage

func (*MessageWithMap) ProtoMessage()

func (*MessageWithMap) Reset

func (m *MessageWithMap) Reset()

func (*MessageWithMap) String

func (m *MessageWithMap) String() string

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 Message_Humour

type Message_Humour int32
const (
	Message_UNKNOWN     Message_Humour = 0
	Message_PUNS        Message_Humour = 1
	Message_SLAPSTICK   Message_Humour = 2
	Message_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" json:"bunny,omitempty"`
	Cute                 bool     `protobuf:"varint,2,opt,name=cute" json:"cute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Nested) Descriptor

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

func (*Nested) GetBunny

func (m *Nested) GetBunny() string

func (*Nested) GetCute

func (m *Nested) GetCute() bool

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) Reset

func (m *Nested) Reset()

func (*Nested) String

func (m *Nested) String() string

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

Jump to

Keyboard shortcuts

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