3095 lines
96 KiB
Go
3095 lines
96 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: state/v1/task.proto
|
|
|
|
package statev1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type EnqueueIssueRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
|
|
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
|
|
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
|
|
Labels string `protobuf:"bytes,6,opt,name=labels,proto3" json:"labels,omitempty"`
|
|
Identity string `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) Reset() {
|
|
*x = EnqueueIssueRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueIssueRequest) ProtoMessage() {}
|
|
|
|
func (x *EnqueueIssueRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetOwner() string {
|
|
if x != nil {
|
|
return x.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetNumber() int64 {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetLabels() string {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueIssueRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EnqueueIssueResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Inserted bool `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueIssueResponse) Reset() {
|
|
*x = EnqueueIssueResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueIssueResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueIssueResponse) ProtoMessage() {}
|
|
|
|
func (x *EnqueueIssueResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *EnqueueIssueResponse) GetInserted() bool {
|
|
if x != nil {
|
|
return x.Inserted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ActiveTasksByOriginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ActiveTasksByOriginRequest) Reset() {
|
|
*x = ActiveTasksByOriginRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ActiveTasksByOriginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActiveTasksByOriginRequest) ProtoMessage() {}
|
|
|
|
func (x *ActiveTasksByOriginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ActiveTasksByOriginRequest.ProtoReflect.Descriptor instead.
|
|
func (*ActiveTasksByOriginRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ActiveTasksByOriginRequest) GetOrigin() string {
|
|
if x != nil {
|
|
return x.Origin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ActiveTasksByOriginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ActiveTasksByOriginResponse) Reset() {
|
|
*x = ActiveTasksByOriginResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ActiveTasksByOriginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActiveTasksByOriginResponse) ProtoMessage() {}
|
|
|
|
func (x *ActiveTasksByOriginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ActiveTasksByOriginResponse.ProtoReflect.Descriptor instead.
|
|
func (*ActiveTasksByOriginResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ActiveTasksByOriginResponse) GetTasks() []*Task {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UnpostedOutcomesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnpostedOutcomesRequest) Reset() {
|
|
*x = UnpostedOutcomesRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnpostedOutcomesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnpostedOutcomesRequest) ProtoMessage() {}
|
|
|
|
func (x *UnpostedOutcomesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnpostedOutcomesRequest.ProtoReflect.Descriptor instead.
|
|
func (*UnpostedOutcomesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type UnpostedOutcomesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UnpostedOutcomesResponse) Reset() {
|
|
*x = UnpostedOutcomesResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnpostedOutcomesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnpostedOutcomesResponse) ProtoMessage() {}
|
|
|
|
func (x *UnpostedOutcomesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnpostedOutcomesResponse.ProtoReflect.Descriptor instead.
|
|
func (*UnpostedOutcomesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UnpostedOutcomesResponse) GetTasks() []*Task {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MarkOutcomePostedRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
// status is the task status whose state was posted.
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MarkOutcomePostedRequest) Reset() {
|
|
*x = MarkOutcomePostedRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MarkOutcomePostedRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MarkOutcomePostedRequest) ProtoMessage() {}
|
|
|
|
func (x *MarkOutcomePostedRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MarkOutcomePostedRequest.ProtoReflect.Descriptor instead.
|
|
func (*MarkOutcomePostedRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *MarkOutcomePostedRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MarkOutcomePostedRequest) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MarkOutcomePostedResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MarkOutcomePostedResponse) Reset() {
|
|
*x = MarkOutcomePostedResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MarkOutcomePostedResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MarkOutcomePostedResponse) ProtoMessage() {}
|
|
|
|
func (x *MarkOutcomePostedResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MarkOutcomePostedResponse.ProtoReflect.Descriptor instead.
|
|
func (*MarkOutcomePostedResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type EnqueueChatTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
|
|
Workflow string `protobuf:"bytes,5,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
// inputs_json assigns workflow inputs, a JSON object of the same form
|
|
// EnqueueBindingTaskRequest carries. A chat task sets them at insert
|
|
// time: it has no binding provenance to stamp afterwards.
|
|
InputsJson string `protobuf:"bytes,7,opt,name=inputs_json,json=inputsJson,proto3" json:"inputs_json,omitempty"`
|
|
// origin names the conversation that created the task; empty for none.
|
|
Origin string `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"`
|
|
// draft_yaml, when set, makes the task a test run of that unsaved
|
|
// definition: it is pinned to it and writes nothing to a forge.
|
|
DraftYaml string `protobuf:"bytes,9,opt,name=draft_yaml,json=draftYaml,proto3" json:"draft_yaml,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) Reset() {
|
|
*x = EnqueueChatTaskRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueChatTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *EnqueueChatTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueChatTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueChatTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetOwner() string {
|
|
if x != nil {
|
|
return x.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetInputsJson() string {
|
|
if x != nil {
|
|
return x.InputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetOrigin() string {
|
|
if x != nil {
|
|
return x.Origin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueChatTaskRequest) GetDraftYaml() string {
|
|
if x != nil {
|
|
return x.DraftYaml
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EnqueueChatTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueChatTaskResponse) Reset() {
|
|
*x = EnqueueChatTaskResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueChatTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueChatTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *EnqueueChatTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueChatTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueChatTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *EnqueueChatTaskResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClaimNextRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClaimNextRequest) Reset() {
|
|
*x = ClaimNextRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClaimNextRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClaimNextRequest) ProtoMessage() {}
|
|
|
|
func (x *ClaimNextRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClaimNextRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClaimNextRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type ClaimNextResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClaimNextResponse) Reset() {
|
|
*x = ClaimNextResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClaimNextResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClaimNextResponse) ProtoMessage() {}
|
|
|
|
func (x *ClaimNextResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClaimNextResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClaimNextResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ClaimNextResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClaimNextResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ClaimByIssueRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClaimByIssueRequest) Reset() {
|
|
*x = ClaimByIssueRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClaimByIssueRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClaimByIssueRequest) ProtoMessage() {}
|
|
|
|
func (x *ClaimByIssueRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClaimByIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClaimByIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ClaimByIssueRequest) GetOwner() string {
|
|
if x != nil {
|
|
return x.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClaimByIssueRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClaimByIssueRequest) GetNumber() int64 {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ClaimByIssueResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClaimByIssueResponse) Reset() {
|
|
*x = ClaimByIssueResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClaimByIssueResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClaimByIssueResponse) ProtoMessage() {}
|
|
|
|
func (x *ClaimByIssueResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClaimByIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClaimByIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ClaimByIssueResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClaimByIssueResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type TransitionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
|
|
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransitionRequest) Reset() {
|
|
*x = TransitionRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransitionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransitionRequest) ProtoMessage() {}
|
|
|
|
func (x *TransitionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransitionRequest.ProtoReflect.Descriptor instead.
|
|
func (*TransitionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *TransitionRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TransitionRequest) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TransitionRequest) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TransitionRequest) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TransitionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransitionResponse) Reset() {
|
|
*x = TransitionResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransitionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransitionResponse) ProtoMessage() {}
|
|
|
|
func (x *TransitionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransitionResponse.ProtoReflect.Descriptor instead.
|
|
func (*TransitionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
type UpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateRequest) Reset() {
|
|
*x = UpdateRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *UpdateRequest) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateResponse) Reset() {
|
|
*x = UpdateResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
type RequeueRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"`
|
|
Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequeueRequest) Reset() {
|
|
*x = RequeueRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequeueRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequeueRequest) ProtoMessage() {}
|
|
|
|
func (x *RequeueRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequeueRequest.ProtoReflect.Descriptor instead.
|
|
func (*RequeueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *RequeueRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RequeueRequest) GetFromStatus() string {
|
|
if x != nil {
|
|
return x.FromStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RequeueRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RequeueResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequeueResponse) Reset() {
|
|
*x = RequeueResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequeueResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequeueResponse) ProtoMessage() {}
|
|
|
|
func (x *RequeueResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequeueResponse.ProtoReflect.Descriptor instead.
|
|
func (*RequeueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type ParkTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Class string `protobuf:"bytes,4,opt,name=class,proto3" json:"class,omitempty"`
|
|
Blocker string `protobuf:"bytes,5,opt,name=blocker,proto3" json:"blocker,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParkTaskRequest) Reset() {
|
|
*x = ParkTaskRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParkTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParkTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *ParkTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ParkTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*ParkTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetClass() string {
|
|
if x != nil {
|
|
return x.Class
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetBlocker() string {
|
|
if x != nil {
|
|
return x.Blocker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ParkTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParkTaskResponse) Reset() {
|
|
*x = ParkTaskResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParkTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParkTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *ParkTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ParkTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*ParkTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
type RecoverStaleRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecoverStaleRequest) Reset() {
|
|
*x = RecoverStaleRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecoverStaleRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecoverStaleRequest) ProtoMessage() {}
|
|
|
|
func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecoverStaleRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecoverStaleRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
type RecoverStaleResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecoverStaleResponse) Reset() {
|
|
*x = RecoverStaleResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecoverStaleResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecoverStaleResponse) ProtoMessage() {}
|
|
|
|
func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecoverStaleResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecoverStaleResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *RecoverStaleResponse) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ArchiveTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"`
|
|
Audit *Event `protobuf:"bytes,3,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ArchiveTaskRequest) Reset() {
|
|
*x = ArchiveTaskRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ArchiveTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArchiveTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ArchiveTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *ArchiveTaskRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArchiveTaskRequest) GetFromStatus() string {
|
|
if x != nil {
|
|
return x.FromStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ArchiveTaskRequest) GetAudit() *Event {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ArchiveTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ArchiveTaskResponse) Reset() {
|
|
*x = ArchiveTaskResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ArchiveTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArchiveTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ArchiveTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ArchiveTaskResponse) GetEventId() int64 {
|
|
if x != nil {
|
|
return x.EventId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RetryTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"`
|
|
Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
// retry_mode is the operator's worktree choice (taskstate.RetryMode) the
|
|
// requeue persists. Empty reads as refresh_onto_base.
|
|
RetryMode string `protobuf:"bytes,4,opt,name=retry_mode,json=retryMode,proto3" json:"retry_mode,omitempty"`
|
|
// resume_from is the stage the attempt starts at, and resume_after the
|
|
// stage before it whose recorded results it starts with (task.Resume).
|
|
ResumeFrom string `protobuf:"bytes,5,opt,name=resume_from,json=resumeFrom,proto3" json:"resume_from,omitempty"`
|
|
ResumeAfter string `protobuf:"bytes,6,opt,name=resume_after,json=resumeAfter,proto3" json:"resume_after,omitempty"`
|
|
// current_definition clears the pinned definition so the next dispatch
|
|
// pins the workflow's current stored version.
|
|
CurrentDefinition bool `protobuf:"varint,7,opt,name=current_definition,json=currentDefinition,proto3" json:"current_definition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RetryTaskRequest) Reset() {
|
|
*x = RetryTaskRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RetryTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RetryTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RetryTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*RetryTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetFromStatus() string {
|
|
if x != nil {
|
|
return x.FromStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetRetryMode() string {
|
|
if x != nil {
|
|
return x.RetryMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetResumeFrom() string {
|
|
if x != nil {
|
|
return x.ResumeFrom
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetResumeAfter() string {
|
|
if x != nil {
|
|
return x.ResumeAfter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RetryTaskRequest) GetCurrentDefinition() bool {
|
|
if x != nil {
|
|
return x.CurrentDefinition
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RetryTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RetryTaskResponse) Reset() {
|
|
*x = RetryTaskResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RetryTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RetryTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RetryTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*RetryTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
type TaskByIssueRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskByIssueRequest) Reset() {
|
|
*x = TaskByIssueRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskByIssueRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskByIssueRequest) ProtoMessage() {}
|
|
|
|
func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskByIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *TaskByIssueRequest) GetOwner() string {
|
|
if x != nil {
|
|
return x.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskByIssueRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskByIssueRequest) GetNumber() int64 {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskByIssueResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskByIssueResponse) Reset() {
|
|
*x = TaskByIssueResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskByIssueResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskByIssueResponse) ProtoMessage() {}
|
|
|
|
func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskByIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *TaskByIssueResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TaskByIssueResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type OpenTaskByPRRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenTaskByPRRequest) Reset() {
|
|
*x = OpenTaskByPRRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenTaskByPRRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenTaskByPRRequest) ProtoMessage() {}
|
|
|
|
func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenTaskByPRRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenTaskByPRRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *OpenTaskByPRRequest) GetOwner() string {
|
|
if x != nil {
|
|
return x.Owner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenTaskByPRRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenTaskByPRRequest) GetNumber() int64 {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OpenTaskByPRResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenTaskByPRResponse) Reset() {
|
|
*x = OpenTaskByPRResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenTaskByPRResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenTaskByPRResponse) ProtoMessage() {}
|
|
|
|
func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenTaskByPRResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenTaskByPRResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *OpenTaskByPRResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenTaskByPRResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type TaskByIDRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskByIDRequest) Reset() {
|
|
*x = TaskByIDRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskByIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskByIDRequest) ProtoMessage() {}
|
|
|
|
func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *TaskByIDRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskByIDResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskByIDResponse) Reset() {
|
|
*x = TaskByIDResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskByIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskByIDResponse) ProtoMessage() {}
|
|
|
|
func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskByIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *TaskByIDResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TaskByIDResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type OpenPRsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenPRsRequest) Reset() {
|
|
*x = OpenPRsRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenPRsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenPRsRequest) ProtoMessage() {}
|
|
|
|
func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenPRsRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenPRsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
type OpenPRsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenPRsResponse) Reset() {
|
|
*x = OpenPRsResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenPRsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenPRsResponse) ProtoMessage() {}
|
|
|
|
func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenPRsResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenPRsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *OpenPRsResponse) GetTasks() []*Task {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClearTerminalTasksRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearTerminalTasksRequest) Reset() {
|
|
*x = ClearTerminalTasksRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearTerminalTasksRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearTerminalTasksRequest) ProtoMessage() {}
|
|
|
|
func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClearTerminalTasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClearTerminalTasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
type ClearTerminalTasksResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearTerminalTasksResponse) Reset() {
|
|
*x = ClearTerminalTasksResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearTerminalTasksResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearTerminalTasksResponse) ProtoMessage() {}
|
|
|
|
func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClearTerminalTasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClearTerminalTasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *ClearTerminalTasksResponse) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// TasksRequest selects one page of tasks, most recently updated first. Empty
|
|
// statuses matches every status; after_id 0 starts at the newest task.
|
|
type TasksRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Statuses []string `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
|
AfterUpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=after_updated_at,json=afterUpdatedAt,proto3" json:"after_updated_at,omitempty"`
|
|
AfterId int64 `protobuf:"varint,4,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"`
|
|
// workflow, when set, keeps only that workflow's tasks.
|
|
Workflow string `protobuf:"bytes,5,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TasksRequest) Reset() {
|
|
*x = TasksRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TasksRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TasksRequest) ProtoMessage() {}
|
|
|
|
func (x *TasksRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*TasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *TasksRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TasksRequest) GetStatuses() []string {
|
|
if x != nil {
|
|
return x.Statuses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TasksRequest) GetAfterUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.AfterUpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TasksRequest) GetAfterId() int64 {
|
|
if x != nil {
|
|
return x.AfterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TasksRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TasksResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TasksResponse) Reset() {
|
|
*x = TasksResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TasksResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TasksResponse) ProtoMessage() {}
|
|
|
|
func (x *TasksResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*TasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *TasksResponse) GetTasks() []*Task {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// workflow.call: the caller's grant names the caller; the store derives the
|
|
// rest from the caller's row (docs/prds/workflow-calls.md).
|
|
type EnqueueCallTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CallerTaskId int64 `protobuf:"varint,1,opt,name=caller_task_id,json=callerTaskId,proto3" json:"caller_task_id,omitempty"`
|
|
Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
InputsJson string `protobuf:"bytes,3,opt,name=inputs_json,json=inputsJson,proto3" json:"inputs_json,omitempty"`
|
|
// call_key is the call site's durable identity: the call step's declared
|
|
// path within the run, plus the workflow it starts (so one task running a
|
|
// second definition at a colliding path does not reuse the first callee's
|
|
// child). The store stamps it on the child and, when the caller already
|
|
// started a child under it, returns that child instead of starting a second
|
|
// one. Required: a retry of one call site carries the same key, so the retry
|
|
// cannot duplicate the child's work.
|
|
CallKey string `protobuf:"bytes,4,opt,name=call_key,json=callKey,proto3" json:"call_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) Reset() {
|
|
*x = EnqueueCallTaskRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueCallTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *EnqueueCallTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueCallTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueCallTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetCallerTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallerTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetInputsJson() string {
|
|
if x != nil {
|
|
return x.InputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetCallKey() string {
|
|
if x != nil {
|
|
return x.CallKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HandoffTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HandoffTaskRequest) Reset() {
|
|
*x = HandoffTaskRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HandoffTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandoffTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *HandoffTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HandoffTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*HandoffTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *HandoffTaskRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HandoffTaskRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HandoffTaskRequest) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HandoffTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HandoffTaskResponse) Reset() {
|
|
*x = HandoffTaskResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HandoffTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandoffTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *HandoffTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HandoffTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*HandoffTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *HandoffTaskResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EnqueueCallTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) Reset() {
|
|
*x = EnqueueCallTaskResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueCallTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *EnqueueCallTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueCallTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueCallTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) GetAccepted() bool {
|
|
if x != nil {
|
|
return x.Accepted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type WorkflowCallStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CallerTaskId int64 `protobuf:"varint,1,opt,name=caller_task_id,json=callerTaskId,proto3" json:"caller_task_id,omitempty"`
|
|
CallTaskId int64 `protobuf:"varint,2,opt,name=call_task_id,json=callTaskId,proto3" json:"call_task_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) Reset() {
|
|
*x = WorkflowCallStatusRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkflowCallStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *WorkflowCallStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkflowCallStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowCallStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) GetCallerTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallerTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) GetCallTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WorkflowCallStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// status is the callee's task status and detail its latest transition
|
|
// detail (empty before the callee first moves). outputs_json is the
|
|
// callee's written outputs (task.EncodeOutputs), so a wait:true caller can
|
|
// publish one as its own (docs/prds/workflow-call-outputs.md, "Storage and
|
|
// wire").
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
OutputsJson string `protobuf:"bytes,3,opt,name=outputs_json,json=outputsJson,proto3" json:"outputs_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) Reset() {
|
|
*x = WorkflowCallStatusResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkflowCallStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *WorkflowCallStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkflowCallStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowCallStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) GetOutputsJson() string {
|
|
if x != nil {
|
|
return x.OutputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TaskModelsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskModelsRequest) Reset() {
|
|
*x = TaskModelsRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskModelsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskModelsRequest) ProtoMessage() {}
|
|
|
|
func (x *TaskModelsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskModelsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskModelsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *TaskModelsRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskInstructionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskInstructionsRequest) Reset() {
|
|
*x = TaskInstructionsRequest{}
|
|
mi := &file_state_v1_task_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskInstructionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskInstructionsRequest) ProtoMessage() {}
|
|
|
|
func (x *TaskInstructionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskInstructionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskInstructionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *TaskInstructionsRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskInstructionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
|
|
Organisation string `protobuf:"bytes,2,opt,name=organisation,proto3" json:"organisation,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskInstructionsResponse) Reset() {
|
|
*x = TaskInstructionsResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskInstructionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskInstructionsResponse) ProtoMessage() {}
|
|
|
|
func (x *TaskInstructionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskInstructionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskInstructionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *TaskInstructionsResponse) GetInstance() string {
|
|
if x != nil {
|
|
return x.Instance
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskInstructionsResponse) GetOrganisation() string {
|
|
if x != nil {
|
|
return x.Organisation
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TaskModelsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Aliases map[string]string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Providers map[string]*ModelProvider `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TaskModelsResponse) Reset() {
|
|
*x = TaskModelsResponse{}
|
|
mi := &file_state_v1_task_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TaskModelsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskModelsResponse) ProtoMessage() {}
|
|
|
|
func (x *TaskModelsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskModelsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskModelsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *TaskModelsResponse) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskModelsResponse) GetAliases() map[string]string {
|
|
if x != nil {
|
|
return x.Aliases
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TaskModelsResponse) GetProviders() map[string]*ModelProvider {
|
|
if x != nil {
|
|
return x.Providers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ModelProvider is an org's own provider. Its key is the org's credential
|
|
// binding named after it.
|
|
type ModelProvider struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
|
|
BaseUrl string `protobuf:"bytes,2,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
|
|
ApiKeyEnv string `protobuf:"bytes,3,opt,name=api_key_env,json=apiKeyEnv,proto3" json:"api_key_env,omitempty"`
|
|
// The provider's credential reference: where its key lives, never the key
|
|
// itself. A daemon resolves a model egress credential from it; without it
|
|
// every provider arrives credential-less and no runtime can be built.
|
|
ApiKeyEngine string `protobuf:"bytes,4,opt,name=api_key_engine,json=apiKeyEngine,proto3" json:"api_key_engine,omitempty"`
|
|
ApiKeyKey string `protobuf:"bytes,5,opt,name=api_key_key,json=apiKeyKey,proto3" json:"api_key_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModelProvider) Reset() {
|
|
*x = ModelProvider{}
|
|
mi := &file_state_v1_task_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModelProvider) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModelProvider) ProtoMessage() {}
|
|
|
|
func (x *ModelProvider) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_task_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ModelProvider.ProtoReflect.Descriptor instead.
|
|
func (*ModelProvider) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_task_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *ModelProvider) GetClass() string {
|
|
if x != nil {
|
|
return x.Class
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelProvider) GetBaseUrl() string {
|
|
if x != nil {
|
|
return x.BaseUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelProvider) GetApiKeyEnv() string {
|
|
if x != nil {
|
|
return x.ApiKeyEnv
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelProvider) GetApiKeyEngine() string {
|
|
if x != nil {
|
|
return x.ApiKeyEngine
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModelProvider) GetApiKeyKey() string {
|
|
if x != nil {
|
|
return x.ApiKeyKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_state_v1_task_proto protoreflect.FileDescriptor
|
|
|
|
const file_state_v1_task_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x13state/v1/task.proto\x12\bstate.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14state/v1/types.proto\"\xb5\x01\n" +
|
|
"\x13EnqueueIssueRequest\x12\x14\n" +
|
|
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
|
|
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
|
|
"\x06number\x18\x03 \x01(\x03R\x06number\x12\x14\n" +
|
|
"\x05title\x18\x04 \x01(\tR\x05title\x12\x12\n" +
|
|
"\x04body\x18\x05 \x01(\tR\x04body\x12\x16\n" +
|
|
"\x06labels\x18\x06 \x01(\tR\x06labels\x12\x1a\n" +
|
|
"\bidentity\x18\a \x01(\tR\bidentity\"2\n" +
|
|
"\x14EnqueueIssueResponse\x12\x1a\n" +
|
|
"\binserted\x18\x01 \x01(\bR\binserted\"4\n" +
|
|
"\x1aActiveTasksByOriginRequest\x12\x16\n" +
|
|
"\x06origin\x18\x01 \x01(\tR\x06origin\"C\n" +
|
|
"\x1bActiveTasksByOriginResponse\x12$\n" +
|
|
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"\x19\n" +
|
|
"\x17UnpostedOutcomesRequest\"@\n" +
|
|
"\x18UnpostedOutcomesResponse\x12$\n" +
|
|
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"K\n" +
|
|
"\x18MarkOutcomePostedRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\"\x1b\n" +
|
|
"\x19MarkOutcomePostedResponse\"\xfc\x01\n" +
|
|
"\x16EnqueueChatTaskRequest\x12\x14\n" +
|
|
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
|
|
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x12\n" +
|
|
"\x04body\x18\x04 \x01(\tR\x04body\x12\x1a\n" +
|
|
"\bworkflow\x18\x05 \x01(\tR\bworkflow\x12\x1a\n" +
|
|
"\bidentity\x18\x06 \x01(\tR\bidentity\x12\x1f\n" +
|
|
"\vinputs_json\x18\a \x01(\tR\n" +
|
|
"inputsJson\x12\x16\n" +
|
|
"\x06origin\x18\b \x01(\tR\x06origin\x12\x1d\n" +
|
|
"\n" +
|
|
"draft_yaml\x18\t \x01(\tR\tdraftYaml\"=\n" +
|
|
"\x17EnqueueChatTaskResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"\x12\n" +
|
|
"\x10ClaimNextRequest\"M\n" +
|
|
"\x11ClaimNextResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"W\n" +
|
|
"\x13ClaimByIssueRequest\x12\x14\n" +
|
|
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
|
|
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
|
|
"\x06number\x18\x03 \x01(\x03R\x06number\"P\n" +
|
|
"\x14ClaimByIssueResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"h\n" +
|
|
"\x11TransitionRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x12\n" +
|
|
"\x04from\x18\x02 \x01(\tR\x04from\x12\x0e\n" +
|
|
"\x02to\x18\x03 \x01(\tR\x02to\x12\x16\n" +
|
|
"\x06detail\x18\x04 \x01(\tR\x06detail\"\x14\n" +
|
|
"\x12TransitionResponse\"3\n" +
|
|
"\rUpdateRequest\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"\x10\n" +
|
|
"\x0eUpdateResponse\"f\n" +
|
|
"\x0eRequeueRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" +
|
|
"\vfrom_status\x18\x02 \x01(\tR\n" +
|
|
"fromStatus\x12\x1a\n" +
|
|
"\bworkflow\x18\x03 \x01(\tR\bworkflow\"\x11\n" +
|
|
"\x0fRequeueResponse\"\x86\x01\n" +
|
|
"\x0fParkTaskRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x12\n" +
|
|
"\x04from\x18\x02 \x01(\tR\x04from\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\x12\x14\n" +
|
|
"\x05class\x18\x04 \x01(\tR\x05class\x12\x18\n" +
|
|
"\ablocker\x18\x05 \x01(\tR\ablocker\"\x12\n" +
|
|
"\x10ParkTaskResponse\"\x15\n" +
|
|
"\x13RecoverStaleRequest\",\n" +
|
|
"\x14RecoverStaleResponse\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\"u\n" +
|
|
"\x12ArchiveTaskRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" +
|
|
"\vfrom_status\x18\x02 \x01(\tR\n" +
|
|
"fromStatus\x12%\n" +
|
|
"\x05audit\x18\x03 \x01(\v2\x0f.state.v1.EventR\x05audit\"0\n" +
|
|
"\x13ArchiveTaskResponse\x12\x19\n" +
|
|
"\bevent_id\x18\x01 \x01(\x03R\aeventId\"\xfa\x01\n" +
|
|
"\x10RetryTaskRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" +
|
|
"\vfrom_status\x18\x02 \x01(\tR\n" +
|
|
"fromStatus\x12\x1a\n" +
|
|
"\bworkflow\x18\x03 \x01(\tR\bworkflow\x12\x1d\n" +
|
|
"\n" +
|
|
"retry_mode\x18\x04 \x01(\tR\tretryMode\x12\x1f\n" +
|
|
"\vresume_from\x18\x05 \x01(\tR\n" +
|
|
"resumeFrom\x12!\n" +
|
|
"\fresume_after\x18\x06 \x01(\tR\vresumeAfter\x12-\n" +
|
|
"\x12current_definition\x18\a \x01(\bR\x11currentDefinition\"\x13\n" +
|
|
"\x11RetryTaskResponse\"V\n" +
|
|
"\x12TaskByIssueRequest\x12\x14\n" +
|
|
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
|
|
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
|
|
"\x06number\x18\x03 \x01(\x03R\x06number\"O\n" +
|
|
"\x13TaskByIssueResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"W\n" +
|
|
"\x13OpenTaskByPRRequest\x12\x14\n" +
|
|
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
|
|
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
|
|
"\x06number\x18\x03 \x01(\x03R\x06number\"P\n" +
|
|
"\x14OpenTaskByPRResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"*\n" +
|
|
"\x0fTaskByIDRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\"L\n" +
|
|
"\x10TaskByIDResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"\x10\n" +
|
|
"\x0eOpenPRsRequest\"7\n" +
|
|
"\x0fOpenPRsResponse\x12$\n" +
|
|
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"\x1b\n" +
|
|
"\x19ClearTerminalTasksRequest\"2\n" +
|
|
"\x1aClearTerminalTasksResponse\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\"\xbd\x01\n" +
|
|
"\fTasksRequest\x12\x14\n" +
|
|
"\x05limit\x18\x01 \x01(\x03R\x05limit\x12\x1a\n" +
|
|
"\bstatuses\x18\x02 \x03(\tR\bstatuses\x12D\n" +
|
|
"\x10after_updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0eafterUpdatedAt\x12\x19\n" +
|
|
"\bafter_id\x18\x04 \x01(\x03R\aafterId\x12\x1a\n" +
|
|
"\bworkflow\x18\x05 \x01(\tR\bworkflow\"5\n" +
|
|
"\rTasksResponse\x12$\n" +
|
|
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"\x96\x01\n" +
|
|
"\x16EnqueueCallTaskRequest\x12$\n" +
|
|
"\x0ecaller_task_id\x18\x01 \x01(\x03R\fcallerTaskId\x12\x1a\n" +
|
|
"\bworkflow\x18\x02 \x01(\tR\bworkflow\x12\x1f\n" +
|
|
"\vinputs_json\x18\x03 \x01(\tR\n" +
|
|
"inputsJson\x12\x19\n" +
|
|
"\bcall_key\x18\x04 \x01(\tR\acallKey\"a\n" +
|
|
"\x12HandoffTaskRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1a\n" +
|
|
"\bworkflow\x18\x02 \x01(\tR\bworkflow\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\"9\n" +
|
|
"\x13HandoffTaskResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"Y\n" +
|
|
"\x17EnqueueCallTaskResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x1a\n" +
|
|
"\baccepted\x18\x02 \x01(\bR\baccepted\"c\n" +
|
|
"\x19WorkflowCallStatusRequest\x12$\n" +
|
|
"\x0ecaller_task_id\x18\x01 \x01(\x03R\fcallerTaskId\x12 \n" +
|
|
"\fcall_task_id\x18\x02 \x01(\x03R\n" +
|
|
"callTaskId\"o\n" +
|
|
"\x1aWorkflowCallStatusResponse\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06detail\x18\x02 \x01(\tR\x06detail\x12!\n" +
|
|
"\foutputs_json\x18\x03 \x01(\tR\voutputsJson\",\n" +
|
|
"\x11TaskModelsRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\"2\n" +
|
|
"\x17TaskInstructionsRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\"Z\n" +
|
|
"\x18TaskInstructionsResponse\x12\x1a\n" +
|
|
"\binstance\x18\x01 \x01(\tR\binstance\x12\"\n" +
|
|
"\forganisation\x18\x02 \x01(\tR\forganisation\"\xce\x02\n" +
|
|
"\x12TaskModelsResponse\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12C\n" +
|
|
"\aaliases\x18\x02 \x03(\v2).state.v1.TaskModelsResponse.AliasesEntryR\aaliases\x12I\n" +
|
|
"\tproviders\x18\x03 \x03(\v2+.state.v1.TaskModelsResponse.ProvidersEntryR\tproviders\x1a:\n" +
|
|
"\fAliasesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aU\n" +
|
|
"\x0eProvidersEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12-\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x17.state.v1.ModelProviderR\x05value:\x028\x01\"\xa6\x01\n" +
|
|
"\rModelProvider\x12\x14\n" +
|
|
"\x05class\x18\x01 \x01(\tR\x05class\x12\x19\n" +
|
|
"\bbase_url\x18\x02 \x01(\tR\abaseUrl\x12\x1e\n" +
|
|
"\vapi_key_env\x18\x03 \x01(\tR\tapiKeyEnv\x12$\n" +
|
|
"\x0eapi_key_engine\x18\x04 \x01(\tR\fapiKeyEngine\x12\x1e\n" +
|
|
"\vapi_key_key\x18\x05 \x01(\tR\tapiKeyKey2\xb2\x0f\n" +
|
|
"\vTaskService\x12M\n" +
|
|
"\fEnqueueIssue\x12\x1d.state.v1.EnqueueIssueRequest\x1a\x1e.state.v1.EnqueueIssueResponse\x12V\n" +
|
|
"\x0fEnqueueChatTask\x12 .state.v1.EnqueueChatTaskRequest\x1a!.state.v1.EnqueueChatTaskResponse\x12b\n" +
|
|
"\x13ActiveTasksByOrigin\x12$.state.v1.ActiveTasksByOriginRequest\x1a%.state.v1.ActiveTasksByOriginResponse\x12Y\n" +
|
|
"\x10UnpostedOutcomes\x12!.state.v1.UnpostedOutcomesRequest\x1a\".state.v1.UnpostedOutcomesResponse\x12\\\n" +
|
|
"\x11MarkOutcomePosted\x12\".state.v1.MarkOutcomePostedRequest\x1a#.state.v1.MarkOutcomePostedResponse\x12D\n" +
|
|
"\tClaimNext\x12\x1a.state.v1.ClaimNextRequest\x1a\x1b.state.v1.ClaimNextResponse\x12M\n" +
|
|
"\fClaimByIssue\x12\x1d.state.v1.ClaimByIssueRequest\x1a\x1e.state.v1.ClaimByIssueResponse\x12G\n" +
|
|
"\n" +
|
|
"Transition\x12\x1b.state.v1.TransitionRequest\x1a\x1c.state.v1.TransitionResponse\x12;\n" +
|
|
"\x06Update\x12\x17.state.v1.UpdateRequest\x1a\x18.state.v1.UpdateResponse\x12G\n" +
|
|
"\n" +
|
|
"TaskModels\x12\x1b.state.v1.TaskModelsRequest\x1a\x1c.state.v1.TaskModelsResponse\x12Y\n" +
|
|
"\x10TaskInstructions\x12!.state.v1.TaskInstructionsRequest\x1a\".state.v1.TaskInstructionsResponse\x12>\n" +
|
|
"\aRequeue\x12\x18.state.v1.RequeueRequest\x1a\x19.state.v1.RequeueResponse\x12A\n" +
|
|
"\bParkTask\x12\x19.state.v1.ParkTaskRequest\x1a\x1a.state.v1.ParkTaskResponse\x12M\n" +
|
|
"\fRecoverStale\x12\x1d.state.v1.RecoverStaleRequest\x1a\x1e.state.v1.RecoverStaleResponse\x12J\n" +
|
|
"\vArchiveTask\x12\x1c.state.v1.ArchiveTaskRequest\x1a\x1d.state.v1.ArchiveTaskResponse\x12D\n" +
|
|
"\tRetryTask\x12\x1a.state.v1.RetryTaskRequest\x1a\x1b.state.v1.RetryTaskResponse\x12J\n" +
|
|
"\vTaskByIssue\x12\x1c.state.v1.TaskByIssueRequest\x1a\x1d.state.v1.TaskByIssueResponse\x12M\n" +
|
|
"\fOpenTaskByPR\x12\x1d.state.v1.OpenTaskByPRRequest\x1a\x1e.state.v1.OpenTaskByPRResponse\x12A\n" +
|
|
"\bTaskByID\x12\x19.state.v1.TaskByIDRequest\x1a\x1a.state.v1.TaskByIDResponse\x12>\n" +
|
|
"\aOpenPRs\x12\x18.state.v1.OpenPRsRequest\x1a\x19.state.v1.OpenPRsResponse\x12_\n" +
|
|
"\x12ClearTerminalTasks\x12#.state.v1.ClearTerminalTasksRequest\x1a$.state.v1.ClearTerminalTasksResponse\x128\n" +
|
|
"\x05Tasks\x12\x16.state.v1.TasksRequest\x1a\x17.state.v1.TasksResponse\x12V\n" +
|
|
"\x0fEnqueueCallTask\x12 .state.v1.EnqueueCallTaskRequest\x1a!.state.v1.EnqueueCallTaskResponse\x12J\n" +
|
|
"\vHandoffTask\x12\x1c.state.v1.HandoffTaskRequest\x1a\x1d.state.v1.HandoffTaskResponse\x12_\n" +
|
|
"\x12WorkflowCallStatus\x12#.state.v1.WorkflowCallStatusRequest\x1a$.state.v1.WorkflowCallStatusResponseB\xa3\x01\n" +
|
|
"\fcom.state.v1B\tTaskProtoP\x01ZGgithub.com/samcharles93/archie-core/internal/contracts/state/v1;statev1\xa2\x02\x03SXX\xaa\x02\bState.V1\xca\x02\bState\\V1\xe2\x02\x14State\\V1\\GPBMetadata\xea\x02\tState::V1b\x06proto3"
|
|
|
|
var (
|
|
file_state_v1_task_proto_rawDescOnce sync.Once
|
|
file_state_v1_task_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_state_v1_task_proto_rawDescGZIP() []byte {
|
|
file_state_v1_task_proto_rawDescOnce.Do(func() {
|
|
file_state_v1_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_state_v1_task_proto_rawDesc), len(file_state_v1_task_proto_rawDesc)))
|
|
})
|
|
return file_state_v1_task_proto_rawDescData
|
|
}
|
|
|
|
var file_state_v1_task_proto_msgTypes = make([]protoimpl.MessageInfo, 53)
|
|
var file_state_v1_task_proto_goTypes = []any{
|
|
(*EnqueueIssueRequest)(nil), // 0: state.v1.EnqueueIssueRequest
|
|
(*EnqueueIssueResponse)(nil), // 1: state.v1.EnqueueIssueResponse
|
|
(*ActiveTasksByOriginRequest)(nil), // 2: state.v1.ActiveTasksByOriginRequest
|
|
(*ActiveTasksByOriginResponse)(nil), // 3: state.v1.ActiveTasksByOriginResponse
|
|
(*UnpostedOutcomesRequest)(nil), // 4: state.v1.UnpostedOutcomesRequest
|
|
(*UnpostedOutcomesResponse)(nil), // 5: state.v1.UnpostedOutcomesResponse
|
|
(*MarkOutcomePostedRequest)(nil), // 6: state.v1.MarkOutcomePostedRequest
|
|
(*MarkOutcomePostedResponse)(nil), // 7: state.v1.MarkOutcomePostedResponse
|
|
(*EnqueueChatTaskRequest)(nil), // 8: state.v1.EnqueueChatTaskRequest
|
|
(*EnqueueChatTaskResponse)(nil), // 9: state.v1.EnqueueChatTaskResponse
|
|
(*ClaimNextRequest)(nil), // 10: state.v1.ClaimNextRequest
|
|
(*ClaimNextResponse)(nil), // 11: state.v1.ClaimNextResponse
|
|
(*ClaimByIssueRequest)(nil), // 12: state.v1.ClaimByIssueRequest
|
|
(*ClaimByIssueResponse)(nil), // 13: state.v1.ClaimByIssueResponse
|
|
(*TransitionRequest)(nil), // 14: state.v1.TransitionRequest
|
|
(*TransitionResponse)(nil), // 15: state.v1.TransitionResponse
|
|
(*UpdateRequest)(nil), // 16: state.v1.UpdateRequest
|
|
(*UpdateResponse)(nil), // 17: state.v1.UpdateResponse
|
|
(*RequeueRequest)(nil), // 18: state.v1.RequeueRequest
|
|
(*RequeueResponse)(nil), // 19: state.v1.RequeueResponse
|
|
(*ParkTaskRequest)(nil), // 20: state.v1.ParkTaskRequest
|
|
(*ParkTaskResponse)(nil), // 21: state.v1.ParkTaskResponse
|
|
(*RecoverStaleRequest)(nil), // 22: state.v1.RecoverStaleRequest
|
|
(*RecoverStaleResponse)(nil), // 23: state.v1.RecoverStaleResponse
|
|
(*ArchiveTaskRequest)(nil), // 24: state.v1.ArchiveTaskRequest
|
|
(*ArchiveTaskResponse)(nil), // 25: state.v1.ArchiveTaskResponse
|
|
(*RetryTaskRequest)(nil), // 26: state.v1.RetryTaskRequest
|
|
(*RetryTaskResponse)(nil), // 27: state.v1.RetryTaskResponse
|
|
(*TaskByIssueRequest)(nil), // 28: state.v1.TaskByIssueRequest
|
|
(*TaskByIssueResponse)(nil), // 29: state.v1.TaskByIssueResponse
|
|
(*OpenTaskByPRRequest)(nil), // 30: state.v1.OpenTaskByPRRequest
|
|
(*OpenTaskByPRResponse)(nil), // 31: state.v1.OpenTaskByPRResponse
|
|
(*TaskByIDRequest)(nil), // 32: state.v1.TaskByIDRequest
|
|
(*TaskByIDResponse)(nil), // 33: state.v1.TaskByIDResponse
|
|
(*OpenPRsRequest)(nil), // 34: state.v1.OpenPRsRequest
|
|
(*OpenPRsResponse)(nil), // 35: state.v1.OpenPRsResponse
|
|
(*ClearTerminalTasksRequest)(nil), // 36: state.v1.ClearTerminalTasksRequest
|
|
(*ClearTerminalTasksResponse)(nil), // 37: state.v1.ClearTerminalTasksResponse
|
|
(*TasksRequest)(nil), // 38: state.v1.TasksRequest
|
|
(*TasksResponse)(nil), // 39: state.v1.TasksResponse
|
|
(*EnqueueCallTaskRequest)(nil), // 40: state.v1.EnqueueCallTaskRequest
|
|
(*HandoffTaskRequest)(nil), // 41: state.v1.HandoffTaskRequest
|
|
(*HandoffTaskResponse)(nil), // 42: state.v1.HandoffTaskResponse
|
|
(*EnqueueCallTaskResponse)(nil), // 43: state.v1.EnqueueCallTaskResponse
|
|
(*WorkflowCallStatusRequest)(nil), // 44: state.v1.WorkflowCallStatusRequest
|
|
(*WorkflowCallStatusResponse)(nil), // 45: state.v1.WorkflowCallStatusResponse
|
|
(*TaskModelsRequest)(nil), // 46: state.v1.TaskModelsRequest
|
|
(*TaskInstructionsRequest)(nil), // 47: state.v1.TaskInstructionsRequest
|
|
(*TaskInstructionsResponse)(nil), // 48: state.v1.TaskInstructionsResponse
|
|
(*TaskModelsResponse)(nil), // 49: state.v1.TaskModelsResponse
|
|
(*ModelProvider)(nil), // 50: state.v1.ModelProvider
|
|
nil, // 51: state.v1.TaskModelsResponse.AliasesEntry
|
|
nil, // 52: state.v1.TaskModelsResponse.ProvidersEntry
|
|
(*Task)(nil), // 53: state.v1.Task
|
|
(*Event)(nil), // 54: state.v1.Event
|
|
(*timestamppb.Timestamp)(nil), // 55: google.protobuf.Timestamp
|
|
}
|
|
var file_state_v1_task_proto_depIdxs = []int32{
|
|
53, // 0: state.v1.ActiveTasksByOriginResponse.tasks:type_name -> state.v1.Task
|
|
53, // 1: state.v1.UnpostedOutcomesResponse.tasks:type_name -> state.v1.Task
|
|
53, // 2: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task
|
|
53, // 3: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task
|
|
53, // 4: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task
|
|
53, // 5: state.v1.UpdateRequest.task:type_name -> state.v1.Task
|
|
54, // 6: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event
|
|
53, // 7: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task
|
|
53, // 8: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task
|
|
53, // 9: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task
|
|
53, // 10: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task
|
|
55, // 11: state.v1.TasksRequest.after_updated_at:type_name -> google.protobuf.Timestamp
|
|
53, // 12: state.v1.TasksResponse.tasks:type_name -> state.v1.Task
|
|
53, // 13: state.v1.HandoffTaskResponse.task:type_name -> state.v1.Task
|
|
53, // 14: state.v1.EnqueueCallTaskResponse.task:type_name -> state.v1.Task
|
|
51, // 15: state.v1.TaskModelsResponse.aliases:type_name -> state.v1.TaskModelsResponse.AliasesEntry
|
|
52, // 16: state.v1.TaskModelsResponse.providers:type_name -> state.v1.TaskModelsResponse.ProvidersEntry
|
|
50, // 17: state.v1.TaskModelsResponse.ProvidersEntry.value:type_name -> state.v1.ModelProvider
|
|
0, // 18: state.v1.TaskService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest
|
|
8, // 19: state.v1.TaskService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest
|
|
2, // 20: state.v1.TaskService.ActiveTasksByOrigin:input_type -> state.v1.ActiveTasksByOriginRequest
|
|
4, // 21: state.v1.TaskService.UnpostedOutcomes:input_type -> state.v1.UnpostedOutcomesRequest
|
|
6, // 22: state.v1.TaskService.MarkOutcomePosted:input_type -> state.v1.MarkOutcomePostedRequest
|
|
10, // 23: state.v1.TaskService.ClaimNext:input_type -> state.v1.ClaimNextRequest
|
|
12, // 24: state.v1.TaskService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest
|
|
14, // 25: state.v1.TaskService.Transition:input_type -> state.v1.TransitionRequest
|
|
16, // 26: state.v1.TaskService.Update:input_type -> state.v1.UpdateRequest
|
|
46, // 27: state.v1.TaskService.TaskModels:input_type -> state.v1.TaskModelsRequest
|
|
47, // 28: state.v1.TaskService.TaskInstructions:input_type -> state.v1.TaskInstructionsRequest
|
|
18, // 29: state.v1.TaskService.Requeue:input_type -> state.v1.RequeueRequest
|
|
20, // 30: state.v1.TaskService.ParkTask:input_type -> state.v1.ParkTaskRequest
|
|
22, // 31: state.v1.TaskService.RecoverStale:input_type -> state.v1.RecoverStaleRequest
|
|
24, // 32: state.v1.TaskService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest
|
|
26, // 33: state.v1.TaskService.RetryTask:input_type -> state.v1.RetryTaskRequest
|
|
28, // 34: state.v1.TaskService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest
|
|
30, // 35: state.v1.TaskService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest
|
|
32, // 36: state.v1.TaskService.TaskByID:input_type -> state.v1.TaskByIDRequest
|
|
34, // 37: state.v1.TaskService.OpenPRs:input_type -> state.v1.OpenPRsRequest
|
|
36, // 38: state.v1.TaskService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest
|
|
38, // 39: state.v1.TaskService.Tasks:input_type -> state.v1.TasksRequest
|
|
40, // 40: state.v1.TaskService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest
|
|
41, // 41: state.v1.TaskService.HandoffTask:input_type -> state.v1.HandoffTaskRequest
|
|
44, // 42: state.v1.TaskService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest
|
|
1, // 43: state.v1.TaskService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse
|
|
9, // 44: state.v1.TaskService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse
|
|
3, // 45: state.v1.TaskService.ActiveTasksByOrigin:output_type -> state.v1.ActiveTasksByOriginResponse
|
|
5, // 46: state.v1.TaskService.UnpostedOutcomes:output_type -> state.v1.UnpostedOutcomesResponse
|
|
7, // 47: state.v1.TaskService.MarkOutcomePosted:output_type -> state.v1.MarkOutcomePostedResponse
|
|
11, // 48: state.v1.TaskService.ClaimNext:output_type -> state.v1.ClaimNextResponse
|
|
13, // 49: state.v1.TaskService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse
|
|
15, // 50: state.v1.TaskService.Transition:output_type -> state.v1.TransitionResponse
|
|
17, // 51: state.v1.TaskService.Update:output_type -> state.v1.UpdateResponse
|
|
49, // 52: state.v1.TaskService.TaskModels:output_type -> state.v1.TaskModelsResponse
|
|
48, // 53: state.v1.TaskService.TaskInstructions:output_type -> state.v1.TaskInstructionsResponse
|
|
19, // 54: state.v1.TaskService.Requeue:output_type -> state.v1.RequeueResponse
|
|
21, // 55: state.v1.TaskService.ParkTask:output_type -> state.v1.ParkTaskResponse
|
|
23, // 56: state.v1.TaskService.RecoverStale:output_type -> state.v1.RecoverStaleResponse
|
|
25, // 57: state.v1.TaskService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse
|
|
27, // 58: state.v1.TaskService.RetryTask:output_type -> state.v1.RetryTaskResponse
|
|
29, // 59: state.v1.TaskService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse
|
|
31, // 60: state.v1.TaskService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse
|
|
33, // 61: state.v1.TaskService.TaskByID:output_type -> state.v1.TaskByIDResponse
|
|
35, // 62: state.v1.TaskService.OpenPRs:output_type -> state.v1.OpenPRsResponse
|
|
37, // 63: state.v1.TaskService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse
|
|
39, // 64: state.v1.TaskService.Tasks:output_type -> state.v1.TasksResponse
|
|
43, // 65: state.v1.TaskService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse
|
|
42, // 66: state.v1.TaskService.HandoffTask:output_type -> state.v1.HandoffTaskResponse
|
|
45, // 67: state.v1.TaskService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse
|
|
43, // [43:68] is the sub-list for method output_type
|
|
18, // [18:43] is the sub-list for method input_type
|
|
18, // [18:18] is the sub-list for extension type_name
|
|
18, // [18:18] is the sub-list for extension extendee
|
|
0, // [0:18] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_state_v1_task_proto_init() }
|
|
func file_state_v1_task_proto_init() {
|
|
if File_state_v1_task_proto != nil {
|
|
return
|
|
}
|
|
file_state_v1_types_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_task_proto_rawDesc), len(file_state_v1_task_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 53,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_state_v1_task_proto_goTypes,
|
|
DependencyIndexes: file_state_v1_task_proto_depIdxs,
|
|
MessageInfos: file_state_v1_task_proto_msgTypes,
|
|
}.Build()
|
|
File_state_v1_task_proto = out.File
|
|
file_state_v1_task_proto_goTypes = nil
|
|
file_state_v1_task_proto_depIdxs = nil
|
|
}
|