Documentation ¶
Index ¶
- Variables
- type PingInitEnum
- func (*PingInitEnum) Descriptor() ([]byte, []int)deprecated
- func (*PingInitEnum) ProtoMessage()
- func (x *PingInitEnum) ProtoReflect() protoreflect.Message
- func (x *PingInitEnum) Reset()
- func (x *PingInitEnum) String() string
- func (m *PingInitEnum) Validate() error
- func (m *PingInitEnum) ValidateAll() error
- type PingInitEnumMultiError
- type PingInitEnumValidationError
- func (e PingInitEnumValidationError) Cause() error
- func (e PingInitEnumValidationError) Error() string
- func (e PingInitEnumValidationError) ErrorName() string
- func (e PingInitEnumValidationError) Field() string
- func (e PingInitEnumValidationError) Key() bool
- func (e PingInitEnumValidationError) Reason() string
- type PingInitEnum_PingInit
- func (PingInitEnum_PingInit) Descriptor() protoreflect.EnumDescriptor
- func (x PingInitEnum_PingInit) Enum() *PingInitEnum_PingInit
- func (PingInitEnum_PingInit) EnumDescriptor() ([]byte, []int)deprecated
- func (x PingInitEnum_PingInit) Number() protoreflect.EnumNumber
- func (x PingInitEnum_PingInit) String() string
- func (PingInitEnum_PingInit) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( PingInitEnum_PingInit_name = map[int32]string{ 0: "UNSPECIFIED", } PingInitEnum_PingInit_value = map[string]int32{ "UNSPECIFIED": 0, } )
Enum value maps for PingInitEnum_PingInit.
var File_api_ping_v1_enums_ping_enum_v1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PingInitEnum ¶
type PingInitEnum struct {
// contains filtered or unexported fields
}
PingInitEnum PingInitEnum enum
func (*PingInitEnum) Descriptor
deprecated
func (*PingInitEnum) Descriptor() ([]byte, []int)
Deprecated: Use PingInitEnum.ProtoReflect.Descriptor instead.
func (*PingInitEnum) ProtoMessage ¶
func (*PingInitEnum) ProtoMessage()
func (*PingInitEnum) ProtoReflect ¶
func (x *PingInitEnum) ProtoReflect() protoreflect.Message
func (*PingInitEnum) Reset ¶
func (x *PingInitEnum) Reset()
func (*PingInitEnum) String ¶
func (x *PingInitEnum) String() string
func (*PingInitEnum) Validate ¶ added in v0.2.23
func (m *PingInitEnum) Validate() error
Validate checks the field values on PingInitEnum with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingInitEnum) ValidateAll ¶ added in v0.2.23
func (m *PingInitEnum) ValidateAll() error
ValidateAll checks the field values on PingInitEnum with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingInitEnumMultiError, or nil if none found.
type PingInitEnumMultiError ¶ added in v0.2.23
type PingInitEnumMultiError []error
PingInitEnumMultiError is an error wrapping multiple validation errors returned by PingInitEnum.ValidateAll() if the designated constraints aren't met.
func (PingInitEnumMultiError) AllErrors ¶ added in v0.2.23
func (m PingInitEnumMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingInitEnumMultiError) Error ¶ added in v0.2.23
func (m PingInitEnumMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingInitEnumValidationError ¶ added in v0.2.23
type PingInitEnumValidationError struct {
// contains filtered or unexported fields
}
PingInitEnumValidationError is the validation error returned by PingInitEnum.Validate if the designated constraints aren't met.
func (PingInitEnumValidationError) Cause ¶ added in v0.2.23
func (e PingInitEnumValidationError) Cause() error
Cause function returns cause value.
func (PingInitEnumValidationError) Error ¶ added in v0.2.23
func (e PingInitEnumValidationError) Error() string
Error satisfies the builtin error interface
func (PingInitEnumValidationError) ErrorName ¶ added in v0.2.23
func (e PingInitEnumValidationError) ErrorName() string
ErrorName returns error name.
func (PingInitEnumValidationError) Field ¶ added in v0.2.23
func (e PingInitEnumValidationError) Field() string
Field function returns field value.
func (PingInitEnumValidationError) Key ¶ added in v0.2.23
func (e PingInitEnumValidationError) Key() bool
Key function returns key value.
func (PingInitEnumValidationError) Reason ¶ added in v0.2.23
func (e PingInitEnumValidationError) Reason() string
Reason function returns reason value.
type PingInitEnum_PingInit ¶
type PingInitEnum_PingInit int32
PingInit PingInit enum
const ( // UNSPECIFIED 未指定 PingInitEnum_UNSPECIFIED PingInitEnum_PingInit = 0 )
func (PingInitEnum_PingInit) Descriptor ¶
func (PingInitEnum_PingInit) Descriptor() protoreflect.EnumDescriptor
func (PingInitEnum_PingInit) Enum ¶
func (x PingInitEnum_PingInit) Enum() *PingInitEnum_PingInit
func (PingInitEnum_PingInit) EnumDescriptor
deprecated
func (PingInitEnum_PingInit) EnumDescriptor() ([]byte, []int)
Deprecated: Use PingInitEnum_PingInit.Descriptor instead.
func (PingInitEnum_PingInit) Number ¶
func (x PingInitEnum_PingInit) Number() protoreflect.EnumNumber
func (PingInitEnum_PingInit) String ¶
func (x PingInitEnum_PingInit) String() string
func (PingInitEnum_PingInit) Type ¶
func (PingInitEnum_PingInit) Type() protoreflect.EnumType