Documentation
¶
Index ¶
- Variables
- type IdsRequest
- func (*IdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IdsRequest) GetIds() string
- func (*IdsRequest) ProtoMessage()
- func (x *IdsRequest) ProtoReflect() protoreflect.Message
- func (x *IdsRequest) Reset()
- func (x *IdsRequest) String() string
- func (m *IdsRequest) Validate() error
- func (m *IdsRequest) ValidateAll() error
- type IdsRequestMultiError
- type IdsRequestValidationError
- type Page
- func (*Page) Descriptor() ([]byte, []int)deprecated
- func (x *Page) GetCount() int64
- func (x *Page) GetCurrentPage() int32
- func (x *Page) GetPageSize() int32
- func (x *Page) GetTotalPage() int32
- func (*Page) ProtoMessage()
- func (x *Page) ProtoReflect() protoreflect.Message
- func (x *Page) Reset()
- func (x *Page) String() string
- func (m *Page) Validate() error
- func (m *Page) ValidateAll() error
- type PageMultiError
- type PageValidationError
- type Sort
- func (*Sort) Descriptor() ([]byte, []int)deprecated
- func (x *Sort) GetDirection() string
- func (x *Sort) GetFilter() string
- func (x *Sort) GetType() string
- func (*Sort) ProtoMessage()
- func (x *Sort) ProtoReflect() protoreflect.Message
- func (x *Sort) Reset()
- func (x *Sort) String() string
- func (m *Sort) Validate() error
- func (m *Sort) ValidateAll() error
- type SortMultiError
- type SortValidationError
Constants ¶
This section is empty.
Variables ¶
var File_proto_base_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type IdsRequest ¶ added in v1.0.7
type IdsRequest struct { Ids string `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*IdsRequest) Descriptor
deprecated
added in
v1.0.7
func (*IdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IdsRequest.ProtoReflect.Descriptor instead.
func (*IdsRequest) GetIds ¶ added in v1.0.7
func (x *IdsRequest) GetIds() string
func (*IdsRequest) ProtoMessage ¶ added in v1.0.7
func (*IdsRequest) ProtoMessage()
func (*IdsRequest) ProtoReflect ¶ added in v1.0.7
func (x *IdsRequest) ProtoReflect() protoreflect.Message
func (*IdsRequest) Reset ¶ added in v1.0.7
func (x *IdsRequest) Reset()
func (*IdsRequest) String ¶ added in v1.0.7
func (x *IdsRequest) String() string
func (*IdsRequest) Validate ¶ added in v1.0.7
func (m *IdsRequest) Validate() error
Validate checks the field values on IdsRequest 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 (*IdsRequest) ValidateAll ¶ added in v1.0.7
func (m *IdsRequest) ValidateAll() error
ValidateAll checks the field values on IdsRequest 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 IdsRequestMultiError, or nil if none found.
type IdsRequestMultiError ¶ added in v1.0.7
type IdsRequestMultiError []error
IdsRequestMultiError is an error wrapping multiple validation errors returned by IdsRequest.ValidateAll() if the designated constraints aren't met.
func (IdsRequestMultiError) AllErrors ¶ added in v1.0.7
func (m IdsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IdsRequestMultiError) Error ¶ added in v1.0.7
func (m IdsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IdsRequestValidationError ¶ added in v1.0.7
type IdsRequestValidationError struct {
// contains filtered or unexported fields
}
IdsRequestValidationError is the validation error returned by IdsRequest.Validate if the designated constraints aren't met.
func (IdsRequestValidationError) Cause ¶ added in v1.0.7
func (e IdsRequestValidationError) Cause() error
Cause function returns cause value.
func (IdsRequestValidationError) Error ¶ added in v1.0.7
func (e IdsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IdsRequestValidationError) ErrorName ¶ added in v1.0.7
func (e IdsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IdsRequestValidationError) Field ¶ added in v1.0.7
func (e IdsRequestValidationError) Field() string
Field function returns field value.
func (IdsRequestValidationError) Key ¶ added in v1.0.7
func (e IdsRequestValidationError) Key() bool
Key function returns key value.
func (IdsRequestValidationError) Reason ¶ added in v1.0.7
func (e IdsRequestValidationError) Reason() string
Reason function returns reason value.
type Page ¶ added in v1.0.7
type Page struct { CurrentPage int32 `protobuf:"varint,1,opt,name=currentPage,proto3" json:"currentPage,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` TotalPage int32 `protobuf:"varint,3,opt,name=totalPage,proto3" json:"totalPage,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
added in
v1.0.7
func (*Page) GetCurrentPage ¶ added in v1.0.7
func (*Page) GetPageSize ¶ added in v1.0.7
func (*Page) GetTotalPage ¶ added in v1.0.7
func (*Page) ProtoMessage ¶ added in v1.0.7
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶ added in v1.0.7
func (x *Page) ProtoReflect() protoreflect.Message
func (*Page) Validate ¶ added in v1.0.7
Validate checks the field values on Page 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 (*Page) ValidateAll ¶ added in v1.0.7
ValidateAll checks the field values on Page 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 PageMultiError, or nil if none found.
type PageMultiError ¶ added in v1.0.7
type PageMultiError []error
PageMultiError is an error wrapping multiple validation errors returned by Page.ValidateAll() if the designated constraints aren't met.
func (PageMultiError) AllErrors ¶ added in v1.0.7
func (m PageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageMultiError) Error ¶ added in v1.0.7
func (m PageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageValidationError ¶ added in v1.0.7
type PageValidationError struct {
// contains filtered or unexported fields
}
PageValidationError is the validation error returned by Page.Validate if the designated constraints aren't met.
func (PageValidationError) Cause ¶ added in v1.0.7
func (e PageValidationError) Cause() error
Cause function returns cause value.
func (PageValidationError) Error ¶ added in v1.0.7
func (e PageValidationError) Error() string
Error satisfies the builtin error interface
func (PageValidationError) ErrorName ¶ added in v1.0.7
func (e PageValidationError) ErrorName() string
ErrorName returns error name.
func (PageValidationError) Field ¶ added in v1.0.7
func (e PageValidationError) Field() string
Field function returns field value.
func (PageValidationError) Key ¶ added in v1.0.7
func (e PageValidationError) Key() bool
Key function returns key value.
func (PageValidationError) Reason ¶ added in v1.0.7
func (e PageValidationError) Reason() string
Reason function returns reason value.
type Sort ¶
type Sort struct { Filter *string `protobuf:"bytes,1,opt,name=filter,proto3,oneof" json:"filter,omitempty"` Type *string `protobuf:"bytes,2,opt,name=type,proto3,oneof" json:"type,omitempty"` Direction *string `protobuf:"bytes,3,opt,name=direction,proto3,oneof" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*Sort) Descriptor
deprecated
func (*Sort) GetDirection ¶
func (*Sort) ProtoMessage ¶
func (*Sort) ProtoMessage()
func (*Sort) ProtoReflect ¶
func (x *Sort) ProtoReflect() protoreflect.Message
func (*Sort) Validate ¶ added in v1.0.6
Validate checks the field values on Sort 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 (*Sort) ValidateAll ¶ added in v1.0.6
ValidateAll checks the field values on Sort 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 SortMultiError, or nil if none found.
type SortMultiError ¶ added in v1.0.6
type SortMultiError []error
SortMultiError is an error wrapping multiple validation errors returned by Sort.ValidateAll() if the designated constraints aren't met.
func (SortMultiError) AllErrors ¶ added in v1.0.6
func (m SortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SortMultiError) Error ¶ added in v1.0.6
func (m SortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SortValidationError ¶ added in v1.0.6
type SortValidationError struct {
// contains filtered or unexported fields
}
SortValidationError is the validation error returned by Sort.Validate if the designated constraints aren't met.
func (SortValidationError) Cause ¶ added in v1.0.6
func (e SortValidationError) Cause() error
Cause function returns cause value.
func (SortValidationError) Error ¶ added in v1.0.6
func (e SortValidationError) Error() string
Error satisfies the builtin error interface
func (SortValidationError) ErrorName ¶ added in v1.0.6
func (e SortValidationError) ErrorName() string
ErrorName returns error name.
func (SortValidationError) Field ¶ added in v1.0.6
func (e SortValidationError) Field() string
Field function returns field value.
func (SortValidationError) Key ¶ added in v1.0.6
func (e SortValidationError) Key() bool
Key function returns key value.
func (SortValidationError) Reason ¶ added in v1.0.6
func (e SortValidationError) Reason() string
Reason function returns reason value.