Documentation ¶
Index ¶
- Variables
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BoolResponse) GetSuccess() bool
- func (*BoolResponse) ProtoMessage()
- func (x *BoolResponse) ProtoReflect() protoreflect.Message
- func (x *BoolResponse) Reset()
- func (x *BoolResponse) String() string
- func (m *BoolResponse) Validate() error
- func (m *BoolResponse) ValidateAll() error
- type BoolResponseMultiError
- type BoolResponseValidationError
- func (e BoolResponseValidationError) Cause() error
- func (e BoolResponseValidationError) Error() string
- func (e BoolResponseValidationError) ErrorName() string
- func (e BoolResponseValidationError) Field() string
- func (e BoolResponseValidationError) Key() bool
- func (e BoolResponseValidationError) Reason() string
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetMessage() string
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (x *ErrorResponse) String() string
- func (m *ErrorResponse) Validate() error
- func (m *ErrorResponse) ValidateAll() error
- type ErrorResponseMultiError
- type ErrorResponseValidationError
- func (e ErrorResponseValidationError) Cause() error
- func (e ErrorResponseValidationError) Error() string
- func (e ErrorResponseValidationError) ErrorName() string
- func (e ErrorResponseValidationError) Field() string
- func (e ErrorResponseValidationError) Key() bool
- func (e ErrorResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_common_v1_openapi_proto protoreflect.FileDescriptor
var File_common_v1_response_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BoolResponse ¶
type BoolResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*BoolResponse) Descriptor
deprecated
func (*BoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use BoolResponse.ProtoReflect.Descriptor instead.
func (*BoolResponse) GetSuccess ¶
func (x *BoolResponse) GetSuccess() bool
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) ProtoReflect ¶
func (x *BoolResponse) ProtoReflect() protoreflect.Message
func (*BoolResponse) Reset ¶
func (x *BoolResponse) Reset()
func (*BoolResponse) String ¶
func (x *BoolResponse) String() string
func (*BoolResponse) Validate ¶
func (m *BoolResponse) Validate() error
Validate checks the field values on BoolResponse 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 (*BoolResponse) ValidateAll ¶
func (m *BoolResponse) ValidateAll() error
ValidateAll checks the field values on BoolResponse 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 BoolResponseMultiError, or nil if none found.
type BoolResponseMultiError ¶
type BoolResponseMultiError []error
BoolResponseMultiError is an error wrapping multiple validation errors returned by BoolResponse.ValidateAll() if the designated constraints aren't met.
func (BoolResponseMultiError) AllErrors ¶
func (m BoolResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BoolResponseMultiError) Error ¶
func (m BoolResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BoolResponseValidationError ¶
type BoolResponseValidationError struct {
// contains filtered or unexported fields
}
BoolResponseValidationError is the validation error returned by BoolResponse.Validate if the designated constraints aren't met.
func (BoolResponseValidationError) Cause ¶
func (e BoolResponseValidationError) Cause() error
Cause function returns cause value.
func (BoolResponseValidationError) Error ¶
func (e BoolResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BoolResponseValidationError) ErrorName ¶
func (e BoolResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BoolResponseValidationError) Field ¶
func (e BoolResponseValidationError) Field() string
Field function returns field value.
func (BoolResponseValidationError) Key ¶
func (e BoolResponseValidationError) Key() bool
Key function returns key value.
func (BoolResponseValidationError) Reason ¶
func (e BoolResponseValidationError) Reason() string
Reason function returns reason value.
type ErrorResponse ¶
type ErrorResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetMessage ¶
func (x *ErrorResponse) GetMessage() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
func (*ErrorResponse) Validate ¶
func (m *ErrorResponse) Validate() error
Validate checks the field values on ErrorResponse 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 (*ErrorResponse) ValidateAll ¶
func (m *ErrorResponse) ValidateAll() error
ValidateAll checks the field values on ErrorResponse 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 ErrorResponseMultiError, or nil if none found.
type ErrorResponseMultiError ¶
type ErrorResponseMultiError []error
ErrorResponseMultiError is an error wrapping multiple validation errors returned by ErrorResponse.ValidateAll() if the designated constraints aren't met.
func (ErrorResponseMultiError) AllErrors ¶
func (m ErrorResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorResponseMultiError) Error ¶
func (m ErrorResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorResponseValidationError ¶
type ErrorResponseValidationError struct {
// contains filtered or unexported fields
}
ErrorResponseValidationError is the validation error returned by ErrorResponse.Validate if the designated constraints aren't met.
func (ErrorResponseValidationError) Cause ¶
func (e ErrorResponseValidationError) Cause() error
Cause function returns cause value.
func (ErrorResponseValidationError) Error ¶
func (e ErrorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorResponseValidationError) ErrorName ¶
func (e ErrorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorResponseValidationError) Field ¶
func (e ErrorResponseValidationError) Field() string
Field function returns field value.
func (ErrorResponseValidationError) Key ¶
func (e ErrorResponseValidationError) Key() bool
Key function returns key value.
func (ErrorResponseValidationError) Reason ¶
func (e ErrorResponseValidationError) Reason() string
Reason function returns reason value.