Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTasksServiceServer(s grpc.ServiceRegistrar, srv TasksServiceServer)
- type CancelTasksRequest
- func (*CancelTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTasksRequest) GetTaskSid() []int64
- func (*CancelTasksRequest) ProtoMessage()
- func (x *CancelTasksRequest) ProtoReflect() protoreflect.Message
- func (x *CancelTasksRequest) Reset()
- func (x *CancelTasksRequest) String() string
- type CancelTasksResponse
- type TasksServiceClient
- type TasksServiceServer
- type UnimplementedTasksServiceServer
- type UnsafeTasksServiceServer
Constants ¶
const (
TasksService_CancelTasks_FullMethodName = "/services.omnichannel.tasks.v1alpha1.TasksService/CancelTasks"
)
Variables ¶
var File_services_omnichannel_tasks_v1alpha1_entities_proto protoreflect.FileDescriptor
var File_services_omnichannel_tasks_v1alpha1_service_proto protoreflect.FileDescriptor
var TasksService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.omnichannel.tasks.v1alpha1.TasksService", HandlerType: (*TasksServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CancelTasks", Handler: _TasksService_CancelTasks_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/omnichannel/tasks/v1alpha1/service.proto", }
TasksService_ServiceDesc is the grpc.ServiceDesc for TasksService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTasksServiceServer ¶
func RegisterTasksServiceServer(s grpc.ServiceRegistrar, srv TasksServiceServer)
Types ¶
type CancelTasksRequest ¶
type CancelTasksRequest struct { TaskSid []int64 `protobuf:"varint,1,rep,packed,name=task_sid,json=taskSid,proto3" json:"task_sid,omitempty"` // contains filtered or unexported fields }
func (*CancelTasksRequest) Descriptor
deprecated
func (*CancelTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTasksRequest.ProtoReflect.Descriptor instead.
func (*CancelTasksRequest) GetTaskSid ¶
func (x *CancelTasksRequest) GetTaskSid() []int64
func (*CancelTasksRequest) ProtoMessage ¶
func (*CancelTasksRequest) ProtoMessage()
func (*CancelTasksRequest) ProtoReflect ¶
func (x *CancelTasksRequest) ProtoReflect() protoreflect.Message
func (*CancelTasksRequest) Reset ¶
func (x *CancelTasksRequest) Reset()
func (*CancelTasksRequest) String ¶
func (x *CancelTasksRequest) String() string
type CancelTasksResponse ¶
type CancelTasksResponse struct {
// contains filtered or unexported fields
}
func (*CancelTasksResponse) Descriptor
deprecated
func (*CancelTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelTasksResponse.ProtoReflect.Descriptor instead.
func (*CancelTasksResponse) ProtoMessage ¶
func (*CancelTasksResponse) ProtoMessage()
func (*CancelTasksResponse) ProtoReflect ¶
func (x *CancelTasksResponse) ProtoReflect() protoreflect.Message
func (*CancelTasksResponse) Reset ¶
func (x *CancelTasksResponse) Reset()
func (*CancelTasksResponse) String ¶
func (x *CancelTasksResponse) String() string
type TasksServiceClient ¶
type TasksServiceClient interface {
CancelTasks(ctx context.Context, in *CancelTasksRequest, opts ...grpc.CallOption) (*CancelTasksResponse, error)
}
TasksServiceClient is the client API for TasksService 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 NewTasksServiceClient ¶
func NewTasksServiceClient(cc grpc.ClientConnInterface) TasksServiceClient
type TasksServiceServer ¶
type TasksServiceServer interface { CancelTasks(context.Context, *CancelTasksRequest) (*CancelTasksResponse, error) // contains filtered or unexported methods }
TasksServiceServer is the server API for TasksService service. All implementations must embed UnimplementedTasksServiceServer for forward compatibility
type UnimplementedTasksServiceServer ¶
type UnimplementedTasksServiceServer struct { }
UnimplementedTasksServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTasksServiceServer) CancelTasks ¶
func (UnimplementedTasksServiceServer) CancelTasks(context.Context, *CancelTasksRequest) (*CancelTasksResponse, error)
type UnsafeTasksServiceServer ¶
type UnsafeTasksServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTasksServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TasksServiceServer will result in compilation errors.