Documentation ¶
Overview ¶
Package multi is a generated protocol buffer package.
It is generated from these files:
multi/multi1.proto multi/multi2.proto multi/multi3.proto
It has these top-level messages:
Multi1 Multi2 Multi3
Index ¶
- Variables
- type Multi1
- func (m *Multi1) GetColor() (x Multi2_Color)
- func (m *Multi1) GetHatType() (x Multi3_HatType)
- func (m *Multi1) GetMulti2() (x *Multi2)
- func (m *Multi1) Marshal() []byte
- func (m *Multi1) MarshalToWriter(writer jspb.Writer)
- func (m *Multi1) Unmarshal(rawBytes []byte) (*Multi1, error)
- func (m *Multi1) UnmarshalFromReader(reader jspb.Reader) *Multi1
- type Multi2
- func (m *Multi2) GetColor() (x Multi2_Color)
- func (m *Multi2) GetRequiredValue() (x int32)
- func (m *Multi2) Marshal() []byte
- func (m *Multi2) MarshalToWriter(writer jspb.Writer)
- func (m *Multi2) Unmarshal(rawBytes []byte) (*Multi2, error)
- func (m *Multi2) UnmarshalFromReader(reader jspb.Reader) *Multi2
- type Multi2_Color
- type Multi3
- type Multi3_HatType
Constants ¶
This section is empty.
Variables ¶
View Source
var Multi2_Color_name = map[int]string{
0: "BLUE",
1: "GREEN",
2: "RED",
}
View Source
var Multi2_Color_value = map[string]int{
"BLUE": 0,
"GREEN": 1,
"RED": 2,
}
View Source
var Multi3_HatType_name = map[int]string{
0: "FEDORA",
1: "FEZ",
}
View Source
var Multi3_HatType_value = map[string]int{
"FEDORA": 0,
"FEZ": 1,
}
Functions ¶
This section is empty.
Types ¶
type Multi1 ¶
type Multi1 struct { Multi2 *Multi2 Color Multi2_Color HatType Multi3_HatType }
func (*Multi1) GetColor ¶
func (m *Multi1) GetColor() (x Multi2_Color)
GetColor gets the Color of the Multi1.
func (*Multi1) GetHatType ¶
func (m *Multi1) GetHatType() (x Multi3_HatType)
GetHatType gets the HatType of the Multi1.
func (*Multi1) MarshalToWriter ¶
MarshalToWriter marshals Multi1 to the provided writer.
type Multi2 ¶
type Multi2 struct { RequiredValue int32 Color Multi2_Color }
func (*Multi2) GetColor ¶
func (m *Multi2) GetColor() (x Multi2_Color)
GetColor gets the Color of the Multi2.
func (*Multi2) GetRequiredValue ¶
GetRequiredValue gets the RequiredValue of the Multi2.
func (*Multi2) MarshalToWriter ¶
MarshalToWriter marshals Multi2 to the provided writer.
type Multi2_Color ¶
type Multi2_Color int
const ( Multi2_BLUE Multi2_Color = 0 Multi2_GREEN Multi2_Color = 1 Multi2_RED Multi2_Color = 2 )
func (Multi2_Color) String ¶
func (x Multi2_Color) String() string
type Multi3 ¶
type Multi3 struct {
HatType Multi3_HatType
}
func (*Multi3) GetHatType ¶
func (m *Multi3) GetHatType() (x Multi3_HatType)
GetHatType gets the HatType of the Multi3.
func (*Multi3) MarshalToWriter ¶
MarshalToWriter marshals Multi3 to the provided writer.
type Multi3_HatType ¶
type Multi3_HatType int
const ( Multi3_FEDORA Multi3_HatType = 0 Multi3_FEZ Multi3_HatType = 1 )
func (Multi3_HatType) String ¶
func (x Multi3_HatType) String() string
Click to show internal directories.
Click to hide internal directories.