Documentation ¶
Index ¶
- Variables
- type EmptyRequest
- type EmptyRequestValidationError
- func (e EmptyRequestValidationError) Cause() error
- func (e EmptyRequestValidationError) Error() string
- func (e EmptyRequestValidationError) ErrorName() string
- func (e EmptyRequestValidationError) Field() string
- func (e EmptyRequestValidationError) Key() bool
- func (e EmptyRequestValidationError) Reason() string
- type OpResponse
- func (*OpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpResponse) GetStatus() OpStatus
- func (x *OpResponse) GetStatusName() string
- func (x *OpResponse) GetUserInfo() string
- func (*OpResponse) ProtoMessage()
- func (x *OpResponse) ProtoReflect() protoreflect.Message
- func (x *OpResponse) Reset()
- func (x *OpResponse) String() string
- func (m *OpResponse) Validate() error
- type OpResponseValidationError
- type OpStatus
Constants ¶
This section is empty.
Variables ¶
var ( OpStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", } OpStatus_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, } )
Enum value maps for OpStatus.
var File_catalog_common_entities_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
Empty message as required by gRPC for services not requiring any parameters.
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
func (*EmptyRequest) Validate ¶
func (m *EmptyRequest) Validate() error
Validate checks the field values on EmptyRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EmptyRequestValidationError ¶
type EmptyRequestValidationError struct {
// contains filtered or unexported fields
}
EmptyRequestValidationError is the validation error returned by EmptyRequest.Validate if the designated constraints aren't met.
func (EmptyRequestValidationError) Cause ¶
func (e EmptyRequestValidationError) Cause() error
Cause function returns cause value.
func (EmptyRequestValidationError) Error ¶
func (e EmptyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyRequestValidationError) ErrorName ¶
func (e EmptyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyRequestValidationError) Field ¶
func (e EmptyRequestValidationError) Field() string
Field function returns field value.
func (EmptyRequestValidationError) Key ¶
func (e EmptyRequestValidationError) Key() bool
Key function returns key value.
func (EmptyRequestValidationError) Reason ¶
func (e EmptyRequestValidationError) Reason() string
Reason function returns reason value.
type OpResponse ¶
type OpResponse struct { // Status of the operation. Status OpStatus `protobuf:"varint,1,opt,name=status,proto3,enum=catalog_common.OpStatus" json:"status,omitempty"` // StatusName with the string representation of the status. StatusName string `protobuf:"bytes,2,opt,name=status_name,json=statusName,proto3" json:"status_name,omitempty"` // UserInfo with additional information to show to the user. UserInfo string `protobuf:"bytes,3,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"` // contains filtered or unexported fields }
OpResponse with a common definition for the result of executing an operation through gRPC. Notice that in case of an error, the call must fail unless the operation is executed asynchronously and this message contains the result of a past operation.
func (*OpResponse) Descriptor
deprecated
func (*OpResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpResponse.ProtoReflect.Descriptor instead.
func (*OpResponse) GetStatus ¶
func (x *OpResponse) GetStatus() OpStatus
func (*OpResponse) GetStatusName ¶
func (x *OpResponse) GetStatusName() string
func (*OpResponse) GetUserInfo ¶
func (x *OpResponse) GetUserInfo() string
func (*OpResponse) ProtoMessage ¶
func (*OpResponse) ProtoMessage()
func (*OpResponse) ProtoReflect ¶
func (x *OpResponse) ProtoReflect() protoreflect.Message
func (*OpResponse) Reset ¶
func (x *OpResponse) Reset()
func (*OpResponse) String ¶
func (x *OpResponse) String() string
func (*OpResponse) Validate ¶
func (m *OpResponse) Validate() error
Validate checks the field values on OpResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpResponseValidationError ¶
type OpResponseValidationError struct {
// contains filtered or unexported fields
}
OpResponseValidationError is the validation error returned by OpResponse.Validate if the designated constraints aren't met.
func (OpResponseValidationError) Cause ¶
func (e OpResponseValidationError) Cause() error
Cause function returns cause value.
func (OpResponseValidationError) Error ¶
func (e OpResponseValidationError) Error() string
Error satisfies the builtin error interface
func (OpResponseValidationError) ErrorName ¶
func (e OpResponseValidationError) ErrorName() string
ErrorName returns error name.
func (OpResponseValidationError) Field ¶
func (e OpResponseValidationError) Field() string
Field function returns field value.
func (OpResponseValidationError) Key ¶
func (e OpResponseValidationError) Key() bool
Key function returns key value.
func (OpResponseValidationError) Reason ¶
func (e OpResponseValidationError) Reason() string
Reason function returns reason value.
type OpStatus ¶
type OpStatus int32
OpStatus enumeration defining the possible status of an operation.
func (OpStatus) Descriptor ¶
func (OpStatus) Descriptor() protoreflect.EnumDescriptor
func (OpStatus) EnumDescriptor
deprecated
func (OpStatus) Number ¶
func (x OpStatus) Number() protoreflect.EnumNumber
func (OpStatus) Type ¶
func (OpStatus) Type() protoreflect.EnumType