sexpb

package
v0.0.0-...-fcf2c48 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: BSD-4-Clause Imports: 4 Imported by: 0

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
const (
	Error_ERROR_UNSPECIFIED Error = 0
	Error_ERROR_SEX_INVALID Error = 1
)

func (Error) Descriptor

func (Error) Descriptor() protoreflect.EnumDescriptor

func (Error) Enum

func (x Error) Enum() *Error

func (Error) EnumDescriptor deprecated

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

Deprecated: Use Error.Descriptor instead.

func (Error) Number

func (x Error) Number() protoreflect.EnumNumber

func (Error) String

func (x Error) String() string

func (Error) Type

func (Error) Type() protoreflect.EnumType

type Sex

type Sex int32
const (
	Sex_SEX_UNSPECIFIED Sex = 0 // —
	Sex_SEX_FEMALE      Sex = 1 // Female.
	Sex_SEX_MALE        Sex = 2 // Male.
)

func (Sex) Descriptor

func (Sex) Descriptor() protoreflect.EnumDescriptor

func (Sex) Enum

func (x Sex) Enum() *Sex

func (Sex) EnumDescriptor deprecated

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

Deprecated: Use Sex.Descriptor instead.

func (Sex) Number

func (x Sex) Number() protoreflect.EnumNumber

func (Sex) String

func (x Sex) String() string

func (Sex) Type

func (Sex) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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