multitest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package multitest 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

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"`
}

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

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"`
}

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

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"`
}

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

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