Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Error_name = map[int32]string{ 0: "ERROR_UNSPECIFIED", 1: "ERROR_SEX_INVALID", } Error_value = map[string]int32{ "ERROR_UNSPECIFIED": 0, "ERROR_SEX_INVALID": 1, } )
Enum value maps for Error.
View Source
var ( Sex_name = map[int32]string{ 0: "SEX_UNSPECIFIED", 1: "SEX_FEMALE", 2: "SEX_MALE", } Sex_value = map[string]int32{ "SEX_UNSPECIFIED": 0, "SEX_FEMALE": 1, "SEX_MALE": 2, } )
Enum value maps for Sex.
View Source
var File_genproto_sex_v1_error_proto protoreflect.FileDescriptor
View Source
var File_genproto_sex_v1_sex_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error int32
func (Error) Descriptor ¶
func (Error) Descriptor() protoreflect.EnumDescriptor
func (Error) EnumDescriptor
deprecated
func (Error) Number ¶
func (x Error) Number() protoreflect.EnumNumber
func (Error) Type ¶
func (Error) Type() protoreflect.EnumType
type Sex ¶
type Sex int32
func (Sex) Descriptor ¶
func (Sex) Descriptor() protoreflect.EnumDescriptor
func (Sex) EnumDescriptor
deprecated
func (Sex) Number ¶
func (x Sex) Number() protoreflect.EnumNumber
func (Sex) Type ¶
func (Sex) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.