validators

package
v1.0.156 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional Volcengine.Live.Models.Validators.FieldValidator field = 50000;
	E_Field = &file_validator_openapi_validators_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_validator_openapi_validators_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldValidator

type FieldValidator struct {

	// Used for nested message types, requires that the field must exists.
	MustExists *bool `protobuf:"varint,1,opt,name=must_exists,json=mustExists" json:"must_exists,omitempty"`
	// Used for string fields, requires the string to be not empty (i.e different
	// from "").
	StringNotEmpty *ValidateStringNotEmpty `protobuf:"bytes,101,opt,name=string_not_empty,json=stringNotEmpty" json:"string_not_empty,omitempty"`
	// Field value of length must greater than this value.
	StringLengthGt *ValidateStringLengthGt `protobuf:"bytes,102,opt,name=string_length_gt,json=stringLengthGt" json:"string_length_gt,omitempty"`
	// Field value of length must smaller than this value.
	StringLengthLt *ValidateStringLengthLt `protobuf:"bytes,103,opt,name=string_length_lt,json=stringLengthLt" json:"string_length_lt,omitempty"`
	// Field value of length must strictly equal to this value.
	StringLengthEq *ValidateStringLengthEq `protobuf:"bytes,104,opt,name=string_length_eq,json=stringLengthEq" json:"string_length_eq,omitempty"`
	// Field value of length must not equal to this value.
	StringLengthNotEq *ValidateStringLengthNotEq `protobuf:"bytes,105,opt,name=string_length_not_eq,json=stringLengthNotEq" json:"string_length_not_eq,omitempty"`
	// Field value must greater to this value.
	IntGt *ValidateIntGt `protobuf:"bytes,201,opt,name=int_gt,json=intGt" json:"int_gt,omitempty"`
	// Field value must smaller to this value.
	IntLt *ValidateIntLt `protobuf:"bytes,202,opt,name=int_lt,json=intLt" json:"int_lt,omitempty"`
	// Field value must equal to this value.
	IntEq *ValidateIntEq `protobuf:"bytes,203,opt,name=int_eq,json=intEq" json:"int_eq,omitempty"`
	// Field value must not equal to this value.
	IntNotEq *ValidateIntNotEq `protobuf:"bytes,204,opt,name=int_not_eq,json=intNotEq" json:"int_not_eq,omitempty"`
	// Field value of double strictly greater than this value.
	// Note that this value can only take on a valid floating point
	// value. Use together with float_epsilon if you need something more specific.
	FloatGt *ValidateFloatGt `protobuf:"bytes,301,opt,name=float_gt,json=floatGt" json:"float_gt,omitempty"`
	// Field value of double strictly smaller than this value.
	// Note that this value can only take on a valid floating point
	// value. Use together with float_epsilon if you need something more specific.
	FloatLt *ValidateFloatLt `protobuf:"bytes,302,opt,name=float_lt,json=floatLt" json:"float_lt,omitempty"`
	// Floating-point value compared to which the field content should be greater
	// or equal.
	FloatGte *ValidateFloatGte `protobuf:"bytes,303,opt,name=float_gte,json=floatGte" json:"float_gte,omitempty"`
	// Floating-point value compared to which the field content should be smaller
	// or equal.
	FloatLte *ValidateFloatLte `protobuf:"bytes,304,opt,name=float_lte,json=floatLte" json:"float_lte,omitempty"`
	// Floating-point value compared to which the field content should be equal.
	FloatEq *ValidateFloatEq `protobuf:"bytes,305,opt,name=float_eq,json=floatEq" json:"float_eq,omitempty"`
	// Floating-point value compared to which the field content should not be
	// equal.
	FloatNotEq *ValidateFloatNotEq `protobuf:"bytes,306,opt,name=float_not_eq,json=floatNotEq" json:"float_not_eq,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldValidator) Descriptor deprecated

func (*FieldValidator) Descriptor() ([]byte, []int)

Deprecated: Use FieldValidator.ProtoReflect.Descriptor instead.

func (*FieldValidator) GetFloatEq

func (x *FieldValidator) GetFloatEq() *ValidateFloatEq

func (*FieldValidator) GetFloatGt

func (x *FieldValidator) GetFloatGt() *ValidateFloatGt

func (*FieldValidator) GetFloatGte

func (x *FieldValidator) GetFloatGte() *ValidateFloatGte

func (*FieldValidator) GetFloatLt

func (x *FieldValidator) GetFloatLt() *ValidateFloatLt

func (*FieldValidator) GetFloatLte

func (x *FieldValidator) GetFloatLte() *ValidateFloatLte

func (*FieldValidator) GetFloatNotEq

func (x *FieldValidator) GetFloatNotEq() *ValidateFloatNotEq

func (*FieldValidator) GetIntEq

func (x *FieldValidator) GetIntEq() *ValidateIntEq

func (*FieldValidator) GetIntGt

func (x *FieldValidator) GetIntGt() *ValidateIntGt

func (*FieldValidator) GetIntLt

func (x *FieldValidator) GetIntLt() *ValidateIntLt

func (*FieldValidator) GetIntNotEq

func (x *FieldValidator) GetIntNotEq() *ValidateIntNotEq

func (*FieldValidator) GetMustExists

func (x *FieldValidator) GetMustExists() bool

func (*FieldValidator) GetStringLengthEq

func (x *FieldValidator) GetStringLengthEq() *ValidateStringLengthEq

func (*FieldValidator) GetStringLengthGt

func (x *FieldValidator) GetStringLengthGt() *ValidateStringLengthGt

func (*FieldValidator) GetStringLengthLt

func (x *FieldValidator) GetStringLengthLt() *ValidateStringLengthLt

func (*FieldValidator) GetStringLengthNotEq

func (x *FieldValidator) GetStringLengthNotEq() *ValidateStringLengthNotEq

func (*FieldValidator) GetStringNotEmpty

func (x *FieldValidator) GetStringNotEmpty() *ValidateStringNotEmpty

func (*FieldValidator) ProtoMessage

func (*FieldValidator) ProtoMessage()

func (*FieldValidator) ProtoReflect

func (x *FieldValidator) ProtoReflect() protoreflect.Message

func (*FieldValidator) Reset

func (x *FieldValidator) Reset()

func (*FieldValidator) String

func (x *FieldValidator) String() string

type ValidateError

type ValidateError struct {

	// Used for specifies a user-customizable public error code when validating.
	PublicErrorCode *string `protobuf:"bytes,1,opt,name=public_error_code,json=publicErrorCode" json:"public_error_code,omitempty"`
	// Used for specifies a user-customizable private error code when validating.
	PrivateErrorCode *string `protobuf:"bytes,2,opt,name=private_error_code,json=privateErrorCode" json:"private_error_code,omitempty"`
	// Used for specifies a user-customizable error msg when validating.
	ErrorMsg *string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg" json:"error_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateError) Descriptor deprecated

func (*ValidateError) Descriptor() ([]byte, []int)

Deprecated: Use ValidateError.ProtoReflect.Descriptor instead.

func (*ValidateError) GetErrorMsg

func (x *ValidateError) GetErrorMsg() string

func (*ValidateError) GetPrivateErrorCode

func (x *ValidateError) GetPrivateErrorCode() string

func (*ValidateError) GetPublicErrorCode

func (x *ValidateError) GetPublicErrorCode() string

func (*ValidateError) ProtoMessage

func (*ValidateError) ProtoMessage()

func (*ValidateError) ProtoReflect

func (x *ValidateError) ProtoReflect() protoreflect.Message

func (*ValidateError) Reset

func (x *ValidateError) Reset()

func (*ValidateError) String

func (x *ValidateError) String() string

type ValidateFloatEq

type ValidateFloatEq struct {

	// Need Validate?
	Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateFloatEq) Descriptor deprecated

func (*ValidateFloatEq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateFloatEq.ProtoReflect.Descriptor instead.

func (*ValidateFloatEq) GetCustomError

func (x *ValidateFloatEq) GetCustomError() *ValidateError

func (*ValidateFloatEq) GetValue

func (x *ValidateFloatEq) GetValue() float64

func (*ValidateFloatEq) ProtoMessage

func (*ValidateFloatEq) ProtoMessage()

func (*ValidateFloatEq) ProtoReflect

func (x *ValidateFloatEq) ProtoReflect() protoreflect.Message

func (*ValidateFloatEq) Reset

func (x *ValidateFloatEq) Reset()

func (*ValidateFloatEq) String

func (x *ValidateFloatEq) String() string

type ValidateFloatGt

type ValidateFloatGt struct {

	// Need Validate?
	Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateFloatGt) Descriptor deprecated

func (*ValidateFloatGt) Descriptor() ([]byte, []int)

Deprecated: Use ValidateFloatGt.ProtoReflect.Descriptor instead.

func (*ValidateFloatGt) GetCustomError

func (x *ValidateFloatGt) GetCustomError() *ValidateError

func (*ValidateFloatGt) GetValue

func (x *ValidateFloatGt) GetValue() float64

func (*ValidateFloatGt) ProtoMessage

func (*ValidateFloatGt) ProtoMessage()

func (*ValidateFloatGt) ProtoReflect

func (x *ValidateFloatGt) ProtoReflect() protoreflect.Message

func (*ValidateFloatGt) Reset

func (x *ValidateFloatGt) Reset()

func (*ValidateFloatGt) String

func (x *ValidateFloatGt) String() string

type ValidateFloatGte

type ValidateFloatGte struct {

	// Need Validate?
	Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateFloatGte) Descriptor deprecated

func (*ValidateFloatGte) Descriptor() ([]byte, []int)

Deprecated: Use ValidateFloatGte.ProtoReflect.Descriptor instead.

func (*ValidateFloatGte) GetCustomError

func (x *ValidateFloatGte) GetCustomError() *ValidateError

func (*ValidateFloatGte) GetValue

func (x *ValidateFloatGte) GetValue() float64

func (*ValidateFloatGte) ProtoMessage

func (*ValidateFloatGte) ProtoMessage()

func (*ValidateFloatGte) ProtoReflect

func (x *ValidateFloatGte) ProtoReflect() protoreflect.Message

func (*ValidateFloatGte) Reset

func (x *ValidateFloatGte) Reset()

func (*ValidateFloatGte) String

func (x *ValidateFloatGte) String() string

type ValidateFloatLt

type ValidateFloatLt struct {

	// Need Validate?
	Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateFloatLt) Descriptor deprecated

func (*ValidateFloatLt) Descriptor() ([]byte, []int)

Deprecated: Use ValidateFloatLt.ProtoReflect.Descriptor instead.

func (*ValidateFloatLt) GetCustomError

func (x *ValidateFloatLt) GetCustomError() *ValidateError

func (*ValidateFloatLt) GetValue

func (x *ValidateFloatLt) GetValue() float64

func (*ValidateFloatLt) ProtoMessage

func (*ValidateFloatLt) ProtoMessage()

func (*ValidateFloatLt) ProtoReflect

func (x *ValidateFloatLt) ProtoReflect() protoreflect.Message

func (*ValidateFloatLt) Reset

func (x *ValidateFloatLt) Reset()

func (*ValidateFloatLt) String

func (x *ValidateFloatLt) String() string

type ValidateFloatLte

type ValidateFloatLte struct {

	// Need Validate?
	Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateFloatLte) Descriptor deprecated

func (*ValidateFloatLte) Descriptor() ([]byte, []int)

Deprecated: Use ValidateFloatLte.ProtoReflect.Descriptor instead.

func (*ValidateFloatLte) GetCustomError

func (x *ValidateFloatLte) GetCustomError() *ValidateError

func (*ValidateFloatLte) GetValue

func (x *ValidateFloatLte) GetValue() float64

func (*ValidateFloatLte) ProtoMessage

func (*ValidateFloatLte) ProtoMessage()

func (*ValidateFloatLte) ProtoReflect

func (x *ValidateFloatLte) ProtoReflect() protoreflect.Message

func (*ValidateFloatLte) Reset

func (x *ValidateFloatLte) Reset()

func (*ValidateFloatLte) String

func (x *ValidateFloatLte) String() string

type ValidateFloatNotEq

type ValidateFloatNotEq struct {

	// Need Validate?
	Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateFloatNotEq) Descriptor deprecated

func (*ValidateFloatNotEq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateFloatNotEq.ProtoReflect.Descriptor instead.

func (*ValidateFloatNotEq) GetCustomError

func (x *ValidateFloatNotEq) GetCustomError() *ValidateError

func (*ValidateFloatNotEq) GetValue

func (x *ValidateFloatNotEq) GetValue() float64

func (*ValidateFloatNotEq) ProtoMessage

func (*ValidateFloatNotEq) ProtoMessage()

func (*ValidateFloatNotEq) ProtoReflect

func (x *ValidateFloatNotEq) ProtoReflect() protoreflect.Message

func (*ValidateFloatNotEq) Reset

func (x *ValidateFloatNotEq) Reset()

func (*ValidateFloatNotEq) String

func (x *ValidateFloatNotEq) String() string

type ValidateIntEq

type ValidateIntEq struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateIntEq) Descriptor deprecated

func (*ValidateIntEq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateIntEq.ProtoReflect.Descriptor instead.

func (*ValidateIntEq) GetCustomError

func (x *ValidateIntEq) GetCustomError() *ValidateError

func (*ValidateIntEq) GetValue

func (x *ValidateIntEq) GetValue() int64

func (*ValidateIntEq) ProtoMessage

func (*ValidateIntEq) ProtoMessage()

func (*ValidateIntEq) ProtoReflect

func (x *ValidateIntEq) ProtoReflect() protoreflect.Message

func (*ValidateIntEq) Reset

func (x *ValidateIntEq) Reset()

func (*ValidateIntEq) String

func (x *ValidateIntEq) String() string

type ValidateIntGt

type ValidateIntGt struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateIntGt) Descriptor deprecated

func (*ValidateIntGt) Descriptor() ([]byte, []int)

Deprecated: Use ValidateIntGt.ProtoReflect.Descriptor instead.

func (*ValidateIntGt) GetCustomError

func (x *ValidateIntGt) GetCustomError() *ValidateError

func (*ValidateIntGt) GetValue

func (x *ValidateIntGt) GetValue() int64

func (*ValidateIntGt) ProtoMessage

func (*ValidateIntGt) ProtoMessage()

func (*ValidateIntGt) ProtoReflect

func (x *ValidateIntGt) ProtoReflect() protoreflect.Message

func (*ValidateIntGt) Reset

func (x *ValidateIntGt) Reset()

func (*ValidateIntGt) String

func (x *ValidateIntGt) String() string

type ValidateIntLt

type ValidateIntLt struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateIntLt) Descriptor deprecated

func (*ValidateIntLt) Descriptor() ([]byte, []int)

Deprecated: Use ValidateIntLt.ProtoReflect.Descriptor instead.

func (*ValidateIntLt) GetCustomError

func (x *ValidateIntLt) GetCustomError() *ValidateError

func (*ValidateIntLt) GetValue

func (x *ValidateIntLt) GetValue() int64

func (*ValidateIntLt) ProtoMessage

func (*ValidateIntLt) ProtoMessage()

func (*ValidateIntLt) ProtoReflect

func (x *ValidateIntLt) ProtoReflect() protoreflect.Message

func (*ValidateIntLt) Reset

func (x *ValidateIntLt) Reset()

func (*ValidateIntLt) String

func (x *ValidateIntLt) String() string

type ValidateIntNotEq

type ValidateIntNotEq struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateIntNotEq) Descriptor deprecated

func (*ValidateIntNotEq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateIntNotEq.ProtoReflect.Descriptor instead.

func (*ValidateIntNotEq) GetCustomError

func (x *ValidateIntNotEq) GetCustomError() *ValidateError

func (*ValidateIntNotEq) GetValue

func (x *ValidateIntNotEq) GetValue() int64

func (*ValidateIntNotEq) ProtoMessage

func (*ValidateIntNotEq) ProtoMessage()

func (*ValidateIntNotEq) ProtoReflect

func (x *ValidateIntNotEq) ProtoReflect() protoreflect.Message

func (*ValidateIntNotEq) Reset

func (x *ValidateIntNotEq) Reset()

func (*ValidateIntNotEq) String

func (x *ValidateIntNotEq) String() string

type ValidateStringLengthEq

type ValidateStringLengthEq struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateStringLengthEq) Descriptor deprecated

func (*ValidateStringLengthEq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateStringLengthEq.ProtoReflect.Descriptor instead.

func (*ValidateStringLengthEq) GetCustomError

func (x *ValidateStringLengthEq) GetCustomError() *ValidateError

func (*ValidateStringLengthEq) GetValue

func (x *ValidateStringLengthEq) GetValue() int64

func (*ValidateStringLengthEq) ProtoMessage

func (*ValidateStringLengthEq) ProtoMessage()

func (*ValidateStringLengthEq) ProtoReflect

func (x *ValidateStringLengthEq) ProtoReflect() protoreflect.Message

func (*ValidateStringLengthEq) Reset

func (x *ValidateStringLengthEq) Reset()

func (*ValidateStringLengthEq) String

func (x *ValidateStringLengthEq) String() string

type ValidateStringLengthGt

type ValidateStringLengthGt struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateStringLengthGt) Descriptor deprecated

func (*ValidateStringLengthGt) Descriptor() ([]byte, []int)

Deprecated: Use ValidateStringLengthGt.ProtoReflect.Descriptor instead.

func (*ValidateStringLengthGt) GetCustomError

func (x *ValidateStringLengthGt) GetCustomError() *ValidateError

func (*ValidateStringLengthGt) GetValue

func (x *ValidateStringLengthGt) GetValue() int64

func (*ValidateStringLengthGt) ProtoMessage

func (*ValidateStringLengthGt) ProtoMessage()

func (*ValidateStringLengthGt) ProtoReflect

func (x *ValidateStringLengthGt) ProtoReflect() protoreflect.Message

func (*ValidateStringLengthGt) Reset

func (x *ValidateStringLengthGt) Reset()

func (*ValidateStringLengthGt) String

func (x *ValidateStringLengthGt) String() string

type ValidateStringLengthLt

type ValidateStringLengthLt struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateStringLengthLt) Descriptor deprecated

func (*ValidateStringLengthLt) Descriptor() ([]byte, []int)

Deprecated: Use ValidateStringLengthLt.ProtoReflect.Descriptor instead.

func (*ValidateStringLengthLt) GetCustomError

func (x *ValidateStringLengthLt) GetCustomError() *ValidateError

func (*ValidateStringLengthLt) GetValue

func (x *ValidateStringLengthLt) GetValue() int64

func (*ValidateStringLengthLt) ProtoMessage

func (*ValidateStringLengthLt) ProtoMessage()

func (*ValidateStringLengthLt) ProtoReflect

func (x *ValidateStringLengthLt) ProtoReflect() protoreflect.Message

func (*ValidateStringLengthLt) Reset

func (x *ValidateStringLengthLt) Reset()

func (*ValidateStringLengthLt) String

func (x *ValidateStringLengthLt) String() string

type ValidateStringLengthNotEq

type ValidateStringLengthNotEq struct {

	// Need Validate?
	Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateStringLengthNotEq) Descriptor deprecated

func (*ValidateStringLengthNotEq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateStringLengthNotEq.ProtoReflect.Descriptor instead.

func (*ValidateStringLengthNotEq) GetCustomError

func (x *ValidateStringLengthNotEq) GetCustomError() *ValidateError

func (*ValidateStringLengthNotEq) GetValue

func (x *ValidateStringLengthNotEq) GetValue() int64

func (*ValidateStringLengthNotEq) ProtoMessage

func (*ValidateStringLengthNotEq) ProtoMessage()

func (*ValidateStringLengthNotEq) ProtoReflect

func (*ValidateStringLengthNotEq) Reset

func (x *ValidateStringLengthNotEq) Reset()

func (*ValidateStringLengthNotEq) String

func (x *ValidateStringLengthNotEq) String() string

type ValidateStringNotEmpty

type ValidateStringNotEmpty struct {

	// Need Validate?
	Value *bool `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// Used for specifies a user-customizable error when validating.
	CustomError *ValidateError `protobuf:"bytes,2,opt,name=custom_error,json=customError" json:"custom_error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateStringNotEmpty) Descriptor deprecated

func (*ValidateStringNotEmpty) Descriptor() ([]byte, []int)

Deprecated: Use ValidateStringNotEmpty.ProtoReflect.Descriptor instead.

func (*ValidateStringNotEmpty) GetCustomError

func (x *ValidateStringNotEmpty) GetCustomError() *ValidateError

func (*ValidateStringNotEmpty) GetValue

func (x *ValidateStringNotEmpty) GetValue() bool

func (*ValidateStringNotEmpty) ProtoMessage

func (*ValidateStringNotEmpty) ProtoMessage()

func (*ValidateStringNotEmpty) ProtoReflect

func (x *ValidateStringNotEmpty) ProtoReflect() protoreflect.Message

func (*ValidateStringNotEmpty) Reset

func (x *ValidateStringNotEmpty) Reset()

func (*ValidateStringNotEmpty) String

func (x *ValidateStringNotEmpty) String() string

Jump to

Keyboard shortcuts

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