enumv1

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UUIDInitEnum_UuidInit_name = map[int32]string{
		0: "UNSPECIFIED",
	}
	UUIDInitEnum_UuidInit_value = map[string]int32{
		"UNSPECIFIED": 0,
	}
)

Enum value maps for UUIDInitEnum_UuidInit.

View Source
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

Cause function returns cause value.

func (UUIDInitEnumValidationError) Error

Error satisfies the builtin error interface

func (UUIDInitEnumValidationError) ErrorName

func (e UUIDInitEnumValidationError) ErrorName() string

ErrorName returns error name.

func (UUIDInitEnumValidationError) Field

Field function returns field value.

func (UUIDInitEnumValidationError) Key

Key function returns key value.

func (UUIDInitEnumValidationError) Reason

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) Enum

func (UUIDInitEnum_UuidInit) EnumDescriptor deprecated

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

Deprecated: Use UUIDInitEnum_UuidInit.Descriptor instead.

func (UUIDInitEnum_UuidInit) Number

func (UUIDInitEnum_UuidInit) String

func (x UUIDInitEnum_UuidInit) String() string

func (UUIDInitEnum_UuidInit) Type

Jump to

Keyboard shortcuts

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