multi

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Multi2_Color_name = map[int32]string{
	0: "BLUE",
	1: "GREEN",
	2: "RED",
}
View Source
var Multi2_Color_value = map[string]int32{
	"BLUE":  0,
	"GREEN": 1,
	"RED":   2,
}
View Source
var Multi3_HatType_name = map[int32]string{
	0: "FEDORA",
	1: "FEZ",
}
View Source
var Multi3_HatType_value = map[string]int32{
	"FEDORA": 0,
	"FEZ":    1,
}

Functions

This section is empty.

Types

type Multi1

type Multi1 struct {
	Multi2               *Multi2        `protobuf:"bytes,1,opt,name=multi2" json:"multi2,omitempty"`
	Color                Multi2_Color   `protobuf:"varint,2,opt,name=color,enum=multitest.Multi2_Color" json:"color,omitempty"`
	HatType              Multi3_HatType `protobuf:"varint,3,opt,name=hat_type,json=hatType,enum=multitest.Multi3_HatType" json:"hat_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Multi1) Descriptor

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

func (*Multi1) GetColor

func (m *Multi1) GetColor() Multi2_Color

func (*Multi1) GetHatType

func (m *Multi1) GetHatType() Multi3_HatType

func (*Multi1) GetMulti2

func (m *Multi1) GetMulti2() *Multi2

func (*Multi1) ProtoMessage

func (*Multi1) ProtoMessage()

func (*Multi1) Reset

func (m *Multi1) Reset()

func (*Multi1) String

func (m *Multi1) String() string

func (*Multi1) XXX_DiscardUnknown added in v0.7.1

func (m *Multi1) XXX_DiscardUnknown()

func (*Multi1) XXX_Marshal added in v0.7.1

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

func (*Multi1) XXX_Merge added in v0.7.1

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

func (*Multi1) XXX_Size added in v0.7.1

func (m *Multi1) XXX_Size() int

func (*Multi1) XXX_Unmarshal added in v0.7.1

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

type Multi2

type Multi2 struct {
	RequiredValue        int32        `protobuf:"varint,1,opt,name=required_value,json=requiredValue" json:"required_value,omitempty"`
	Color                Multi2_Color `protobuf:"varint,2,opt,name=color,enum=multitest.Multi2_Color" json:"color,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Multi2) Descriptor

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

func (*Multi2) GetColor

func (m *Multi2) GetColor() Multi2_Color

func (*Multi2) GetRequiredValue

func (m *Multi2) GetRequiredValue() int32

func (*Multi2) ProtoMessage

func (*Multi2) ProtoMessage()

func (*Multi2) Reset

func (m *Multi2) Reset()

func (*Multi2) String

func (m *Multi2) String() string

func (*Multi2) XXX_DiscardUnknown added in v0.7.1

func (m *Multi2) XXX_DiscardUnknown()

func (*Multi2) XXX_Marshal added in v0.7.1

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

func (*Multi2) XXX_Merge added in v0.7.1

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

func (*Multi2) XXX_Size added in v0.7.1

func (m *Multi2) XXX_Size() int

func (*Multi2) XXX_Unmarshal added in v0.7.1

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

type Multi2_Color

type Multi2_Color int32
const (
	Multi2_BLUE  Multi2_Color = 0
	Multi2_GREEN Multi2_Color = 1
	Multi2_RED   Multi2_Color = 2
)

func (Multi2_Color) EnumDescriptor

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

func (Multi2_Color) String

func (x Multi2_Color) String() string

type Multi3

type Multi3 struct {
	HatType              Multi3_HatType `protobuf:"varint,1,opt,name=hat_type,json=hatType,enum=multitest.Multi3_HatType" json:"hat_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Multi3) Descriptor

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

func (*Multi3) GetHatType

func (m *Multi3) GetHatType() Multi3_HatType

func (*Multi3) ProtoMessage

func (*Multi3) ProtoMessage()

func (*Multi3) Reset

func (m *Multi3) Reset()

func (*Multi3) String

func (m *Multi3) String() string

func (*Multi3) XXX_DiscardUnknown added in v0.7.1

func (m *Multi3) XXX_DiscardUnknown()

func (*Multi3) XXX_Marshal added in v0.7.1

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

func (*Multi3) XXX_Merge added in v0.7.1

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

func (*Multi3) XXX_Size added in v0.7.1

func (m *Multi3) XXX_Size() int

func (*Multi3) XXX_Unmarshal added in v0.7.1

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

type Multi3_HatType

type Multi3_HatType int32
const (
	Multi3_FEDORA Multi3_HatType = 0
	Multi3_FEZ    Multi3_HatType = 1
)

func (Multi3_HatType) EnumDescriptor

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

func (Multi3_HatType) String

func (x Multi3_HatType) String() string

Jump to

Keyboard shortcuts

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