pathenum

package
v2.0.0-beta.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PathEnum_name = map[int32]string{
		0: "ABC",
		1: "DEF",
	}
	PathEnum_value = map[string]int32{
		"ABC": 0,
		"DEF": 1,
	}
)

Enum value maps for PathEnum.

View Source
var (
	MessagePathEnum_NestedPathEnum_name = map[int32]string{
		0: "GHI",
		1: "JKL",
	}
	MessagePathEnum_NestedPathEnum_value = map[string]int32{
		"GHI": 0,
		"JKL": 1,
	}
)

Enum value maps for MessagePathEnum_NestedPathEnum.

View Source
var File_examples_internal_proto_pathenum_path_enum_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MessagePathEnum

type MessagePathEnum struct {
	// contains filtered or unexported fields
}

func (*MessagePathEnum) Descriptor deprecated

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

Deprecated: Use MessagePathEnum.ProtoReflect.Descriptor instead.

func (*MessagePathEnum) ProtoMessage

func (*MessagePathEnum) ProtoMessage()

func (*MessagePathEnum) ProtoReflect

func (x *MessagePathEnum) ProtoReflect() protoreflect.Message

func (*MessagePathEnum) Reset

func (x *MessagePathEnum) Reset()

func (*MessagePathEnum) String

func (x *MessagePathEnum) String() string

type MessagePathEnum_NestedPathEnum

type MessagePathEnum_NestedPathEnum int32
const (
	MessagePathEnum_GHI MessagePathEnum_NestedPathEnum = 0
	MessagePathEnum_JKL MessagePathEnum_NestedPathEnum = 1
)

func (MessagePathEnum_NestedPathEnum) Descriptor

func (MessagePathEnum_NestedPathEnum) Enum

func (MessagePathEnum_NestedPathEnum) EnumDescriptor deprecated

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

Deprecated: Use MessagePathEnum_NestedPathEnum.Descriptor instead.

func (MessagePathEnum_NestedPathEnum) Number

func (MessagePathEnum_NestedPathEnum) String

func (MessagePathEnum_NestedPathEnum) Type

type PathEnum

type PathEnum int32
const (
	PathEnum_ABC PathEnum = 0
	PathEnum_DEF PathEnum = 1
)

func (PathEnum) Descriptor

func (PathEnum) Descriptor() protoreflect.EnumDescriptor

func (PathEnum) Enum

func (x PathEnum) Enum() *PathEnum

func (PathEnum) EnumDescriptor deprecated

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

Deprecated: Use PathEnum.Descriptor instead.

func (PathEnum) Number

func (x PathEnum) Number() protoreflect.EnumNumber

func (PathEnum) String

func (x PathEnum) String() string

func (PathEnum) Type

Jump to

Keyboard shortcuts

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