Documentation ¶
Overview ¶
Package order_check_api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCheckServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCheckServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CheckServiceClient) error
- func RegisterCheckServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCheckServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CheckServiceServer) error
- func RegisterCheckServiceServer(s grpc.ServiceRegistrar, srv CheckServiceServer)
- type CheckServiceClient
- type CheckServiceServer
- type CheckV1
- func (*CheckV1) Descriptor() ([]byte, []int)deprecated
- func (x *CheckV1) GetCheckId() uint64
- func (x *CheckV1) GetOrderId() string
- func (x *CheckV1) GetTotalSum() uint64
- func (*CheckV1) ProtoMessage()
- func (x *CheckV1) ProtoReflect() protoreflect.Message
- func (x *CheckV1) Reset()
- func (x *CheckV1) String() string
- func (m *CheckV1) Validate() error
- type CheckV1ValidationError
- type CreateCheckV1Request
- func (*CreateCheckV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCheckV1Request) GetOrderId() string
- func (x *CreateCheckV1Request) GetTotalSum() uint64
- func (*CreateCheckV1Request) ProtoMessage()
- func (x *CreateCheckV1Request) ProtoReflect() protoreflect.Message
- func (x *CreateCheckV1Request) Reset()
- func (x *CreateCheckV1Request) String() string
- func (m *CreateCheckV1Request) Validate() error
- type CreateCheckV1RequestValidationError
- func (e CreateCheckV1RequestValidationError) Cause() error
- func (e CreateCheckV1RequestValidationError) Error() string
- func (e CreateCheckV1RequestValidationError) ErrorName() string
- func (e CreateCheckV1RequestValidationError) Field() string
- func (e CreateCheckV1RequestValidationError) Key() bool
- func (e CreateCheckV1RequestValidationError) Reason() string
- type CreateCheckV1Response
- func (*CreateCheckV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCheckV1Response) GetCheck() *CheckV1
- func (*CreateCheckV1Response) ProtoMessage()
- func (x *CreateCheckV1Response) ProtoReflect() protoreflect.Message
- func (x *CreateCheckV1Response) Reset()
- func (x *CreateCheckV1Response) String() string
- func (m *CreateCheckV1Response) Validate() error
- type CreateCheckV1ResponseValidationError
- func (e CreateCheckV1ResponseValidationError) Cause() error
- func (e CreateCheckV1ResponseValidationError) Error() string
- func (e CreateCheckV1ResponseValidationError) ErrorName() string
- func (e CreateCheckV1ResponseValidationError) Field() string
- func (e CreateCheckV1ResponseValidationError) Key() bool
- func (e CreateCheckV1ResponseValidationError) Reason() string
- type DescribeCheckV1Request
- func (*DescribeCheckV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeCheckV1Request) GetCheckId() uint64
- func (*DescribeCheckV1Request) ProtoMessage()
- func (x *DescribeCheckV1Request) ProtoReflect() protoreflect.Message
- func (x *DescribeCheckV1Request) Reset()
- func (x *DescribeCheckV1Request) String() string
- func (m *DescribeCheckV1Request) Validate() error
- type DescribeCheckV1RequestValidationError
- func (e DescribeCheckV1RequestValidationError) Cause() error
- func (e DescribeCheckV1RequestValidationError) Error() string
- func (e DescribeCheckV1RequestValidationError) ErrorName() string
- func (e DescribeCheckV1RequestValidationError) Field() string
- func (e DescribeCheckV1RequestValidationError) Key() bool
- func (e DescribeCheckV1RequestValidationError) Reason() string
- type DescribeCheckV1Response
- func (*DescribeCheckV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeCheckV1Response) GetCheck() *CheckV1
- func (*DescribeCheckV1Response) ProtoMessage()
- func (x *DescribeCheckV1Response) ProtoReflect() protoreflect.Message
- func (x *DescribeCheckV1Response) Reset()
- func (x *DescribeCheckV1Response) String() string
- func (m *DescribeCheckV1Response) Validate() error
- type DescribeCheckV1ResponseValidationError
- func (e DescribeCheckV1ResponseValidationError) Cause() error
- func (e DescribeCheckV1ResponseValidationError) Error() string
- func (e DescribeCheckV1ResponseValidationError) ErrorName() string
- func (e DescribeCheckV1ResponseValidationError) Field() string
- func (e DescribeCheckV1ResponseValidationError) Key() bool
- func (e DescribeCheckV1ResponseValidationError) Reason() string
- type ListChecksV1Request
- func (*ListChecksV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *ListChecksV1Request) GetPaging() *ListChecksV1Request_Paging
- func (*ListChecksV1Request) ProtoMessage()
- func (x *ListChecksV1Request) ProtoReflect() protoreflect.Message
- func (x *ListChecksV1Request) Reset()
- func (x *ListChecksV1Request) String() string
- func (m *ListChecksV1Request) Validate() error
- type ListChecksV1RequestValidationError
- func (e ListChecksV1RequestValidationError) Cause() error
- func (e ListChecksV1RequestValidationError) Error() string
- func (e ListChecksV1RequestValidationError) ErrorName() string
- func (e ListChecksV1RequestValidationError) Field() string
- func (e ListChecksV1RequestValidationError) Key() bool
- func (e ListChecksV1RequestValidationError) Reason() string
- type ListChecksV1Request_Paging
- func (*ListChecksV1Request_Paging) Descriptor() ([]byte, []int)deprecated
- func (x *ListChecksV1Request_Paging) GetLimit() uint64
- func (x *ListChecksV1Request_Paging) GetOffset() uint64
- func (*ListChecksV1Request_Paging) ProtoMessage()
- func (x *ListChecksV1Request_Paging) ProtoReflect() protoreflect.Message
- func (x *ListChecksV1Request_Paging) Reset()
- func (x *ListChecksV1Request_Paging) String() string
- func (m *ListChecksV1Request_Paging) Validate() error
- type ListChecksV1Request_PagingValidationError
- func (e ListChecksV1Request_PagingValidationError) Cause() error
- func (e ListChecksV1Request_PagingValidationError) Error() string
- func (e ListChecksV1Request_PagingValidationError) ErrorName() string
- func (e ListChecksV1Request_PagingValidationError) Field() string
- func (e ListChecksV1Request_PagingValidationError) Key() bool
- func (e ListChecksV1Request_PagingValidationError) Reason() string
- type ListChecksV1Response
- func (*ListChecksV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *ListChecksV1Response) GetChecks() []*CheckV1
- func (*ListChecksV1Response) ProtoMessage()
- func (x *ListChecksV1Response) ProtoReflect() protoreflect.Message
- func (x *ListChecksV1Response) Reset()
- func (x *ListChecksV1Response) String() string
- func (m *ListChecksV1Response) Validate() error
- type ListChecksV1ResponseValidationError
- func (e ListChecksV1ResponseValidationError) Cause() error
- func (e ListChecksV1ResponseValidationError) Error() string
- func (e ListChecksV1ResponseValidationError) ErrorName() string
- func (e ListChecksV1ResponseValidationError) Field() string
- func (e ListChecksV1ResponseValidationError) Key() bool
- func (e ListChecksV1ResponseValidationError) Reason() string
- type RemoveCheckV1Request
- func (*RemoveCheckV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCheckV1Request) GetCheckId() uint64
- func (*RemoveCheckV1Request) ProtoMessage()
- func (x *RemoveCheckV1Request) ProtoReflect() protoreflect.Message
- func (x *RemoveCheckV1Request) Reset()
- func (x *RemoveCheckV1Request) String() string
- func (m *RemoveCheckV1Request) Validate() error
- type RemoveCheckV1RequestValidationError
- func (e RemoveCheckV1RequestValidationError) Cause() error
- func (e RemoveCheckV1RequestValidationError) Error() string
- func (e RemoveCheckV1RequestValidationError) ErrorName() string
- func (e RemoveCheckV1RequestValidationError) Field() string
- func (e RemoveCheckV1RequestValidationError) Key() bool
- func (e RemoveCheckV1RequestValidationError) Reason() string
- type UnimplementedCheckServiceServer
- func (UnimplementedCheckServiceServer) CreateCheckV1(context.Context, *CreateCheckV1Request) (*CreateCheckV1Response, error)
- func (UnimplementedCheckServiceServer) DescribeCheckV1(context.Context, *DescribeCheckV1Request) (*DescribeCheckV1Response, error)
- func (UnimplementedCheckServiceServer) ListChecksV1(context.Context, *ListChecksV1Request) (*ListChecksV1Response, error)
- func (UnimplementedCheckServiceServer) RemoveCheckV1(context.Context, *RemoveCheckV1Request) (*emptypb.Empty, error)
- type UnsafeCheckServiceServer
Constants ¶
This section is empty.
Variables ¶
var CheckService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ozonmp.order_check_api.v1.CheckService", HandlerType: (*CheckServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCheckV1", Handler: _CheckService_CreateCheckV1_Handler, }, { MethodName: "DescribeCheckV1", Handler: _CheckService_DescribeCheckV1_Handler, }, { MethodName: "ListChecksV1", Handler: _CheckService_ListChecksV1_Handler, }, { MethodName: "RemoveCheckV1", Handler: _CheckService_RemoveCheckV1_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ozonmp/order_check_api/v1/order_check_api.proto", }
CheckService_ServiceDesc is the grpc.ServiceDesc for CheckService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ozonmp_order_check_api_v1_order_check_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCheckServiceHandler ¶
func RegisterCheckServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCheckServiceHandler registers the http handlers for service CheckService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCheckServiceHandlerClient ¶
func RegisterCheckServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CheckServiceClient) error
RegisterCheckServiceHandlerClient registers the http handlers for service CheckService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CheckServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CheckServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CheckServiceClient" to call the correct interceptors.
func RegisterCheckServiceHandlerFromEndpoint ¶
func RegisterCheckServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCheckServiceHandlerFromEndpoint is same as RegisterCheckServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCheckServiceHandlerServer ¶
func RegisterCheckServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CheckServiceServer) error
RegisterCheckServiceHandlerServer registers the http handlers for service CheckService to "mux". UnaryRPC :call CheckServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCheckServiceHandlerFromEndpoint instead.
func RegisterCheckServiceServer ¶
func RegisterCheckServiceServer(s grpc.ServiceRegistrar, srv CheckServiceServer)
Types ¶
type CheckServiceClient ¶
type CheckServiceClient interface { // Create check CreateCheckV1(ctx context.Context, in *CreateCheckV1Request, opts ...grpc.CallOption) (*CreateCheckV1Response, error) // Describe Check DescribeCheckV1(ctx context.Context, in *DescribeCheckV1Request, opts ...grpc.CallOption) (*DescribeCheckV1Response, error) // List of checks ListChecksV1(ctx context.Context, in *ListChecksV1Request, opts ...grpc.CallOption) (*ListChecksV1Response, error) // Remove check RemoveCheckV1(ctx context.Context, in *RemoveCheckV1Request, opts ...grpc.CallOption) (*emptypb.Empty, error) }
CheckServiceClient is the client API for CheckService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCheckServiceClient ¶
func NewCheckServiceClient(cc grpc.ClientConnInterface) CheckServiceClient
type CheckServiceServer ¶
type CheckServiceServer interface { // Create check CreateCheckV1(context.Context, *CreateCheckV1Request) (*CreateCheckV1Response, error) // Describe Check DescribeCheckV1(context.Context, *DescribeCheckV1Request) (*DescribeCheckV1Response, error) // List of checks ListChecksV1(context.Context, *ListChecksV1Request) (*ListChecksV1Response, error) // Remove check RemoveCheckV1(context.Context, *RemoveCheckV1Request) (*emptypb.Empty, error) // contains filtered or unexported methods }
CheckServiceServer is the server API for CheckService service. All implementations must embed UnimplementedCheckServiceServer for forward compatibility
type CheckV1 ¶
type CheckV1 struct { CheckId uint64 `protobuf:"varint,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` TotalSum uint64 `protobuf:"varint,3,opt,name=total_sum,json=totalSum,proto3" json:"total_sum,omitempty"` // contains filtered or unexported fields }
func (*CheckV1) Descriptor
deprecated
func (*CheckV1) GetCheckId ¶
func (*CheckV1) GetOrderId ¶
func (*CheckV1) GetTotalSum ¶
func (*CheckV1) ProtoMessage ¶
func (*CheckV1) ProtoMessage()
func (*CheckV1) ProtoReflect ¶
func (x *CheckV1) ProtoReflect() protoreflect.Message
type CheckV1ValidationError ¶
type CheckV1ValidationError struct {
// contains filtered or unexported fields
}
CheckV1ValidationError is the validation error returned by CheckV1.Validate if the designated constraints aren't met.
func (CheckV1ValidationError) Cause ¶
func (e CheckV1ValidationError) Cause() error
Cause function returns cause value.
func (CheckV1ValidationError) Error ¶
func (e CheckV1ValidationError) Error() string
Error satisfies the builtin error interface
func (CheckV1ValidationError) ErrorName ¶
func (e CheckV1ValidationError) ErrorName() string
ErrorName returns error name.
func (CheckV1ValidationError) Field ¶
func (e CheckV1ValidationError) Field() string
Field function returns field value.
func (CheckV1ValidationError) Key ¶
func (e CheckV1ValidationError) Key() bool
Key function returns key value.
func (CheckV1ValidationError) Reason ¶
func (e CheckV1ValidationError) Reason() string
Reason function returns reason value.
type CreateCheckV1Request ¶
type CreateCheckV1Request struct { OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` TotalSum uint64 `protobuf:"varint,2,opt,name=total_sum,json=totalSum,proto3" json:"total_sum,omitempty"` // contains filtered or unexported fields }
func (*CreateCheckV1Request) Descriptor
deprecated
func (*CreateCheckV1Request) Descriptor() ([]byte, []int)
Deprecated: Use CreateCheckV1Request.ProtoReflect.Descriptor instead.
func (*CreateCheckV1Request) GetOrderId ¶
func (x *CreateCheckV1Request) GetOrderId() string
func (*CreateCheckV1Request) GetTotalSum ¶
func (x *CreateCheckV1Request) GetTotalSum() uint64
func (*CreateCheckV1Request) ProtoMessage ¶
func (*CreateCheckV1Request) ProtoMessage()
func (*CreateCheckV1Request) ProtoReflect ¶
func (x *CreateCheckV1Request) ProtoReflect() protoreflect.Message
func (*CreateCheckV1Request) Reset ¶
func (x *CreateCheckV1Request) Reset()
func (*CreateCheckV1Request) String ¶
func (x *CreateCheckV1Request) String() string
func (*CreateCheckV1Request) Validate ¶
func (m *CreateCheckV1Request) Validate() error
Validate checks the field values on CreateCheckV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateCheckV1RequestValidationError ¶
type CreateCheckV1RequestValidationError struct {
// contains filtered or unexported fields
}
CreateCheckV1RequestValidationError is the validation error returned by CreateCheckV1Request.Validate if the designated constraints aren't met.
func (CreateCheckV1RequestValidationError) Cause ¶
func (e CreateCheckV1RequestValidationError) Cause() error
Cause function returns cause value.
func (CreateCheckV1RequestValidationError) Error ¶
func (e CreateCheckV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCheckV1RequestValidationError) ErrorName ¶
func (e CreateCheckV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCheckV1RequestValidationError) Field ¶
func (e CreateCheckV1RequestValidationError) Field() string
Field function returns field value.
func (CreateCheckV1RequestValidationError) Key ¶
func (e CreateCheckV1RequestValidationError) Key() bool
Key function returns key value.
func (CreateCheckV1RequestValidationError) Reason ¶
func (e CreateCheckV1RequestValidationError) Reason() string
Reason function returns reason value.
type CreateCheckV1Response ¶
type CreateCheckV1Response struct { Check *CheckV1 `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"` // contains filtered or unexported fields }
func (*CreateCheckV1Response) Descriptor
deprecated
func (*CreateCheckV1Response) Descriptor() ([]byte, []int)
Deprecated: Use CreateCheckV1Response.ProtoReflect.Descriptor instead.
func (*CreateCheckV1Response) GetCheck ¶
func (x *CreateCheckV1Response) GetCheck() *CheckV1
func (*CreateCheckV1Response) ProtoMessage ¶
func (*CreateCheckV1Response) ProtoMessage()
func (*CreateCheckV1Response) ProtoReflect ¶
func (x *CreateCheckV1Response) ProtoReflect() protoreflect.Message
func (*CreateCheckV1Response) Reset ¶
func (x *CreateCheckV1Response) Reset()
func (*CreateCheckV1Response) String ¶
func (x *CreateCheckV1Response) String() string
func (*CreateCheckV1Response) Validate ¶
func (m *CreateCheckV1Response) Validate() error
Validate checks the field values on CreateCheckV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateCheckV1ResponseValidationError ¶
type CreateCheckV1ResponseValidationError struct {
// contains filtered or unexported fields
}
CreateCheckV1ResponseValidationError is the validation error returned by CreateCheckV1Response.Validate if the designated constraints aren't met.
func (CreateCheckV1ResponseValidationError) Cause ¶
func (e CreateCheckV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateCheckV1ResponseValidationError) Error ¶
func (e CreateCheckV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCheckV1ResponseValidationError) ErrorName ¶
func (e CreateCheckV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCheckV1ResponseValidationError) Field ¶
func (e CreateCheckV1ResponseValidationError) Field() string
Field function returns field value.
func (CreateCheckV1ResponseValidationError) Key ¶
func (e CreateCheckV1ResponseValidationError) Key() bool
Key function returns key value.
func (CreateCheckV1ResponseValidationError) Reason ¶
func (e CreateCheckV1ResponseValidationError) Reason() string
Reason function returns reason value.
type DescribeCheckV1Request ¶
type DescribeCheckV1Request struct { CheckId uint64 `protobuf:"varint,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeCheckV1Request) Descriptor
deprecated
func (*DescribeCheckV1Request) Descriptor() ([]byte, []int)
Deprecated: Use DescribeCheckV1Request.ProtoReflect.Descriptor instead.
func (*DescribeCheckV1Request) GetCheckId ¶
func (x *DescribeCheckV1Request) GetCheckId() uint64
func (*DescribeCheckV1Request) ProtoMessage ¶
func (*DescribeCheckV1Request) ProtoMessage()
func (*DescribeCheckV1Request) ProtoReflect ¶
func (x *DescribeCheckV1Request) ProtoReflect() protoreflect.Message
func (*DescribeCheckV1Request) Reset ¶
func (x *DescribeCheckV1Request) Reset()
func (*DescribeCheckV1Request) String ¶
func (x *DescribeCheckV1Request) String() string
func (*DescribeCheckV1Request) Validate ¶
func (m *DescribeCheckV1Request) Validate() error
Validate checks the field values on DescribeCheckV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DescribeCheckV1RequestValidationError ¶
type DescribeCheckV1RequestValidationError struct {
// contains filtered or unexported fields
}
DescribeCheckV1RequestValidationError is the validation error returned by DescribeCheckV1Request.Validate if the designated constraints aren't met.
func (DescribeCheckV1RequestValidationError) Cause ¶
func (e DescribeCheckV1RequestValidationError) Cause() error
Cause function returns cause value.
func (DescribeCheckV1RequestValidationError) Error ¶
func (e DescribeCheckV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeCheckV1RequestValidationError) ErrorName ¶
func (e DescribeCheckV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeCheckV1RequestValidationError) Field ¶
func (e DescribeCheckV1RequestValidationError) Field() string
Field function returns field value.
func (DescribeCheckV1RequestValidationError) Key ¶
func (e DescribeCheckV1RequestValidationError) Key() bool
Key function returns key value.
func (DescribeCheckV1RequestValidationError) Reason ¶
func (e DescribeCheckV1RequestValidationError) Reason() string
Reason function returns reason value.
type DescribeCheckV1Response ¶
type DescribeCheckV1Response struct { Check *CheckV1 `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"` // contains filtered or unexported fields }
func (*DescribeCheckV1Response) Descriptor
deprecated
func (*DescribeCheckV1Response) Descriptor() ([]byte, []int)
Deprecated: Use DescribeCheckV1Response.ProtoReflect.Descriptor instead.
func (*DescribeCheckV1Response) GetCheck ¶
func (x *DescribeCheckV1Response) GetCheck() *CheckV1
func (*DescribeCheckV1Response) ProtoMessage ¶
func (*DescribeCheckV1Response) ProtoMessage()
func (*DescribeCheckV1Response) ProtoReflect ¶
func (x *DescribeCheckV1Response) ProtoReflect() protoreflect.Message
func (*DescribeCheckV1Response) Reset ¶
func (x *DescribeCheckV1Response) Reset()
func (*DescribeCheckV1Response) String ¶
func (x *DescribeCheckV1Response) String() string
func (*DescribeCheckV1Response) Validate ¶
func (m *DescribeCheckV1Response) Validate() error
Validate checks the field values on DescribeCheckV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DescribeCheckV1ResponseValidationError ¶
type DescribeCheckV1ResponseValidationError struct {
// contains filtered or unexported fields
}
DescribeCheckV1ResponseValidationError is the validation error returned by DescribeCheckV1Response.Validate if the designated constraints aren't met.
func (DescribeCheckV1ResponseValidationError) Cause ¶
func (e DescribeCheckV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (DescribeCheckV1ResponseValidationError) Error ¶
func (e DescribeCheckV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeCheckV1ResponseValidationError) ErrorName ¶
func (e DescribeCheckV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeCheckV1ResponseValidationError) Field ¶
func (e DescribeCheckV1ResponseValidationError) Field() string
Field function returns field value.
func (DescribeCheckV1ResponseValidationError) Key ¶
func (e DescribeCheckV1ResponseValidationError) Key() bool
Key function returns key value.
func (DescribeCheckV1ResponseValidationError) Reason ¶
func (e DescribeCheckV1ResponseValidationError) Reason() string
Reason function returns reason value.
type ListChecksV1Request ¶
type ListChecksV1Request struct { Paging *ListChecksV1Request_Paging `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*ListChecksV1Request) Descriptor
deprecated
func (*ListChecksV1Request) Descriptor() ([]byte, []int)
Deprecated: Use ListChecksV1Request.ProtoReflect.Descriptor instead.
func (*ListChecksV1Request) GetPaging ¶
func (x *ListChecksV1Request) GetPaging() *ListChecksV1Request_Paging
func (*ListChecksV1Request) ProtoMessage ¶
func (*ListChecksV1Request) ProtoMessage()
func (*ListChecksV1Request) ProtoReflect ¶
func (x *ListChecksV1Request) ProtoReflect() protoreflect.Message
func (*ListChecksV1Request) Reset ¶
func (x *ListChecksV1Request) Reset()
func (*ListChecksV1Request) String ¶
func (x *ListChecksV1Request) String() string
func (*ListChecksV1Request) Validate ¶
func (m *ListChecksV1Request) Validate() error
Validate checks the field values on ListChecksV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListChecksV1RequestValidationError ¶
type ListChecksV1RequestValidationError struct {
// contains filtered or unexported fields
}
ListChecksV1RequestValidationError is the validation error returned by ListChecksV1Request.Validate if the designated constraints aren't met.
func (ListChecksV1RequestValidationError) Cause ¶
func (e ListChecksV1RequestValidationError) Cause() error
Cause function returns cause value.
func (ListChecksV1RequestValidationError) Error ¶
func (e ListChecksV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListChecksV1RequestValidationError) ErrorName ¶
func (e ListChecksV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListChecksV1RequestValidationError) Field ¶
func (e ListChecksV1RequestValidationError) Field() string
Field function returns field value.
func (ListChecksV1RequestValidationError) Key ¶
func (e ListChecksV1RequestValidationError) Key() bool
Key function returns key value.
func (ListChecksV1RequestValidationError) Reason ¶
func (e ListChecksV1RequestValidationError) Reason() string
Reason function returns reason value.
type ListChecksV1Request_Paging ¶
type ListChecksV1Request_Paging struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListChecksV1Request_Paging) Descriptor
deprecated
func (*ListChecksV1Request_Paging) Descriptor() ([]byte, []int)
Deprecated: Use ListChecksV1Request_Paging.ProtoReflect.Descriptor instead.
func (*ListChecksV1Request_Paging) GetLimit ¶
func (x *ListChecksV1Request_Paging) GetLimit() uint64
func (*ListChecksV1Request_Paging) GetOffset ¶
func (x *ListChecksV1Request_Paging) GetOffset() uint64
func (*ListChecksV1Request_Paging) ProtoMessage ¶
func (*ListChecksV1Request_Paging) ProtoMessage()
func (*ListChecksV1Request_Paging) ProtoReflect ¶
func (x *ListChecksV1Request_Paging) ProtoReflect() protoreflect.Message
func (*ListChecksV1Request_Paging) Reset ¶
func (x *ListChecksV1Request_Paging) Reset()
func (*ListChecksV1Request_Paging) String ¶
func (x *ListChecksV1Request_Paging) String() string
func (*ListChecksV1Request_Paging) Validate ¶
func (m *ListChecksV1Request_Paging) Validate() error
Validate checks the field values on ListChecksV1Request_Paging with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListChecksV1Request_PagingValidationError ¶
type ListChecksV1Request_PagingValidationError struct {
// contains filtered or unexported fields
}
ListChecksV1Request_PagingValidationError is the validation error returned by ListChecksV1Request_Paging.Validate if the designated constraints aren't met.
func (ListChecksV1Request_PagingValidationError) Cause ¶
func (e ListChecksV1Request_PagingValidationError) Cause() error
Cause function returns cause value.
func (ListChecksV1Request_PagingValidationError) Error ¶
func (e ListChecksV1Request_PagingValidationError) Error() string
Error satisfies the builtin error interface
func (ListChecksV1Request_PagingValidationError) ErrorName ¶
func (e ListChecksV1Request_PagingValidationError) ErrorName() string
ErrorName returns error name.
func (ListChecksV1Request_PagingValidationError) Field ¶
func (e ListChecksV1Request_PagingValidationError) Field() string
Field function returns field value.
func (ListChecksV1Request_PagingValidationError) Key ¶
func (e ListChecksV1Request_PagingValidationError) Key() bool
Key function returns key value.
func (ListChecksV1Request_PagingValidationError) Reason ¶
func (e ListChecksV1Request_PagingValidationError) Reason() string
Reason function returns reason value.
type ListChecksV1Response ¶
type ListChecksV1Response struct { Checks []*CheckV1 `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*ListChecksV1Response) Descriptor
deprecated
func (*ListChecksV1Response) Descriptor() ([]byte, []int)
Deprecated: Use ListChecksV1Response.ProtoReflect.Descriptor instead.
func (*ListChecksV1Response) GetChecks ¶
func (x *ListChecksV1Response) GetChecks() []*CheckV1
func (*ListChecksV1Response) ProtoMessage ¶
func (*ListChecksV1Response) ProtoMessage()
func (*ListChecksV1Response) ProtoReflect ¶
func (x *ListChecksV1Response) ProtoReflect() protoreflect.Message
func (*ListChecksV1Response) Reset ¶
func (x *ListChecksV1Response) Reset()
func (*ListChecksV1Response) String ¶
func (x *ListChecksV1Response) String() string
func (*ListChecksV1Response) Validate ¶
func (m *ListChecksV1Response) Validate() error
Validate checks the field values on ListChecksV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListChecksV1ResponseValidationError ¶
type ListChecksV1ResponseValidationError struct {
// contains filtered or unexported fields
}
ListChecksV1ResponseValidationError is the validation error returned by ListChecksV1Response.Validate if the designated constraints aren't met.
func (ListChecksV1ResponseValidationError) Cause ¶
func (e ListChecksV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (ListChecksV1ResponseValidationError) Error ¶
func (e ListChecksV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListChecksV1ResponseValidationError) ErrorName ¶
func (e ListChecksV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListChecksV1ResponseValidationError) Field ¶
func (e ListChecksV1ResponseValidationError) Field() string
Field function returns field value.
func (ListChecksV1ResponseValidationError) Key ¶
func (e ListChecksV1ResponseValidationError) Key() bool
Key function returns key value.
func (ListChecksV1ResponseValidationError) Reason ¶
func (e ListChecksV1ResponseValidationError) Reason() string
Reason function returns reason value.
type RemoveCheckV1Request ¶
type RemoveCheckV1Request struct { CheckId uint64 `protobuf:"varint,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveCheckV1Request) Descriptor
deprecated
func (*RemoveCheckV1Request) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCheckV1Request.ProtoReflect.Descriptor instead.
func (*RemoveCheckV1Request) GetCheckId ¶
func (x *RemoveCheckV1Request) GetCheckId() uint64
func (*RemoveCheckV1Request) ProtoMessage ¶
func (*RemoveCheckV1Request) ProtoMessage()
func (*RemoveCheckV1Request) ProtoReflect ¶
func (x *RemoveCheckV1Request) ProtoReflect() protoreflect.Message
func (*RemoveCheckV1Request) Reset ¶
func (x *RemoveCheckV1Request) Reset()
func (*RemoveCheckV1Request) String ¶
func (x *RemoveCheckV1Request) String() string
func (*RemoveCheckV1Request) Validate ¶
func (m *RemoveCheckV1Request) Validate() error
Validate checks the field values on RemoveCheckV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveCheckV1RequestValidationError ¶
type RemoveCheckV1RequestValidationError struct {
// contains filtered or unexported fields
}
RemoveCheckV1RequestValidationError is the validation error returned by RemoveCheckV1Request.Validate if the designated constraints aren't met.
func (RemoveCheckV1RequestValidationError) Cause ¶
func (e RemoveCheckV1RequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveCheckV1RequestValidationError) Error ¶
func (e RemoveCheckV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveCheckV1RequestValidationError) ErrorName ¶
func (e RemoveCheckV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveCheckV1RequestValidationError) Field ¶
func (e RemoveCheckV1RequestValidationError) Field() string
Field function returns field value.
func (RemoveCheckV1RequestValidationError) Key ¶
func (e RemoveCheckV1RequestValidationError) Key() bool
Key function returns key value.
func (RemoveCheckV1RequestValidationError) Reason ¶
func (e RemoveCheckV1RequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedCheckServiceServer ¶
type UnimplementedCheckServiceServer struct { }
UnimplementedCheckServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCheckServiceServer) CreateCheckV1 ¶
func (UnimplementedCheckServiceServer) CreateCheckV1(context.Context, *CreateCheckV1Request) (*CreateCheckV1Response, error)
func (UnimplementedCheckServiceServer) DescribeCheckV1 ¶
func (UnimplementedCheckServiceServer) DescribeCheckV1(context.Context, *DescribeCheckV1Request) (*DescribeCheckV1Response, error)
func (UnimplementedCheckServiceServer) ListChecksV1 ¶
func (UnimplementedCheckServiceServer) ListChecksV1(context.Context, *ListChecksV1Request) (*ListChecksV1Response, error)
func (UnimplementedCheckServiceServer) RemoveCheckV1 ¶
func (UnimplementedCheckServiceServer) RemoveCheckV1(context.Context, *RemoveCheckV1Request) (*emptypb.Empty, error)
type UnsafeCheckServiceServer ¶
type UnsafeCheckServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCheckServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CheckServiceServer will result in compilation errors.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
google.golang.org
|
|
protobuf/types/known/timestamppb
Package timestamppb contains generated types for google/protobuf/timestamp.proto.
|
Package timestamppb contains generated types for google/protobuf/timestamp.proto. |