example_shared

package
v0.0.0-...-bb29ebc Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InType_name = map[int32]string{
	0: "ANY",
	1: "Test",
}
View Source
var InType_value = map[string]int32{
	"ANY":  0,
	"Test": 1,
}

Functions

This section is empty.

Types

type InType

type InType int32
const (
	InType_ANY  InType = 0
	InType_Test InType = 1
)

func (InType) EnumDescriptor

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

func (InType) String

func (x InType) String() string

type InnerInnerMessage

type InnerInnerMessage struct {
	// some_integer can only be in range (1, 100).
	Test                 InType   `protobuf:"varint,1,opt,name=test,proto3,enum=example_shared.InType" json:"test,omitempty"`
	TestArray            []InType `protobuf:"varint,2,rep,packed,name=test_array,json=testArray,proto3,enum=example_shared.InType" json:"test_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InnerInnerMessage) Descriptor

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

func (*InnerInnerMessage) GetTest

func (m *InnerInnerMessage) GetTest() InType

func (*InnerInnerMessage) GetTestArray

func (m *InnerInnerMessage) GetTestArray() []InType

func (*InnerInnerMessage) ProtoMessage

func (*InnerInnerMessage) ProtoMessage()

func (*InnerInnerMessage) Reset

func (m *InnerInnerMessage) Reset()

func (*InnerInnerMessage) String

func (m *InnerInnerMessage) String() string

func (*InnerInnerMessage) Validate

func (this *InnerInnerMessage) Validate() error

func (*InnerInnerMessage) XXX_DiscardUnknown

func (m *InnerInnerMessage) XXX_DiscardUnknown()

func (*InnerInnerMessage) XXX_Marshal

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

func (*InnerInnerMessage) XXX_Merge

func (m *InnerInnerMessage) XXX_Merge(src proto.Message)

func (*InnerInnerMessage) XXX_Size

func (m *InnerInnerMessage) XXX_Size() int

func (*InnerInnerMessage) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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