Documentation ¶
Index ¶
- Variables
- func EnumAllName() []string
- func EnumAllValue() []int32
- func EnumParent2_EnumAllName() []string
- func EnumParent2_EnumAllValue() []int32
- func EnumParent3_EnumAllName() []string
- func EnumParent3_EnumAllValue() []int32
- func EnumParent_EnumChildAllName() []string
- func EnumParent_EnumChildAllValue() []int32
- type Enum
- func (Enum) Descriptor() protoreflect.EnumDescriptor
- func (x Enum) Enum() *Enum
- func (Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x Enum) Int() int
- func (x Enum) Int32() int32
- func (x Enum) Int64() int64
- func (x Enum) Number() protoreflect.EnumNumber
- func (x Enum) String() string
- func (Enum) Type() protoreflect.EnumType
- func (x Enum) UInt() uint
- func (x Enum) UInt32() uint32
- func (x Enum) UInt64() uint64
- type EnumParent
- type EnumParent2
- type EnumParent2_Enum
- func EnumParent2_EnumAll() []EnumParent2_Enum
- func EnumParent2_EnumFrom[T constraints.Integer | constraints.Float](s T) EnumParent2_Enum
- func EnumParent2_EnumFromStr(s string) EnumParent2_Enum
- func EnumParent2_EnumFromValid[T constraints.Integer | constraints.Float](s T) (EnumParent2_Enum, bool)
- func EnumParent2_EnumFromValidStr(s string) (EnumParent2_Enum, bool)
- func (EnumParent2_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x EnumParent2_Enum) Enum() *EnumParent2_Enum
- func (EnumParent2_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumParent2_Enum) Int() int
- func (x EnumParent2_Enum) Int32() int32
- func (x EnumParent2_Enum) Int64() int64
- func (x EnumParent2_Enum) Number() protoreflect.EnumNumber
- func (x EnumParent2_Enum) String() string
- func (EnumParent2_Enum) Type() protoreflect.EnumType
- func (x EnumParent2_Enum) UInt() uint
- func (x EnumParent2_Enum) UInt32() uint32
- func (x EnumParent2_Enum) UInt64() uint64
- type EnumParent3
- type EnumParent3_Enum
- func EnumParent3_EnumAll() []EnumParent3_Enum
- func EnumParent3_EnumFrom[T constraints.Integer | constraints.Float](s T) EnumParent3_Enum
- func EnumParent3_EnumFromStr(s string) EnumParent3_Enum
- func EnumParent3_EnumFromValid[T constraints.Integer | constraints.Float](s T) (EnumParent3_Enum, bool)
- func EnumParent3_EnumFromValidStr(s string) (EnumParent3_Enum, bool)
- func (EnumParent3_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x EnumParent3_Enum) Enum() *EnumParent3_Enum
- func (EnumParent3_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumParent3_Enum) Int() int
- func (x EnumParent3_Enum) Int32() int32
- func (x EnumParent3_Enum) Int64() int64
- func (x EnumParent3_Enum) Number() protoreflect.EnumNumber
- func (x EnumParent3_Enum) String() string
- func (EnumParent3_Enum) Type() protoreflect.EnumType
- func (x EnumParent3_Enum) UInt() uint
- func (x EnumParent3_Enum) UInt32() uint32
- func (x EnumParent3_Enum) UInt64() uint64
- type EnumParent_EnumChild
- func EnumParent_EnumChildAll() []EnumParent_EnumChild
- func EnumParent_EnumChildFrom[T constraints.Integer | constraints.Float](s T) EnumParent_EnumChild
- func EnumParent_EnumChildFromStr(s string) EnumParent_EnumChild
- func EnumParent_EnumChildFromValid[T constraints.Integer | constraints.Float](s T) (EnumParent_EnumChild, bool)
- func EnumParent_EnumChildFromValidStr(s string) (EnumParent_EnumChild, bool)
- func (EnumParent_EnumChild) Descriptor() protoreflect.EnumDescriptor
- func (x EnumParent_EnumChild) Enum() *EnumParent_EnumChild
- func (EnumParent_EnumChild) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumParent_EnumChild) Int() int
- func (x EnumParent_EnumChild) Int32() int32
- func (x EnumParent_EnumChild) Int64() int64
- func (x EnumParent_EnumChild) Number() protoreflect.EnumNumber
- func (x EnumParent_EnumChild) String() string
- func (EnumParent_EnumChild) Type() protoreflect.EnumType
- func (x EnumParent_EnumChild) UInt() uint
- func (x EnumParent_EnumChild) UInt32() uint32
- func (x EnumParent_EnumChild) UInt64() uint64
- type Message
Constants ¶
This section is empty.
Variables ¶
var ( Enum_name = map[int32]string{ 0: "A", 1: "B", 2: "C", } Enum_value = map[string]int32{ "A": 0, "B": 1, "C": 2, } )
Enum value maps for Enum.
var ( EnumParent_EnumChild_name = map[int32]string{ 0: "D", 1: "E", 2: "F", } EnumParent_EnumChild_value = map[string]int32{ "D": 0, "E": 1, "F": 2, } )
Enum value maps for EnumParent_EnumChild.
var ( EnumParent2_Enum_name = map[int32]string{ 0: "G", 1: "H", 2: "I", } EnumParent2_Enum_value = map[string]int32{ "G": 0, "H": 1, "I": 2, } )
Enum value maps for EnumParent2_Enum.
var ( EnumParent3_Enum_name = map[int32]string{ 0: "J", 1: "K", 2: "L", } EnumParent3_Enum_value = map[string]int32{ "J": 0, "K": 1, "L": 2, } )
Enum value maps for EnumParent3_Enum.
var File_e2e_proto protoreflect.FileDescriptor
Functions ¶
func EnumAllValue ¶
func EnumAllValue() []int32
EnumAllValue returns all the values of the Enum enum.
func EnumParent2_EnumAllName ¶
func EnumParent2_EnumAllName() []string
EnumParent2_EnumAllName returns all the names of the EnumParent2_Enum enum.
func EnumParent2_EnumAllValue ¶
func EnumParent2_EnumAllValue() []int32
EnumParent2_EnumAllValue returns all the values of the EnumParent2_Enum enum.
func EnumParent3_EnumAllName ¶
func EnumParent3_EnumAllName() []string
EnumParent3_EnumAllName returns all the names of the EnumParent3_Enum enum.
func EnumParent3_EnumAllValue ¶
func EnumParent3_EnumAllValue() []int32
EnumParent3_EnumAllValue returns all the values of the EnumParent3_Enum enum.
func EnumParent_EnumChildAllName ¶
func EnumParent_EnumChildAllName() []string
EnumParent_EnumChildAllName returns all the names of the EnumParent_EnumChild enum.
func EnumParent_EnumChildAllValue ¶
func EnumParent_EnumChildAllValue() []int32
EnumParent_EnumChildAllValue returns all the values of the EnumParent_EnumChild enum.
Types ¶
type Enum ¶
type Enum int32
func EnumFrom ¶
func EnumFrom[T constraints.Integer | constraints.Float](s T) Enum
EnumFrom returns the Enum for the given integers, or the zero value if not found.
func EnumFromStr ¶
EnumFromStr returns the Enum for the given string, or the zero value if not found.
func EnumFromValid ¶
func EnumFromValid[T constraints.Integer | constraints.Float](s T) (Enum, bool)
EnumFromValid is like EnumFrom, but returns an extra boolean value to check if the conversion is valid.
func EnumFromValidStr ¶
EnumFromValidStr is like EnumFromStr, but returns an extra boolean value to check if the conversion is valid.
func (Enum) Descriptor ¶
func (Enum) Descriptor() protoreflect.EnumDescriptor
func (Enum) EnumDescriptor
deprecated
func (Enum) Number ¶
func (x Enum) Number() protoreflect.EnumNumber
func (Enum) Type ¶
func (Enum) Type() protoreflect.EnumType
type EnumParent ¶
type EnumParent struct { Enum EnumParent_EnumChild `protobuf:"varint,1,opt,name=enum,proto3,enum=e2e.EnumParent_EnumChild" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*EnumParent) Descriptor
deprecated
func (*EnumParent) Descriptor() ([]byte, []int)
Deprecated: Use EnumParent.ProtoReflect.Descriptor instead.
func (*EnumParent) GetEnum ¶
func (x *EnumParent) GetEnum() EnumParent_EnumChild
func (*EnumParent) ProtoMessage ¶
func (*EnumParent) ProtoMessage()
func (*EnumParent) ProtoReflect ¶
func (x *EnumParent) ProtoReflect() protoreflect.Message
func (*EnumParent) Reset ¶
func (x *EnumParent) Reset()
func (*EnumParent) String ¶
func (x *EnumParent) String() string
type EnumParent2 ¶
type EnumParent2 struct { Enum EnumParent2_Enum `protobuf:"varint,1,opt,name=enum,proto3,enum=e2e.EnumParent2_Enum" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*EnumParent2) Descriptor
deprecated
func (*EnumParent2) Descriptor() ([]byte, []int)
Deprecated: Use EnumParent2.ProtoReflect.Descriptor instead.
func (*EnumParent2) GetEnum ¶
func (x *EnumParent2) GetEnum() EnumParent2_Enum
func (*EnumParent2) ProtoMessage ¶
func (*EnumParent2) ProtoMessage()
func (*EnumParent2) ProtoReflect ¶
func (x *EnumParent2) ProtoReflect() protoreflect.Message
func (*EnumParent2) Reset ¶
func (x *EnumParent2) Reset()
func (*EnumParent2) String ¶
func (x *EnumParent2) String() string
type EnumParent2_Enum ¶
type EnumParent2_Enum int32
const ( EnumParent2_G EnumParent2_Enum = 0 EnumParent2_H EnumParent2_Enum = 1 EnumParent2_I EnumParent2_Enum = 2 )
func EnumParent2_EnumAll ¶
func EnumParent2_EnumAll() []EnumParent2_Enum
EnumParent2_EnumAll returns all the values of the EnumParent2_Enum enum.
func EnumParent2_EnumFrom ¶
func EnumParent2_EnumFrom[T constraints.Integer | constraints.Float](s T) EnumParent2_Enum
EnumParent2_EnumFrom returns the EnumParent2_Enum for the given integers, or the zero value if not found.
func EnumParent2_EnumFromStr ¶
func EnumParent2_EnumFromStr(s string) EnumParent2_Enum
EnumParent2_EnumFromStr returns the EnumParent2_Enum for the given string, or the zero value if not found.
func EnumParent2_EnumFromValid ¶
func EnumParent2_EnumFromValid[T constraints.Integer | constraints.Float](s T) (EnumParent2_Enum, bool)
EnumParent2_EnumFromValid is like EnumParent2_EnumFrom, but returns an extra boolean value to check if the conversion is valid.
func EnumParent2_EnumFromValidStr ¶
func EnumParent2_EnumFromValidStr(s string) (EnumParent2_Enum, bool)
EnumParent2_EnumFromValidStr is like EnumParent2_EnumFromStr, but returns an extra boolean value to check if the conversion is valid.
func (EnumParent2_Enum) Descriptor ¶
func (EnumParent2_Enum) Descriptor() protoreflect.EnumDescriptor
func (EnumParent2_Enum) Enum ¶
func (x EnumParent2_Enum) Enum() *EnumParent2_Enum
func (EnumParent2_Enum) EnumDescriptor
deprecated
func (EnumParent2_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumParent2_Enum.Descriptor instead.
func (EnumParent2_Enum) Int ¶
func (x EnumParent2_Enum) Int() int
func (EnumParent2_Enum) Int32 ¶
func (x EnumParent2_Enum) Int32() int32
func (EnumParent2_Enum) Int64 ¶
func (x EnumParent2_Enum) Int64() int64
func (EnumParent2_Enum) Number ¶
func (x EnumParent2_Enum) Number() protoreflect.EnumNumber
func (EnumParent2_Enum) String ¶
func (x EnumParent2_Enum) String() string
func (EnumParent2_Enum) Type ¶
func (EnumParent2_Enum) Type() protoreflect.EnumType
func (EnumParent2_Enum) UInt ¶
func (x EnumParent2_Enum) UInt() uint
func (EnumParent2_Enum) UInt32 ¶
func (x EnumParent2_Enum) UInt32() uint32
func (EnumParent2_Enum) UInt64 ¶
func (x EnumParent2_Enum) UInt64() uint64
type EnumParent3 ¶
type EnumParent3 struct { Enum *EnumParent3_Enum `protobuf:"varint,1,opt,name=enum,proto3,enum=e2e.EnumParent3_Enum,oneof" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*EnumParent3) Descriptor
deprecated
func (*EnumParent3) Descriptor() ([]byte, []int)
Deprecated: Use EnumParent3.ProtoReflect.Descriptor instead.
func (*EnumParent3) GetEnum ¶
func (x *EnumParent3) GetEnum() EnumParent3_Enum
func (*EnumParent3) ProtoMessage ¶
func (*EnumParent3) ProtoMessage()
func (*EnumParent3) ProtoReflect ¶
func (x *EnumParent3) ProtoReflect() protoreflect.Message
func (*EnumParent3) Reset ¶
func (x *EnumParent3) Reset()
func (*EnumParent3) String ¶
func (x *EnumParent3) String() string
type EnumParent3_Enum ¶
type EnumParent3_Enum int32
const ( EnumParent3_J EnumParent3_Enum = 0 EnumParent3_K EnumParent3_Enum = 1 EnumParent3_L EnumParent3_Enum = 2 )
func EnumParent3_EnumAll ¶
func EnumParent3_EnumAll() []EnumParent3_Enum
EnumParent3_EnumAll returns all the values of the EnumParent3_Enum enum.
func EnumParent3_EnumFrom ¶
func EnumParent3_EnumFrom[T constraints.Integer | constraints.Float](s T) EnumParent3_Enum
EnumParent3_EnumFrom returns the EnumParent3_Enum for the given integers, or the zero value if not found.
func EnumParent3_EnumFromStr ¶
func EnumParent3_EnumFromStr(s string) EnumParent3_Enum
EnumParent3_EnumFromStr returns the EnumParent3_Enum for the given string, or the zero value if not found.
func EnumParent3_EnumFromValid ¶
func EnumParent3_EnumFromValid[T constraints.Integer | constraints.Float](s T) (EnumParent3_Enum, bool)
EnumParent3_EnumFromValid is like EnumParent3_EnumFrom, but returns an extra boolean value to check if the conversion is valid.
func EnumParent3_EnumFromValidStr ¶
func EnumParent3_EnumFromValidStr(s string) (EnumParent3_Enum, bool)
EnumParent3_EnumFromValidStr is like EnumParent3_EnumFromStr, but returns an extra boolean value to check if the conversion is valid.
func (EnumParent3_Enum) Descriptor ¶
func (EnumParent3_Enum) Descriptor() protoreflect.EnumDescriptor
func (EnumParent3_Enum) Enum ¶
func (x EnumParent3_Enum) Enum() *EnumParent3_Enum
func (EnumParent3_Enum) EnumDescriptor
deprecated
func (EnumParent3_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumParent3_Enum.Descriptor instead.
func (EnumParent3_Enum) Int ¶
func (x EnumParent3_Enum) Int() int
func (EnumParent3_Enum) Int32 ¶
func (x EnumParent3_Enum) Int32() int32
func (EnumParent3_Enum) Int64 ¶
func (x EnumParent3_Enum) Int64() int64
func (EnumParent3_Enum) Number ¶
func (x EnumParent3_Enum) Number() protoreflect.EnumNumber
func (EnumParent3_Enum) String ¶
func (x EnumParent3_Enum) String() string
func (EnumParent3_Enum) Type ¶
func (EnumParent3_Enum) Type() protoreflect.EnumType
func (EnumParent3_Enum) UInt ¶
func (x EnumParent3_Enum) UInt() uint
func (EnumParent3_Enum) UInt32 ¶
func (x EnumParent3_Enum) UInt32() uint32
func (EnumParent3_Enum) UInt64 ¶
func (x EnumParent3_Enum) UInt64() uint64
type EnumParent_EnumChild ¶
type EnumParent_EnumChild int32
const ( EnumParent_D EnumParent_EnumChild = 0 EnumParent_E EnumParent_EnumChild = 1 EnumParent_F EnumParent_EnumChild = 2 )
func EnumParent_EnumChildAll ¶
func EnumParent_EnumChildAll() []EnumParent_EnumChild
EnumParent_EnumChildAll returns all the values of the EnumParent_EnumChild enum.
func EnumParent_EnumChildFrom ¶
func EnumParent_EnumChildFrom[T constraints.Integer | constraints.Float](s T) EnumParent_EnumChild
EnumParent_EnumChildFrom returns the EnumParent_EnumChild for the given integers, or the zero value if not found.
func EnumParent_EnumChildFromStr ¶
func EnumParent_EnumChildFromStr(s string) EnumParent_EnumChild
EnumParent_EnumChildFromStr returns the EnumParent_EnumChild for the given string, or the zero value if not found.
func EnumParent_EnumChildFromValid ¶
func EnumParent_EnumChildFromValid[T constraints.Integer | constraints.Float](s T) (EnumParent_EnumChild, bool)
EnumParent_EnumChildFromValid is like EnumParent_EnumChildFrom, but returns an extra boolean value to check if the conversion is valid.
func EnumParent_EnumChildFromValidStr ¶
func EnumParent_EnumChildFromValidStr(s string) (EnumParent_EnumChild, bool)
EnumParent_EnumChildFromValidStr is like EnumParent_EnumChildFromStr, but returns an extra boolean value to check if the conversion is valid.
func (EnumParent_EnumChild) Descriptor ¶
func (EnumParent_EnumChild) Descriptor() protoreflect.EnumDescriptor
func (EnumParent_EnumChild) Enum ¶
func (x EnumParent_EnumChild) Enum() *EnumParent_EnumChild
func (EnumParent_EnumChild) EnumDescriptor
deprecated
func (EnumParent_EnumChild) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumParent_EnumChild.Descriptor instead.
func (EnumParent_EnumChild) Int ¶
func (x EnumParent_EnumChild) Int() int
func (EnumParent_EnumChild) Int32 ¶
func (x EnumParent_EnumChild) Int32() int32
func (EnumParent_EnumChild) Int64 ¶
func (x EnumParent_EnumChild) Int64() int64
func (EnumParent_EnumChild) Number ¶
func (x EnumParent_EnumChild) Number() protoreflect.EnumNumber
func (EnumParent_EnumChild) String ¶
func (x EnumParent_EnumChild) String() string
func (EnumParent_EnumChild) Type ¶
func (EnumParent_EnumChild) Type() protoreflect.EnumType
func (EnumParent_EnumChild) UInt ¶
func (x EnumParent_EnumChild) UInt() uint
func (EnumParent_EnumChild) UInt32 ¶
func (x EnumParent_EnumChild) UInt32() uint32
func (EnumParent_EnumChild) UInt64 ¶
func (x EnumParent_EnumChild) UInt64() uint64
type Message ¶
type Message struct { Enum Enum `protobuf:"varint,1,opt,name=enum,proto3,enum=e2e.Enum" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message