Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTasksServiceServer(s grpc.ServiceRegistrar, srv TasksServiceServer)
- type BulkCancelTasksRequest
- func (*BulkCancelTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BulkCancelTasksRequest) GetFilter() string
- func (*BulkCancelTasksRequest) ProtoMessage()
- func (x *BulkCancelTasksRequest) ProtoReflect() protoreflect.Message
- func (x *BulkCancelTasksRequest) Reset()
- func (x *BulkCancelTasksRequest) String() string
- type BulkCancelTasksResponse
- func (*BulkCancelTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BulkCancelTasksResponse) GetGhostReferenceId() string
- func (*BulkCancelTasksResponse) ProtoMessage()
- func (x *BulkCancelTasksResponse) ProtoReflect() protoreflect.Message
- func (x *BulkCancelTasksResponse) Reset()
- func (x *BulkCancelTasksResponse) String() string
- 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" TasksService_BulkCancelTasks_FullMethodName = "/services.omnichannel.tasks.v1alpha1.TasksService/BulkCancelTasks" )
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, }, { MethodName: "BulkCancelTasks", Handler: _TasksService_BulkCancelTasks_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 BulkCancelTasksRequest ¶ added in v1.8.6
type BulkCancelTasksRequest struct { // filter follows google's aip 160 and currently supports: // - campaign_sid = {int} Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*BulkCancelTasksRequest) Descriptor
deprecated
added in
v1.8.6
func (*BulkCancelTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkCancelTasksRequest.ProtoReflect.Descriptor instead.
func (*BulkCancelTasksRequest) GetFilter ¶ added in v1.8.6
func (x *BulkCancelTasksRequest) GetFilter() string
func (*BulkCancelTasksRequest) ProtoMessage ¶ added in v1.8.6
func (*BulkCancelTasksRequest) ProtoMessage()
func (*BulkCancelTasksRequest) ProtoReflect ¶ added in v1.8.6
func (x *BulkCancelTasksRequest) ProtoReflect() protoreflect.Message
func (*BulkCancelTasksRequest) Reset ¶ added in v1.8.6
func (x *BulkCancelTasksRequest) Reset()
func (*BulkCancelTasksRequest) String ¶ added in v1.8.6
func (x *BulkCancelTasksRequest) String() string
type BulkCancelTasksResponse ¶ added in v1.8.6
type BulkCancelTasksResponse struct { // send back ghost notifier reference ID GhostReferenceId string `protobuf:"bytes,1,opt,name=ghost_reference_id,json=ghostReferenceId,proto3" json:"ghost_reference_id,omitempty"` // contains filtered or unexported fields }
func (*BulkCancelTasksResponse) Descriptor
deprecated
added in
v1.8.6
func (*BulkCancelTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkCancelTasksResponse.ProtoReflect.Descriptor instead.
func (*BulkCancelTasksResponse) GetGhostReferenceId ¶ added in v1.8.6
func (x *BulkCancelTasksResponse) GetGhostReferenceId() string
func (*BulkCancelTasksResponse) ProtoMessage ¶ added in v1.8.6
func (*BulkCancelTasksResponse) ProtoMessage()
func (*BulkCancelTasksResponse) ProtoReflect ¶ added in v1.8.6
func (x *BulkCancelTasksResponse) ProtoReflect() protoreflect.Message
func (*BulkCancelTasksResponse) Reset ¶ added in v1.8.6
func (x *BulkCancelTasksResponse) Reset()
func (*BulkCancelTasksResponse) String ¶ added in v1.8.6
func (x *BulkCancelTasksResponse) String() string
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) BulkCancelTasks(ctx context.Context, in *BulkCancelTasksRequest, opts ...grpc.CallOption) (*BulkCancelTasksResponse, 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) BulkCancelTasks(context.Context, *BulkCancelTasksRequest) (*BulkCancelTasksResponse, 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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTasksServiceServer) BulkCancelTasks ¶ added in v1.8.6
func (UnimplementedTasksServiceServer) BulkCancelTasks(context.Context, *BulkCancelTasksRequest) (*BulkCancelTasksResponse, error)
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.