Documentation ¶
Index ¶
- Variables
- func RegisterTaskServiceServer(s grpc.ServiceRegistrar, srv TaskServiceServer)
- type CreateTaskRequest
- func (*CreateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskRequest) GetDeadlineAt() int64
- func (x *CreateTaskRequest) GetDescription() string
- func (x *CreateTaskRequest) GetTitle() string
- func (*CreateTaskRequest) ProtoMessage()
- func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTaskRequest) Reset()
- func (x *CreateTaskRequest) String() string
- type CreateTaskResponse
- type DeleteTaskRequest
- type DeleteTaskResponse
- type GetTaskRequest
- type GetTaskResponse
- type ListTasksRequest
- func (*ListTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksRequest) GetLimit() uint32
- func (x *ListTasksRequest) GetOffset() uint32
- func (*ListTasksRequest) ProtoMessage()
- func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ListTasksRequest) Reset()
- func (x *ListTasksRequest) String() string
- type ListTasksResponse
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetAbandonedAt() int64
- func (x *Task) GetCompletedAt() int64
- func (x *Task) GetCreatedAt() int64
- func (x *Task) GetDeadlineAt() int64
- func (x *Task) GetDescription() string
- func (x *Task) GetId() string
- func (x *Task) GetStartedAt() int64
- func (x *Task) GetStatus() TaskStatus
- func (x *Task) GetTitle() string
- func (x *Task) GetUserId() string
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskServiceClient
- type TaskServiceServer
- type TaskService_ListTasksClient
- type TaskService_ListTasksServer
- type TaskStatus
- type UnimplementedTaskServiceServer
- func (UnimplementedTaskServiceServer) CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error)
- func (UnimplementedTaskServiceServer) DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskResponse, error)
- func (UnimplementedTaskServiceServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)
- func (UnimplementedTaskServiceServer) ListTasks(*ListTasksRequest, TaskService_ListTasksServer) error
- func (UnimplementedTaskServiceServer) UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskResponse, error)
- func (UnimplementedTaskServiceServer) UpdateTaskDetails(context.Context, *UpdateTaskDetailsRequest) (*UpdateTaskDetailsResponse, error)
- func (UnimplementedTaskServiceServer) UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusResponse, error)
- type UnsafeTaskServiceServer
- type UpdateTaskDetailsRequest
- func (*UpdateTaskDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskDetailsRequest) GetDescription() string
- func (x *UpdateTaskDetailsRequest) GetId() string
- func (x *UpdateTaskDetailsRequest) GetTitle() string
- func (*UpdateTaskDetailsRequest) ProtoMessage()
- func (x *UpdateTaskDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskDetailsRequest) Reset()
- func (x *UpdateTaskDetailsRequest) String() string
- type UpdateTaskDetailsResponse
- func (*UpdateTaskDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskDetailsResponse) GetTask() *Task
- func (*UpdateTaskDetailsResponse) ProtoMessage()
- func (x *UpdateTaskDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskDetailsResponse) Reset()
- func (x *UpdateTaskDetailsResponse) String() string
- type UpdateTaskRequest
- func (*UpdateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskRequest) GetAbandonedAt() int64
- func (x *UpdateTaskRequest) GetCompletedAt() int64
- func (x *UpdateTaskRequest) GetDeadlineAt() int64
- func (x *UpdateTaskRequest) GetDescription() string
- func (x *UpdateTaskRequest) GetId() string
- func (x *UpdateTaskRequest) GetStartedAt() int64
- func (x *UpdateTaskRequest) GetStatus() TaskStatus
- func (x *UpdateTaskRequest) GetTitle() string
- func (*UpdateTaskRequest) ProtoMessage()
- func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskRequest) Reset()
- func (x *UpdateTaskRequest) String() string
- type UpdateTaskResponse
- type UpdateTaskStatusRequest
- func (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskStatusRequest) GetId() string
- func (x *UpdateTaskStatusRequest) GetStatus() TaskStatus
- func (*UpdateTaskStatusRequest) ProtoMessage()
- func (x *UpdateTaskStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskStatusRequest) Reset()
- func (x *UpdateTaskStatusRequest) String() string
- type UpdateTaskStatusResponse
- func (*UpdateTaskStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskStatusResponse) GetTask() *Task
- func (*UpdateTaskStatusResponse) ProtoMessage()
- func (x *UpdateTaskStatusResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskStatusResponse) Reset()
- func (x *UpdateTaskStatusResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( TaskStatus_name = map[int32]string{ 0: "TASK_STATUS_UNSPECIFIED", 1: "TASK_STATUS_PLANNED", 2: "TASK_STATUS_STARTED", 3: "TASK_STATUS_COMPLETED", 4: "TASK_STATUS_ABANDONED", 5: "TASK_STATUS_DEADLINE_PASSED", 6: "TASK_STATUS_COMPLETED_AFTER_DEADLINE", } TaskStatus_value = map[string]int32{ "TASK_STATUS_UNSPECIFIED": 0, "TASK_STATUS_PLANNED": 1, "TASK_STATUS_STARTED": 2, "TASK_STATUS_COMPLETED": 3, "TASK_STATUS_ABANDONED": 4, "TASK_STATUS_DEADLINE_PASSED": 5, "TASK_STATUS_COMPLETED_AFTER_DEADLINE": 6, } )
Enum value maps for TaskStatus.
var File_task_task_proto protoreflect.FileDescriptor
var File_task_task_service_proto protoreflect.FileDescriptor
var TaskService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "task.TaskService", HandlerType: (*TaskServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTask", Handler: _TaskService_GetTask_Handler, }, { MethodName: "CreateTask", Handler: _TaskService_CreateTask_Handler, }, { MethodName: "UpdateTask", Handler: _TaskService_UpdateTask_Handler, }, { MethodName: "DeleteTask", Handler: _TaskService_DeleteTask_Handler, }, { MethodName: "UpdateTaskStatus", Handler: _TaskService_UpdateTaskStatus_Handler, }, { MethodName: "UpdateTaskDetails", Handler: _TaskService_UpdateTaskDetails_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListTasks", Handler: _TaskService_ListTasks_Handler, ServerStreams: true, }, }, Metadata: "task/task_service.proto", }
TaskService_ServiceDesc is the grpc.ServiceDesc for TaskService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTaskServiceServer ¶
func RegisterTaskServiceServer(s grpc.ServiceRegistrar, srv TaskServiceServer)
Types ¶
type CreateTaskRequest ¶
type CreateTaskRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` DeadlineAt int64 `protobuf:"varint,3,opt,name=deadline_at,json=deadlineAt,proto3" json:"deadline_at,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskRequest) Descriptor
deprecated
func (*CreateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead.
func (*CreateTaskRequest) GetDeadlineAt ¶
func (x *CreateTaskRequest) GetDeadlineAt() int64
func (*CreateTaskRequest) GetDescription ¶
func (x *CreateTaskRequest) GetDescription() string
func (*CreateTaskRequest) GetTitle ¶
func (x *CreateTaskRequest) GetTitle() string
func (*CreateTaskRequest) ProtoMessage ¶
func (*CreateTaskRequest) ProtoMessage()
func (*CreateTaskRequest) ProtoReflect ¶
func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
func (*CreateTaskRequest) Reset ¶
func (x *CreateTaskRequest) Reset()
func (*CreateTaskRequest) String ¶
func (x *CreateTaskRequest) String() string
type CreateTaskResponse ¶
type CreateTaskResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskResponse) Descriptor
deprecated
func (*CreateTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead.
func (*CreateTaskResponse) GetTask ¶
func (x *CreateTaskResponse) GetTask() *Task
func (*CreateTaskResponse) ProtoMessage ¶
func (*CreateTaskResponse) ProtoMessage()
func (*CreateTaskResponse) ProtoReflect ¶
func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message
func (*CreateTaskResponse) Reset ¶
func (x *CreateTaskResponse) Reset()
func (*CreateTaskResponse) String ¶
func (x *CreateTaskResponse) String() string
type DeleteTaskRequest ¶
type DeleteTaskRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTaskRequest) Descriptor
deprecated
func (*DeleteTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.
func (*DeleteTaskRequest) GetId ¶
func (x *DeleteTaskRequest) GetId() string
func (*DeleteTaskRequest) ProtoMessage ¶
func (*DeleteTaskRequest) ProtoMessage()
func (*DeleteTaskRequest) ProtoReflect ¶
func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message
func (*DeleteTaskRequest) Reset ¶
func (x *DeleteTaskRequest) Reset()
func (*DeleteTaskRequest) String ¶
func (x *DeleteTaskRequest) String() string
type DeleteTaskResponse ¶
type DeleteTaskResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTaskResponse) Descriptor
deprecated
func (*DeleteTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskResponse.ProtoReflect.Descriptor instead.
func (*DeleteTaskResponse) ProtoMessage ¶
func (*DeleteTaskResponse) ProtoMessage()
func (*DeleteTaskResponse) ProtoReflect ¶
func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message
func (*DeleteTaskResponse) Reset ¶
func (x *DeleteTaskResponse) Reset()
func (*DeleteTaskResponse) String ¶
func (x *DeleteTaskResponse) String() string
type GetTaskRequest ¶
type GetTaskRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTaskRequest) Descriptor
deprecated
func (*GetTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRequest) GetId ¶
func (x *GetTaskRequest) GetId() string
func (*GetTaskRequest) ProtoMessage ¶
func (*GetTaskRequest) ProtoMessage()
func (*GetTaskRequest) ProtoReflect ¶
func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
func (*GetTaskRequest) Reset ¶
func (x *GetTaskRequest) Reset()
func (*GetTaskRequest) String ¶
func (x *GetTaskRequest) String() string
type GetTaskResponse ¶
type GetTaskResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*GetTaskResponse) Descriptor
deprecated
func (*GetTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskResponse.ProtoReflect.Descriptor instead.
func (*GetTaskResponse) GetTask ¶
func (x *GetTaskResponse) GetTask() *Task
func (*GetTaskResponse) ProtoMessage ¶
func (*GetTaskResponse) ProtoMessage()
func (*GetTaskResponse) ProtoReflect ¶
func (x *GetTaskResponse) ProtoReflect() protoreflect.Message
func (*GetTaskResponse) Reset ¶
func (x *GetTaskResponse) Reset()
func (*GetTaskResponse) String ¶
func (x *GetTaskResponse) String() string
type ListTasksRequest ¶
type ListTasksRequest struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*ListTasksRequest) Descriptor
deprecated
func (*ListTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.
func (*ListTasksRequest) GetLimit ¶
func (x *ListTasksRequest) GetLimit() uint32
func (*ListTasksRequest) GetOffset ¶
func (x *ListTasksRequest) GetOffset() uint32
func (*ListTasksRequest) ProtoMessage ¶
func (*ListTasksRequest) ProtoMessage()
func (*ListTasksRequest) ProtoReflect ¶
func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
func (*ListTasksRequest) Reset ¶
func (x *ListTasksRequest) Reset()
func (*ListTasksRequest) String ¶
func (x *ListTasksRequest) String() string
type ListTasksResponse ¶
type ListTasksResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*ListTasksResponse) Descriptor
deprecated
func (*ListTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.
func (*ListTasksResponse) GetTask ¶
func (x *ListTasksResponse) GetTask() *Task
func (*ListTasksResponse) ProtoMessage ¶
func (*ListTasksResponse) ProtoMessage()
func (*ListTasksResponse) ProtoReflect ¶
func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
func (*ListTasksResponse) Reset ¶
func (x *ListTasksResponse) Reset()
func (*ListTasksResponse) String ¶
func (x *ListTasksResponse) String() string
type Task ¶
type Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Status TaskStatus `protobuf:"varint,5,opt,name=status,proto3,enum=task.TaskStatus" json:"status,omitempty"` CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` StartedAt int64 `protobuf:"varint,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` CompletedAt int64 `protobuf:"varint,12,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` DeadlineAt int64 `protobuf:"varint,13,opt,name=deadline_at,json=deadlineAt,proto3" json:"deadline_at,omitempty"` AbandonedAt int64 `protobuf:"varint,14,opt,name=abandoned_at,json=abandonedAt,proto3" json:"abandoned_at,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetAbandonedAt ¶
func (*Task) GetCompletedAt ¶
func (*Task) GetCreatedAt ¶
func (*Task) GetDeadlineAt ¶
func (*Task) GetDescription ¶
func (*Task) GetStartedAt ¶
func (*Task) GetStatus ¶
func (x *Task) GetStatus() TaskStatus
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type TaskServiceClient ¶
type TaskServiceClient interface { GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error) UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*UpdateTaskResponse, error) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteTaskResponse, error) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (TaskService_ListTasksClient, error) UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...grpc.CallOption) (*UpdateTaskStatusResponse, error) UpdateTaskDetails(ctx context.Context, in *UpdateTaskDetailsRequest, opts ...grpc.CallOption) (*UpdateTaskDetailsResponse, error) }
TaskServiceClient is the client API for TaskService 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 NewTaskServiceClient ¶
func NewTaskServiceClient(cc grpc.ClientConnInterface) TaskServiceClient
type TaskServiceServer ¶
type TaskServiceServer interface { GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error) CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error) UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskResponse, error) DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskResponse, error) ListTasks(*ListTasksRequest, TaskService_ListTasksServer) error UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusResponse, error) UpdateTaskDetails(context.Context, *UpdateTaskDetailsRequest) (*UpdateTaskDetailsResponse, error) // contains filtered or unexported methods }
TaskServiceServer is the server API for TaskService service. All implementations must embed UnimplementedTaskServiceServer for forward compatibility
type TaskService_ListTasksClient ¶
type TaskService_ListTasksClient interface { Recv() (*ListTasksResponse, error) grpc.ClientStream }
type TaskService_ListTasksServer ¶
type TaskService_ListTasksServer interface { Send(*ListTasksResponse) error grpc.ServerStream }
type TaskStatus ¶
type TaskStatus int32
const ( TaskStatus_TASK_STATUS_UNSPECIFIED TaskStatus = 0 TaskStatus_TASK_STATUS_PLANNED TaskStatus = 1 TaskStatus_TASK_STATUS_STARTED TaskStatus = 2 TaskStatus_TASK_STATUS_COMPLETED TaskStatus = 3 TaskStatus_TASK_STATUS_ABANDONED TaskStatus = 4 TaskStatus_TASK_STATUS_DEADLINE_PASSED TaskStatus = 5 TaskStatus_TASK_STATUS_COMPLETED_AFTER_DEADLINE TaskStatus = 6 )
func (TaskStatus) Descriptor ¶
func (TaskStatus) Descriptor() protoreflect.EnumDescriptor
func (TaskStatus) Enum ¶
func (x TaskStatus) Enum() *TaskStatus
func (TaskStatus) EnumDescriptor
deprecated
func (TaskStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskStatus.Descriptor instead.
func (TaskStatus) Number ¶
func (x TaskStatus) Number() protoreflect.EnumNumber
func (TaskStatus) String ¶
func (x TaskStatus) String() string
func (TaskStatus) Type ¶
func (TaskStatus) Type() protoreflect.EnumType
type UnimplementedTaskServiceServer ¶
type UnimplementedTaskServiceServer struct { }
UnimplementedTaskServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTaskServiceServer) CreateTask ¶
func (UnimplementedTaskServiceServer) CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error)
func (UnimplementedTaskServiceServer) DeleteTask ¶
func (UnimplementedTaskServiceServer) DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskResponse, error)
func (UnimplementedTaskServiceServer) GetTask ¶
func (UnimplementedTaskServiceServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)
func (UnimplementedTaskServiceServer) ListTasks ¶
func (UnimplementedTaskServiceServer) ListTasks(*ListTasksRequest, TaskService_ListTasksServer) error
func (UnimplementedTaskServiceServer) UpdateTask ¶
func (UnimplementedTaskServiceServer) UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskResponse, error)
func (UnimplementedTaskServiceServer) UpdateTaskDetails ¶
func (UnimplementedTaskServiceServer) UpdateTaskDetails(context.Context, *UpdateTaskDetailsRequest) (*UpdateTaskDetailsResponse, error)
func (UnimplementedTaskServiceServer) UpdateTaskStatus ¶
func (UnimplementedTaskServiceServer) UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusResponse, error)
type UnsafeTaskServiceServer ¶
type UnsafeTaskServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTaskServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TaskServiceServer will result in compilation errors.
type UpdateTaskDetailsRequest ¶
type UpdateTaskDetailsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskDetailsRequest) Descriptor
deprecated
func (*UpdateTaskDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskDetailsRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskDetailsRequest) GetDescription ¶
func (x *UpdateTaskDetailsRequest) GetDescription() string
func (*UpdateTaskDetailsRequest) GetId ¶
func (x *UpdateTaskDetailsRequest) GetId() string
func (*UpdateTaskDetailsRequest) GetTitle ¶
func (x *UpdateTaskDetailsRequest) GetTitle() string
func (*UpdateTaskDetailsRequest) ProtoMessage ¶
func (*UpdateTaskDetailsRequest) ProtoMessage()
func (*UpdateTaskDetailsRequest) ProtoReflect ¶
func (x *UpdateTaskDetailsRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskDetailsRequest) Reset ¶
func (x *UpdateTaskDetailsRequest) Reset()
func (*UpdateTaskDetailsRequest) String ¶
func (x *UpdateTaskDetailsRequest) String() string
type UpdateTaskDetailsResponse ¶
type UpdateTaskDetailsResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskDetailsResponse) Descriptor
deprecated
func (*UpdateTaskDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskDetailsResponse.ProtoReflect.Descriptor instead.
func (*UpdateTaskDetailsResponse) GetTask ¶
func (x *UpdateTaskDetailsResponse) GetTask() *Task
func (*UpdateTaskDetailsResponse) ProtoMessage ¶
func (*UpdateTaskDetailsResponse) ProtoMessage()
func (*UpdateTaskDetailsResponse) ProtoReflect ¶
func (x *UpdateTaskDetailsResponse) ProtoReflect() protoreflect.Message
func (*UpdateTaskDetailsResponse) Reset ¶
func (x *UpdateTaskDetailsResponse) Reset()
func (*UpdateTaskDetailsResponse) String ¶
func (x *UpdateTaskDetailsResponse) String() string
type UpdateTaskRequest ¶
type UpdateTaskRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Status TaskStatus `protobuf:"varint,5,opt,name=status,proto3,enum=task.TaskStatus" json:"status,omitempty"` StartedAt int64 `protobuf:"varint,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` CompletedAt int64 `protobuf:"varint,12,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` DeadlineAt int64 `protobuf:"varint,13,opt,name=deadline_at,json=deadlineAt,proto3" json:"deadline_at,omitempty"` AbandonedAt int64 `protobuf:"varint,14,opt,name=abandoned_at,json=abandonedAt,proto3" json:"abandoned_at,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskRequest) Descriptor
deprecated
func (*UpdateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskRequest) GetAbandonedAt ¶
func (x *UpdateTaskRequest) GetAbandonedAt() int64
func (*UpdateTaskRequest) GetCompletedAt ¶
func (x *UpdateTaskRequest) GetCompletedAt() int64
func (*UpdateTaskRequest) GetDeadlineAt ¶
func (x *UpdateTaskRequest) GetDeadlineAt() int64
func (*UpdateTaskRequest) GetDescription ¶
func (x *UpdateTaskRequest) GetDescription() string
func (*UpdateTaskRequest) GetId ¶
func (x *UpdateTaskRequest) GetId() string
func (*UpdateTaskRequest) GetStartedAt ¶
func (x *UpdateTaskRequest) GetStartedAt() int64
func (*UpdateTaskRequest) GetStatus ¶
func (x *UpdateTaskRequest) GetStatus() TaskStatus
func (*UpdateTaskRequest) GetTitle ¶
func (x *UpdateTaskRequest) GetTitle() string
func (*UpdateTaskRequest) ProtoMessage ¶
func (*UpdateTaskRequest) ProtoMessage()
func (*UpdateTaskRequest) ProtoReflect ¶
func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskRequest) Reset ¶
func (x *UpdateTaskRequest) Reset()
func (*UpdateTaskRequest) String ¶
func (x *UpdateTaskRequest) String() string
type UpdateTaskResponse ¶
type UpdateTaskResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskResponse) Descriptor
deprecated
func (*UpdateTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskResponse.ProtoReflect.Descriptor instead.
func (*UpdateTaskResponse) GetTask ¶
func (x *UpdateTaskResponse) GetTask() *Task
func (*UpdateTaskResponse) ProtoMessage ¶
func (*UpdateTaskResponse) ProtoMessage()
func (*UpdateTaskResponse) ProtoReflect ¶
func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message
func (*UpdateTaskResponse) Reset ¶
func (x *UpdateTaskResponse) Reset()
func (*UpdateTaskResponse) String ¶
func (x *UpdateTaskResponse) String() string
type UpdateTaskStatusRequest ¶
type UpdateTaskStatusRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status TaskStatus `protobuf:"varint,2,opt,name=status,proto3,enum=task.TaskStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskStatusRequest) Descriptor
deprecated
func (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskStatusRequest) GetId ¶
func (x *UpdateTaskStatusRequest) GetId() string
func (*UpdateTaskStatusRequest) GetStatus ¶
func (x *UpdateTaskStatusRequest) GetStatus() TaskStatus
func (*UpdateTaskStatusRequest) ProtoMessage ¶
func (*UpdateTaskStatusRequest) ProtoMessage()
func (*UpdateTaskStatusRequest) ProtoReflect ¶
func (x *UpdateTaskStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskStatusRequest) Reset ¶
func (x *UpdateTaskStatusRequest) Reset()
func (*UpdateTaskStatusRequest) String ¶
func (x *UpdateTaskStatusRequest) String() string
type UpdateTaskStatusResponse ¶
type UpdateTaskStatusResponse struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskStatusResponse) Descriptor
deprecated
func (*UpdateTaskStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskStatusResponse.ProtoReflect.Descriptor instead.
func (*UpdateTaskStatusResponse) GetTask ¶
func (x *UpdateTaskStatusResponse) GetTask() *Task
func (*UpdateTaskStatusResponse) ProtoMessage ¶
func (*UpdateTaskStatusResponse) ProtoMessage()
func (*UpdateTaskStatusResponse) ProtoReflect ¶
func (x *UpdateTaskStatusResponse) ProtoReflect() protoreflect.Message
func (*UpdateTaskStatusResponse) Reset ¶
func (x *UpdateTaskStatusResponse) Reset()
func (*UpdateTaskStatusResponse) String ¶
func (x *UpdateTaskStatusResponse) String() string