Documentation ¶
Index ¶
- Variables
- type UUIDInitEnum
- func (*UUIDInitEnum) Descriptor() ([]byte, []int)deprecated
- func (*UUIDInitEnum) ProtoMessage()
- func (x *UUIDInitEnum) ProtoReflect() protoreflect.Message
- func (x *UUIDInitEnum) Reset()
- func (x *UUIDInitEnum) String() string
- func (m *UUIDInitEnum) Validate() error
- func (m *UUIDInitEnum) ValidateAll() error
- type UUIDInitEnumMultiError
- type UUIDInitEnumValidationError
- func (e UUIDInitEnumValidationError) Cause() error
- func (e UUIDInitEnumValidationError) Error() string
- func (e UUIDInitEnumValidationError) ErrorName() string
- func (e UUIDInitEnumValidationError) Field() string
- func (e UUIDInitEnumValidationError) Key() bool
- func (e UUIDInitEnumValidationError) Reason() string
- type UUIDInitEnum_UuidInit
- func (UUIDInitEnum_UuidInit) Descriptor() protoreflect.EnumDescriptor
- func (x UUIDInitEnum_UuidInit) Enum() *UUIDInitEnum_UuidInit
- func (UUIDInitEnum_UuidInit) EnumDescriptor() ([]byte, []int)deprecated
- func (x UUIDInitEnum_UuidInit) Number() protoreflect.EnumNumber
- func (x UUIDInitEnum_UuidInit) String() string
- func (UUIDInitEnum_UuidInit) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( UUIDInitEnum_UuidInit_name = map[int32]string{ 0: "UNSPECIFIED", } UUIDInitEnum_UuidInit_value = map[string]int32{ "UNSPECIFIED": 0, } )
Enum value maps for UUIDInitEnum_UuidInit.
var File_api_uuid_service_v1_enums_uuid_enum_v1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UUIDInitEnum ¶
type UUIDInitEnum struct {
// contains filtered or unexported fields
}
func (*UUIDInitEnum) Descriptor
deprecated
func (*UUIDInitEnum) Descriptor() ([]byte, []int)
Deprecated: Use UUIDInitEnum.ProtoReflect.Descriptor instead.
func (*UUIDInitEnum) ProtoMessage ¶
func (*UUIDInitEnum) ProtoMessage()
func (*UUIDInitEnum) ProtoReflect ¶
func (x *UUIDInitEnum) ProtoReflect() protoreflect.Message
func (*UUIDInitEnum) Reset ¶
func (x *UUIDInitEnum) Reset()
func (*UUIDInitEnum) String ¶
func (x *UUIDInitEnum) String() string
func (*UUIDInitEnum) Validate ¶
func (m *UUIDInitEnum) Validate() error
Validate checks the field values on UUIDInitEnum 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 (*UUIDInitEnum) ValidateAll ¶
func (m *UUIDInitEnum) ValidateAll() error
ValidateAll checks the field values on UUIDInitEnum 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 UUIDInitEnumMultiError, or nil if none found.
type UUIDInitEnumMultiError ¶
type UUIDInitEnumMultiError []error
UUIDInitEnumMultiError is an error wrapping multiple validation errors returned by UUIDInitEnum.ValidateAll() if the designated constraints aren't met.
func (UUIDInitEnumMultiError) AllErrors ¶
func (m UUIDInitEnumMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UUIDInitEnumMultiError) Error ¶
func (m UUIDInitEnumMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UUIDInitEnumValidationError ¶
type UUIDInitEnumValidationError struct {
// contains filtered or unexported fields
}
UUIDInitEnumValidationError is the validation error returned by UUIDInitEnum.Validate if the designated constraints aren't met.
func (UUIDInitEnumValidationError) Cause ¶
func (e UUIDInitEnumValidationError) Cause() error
Cause function returns cause value.
func (UUIDInitEnumValidationError) Error ¶
func (e UUIDInitEnumValidationError) Error() string
Error satisfies the builtin error interface
func (UUIDInitEnumValidationError) ErrorName ¶
func (e UUIDInitEnumValidationError) ErrorName() string
ErrorName returns error name.
func (UUIDInitEnumValidationError) Field ¶
func (e UUIDInitEnumValidationError) Field() string
Field function returns field value.
func (UUIDInitEnumValidationError) Key ¶
func (e UUIDInitEnumValidationError) Key() bool
Key function returns key value.
func (UUIDInitEnumValidationError) Reason ¶
func (e UUIDInitEnumValidationError) Reason() string
Reason function returns reason value.
type UUIDInitEnum_UuidInit ¶
type UUIDInitEnum_UuidInit int32
const (
UUIDInitEnum_UNSPECIFIED UUIDInitEnum_UuidInit = 0 // 未指定
)
func (UUIDInitEnum_UuidInit) Descriptor ¶
func (UUIDInitEnum_UuidInit) Descriptor() protoreflect.EnumDescriptor
func (UUIDInitEnum_UuidInit) Enum ¶
func (x UUIDInitEnum_UuidInit) Enum() *UUIDInitEnum_UuidInit
func (UUIDInitEnum_UuidInit) EnumDescriptor
deprecated
func (UUIDInitEnum_UuidInit) EnumDescriptor() ([]byte, []int)
Deprecated: Use UUIDInitEnum_UuidInit.Descriptor instead.
func (UUIDInitEnum_UuidInit) Number ¶
func (x UUIDInitEnum_UuidInit) Number() protoreflect.EnumNumber
func (UUIDInitEnum_UuidInit) String ¶
func (x UUIDInitEnum_UuidInit) String() string
func (UUIDInitEnum_UuidInit) Type ¶
func (UUIDInitEnum_UuidInit) Type() protoreflect.EnumType