pathenum

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 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 MessageWithNestedPathEnum

type MessageWithNestedPathEnum struct {
	Value MessagePathEnum_NestedPathEnum `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageWithNestedPathEnum) Descriptor deprecated

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

Deprecated: Use MessageWithNestedPathEnum.ProtoReflect.Descriptor instead.

func (*MessageWithNestedPathEnum) GetValue

func (*MessageWithNestedPathEnum) ProtoMessage

func (*MessageWithNestedPathEnum) ProtoMessage()

func (*MessageWithNestedPathEnum) ProtoReflect

func (*MessageWithNestedPathEnum) Reset

func (x *MessageWithNestedPathEnum) Reset()

func (*MessageWithNestedPathEnum) String

func (x *MessageWithNestedPathEnum) String() string

type MessageWithPathEnum

type MessageWithPathEnum struct {
	Value PathEnum `protobuf:"varint,1,opt,name=value,proto3,enum=grpc.gateway.examples.internal.pathenum.PathEnum" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithPathEnum) Descriptor deprecated

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

Deprecated: Use MessageWithPathEnum.ProtoReflect.Descriptor instead.

func (*MessageWithPathEnum) GetValue

func (x *MessageWithPathEnum) GetValue() PathEnum

func (*MessageWithPathEnum) ProtoMessage

func (*MessageWithPathEnum) ProtoMessage()

func (*MessageWithPathEnum) ProtoReflect

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

func (*MessageWithPathEnum) Reset

func (x *MessageWithPathEnum) Reset()

func (*MessageWithPathEnum) String

func (x *MessageWithPathEnum) String() string

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