Documentation ¶
Index ¶
- Variables
- type ErrorItem
- func (*ErrorItem) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorItem) GetCode() int32
- func (x *ErrorItem) GetMessage() string
- func (*ErrorItem) ProtoMessage()
- func (x *ErrorItem) ProtoReflect() protoreflect.Message
- func (x *ErrorItem) Reset()
- func (x *ErrorItem) String() string
- func (m *ErrorItem) Validate() error
- type ErrorItemValidationError
- type ErrorResult
- func (*ErrorResult) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResult) GetError() *ErrorItem
- func (*ErrorResult) ProtoMessage()
- func (x *ErrorResult) ProtoReflect() protoreflect.Message
- func (x *ErrorResult) Reset()
- func (x *ErrorResult) String() string
- func (m *ErrorResult) Validate() error
- type ErrorResultValidationError
- func (e ErrorResultValidationError) Cause() error
- func (e ErrorResultValidationError) Error() string
- func (e ErrorResultValidationError) ErrorName() string
- func (e ErrorResultValidationError) Field() string
- func (e ErrorResultValidationError) Key() bool
- func (e ErrorResultValidationError) Reason() string
- type IDResult
- type IDResultValidationError
- type OrderBy
- type OrderByField
- func (*OrderByField) Descriptor() ([]byte, []int)deprecated
- func (x *OrderByField) GetDirection() OrderBy
- func (x *OrderByField) GetKey() string
- func (*OrderByField) ProtoMessage()
- func (x *OrderByField) ProtoReflect() protoreflect.Message
- func (x *OrderByField) Reset()
- func (x *OrderByField) String() string
- func (m *OrderByField) Validate() error
- type OrderByFieldValidationError
- func (e OrderByFieldValidationError) Cause() error
- func (e OrderByFieldValidationError) Error() string
- func (e OrderByFieldValidationError) ErrorName() string
- func (e OrderByFieldValidationError) Field() string
- func (e OrderByFieldValidationError) Key() bool
- func (e OrderByFieldValidationError) Reason() string
- type PaginationParam
- func (*PaginationParam) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationParam) GetCountOnly() bool
- func (x *PaginationParam) GetCursor() string
- func (x *PaginationParam) GetPage() int32
- func (x *PaginationParam) GetPageSize() int32
- func (x *PaginationParam) GetPagination() bool
- func (*PaginationParam) ProtoMessage()
- func (x *PaginationParam) ProtoReflect() protoreflect.Message
- func (x *PaginationParam) Reset()
- func (x *PaginationParam) String() string
- func (m *PaginationParam) Validate() error
- type PaginationParamValidationError
- func (e PaginationParamValidationError) Cause() error
- func (e PaginationParamValidationError) Error() string
- func (e PaginationParamValidationError) ErrorName() string
- func (e PaginationParamValidationError) Field() string
- func (e PaginationParamValidationError) Key() bool
- func (e PaginationParamValidationError) Reason() string
- type PaginationResult
- func (*PaginationResult) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResult) GetCursor() string
- func (x *PaginationResult) GetPage() int32
- func (x *PaginationResult) GetPageSize() int32
- func (x *PaginationResult) GetTotal() int32
- func (*PaginationResult) ProtoMessage()
- func (x *PaginationResult) ProtoReflect() protoreflect.Message
- func (x *PaginationResult) Reset()
- func (x *PaginationResult) String() string
- func (m *PaginationResult) Validate() error
- type PaginationResultValidationError
- func (e PaginationResultValidationError) Cause() error
- func (e PaginationResultValidationError) Error() string
- func (e PaginationResultValidationError) ErrorName() string
- func (e PaginationResultValidationError) Field() string
- func (e PaginationResultValidationError) Key() bool
- func (e PaginationResultValidationError) Reason() string
- type QueryOptions
- func (*QueryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOptions) GetOrderByFields() []*OrderByField
- func (x *QueryOptions) GetSelectFields() []string
- func (*QueryOptions) ProtoMessage()
- func (x *QueryOptions) ProtoReflect() protoreflect.Message
- func (x *QueryOptions) Reset()
- func (x *QueryOptions) String() string
- func (m *QueryOptions) Validate() error
- type QueryOptionsValidationError
- func (e QueryOptionsValidationError) Cause() error
- func (e QueryOptionsValidationError) Error() string
- func (e QueryOptionsValidationError) ErrorName() string
- func (e QueryOptionsValidationError) Field() string
- func (e QueryOptionsValidationError) Key() bool
- func (e QueryOptionsValidationError) Reason() string
- type StatusResult
- func (*StatusResult) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResult) GetStatus() string
- func (*StatusResult) ProtoMessage()
- func (x *StatusResult) ProtoReflect() protoreflect.Message
- func (x *StatusResult) Reset()
- func (x *StatusResult) String() string
- func (m *StatusResult) Validate() error
- type StatusResultValidationError
- func (e StatusResultValidationError) Cause() error
- func (e StatusResultValidationError) Error() string
- func (e StatusResultValidationError) ErrorName() string
- func (e StatusResultValidationError) Field() string
- func (e StatusResultValidationError) Key() bool
- func (e StatusResultValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( OrderBy_name = map[int32]string{ 0: "UNKNOWN", 1: "ASC", 2: "DESC", } OrderBy_value = map[string]int32{ "UNKNOWN": 0, "ASC": 1, "DESC": 2, } )
Enum value maps for OrderBy.
var File_pkg_proto_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrorItem ¶
type ErrorItem struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ErrorItem) Descriptor
deprecated
func (*ErrorItem) GetMessage ¶
func (*ErrorItem) ProtoMessage ¶
func (*ErrorItem) ProtoMessage()
func (*ErrorItem) ProtoReflect ¶
func (x *ErrorItem) ProtoReflect() protoreflect.Message
type ErrorItemValidationError ¶
type ErrorItemValidationError struct {
// contains filtered or unexported fields
}
ErrorItemValidationError is the validation error returned by ErrorItem.Validate if the designated constraints aren't met.
func (ErrorItemValidationError) Cause ¶
func (e ErrorItemValidationError) Cause() error
Cause function returns cause value.
func (ErrorItemValidationError) Error ¶
func (e ErrorItemValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorItemValidationError) ErrorName ¶
func (e ErrorItemValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorItemValidationError) Field ¶
func (e ErrorItemValidationError) Field() string
Field function returns field value.
func (ErrorItemValidationError) Key ¶
func (e ErrorItemValidationError) Key() bool
Key function returns key value.
func (ErrorItemValidationError) Reason ¶
func (e ErrorItemValidationError) Reason() string
Reason function returns reason value.
type ErrorResult ¶
type ErrorResult struct { Error *ErrorItem `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ErrorResult) Descriptor
deprecated
func (*ErrorResult) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResult.ProtoReflect.Descriptor instead.
func (*ErrorResult) GetError ¶
func (x *ErrorResult) GetError() *ErrorItem
func (*ErrorResult) ProtoMessage ¶
func (*ErrorResult) ProtoMessage()
func (*ErrorResult) ProtoReflect ¶
func (x *ErrorResult) ProtoReflect() protoreflect.Message
func (*ErrorResult) Reset ¶
func (x *ErrorResult) Reset()
func (*ErrorResult) String ¶
func (x *ErrorResult) String() string
func (*ErrorResult) Validate ¶
func (m *ErrorResult) Validate() error
Validate checks the field values on ErrorResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ErrorResultValidationError ¶
type ErrorResultValidationError struct {
// contains filtered or unexported fields
}
ErrorResultValidationError is the validation error returned by ErrorResult.Validate if the designated constraints aren't met.
func (ErrorResultValidationError) Cause ¶
func (e ErrorResultValidationError) Cause() error
Cause function returns cause value.
func (ErrorResultValidationError) Error ¶
func (e ErrorResultValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorResultValidationError) ErrorName ¶
func (e ErrorResultValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorResultValidationError) Field ¶
func (e ErrorResultValidationError) Field() string
Field function returns field value.
func (ErrorResultValidationError) Key ¶
func (e ErrorResultValidationError) Key() bool
Key function returns key value.
func (ErrorResultValidationError) Reason ¶
func (e ErrorResultValidationError) Reason() string
Reason function returns reason value.
type IDResult ¶
type IDResult struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IDResult) Descriptor
deprecated
func (*IDResult) ProtoMessage ¶
func (*IDResult) ProtoMessage()
func (*IDResult) ProtoReflect ¶
func (x *IDResult) ProtoReflect() protoreflect.Message
type IDResultValidationError ¶
type IDResultValidationError struct {
// contains filtered or unexported fields
}
IDResultValidationError is the validation error returned by IDResult.Validate if the designated constraints aren't met.
func (IDResultValidationError) Cause ¶
func (e IDResultValidationError) Cause() error
Cause function returns cause value.
func (IDResultValidationError) Error ¶
func (e IDResultValidationError) Error() string
Error satisfies the builtin error interface
func (IDResultValidationError) ErrorName ¶
func (e IDResultValidationError) ErrorName() string
ErrorName returns error name.
func (IDResultValidationError) Field ¶
func (e IDResultValidationError) Field() string
Field function returns field value.
func (IDResultValidationError) Key ¶
func (e IDResultValidationError) Key() bool
Key function returns key value.
func (IDResultValidationError) Reason ¶
func (e IDResultValidationError) Reason() string
Reason function returns reason value.
type OrderBy ¶
type OrderBy int32
func (OrderBy) Descriptor ¶
func (OrderBy) Descriptor() protoreflect.EnumDescriptor
func (OrderBy) EnumDescriptor
deprecated
func (OrderBy) Number ¶
func (x OrderBy) Number() protoreflect.EnumNumber
func (OrderBy) Type ¶
func (OrderBy) Type() protoreflect.EnumType
type OrderByField ¶
type OrderByField struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Direction OrderBy `protobuf:"varint,2,opt,name=Direction,proto3,enum=pkg.proto.common.OrderBy" json:"Direction,omitempty"` // contains filtered or unexported fields }
func (*OrderByField) Descriptor
deprecated
func (*OrderByField) Descriptor() ([]byte, []int)
Deprecated: Use OrderByField.ProtoReflect.Descriptor instead.
func (*OrderByField) GetDirection ¶
func (x *OrderByField) GetDirection() OrderBy
func (*OrderByField) GetKey ¶
func (x *OrderByField) GetKey() string
func (*OrderByField) ProtoMessage ¶
func (*OrderByField) ProtoMessage()
func (*OrderByField) ProtoReflect ¶
func (x *OrderByField) ProtoReflect() protoreflect.Message
func (*OrderByField) Reset ¶
func (x *OrderByField) Reset()
func (*OrderByField) String ¶
func (x *OrderByField) String() string
func (*OrderByField) Validate ¶
func (m *OrderByField) Validate() error
Validate checks the field values on OrderByField with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OrderByFieldValidationError ¶
type OrderByFieldValidationError struct {
// contains filtered or unexported fields
}
OrderByFieldValidationError is the validation error returned by OrderByField.Validate if the designated constraints aren't met.
func (OrderByFieldValidationError) Cause ¶
func (e OrderByFieldValidationError) Cause() error
Cause function returns cause value.
func (OrderByFieldValidationError) Error ¶
func (e OrderByFieldValidationError) Error() string
Error satisfies the builtin error interface
func (OrderByFieldValidationError) ErrorName ¶
func (e OrderByFieldValidationError) ErrorName() string
ErrorName returns error name.
func (OrderByFieldValidationError) Field ¶
func (e OrderByFieldValidationError) Field() string
Field function returns field value.
func (OrderByFieldValidationError) Key ¶
func (e OrderByFieldValidationError) Key() bool
Key function returns key value.
func (OrderByFieldValidationError) Reason ¶
func (e OrderByFieldValidationError) Reason() string
Reason function returns reason value.
type PaginationParam ¶
type PaginationParam struct { Pagination bool `protobuf:"varint,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CountOnly bool `protobuf:"varint,2,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*PaginationParam) Descriptor
deprecated
func (*PaginationParam) Descriptor() ([]byte, []int)
Deprecated: Use PaginationParam.ProtoReflect.Descriptor instead.
func (*PaginationParam) GetCountOnly ¶
func (x *PaginationParam) GetCountOnly() bool
func (*PaginationParam) GetCursor ¶
func (x *PaginationParam) GetCursor() string
func (*PaginationParam) GetPage ¶
func (x *PaginationParam) GetPage() int32
func (*PaginationParam) GetPageSize ¶
func (x *PaginationParam) GetPageSize() int32
func (*PaginationParam) GetPagination ¶
func (x *PaginationParam) GetPagination() bool
func (*PaginationParam) ProtoMessage ¶
func (*PaginationParam) ProtoMessage()
func (*PaginationParam) ProtoReflect ¶
func (x *PaginationParam) ProtoReflect() protoreflect.Message
func (*PaginationParam) Reset ¶
func (x *PaginationParam) Reset()
func (*PaginationParam) String ¶
func (x *PaginationParam) String() string
func (*PaginationParam) Validate ¶
func (m *PaginationParam) Validate() error
Validate checks the field values on PaginationParam with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PaginationParamValidationError ¶
type PaginationParamValidationError struct {
// contains filtered or unexported fields
}
PaginationParamValidationError is the validation error returned by PaginationParam.Validate if the designated constraints aren't met.
func (PaginationParamValidationError) Cause ¶
func (e PaginationParamValidationError) Cause() error
Cause function returns cause value.
func (PaginationParamValidationError) Error ¶
func (e PaginationParamValidationError) Error() string
Error satisfies the builtin error interface
func (PaginationParamValidationError) ErrorName ¶
func (e PaginationParamValidationError) ErrorName() string
ErrorName returns error name.
func (PaginationParamValidationError) Field ¶
func (e PaginationParamValidationError) Field() string
Field function returns field value.
func (PaginationParamValidationError) Key ¶
func (e PaginationParamValidationError) Key() bool
Key function returns key value.
func (PaginationParamValidationError) Reason ¶
func (e PaginationParamValidationError) Reason() string
Reason function returns reason value.
type PaginationResult ¶
type PaginationResult struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,proto3" json:"page_size,omitempty"` Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*PaginationResult) Descriptor
deprecated
func (*PaginationResult) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResult.ProtoReflect.Descriptor instead.
func (*PaginationResult) GetCursor ¶
func (x *PaginationResult) GetCursor() string
func (*PaginationResult) GetPage ¶
func (x *PaginationResult) GetPage() int32
func (*PaginationResult) GetPageSize ¶
func (x *PaginationResult) GetPageSize() int32
func (*PaginationResult) GetTotal ¶
func (x *PaginationResult) GetTotal() int32
func (*PaginationResult) ProtoMessage ¶
func (*PaginationResult) ProtoMessage()
func (*PaginationResult) ProtoReflect ¶
func (x *PaginationResult) ProtoReflect() protoreflect.Message
func (*PaginationResult) Reset ¶
func (x *PaginationResult) Reset()
func (*PaginationResult) String ¶
func (x *PaginationResult) String() string
func (*PaginationResult) Validate ¶
func (m *PaginationResult) Validate() error
Validate checks the field values on PaginationResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PaginationResultValidationError ¶
type PaginationResultValidationError struct {
// contains filtered or unexported fields
}
PaginationResultValidationError is the validation error returned by PaginationResult.Validate if the designated constraints aren't met.
func (PaginationResultValidationError) Cause ¶
func (e PaginationResultValidationError) Cause() error
Cause function returns cause value.
func (PaginationResultValidationError) Error ¶
func (e PaginationResultValidationError) Error() string
Error satisfies the builtin error interface
func (PaginationResultValidationError) ErrorName ¶
func (e PaginationResultValidationError) ErrorName() string
ErrorName returns error name.
func (PaginationResultValidationError) Field ¶
func (e PaginationResultValidationError) Field() string
Field function returns field value.
func (PaginationResultValidationError) Key ¶
func (e PaginationResultValidationError) Key() bool
Key function returns key value.
func (PaginationResultValidationError) Reason ¶
func (e PaginationResultValidationError) Reason() string
Reason function returns reason value.
type QueryOptions ¶
type QueryOptions struct { OrderByFields []*OrderByField `protobuf:"bytes,1,rep,name=OrderByFields,proto3" json:"OrderByFields,omitempty"` SelectFields []string `protobuf:"bytes,2,rep,name=SelectFields,proto3" json:"SelectFields,omitempty"` // contains filtered or unexported fields }
func (*QueryOptions) Descriptor
deprecated
func (*QueryOptions) Descriptor() ([]byte, []int)
Deprecated: Use QueryOptions.ProtoReflect.Descriptor instead.
func (*QueryOptions) GetOrderByFields ¶
func (x *QueryOptions) GetOrderByFields() []*OrderByField
func (*QueryOptions) GetSelectFields ¶
func (x *QueryOptions) GetSelectFields() []string
func (*QueryOptions) ProtoMessage ¶
func (*QueryOptions) ProtoMessage()
func (*QueryOptions) ProtoReflect ¶
func (x *QueryOptions) ProtoReflect() protoreflect.Message
func (*QueryOptions) Reset ¶
func (x *QueryOptions) Reset()
func (*QueryOptions) String ¶
func (x *QueryOptions) String() string
func (*QueryOptions) Validate ¶
func (m *QueryOptions) Validate() error
Validate checks the field values on QueryOptions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type QueryOptionsValidationError ¶
type QueryOptionsValidationError struct {
// contains filtered or unexported fields
}
QueryOptionsValidationError is the validation error returned by QueryOptions.Validate if the designated constraints aren't met.
func (QueryOptionsValidationError) Cause ¶
func (e QueryOptionsValidationError) Cause() error
Cause function returns cause value.
func (QueryOptionsValidationError) Error ¶
func (e QueryOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (QueryOptionsValidationError) ErrorName ¶
func (e QueryOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (QueryOptionsValidationError) Field ¶
func (e QueryOptionsValidationError) Field() string
Field function returns field value.
func (QueryOptionsValidationError) Key ¶
func (e QueryOptionsValidationError) Key() bool
Key function returns key value.
func (QueryOptionsValidationError) Reason ¶
func (e QueryOptionsValidationError) Reason() string
Reason function returns reason value.
type StatusResult ¶
type StatusResult struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StatusResult) Descriptor
deprecated
func (*StatusResult) Descriptor() ([]byte, []int)
Deprecated: Use StatusResult.ProtoReflect.Descriptor instead.
func (*StatusResult) GetStatus ¶
func (x *StatusResult) GetStatus() string
func (*StatusResult) ProtoMessage ¶
func (*StatusResult) ProtoMessage()
func (*StatusResult) ProtoReflect ¶
func (x *StatusResult) ProtoReflect() protoreflect.Message
func (*StatusResult) Reset ¶
func (x *StatusResult) Reset()
func (*StatusResult) String ¶
func (x *StatusResult) String() string
func (*StatusResult) Validate ¶
func (m *StatusResult) Validate() error
Validate checks the field values on StatusResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StatusResultValidationError ¶
type StatusResultValidationError struct {
// contains filtered or unexported fields
}
StatusResultValidationError is the validation error returned by StatusResult.Validate if the designated constraints aren't met.
func (StatusResultValidationError) Cause ¶
func (e StatusResultValidationError) Cause() error
Cause function returns cause value.
func (StatusResultValidationError) Error ¶
func (e StatusResultValidationError) Error() string
Error satisfies the builtin error interface
func (StatusResultValidationError) ErrorName ¶
func (e StatusResultValidationError) ErrorName() string
ErrorName returns error name.
func (StatusResultValidationError) Field ¶
func (e StatusResultValidationError) Field() string
Field function returns field value.
func (StatusResultValidationError) Key ¶
func (e StatusResultValidationError) Key() bool
Key function returns key value.
func (StatusResultValidationError) Reason ¶
func (e StatusResultValidationError) Reason() string
Reason function returns reason value.