Documentation ¶
Index ¶
- Variables
- type BoolValue
- func (*BoolValue) Descriptor() ([]byte, []int)deprecated
- func (x *BoolValue) GetValue() bool
- func (*BoolValue) ProtoMessage()
- func (x *BoolValue) ProtoReflect() protoreflect.Message
- func (x *BoolValue) Reset()
- func (x *BoolValue) String() string
- func (m *BoolValue) Validate() error
- func (m *BoolValue) ValidateAll() error
- type BoolValueMultiError
- type BoolValueValidationError
- type BytesValue
- func (*BytesValue) Descriptor() ([]byte, []int)deprecated
- func (x *BytesValue) GetValue() []byte
- func (*BytesValue) ProtoMessage()
- func (x *BytesValue) ProtoReflect() protoreflect.Message
- func (x *BytesValue) Reset()
- func (x *BytesValue) String() string
- func (m *BytesValue) Validate() error
- func (m *BytesValue) ValidateAll() error
- type BytesValueMultiError
- type BytesValueValidationError
- type DoubleValue
- func (*DoubleValue) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleValue) GetValue() float64
- func (*DoubleValue) ProtoMessage()
- func (x *DoubleValue) ProtoReflect() protoreflect.Message
- func (x *DoubleValue) Reset()
- func (x *DoubleValue) String() string
- func (m *DoubleValue) Validate() error
- func (m *DoubleValue) ValidateAll() error
- type DoubleValueMultiError
- type DoubleValueValidationError
- func (e DoubleValueValidationError) Cause() error
- func (e DoubleValueValidationError) Error() string
- func (e DoubleValueValidationError) ErrorName() string
- func (e DoubleValueValidationError) Field() string
- func (e DoubleValueValidationError) Key() bool
- func (e DoubleValueValidationError) Reason() string
- type FloatValue
- func (*FloatValue) Descriptor() ([]byte, []int)deprecated
- func (x *FloatValue) GetValue() float32
- func (*FloatValue) ProtoMessage()
- func (x *FloatValue) ProtoReflect() protoreflect.Message
- func (x *FloatValue) Reset()
- func (x *FloatValue) String() string
- func (m *FloatValue) Validate() error
- func (m *FloatValue) ValidateAll() error
- type FloatValueMultiError
- type FloatValueValidationError
- type Int32Value
- func (*Int32Value) Descriptor() ([]byte, []int)deprecated
- func (x *Int32Value) GetValue() int32
- func (*Int32Value) ProtoMessage()
- func (x *Int32Value) ProtoReflect() protoreflect.Message
- func (x *Int32Value) Reset()
- func (x *Int32Value) String() string
- func (m *Int32Value) Validate() error
- func (m *Int32Value) ValidateAll() error
- type Int32ValueMultiError
- type Int32ValueValidationError
- type Int64Value
- func (*Int64Value) Descriptor() ([]byte, []int)deprecated
- func (x *Int64Value) GetValue() int64
- func (*Int64Value) ProtoMessage()
- func (x *Int64Value) ProtoReflect() protoreflect.Message
- func (x *Int64Value) Reset()
- func (x *Int64Value) String() string
- func (m *Int64Value) Validate() error
- func (m *Int64Value) ValidateAll() error
- type Int64ValueMultiError
- type Int64ValueValidationError
- type StringValue
- func (*StringValue) Descriptor() ([]byte, []int)deprecated
- func (x *StringValue) GetValue() string
- func (*StringValue) ProtoMessage()
- func (x *StringValue) ProtoReflect() protoreflect.Message
- func (x *StringValue) Reset()
- func (x *StringValue) String() string
- func (m *StringValue) Validate() error
- func (m *StringValue) ValidateAll() error
- type StringValueMultiError
- type StringValueValidationError
- func (e StringValueValidationError) Cause() error
- func (e StringValueValidationError) Error() string
- func (e StringValueValidationError) ErrorName() string
- func (e StringValueValidationError) Field() string
- func (e StringValueValidationError) Key() bool
- func (e StringValueValidationError) Reason() string
- type UInt32Value
- func (*UInt32Value) Descriptor() ([]byte, []int)deprecated
- func (x *UInt32Value) GetValue() uint32
- func (*UInt32Value) ProtoMessage()
- func (x *UInt32Value) ProtoReflect() protoreflect.Message
- func (x *UInt32Value) Reset()
- func (x *UInt32Value) String() string
- func (m *UInt32Value) Validate() error
- func (m *UInt32Value) ValidateAll() error
- type UInt32ValueMultiError
- type UInt32ValueValidationError
- func (e UInt32ValueValidationError) Cause() error
- func (e UInt32ValueValidationError) Error() string
- func (e UInt32ValueValidationError) ErrorName() string
- func (e UInt32ValueValidationError) Field() string
- func (e UInt32ValueValidationError) Key() bool
- func (e UInt32ValueValidationError) Reason() string
- type UInt64Value
- func (*UInt64Value) Descriptor() ([]byte, []int)deprecated
- func (x *UInt64Value) GetValue() uint64
- func (*UInt64Value) ProtoMessage()
- func (x *UInt64Value) ProtoReflect() protoreflect.Message
- func (x *UInt64Value) Reset()
- func (x *UInt64Value) String() string
- func (m *UInt64Value) Validate() error
- func (m *UInt64Value) ValidateAll() error
- type UInt64ValueMultiError
- type UInt64ValueValidationError
- func (e UInt64ValueValidationError) Cause() error
- func (e UInt64ValueValidationError) Error() string
- func (e UInt64ValueValidationError) ErrorName() string
- func (e UInt64ValueValidationError) Field() string
- func (e UInt64ValueValidationError) Key() bool
- func (e UInt64ValueValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_wrappers_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BoolValue ¶
type BoolValue struct { // The bool value. Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `bool`.
The JSON representation for `BoolValue` is JSON `true` and `false`.
func (*BoolValue) Descriptor
deprecated
func (*BoolValue) ProtoMessage ¶
func (*BoolValue) ProtoMessage()
func (*BoolValue) ProtoReflect ¶
func (x *BoolValue) ProtoReflect() protoreflect.Message
func (*BoolValue) Validate ¶
Validate checks the field values on BoolValue 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 (*BoolValue) ValidateAll ¶
ValidateAll checks the field values on BoolValue 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 BoolValueMultiError, or nil if none found.
type BoolValueMultiError ¶
type BoolValueMultiError []error
BoolValueMultiError is an error wrapping multiple validation errors returned by BoolValue.ValidateAll() if the designated constraints aren't met.
func (BoolValueMultiError) AllErrors ¶
func (m BoolValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BoolValueMultiError) Error ¶
func (m BoolValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BoolValueValidationError ¶
type BoolValueValidationError struct {
// contains filtered or unexported fields
}
BoolValueValidationError is the validation error returned by BoolValue.Validate if the designated constraints aren't met.
func (BoolValueValidationError) Cause ¶
func (e BoolValueValidationError) Cause() error
Cause function returns cause value.
func (BoolValueValidationError) Error ¶
func (e BoolValueValidationError) Error() string
Error satisfies the builtin error interface
func (BoolValueValidationError) ErrorName ¶
func (e BoolValueValidationError) ErrorName() string
ErrorName returns error name.
func (BoolValueValidationError) Field ¶
func (e BoolValueValidationError) Field() string
Field function returns field value.
func (BoolValueValidationError) Key ¶
func (e BoolValueValidationError) Key() bool
Key function returns key value.
func (BoolValueValidationError) Reason ¶
func (e BoolValueValidationError) Reason() string
Reason function returns reason value.
type BytesValue ¶
type BytesValue struct { // The bytes value. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `bytes`.
The JSON representation for `BytesValue` is JSON string.
func Bytes ¶
func Bytes(v []byte) *BytesValue
Bytes stores v in a new BytesValue and returns a pointer to it.
func (*BytesValue) Descriptor
deprecated
func (*BytesValue) Descriptor() ([]byte, []int)
Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.
func (*BytesValue) GetValue ¶
func (x *BytesValue) GetValue() []byte
func (*BytesValue) ProtoMessage ¶
func (*BytesValue) ProtoMessage()
func (*BytesValue) ProtoReflect ¶
func (x *BytesValue) ProtoReflect() protoreflect.Message
func (*BytesValue) Reset ¶
func (x *BytesValue) Reset()
func (*BytesValue) String ¶
func (x *BytesValue) String() string
func (*BytesValue) Validate ¶
func (m *BytesValue) Validate() error
Validate checks the field values on BytesValue 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 (*BytesValue) ValidateAll ¶
func (m *BytesValue) ValidateAll() error
ValidateAll checks the field values on BytesValue 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 BytesValueMultiError, or nil if none found.
type BytesValueMultiError ¶
type BytesValueMultiError []error
BytesValueMultiError is an error wrapping multiple validation errors returned by BytesValue.ValidateAll() if the designated constraints aren't met.
func (BytesValueMultiError) AllErrors ¶
func (m BytesValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BytesValueMultiError) Error ¶
func (m BytesValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BytesValueValidationError ¶
type BytesValueValidationError struct {
// contains filtered or unexported fields
}
BytesValueValidationError is the validation error returned by BytesValue.Validate if the designated constraints aren't met.
func (BytesValueValidationError) Cause ¶
func (e BytesValueValidationError) Cause() error
Cause function returns cause value.
func (BytesValueValidationError) Error ¶
func (e BytesValueValidationError) Error() string
Error satisfies the builtin error interface
func (BytesValueValidationError) ErrorName ¶
func (e BytesValueValidationError) ErrorName() string
ErrorName returns error name.
func (BytesValueValidationError) Field ¶
func (e BytesValueValidationError) Field() string
Field function returns field value.
func (BytesValueValidationError) Key ¶
func (e BytesValueValidationError) Key() bool
Key function returns key value.
func (BytesValueValidationError) Reason ¶
func (e BytesValueValidationError) Reason() string
Reason function returns reason value.
type DoubleValue ¶
type DoubleValue struct { // The double value. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `double`.
The JSON representation for `DoubleValue` is JSON number.
func Double ¶
func Double(v float64) *DoubleValue
Double stores v in a new DoubleValue and returns a pointer to it.
func (*DoubleValue) Descriptor
deprecated
func (*DoubleValue) Descriptor() ([]byte, []int)
Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
func (*DoubleValue) GetValue ¶
func (x *DoubleValue) GetValue() float64
func (*DoubleValue) ProtoMessage ¶
func (*DoubleValue) ProtoMessage()
func (*DoubleValue) ProtoReflect ¶
func (x *DoubleValue) ProtoReflect() protoreflect.Message
func (*DoubleValue) Reset ¶
func (x *DoubleValue) Reset()
func (*DoubleValue) String ¶
func (x *DoubleValue) String() string
func (*DoubleValue) Validate ¶
func (m *DoubleValue) Validate() error
Validate checks the field values on DoubleValue 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 (*DoubleValue) ValidateAll ¶
func (m *DoubleValue) ValidateAll() error
ValidateAll checks the field values on DoubleValue 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 DoubleValueMultiError, or nil if none found.
type DoubleValueMultiError ¶
type DoubleValueMultiError []error
DoubleValueMultiError is an error wrapping multiple validation errors returned by DoubleValue.ValidateAll() if the designated constraints aren't met.
func (DoubleValueMultiError) AllErrors ¶
func (m DoubleValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DoubleValueMultiError) Error ¶
func (m DoubleValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DoubleValueValidationError ¶
type DoubleValueValidationError struct {
// contains filtered or unexported fields
}
DoubleValueValidationError is the validation error returned by DoubleValue.Validate if the designated constraints aren't met.
func (DoubleValueValidationError) Cause ¶
func (e DoubleValueValidationError) Cause() error
Cause function returns cause value.
func (DoubleValueValidationError) Error ¶
func (e DoubleValueValidationError) Error() string
Error satisfies the builtin error interface
func (DoubleValueValidationError) ErrorName ¶
func (e DoubleValueValidationError) ErrorName() string
ErrorName returns error name.
func (DoubleValueValidationError) Field ¶
func (e DoubleValueValidationError) Field() string
Field function returns field value.
func (DoubleValueValidationError) Key ¶
func (e DoubleValueValidationError) Key() bool
Key function returns key value.
func (DoubleValueValidationError) Reason ¶
func (e DoubleValueValidationError) Reason() string
Reason function returns reason value.
type FloatValue ¶
type FloatValue struct { // The float value. Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `float`.
The JSON representation for `FloatValue` is JSON number.
func Float ¶
func Float(v float32) *FloatValue
Float stores v in a new FloatValue and returns a pointer to it.
func (*FloatValue) Descriptor
deprecated
func (*FloatValue) Descriptor() ([]byte, []int)
Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.
func (*FloatValue) GetValue ¶
func (x *FloatValue) GetValue() float32
func (*FloatValue) ProtoMessage ¶
func (*FloatValue) ProtoMessage()
func (*FloatValue) ProtoReflect ¶
func (x *FloatValue) ProtoReflect() protoreflect.Message
func (*FloatValue) Reset ¶
func (x *FloatValue) Reset()
func (*FloatValue) String ¶
func (x *FloatValue) String() string
func (*FloatValue) Validate ¶
func (m *FloatValue) Validate() error
Validate checks the field values on FloatValue 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 (*FloatValue) ValidateAll ¶
func (m *FloatValue) ValidateAll() error
ValidateAll checks the field values on FloatValue 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 FloatValueMultiError, or nil if none found.
type FloatValueMultiError ¶
type FloatValueMultiError []error
FloatValueMultiError is an error wrapping multiple validation errors returned by FloatValue.ValidateAll() if the designated constraints aren't met.
func (FloatValueMultiError) AllErrors ¶
func (m FloatValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FloatValueMultiError) Error ¶
func (m FloatValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FloatValueValidationError ¶
type FloatValueValidationError struct {
// contains filtered or unexported fields
}
FloatValueValidationError is the validation error returned by FloatValue.Validate if the designated constraints aren't met.
func (FloatValueValidationError) Cause ¶
func (e FloatValueValidationError) Cause() error
Cause function returns cause value.
func (FloatValueValidationError) Error ¶
func (e FloatValueValidationError) Error() string
Error satisfies the builtin error interface
func (FloatValueValidationError) ErrorName ¶
func (e FloatValueValidationError) ErrorName() string
ErrorName returns error name.
func (FloatValueValidationError) Field ¶
func (e FloatValueValidationError) Field() string
Field function returns field value.
func (FloatValueValidationError) Key ¶
func (e FloatValueValidationError) Key() bool
Key function returns key value.
func (FloatValueValidationError) Reason ¶
func (e FloatValueValidationError) Reason() string
Reason function returns reason value.
type Int32Value ¶
type Int32Value struct { // The int32 value. Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `int32`.
The JSON representation for `Int32Value` is JSON number.
func Int32 ¶
func Int32(v int32) *Int32Value
Int32 stores v in a new Int32Value and returns a pointer to it.
func (*Int32Value) Descriptor
deprecated
func (*Int32Value) Descriptor() ([]byte, []int)
Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.
func (*Int32Value) GetValue ¶
func (x *Int32Value) GetValue() int32
func (*Int32Value) ProtoMessage ¶
func (*Int32Value) ProtoMessage()
func (*Int32Value) ProtoReflect ¶
func (x *Int32Value) ProtoReflect() protoreflect.Message
func (*Int32Value) Reset ¶
func (x *Int32Value) Reset()
func (*Int32Value) String ¶
func (x *Int32Value) String() string
func (*Int32Value) Validate ¶
func (m *Int32Value) Validate() error
Validate checks the field values on Int32Value 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 (*Int32Value) ValidateAll ¶
func (m *Int32Value) ValidateAll() error
ValidateAll checks the field values on Int32Value 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 Int32ValueMultiError, or nil if none found.
type Int32ValueMultiError ¶
type Int32ValueMultiError []error
Int32ValueMultiError is an error wrapping multiple validation errors returned by Int32Value.ValidateAll() if the designated constraints aren't met.
func (Int32ValueMultiError) AllErrors ¶
func (m Int32ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Int32ValueMultiError) Error ¶
func (m Int32ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Int32ValueValidationError ¶
type Int32ValueValidationError struct {
// contains filtered or unexported fields
}
Int32ValueValidationError is the validation error returned by Int32Value.Validate if the designated constraints aren't met.
func (Int32ValueValidationError) Cause ¶
func (e Int32ValueValidationError) Cause() error
Cause function returns cause value.
func (Int32ValueValidationError) Error ¶
func (e Int32ValueValidationError) Error() string
Error satisfies the builtin error interface
func (Int32ValueValidationError) ErrorName ¶
func (e Int32ValueValidationError) ErrorName() string
ErrorName returns error name.
func (Int32ValueValidationError) Field ¶
func (e Int32ValueValidationError) Field() string
Field function returns field value.
func (Int32ValueValidationError) Key ¶
func (e Int32ValueValidationError) Key() bool
Key function returns key value.
func (Int32ValueValidationError) Reason ¶
func (e Int32ValueValidationError) Reason() string
Reason function returns reason value.
type Int64Value ¶
type Int64Value struct { // The int64 value. Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `int64`.
The JSON representation for `Int64Value` is JSON string.
func Int64 ¶
func Int64(v int64) *Int64Value
Int64 stores v in a new Int64Value and returns a pointer to it.
func (*Int64Value) Descriptor
deprecated
func (*Int64Value) Descriptor() ([]byte, []int)
Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.
func (*Int64Value) GetValue ¶
func (x *Int64Value) GetValue() int64
func (*Int64Value) ProtoMessage ¶
func (*Int64Value) ProtoMessage()
func (*Int64Value) ProtoReflect ¶
func (x *Int64Value) ProtoReflect() protoreflect.Message
func (*Int64Value) Reset ¶
func (x *Int64Value) Reset()
func (*Int64Value) String ¶
func (x *Int64Value) String() string
func (*Int64Value) Validate ¶
func (m *Int64Value) Validate() error
Validate checks the field values on Int64Value 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 (*Int64Value) ValidateAll ¶
func (m *Int64Value) ValidateAll() error
ValidateAll checks the field values on Int64Value 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 Int64ValueMultiError, or nil if none found.
type Int64ValueMultiError ¶
type Int64ValueMultiError []error
Int64ValueMultiError is an error wrapping multiple validation errors returned by Int64Value.ValidateAll() if the designated constraints aren't met.
func (Int64ValueMultiError) AllErrors ¶
func (m Int64ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Int64ValueMultiError) Error ¶
func (m Int64ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Int64ValueValidationError ¶
type Int64ValueValidationError struct {
// contains filtered or unexported fields
}
Int64ValueValidationError is the validation error returned by Int64Value.Validate if the designated constraints aren't met.
func (Int64ValueValidationError) Cause ¶
func (e Int64ValueValidationError) Cause() error
Cause function returns cause value.
func (Int64ValueValidationError) Error ¶
func (e Int64ValueValidationError) Error() string
Error satisfies the builtin error interface
func (Int64ValueValidationError) ErrorName ¶
func (e Int64ValueValidationError) ErrorName() string
ErrorName returns error name.
func (Int64ValueValidationError) Field ¶
func (e Int64ValueValidationError) Field() string
Field function returns field value.
func (Int64ValueValidationError) Key ¶
func (e Int64ValueValidationError) Key() bool
Key function returns key value.
func (Int64ValueValidationError) Reason ¶
func (e Int64ValueValidationError) Reason() string
Reason function returns reason value.
type StringValue ¶
type StringValue struct { // The string value. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `string`.
The JSON representation for `StringValue` is JSON string.
func String ¶
func String(v string) *StringValue
String stores v in a new StringValue and returns a pointer to it.
func (*StringValue) Descriptor
deprecated
func (*StringValue) Descriptor() ([]byte, []int)
Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
func (*StringValue) GetValue ¶
func (x *StringValue) GetValue() string
func (*StringValue) ProtoMessage ¶
func (*StringValue) ProtoMessage()
func (*StringValue) ProtoReflect ¶
func (x *StringValue) ProtoReflect() protoreflect.Message
func (*StringValue) Reset ¶
func (x *StringValue) Reset()
func (*StringValue) String ¶
func (x *StringValue) String() string
func (*StringValue) Validate ¶
func (m *StringValue) Validate() error
Validate checks the field values on StringValue 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 (*StringValue) ValidateAll ¶
func (m *StringValue) ValidateAll() error
ValidateAll checks the field values on StringValue 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 StringValueMultiError, or nil if none found.
type StringValueMultiError ¶
type StringValueMultiError []error
StringValueMultiError is an error wrapping multiple validation errors returned by StringValue.ValidateAll() if the designated constraints aren't met.
func (StringValueMultiError) AllErrors ¶
func (m StringValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StringValueMultiError) Error ¶
func (m StringValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StringValueValidationError ¶
type StringValueValidationError struct {
// contains filtered or unexported fields
}
StringValueValidationError is the validation error returned by StringValue.Validate if the designated constraints aren't met.
func (StringValueValidationError) Cause ¶
func (e StringValueValidationError) Cause() error
Cause function returns cause value.
func (StringValueValidationError) Error ¶
func (e StringValueValidationError) Error() string
Error satisfies the builtin error interface
func (StringValueValidationError) ErrorName ¶
func (e StringValueValidationError) ErrorName() string
ErrorName returns error name.
func (StringValueValidationError) Field ¶
func (e StringValueValidationError) Field() string
Field function returns field value.
func (StringValueValidationError) Key ¶
func (e StringValueValidationError) Key() bool
Key function returns key value.
func (StringValueValidationError) Reason ¶
func (e StringValueValidationError) Reason() string
Reason function returns reason value.
type UInt32Value ¶
type UInt32Value struct { // The uint32 value. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `uint32`.
The JSON representation for `UInt32Value` is JSON number.
func UInt32 ¶
func UInt32(v uint32) *UInt32Value
UInt32 stores v in a new UInt32Value and returns a pointer to it.
func (*UInt32Value) Descriptor
deprecated
func (*UInt32Value) Descriptor() ([]byte, []int)
Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.
func (*UInt32Value) GetValue ¶
func (x *UInt32Value) GetValue() uint32
func (*UInt32Value) ProtoMessage ¶
func (*UInt32Value) ProtoMessage()
func (*UInt32Value) ProtoReflect ¶
func (x *UInt32Value) ProtoReflect() protoreflect.Message
func (*UInt32Value) Reset ¶
func (x *UInt32Value) Reset()
func (*UInt32Value) String ¶
func (x *UInt32Value) String() string
func (*UInt32Value) Validate ¶
func (m *UInt32Value) Validate() error
Validate checks the field values on UInt32Value 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 (*UInt32Value) ValidateAll ¶
func (m *UInt32Value) ValidateAll() error
ValidateAll checks the field values on UInt32Value 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 UInt32ValueMultiError, or nil if none found.
type UInt32ValueMultiError ¶
type UInt32ValueMultiError []error
UInt32ValueMultiError is an error wrapping multiple validation errors returned by UInt32Value.ValidateAll() if the designated constraints aren't met.
func (UInt32ValueMultiError) AllErrors ¶
func (m UInt32ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UInt32ValueMultiError) Error ¶
func (m UInt32ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UInt32ValueValidationError ¶
type UInt32ValueValidationError struct {
// contains filtered or unexported fields
}
UInt32ValueValidationError is the validation error returned by UInt32Value.Validate if the designated constraints aren't met.
func (UInt32ValueValidationError) Cause ¶
func (e UInt32ValueValidationError) Cause() error
Cause function returns cause value.
func (UInt32ValueValidationError) Error ¶
func (e UInt32ValueValidationError) Error() string
Error satisfies the builtin error interface
func (UInt32ValueValidationError) ErrorName ¶
func (e UInt32ValueValidationError) ErrorName() string
ErrorName returns error name.
func (UInt32ValueValidationError) Field ¶
func (e UInt32ValueValidationError) Field() string
Field function returns field value.
func (UInt32ValueValidationError) Key ¶
func (e UInt32ValueValidationError) Key() bool
Key function returns key value.
func (UInt32ValueValidationError) Reason ¶
func (e UInt32ValueValidationError) Reason() string
Reason function returns reason value.
type UInt64Value ¶
type UInt64Value struct { // The uint64 value. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Wrapper message for `uint64`.
The JSON representation for `UInt64Value` is JSON string.
func UInt64 ¶
func UInt64(v uint64) *UInt64Value
UInt64 stores v in a new UInt64Value and returns a pointer to it.
func (*UInt64Value) Descriptor
deprecated
func (*UInt64Value) Descriptor() ([]byte, []int)
Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.
func (*UInt64Value) GetValue ¶
func (x *UInt64Value) GetValue() uint64
func (*UInt64Value) ProtoMessage ¶
func (*UInt64Value) ProtoMessage()
func (*UInt64Value) ProtoReflect ¶
func (x *UInt64Value) ProtoReflect() protoreflect.Message
func (*UInt64Value) Reset ¶
func (x *UInt64Value) Reset()
func (*UInt64Value) String ¶
func (x *UInt64Value) String() string
func (*UInt64Value) Validate ¶
func (m *UInt64Value) Validate() error
Validate checks the field values on UInt64Value 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 (*UInt64Value) ValidateAll ¶
func (m *UInt64Value) ValidateAll() error
ValidateAll checks the field values on UInt64Value 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 UInt64ValueMultiError, or nil if none found.
type UInt64ValueMultiError ¶
type UInt64ValueMultiError []error
UInt64ValueMultiError is an error wrapping multiple validation errors returned by UInt64Value.ValidateAll() if the designated constraints aren't met.
func (UInt64ValueMultiError) AllErrors ¶
func (m UInt64ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UInt64ValueMultiError) Error ¶
func (m UInt64ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UInt64ValueValidationError ¶
type UInt64ValueValidationError struct {
// contains filtered or unexported fields
}
UInt64ValueValidationError is the validation error returned by UInt64Value.Validate if the designated constraints aren't met.
func (UInt64ValueValidationError) Cause ¶
func (e UInt64ValueValidationError) Cause() error
Cause function returns cause value.
func (UInt64ValueValidationError) Error ¶
func (e UInt64ValueValidationError) Error() string
Error satisfies the builtin error interface
func (UInt64ValueValidationError) ErrorName ¶
func (e UInt64ValueValidationError) ErrorName() string
ErrorName returns error name.
func (UInt64ValueValidationError) Field ¶
func (e UInt64ValueValidationError) Field() string
Field function returns field value.
func (UInt64ValueValidationError) Key ¶
func (e UInt64ValueValidationError) Key() bool
Key function returns key value.
func (UInt64ValueValidationError) Reason ¶
func (e UInt64ValueValidationError) Reason() string
Reason function returns reason value.