diff --git a/internal/app/agentworker/task_execution_test.go b/internal/app/agentworker/task_execution_test.go index 88680e51c..6d390c51d 100644 --- a/internal/app/agentworker/task_execution_test.go +++ b/internal/app/agentworker/task_execution_test.go @@ -383,7 +383,7 @@ func startStateStoreGRPC(t *testing.T, local *pgstore.TaskDB) string { staterpc.RegisterServer(server, staterpc.Deps{ Tasks: local, Captures: eda, Mappings: eda, Bindings: eda, BindingDispatcher: eda, BindingTaskCreator: local, WorkflowCalls: local, - Steps: local, + Steps: local, Canceller: local, }) go func() { _ = server.Serve(listener) }() t.Cleanup(func() { server.Stop(); _ = listener.Close() }) diff --git a/internal/app/archied/gateway_runtime.go b/internal/app/archied/gateway_runtime.go index 3182ce725..0cbc5d67a 100644 --- a/internal/app/archied/gateway_runtime.go +++ b/internal/app/archied/gateway_runtime.go @@ -8,6 +8,7 @@ import ( "github.com/samcharles93/archie-core/internal/app/controlplane" "github.com/samcharles93/archie-core/internal/config" "github.com/samcharles93/archie-core/internal/domain/agent" + "github.com/samcharles93/archie-core/internal/domain/storecontract" "github.com/samcharles93/archie-core/internal/gateway" "github.com/samcharles93/archie-core/internal/tools" ) @@ -57,10 +58,14 @@ func (b *boot) setupChatRuntime(ctx context.Context, cfg config.Config) error { } b.chatTasks = chatTasks b.defaultChatIdentity = defaultChatIdentity + var canceller storecontract.ExecutionCanceller + if ec, ok := b.stateStore.(storecontract.ExecutionCanceller); ok { + canceller = ec + } b.chatController = gateway.NewStoreTaskController(chatTaskControllerAdapter{ - taskByID: b.stateStore.TaskByID, - requeue: b.stateStore.Requeue, - transition: b.stateStore.Transition, + taskByID: b.stateStore.TaskByID, + requeue: b.stateStore.Requeue, + cancelExecution: canceller.CancelExecution, }) b.updateService = makeUpdateService(chatSetup{Cfg: config.NewHolder(cfg)}) return nil diff --git a/internal/app/archied/main.go b/internal/app/archied/main.go index abc2f35d9..4a05d052d 100644 --- a/internal/app/archied/main.go +++ b/internal/app/archied/main.go @@ -558,9 +558,9 @@ func (a chatTaskWriterAdapter) EnqueueChatTask( } type chatTaskControllerAdapter struct { - taskByID func(context.Context, int64) (*workflow.Task, error) - requeue func(context.Context, int64, string, string) error - transition func(context.Context, int64, string, string, string) error + taskByID func(context.Context, int64) (*workflow.Task, error) + requeue func(context.Context, int64, string, string) error + cancelExecution func(context.Context, int64, string, string) ([]int64, error) } func (a chatTaskControllerAdapter) ChatTaskStatus(ctx context.Context, taskID int64) (gateway.ChatTaskStatus, bool, error) { @@ -593,12 +593,19 @@ func (a chatTaskControllerAdapter) CancelChatTask(ctx context.Context, taskID in return fmt.Errorf("task %d is not chat-originated", taskID) } // An operator declining work lands in the same state whichever surface - // they used. This used to record StatusRejected while the dashboard - // recorded StatusClosedWontDo, so the same decision showed up as two - // different states -- and StatusRejected, which the PR reconciler uses - // for "the pull request was closed without merging", stopped meaning one - // thing. - return a.transition(ctx, taskID, task.Status, workflow.StatusClosedWontDo, reason) + // they used, through the one cancel path: the store records the + // cancellation -- every non-terminal step of the current attempt plus the + // execution's own move (docs/prds/execution-tree-state-machine.md) -- and + // this write is what a late worker's next step write fails against. This + // used to record StatusRejected while the dashboard recorded + // StatusClosedWontDo, so the same decision showed up as two different + // states -- and StatusRejected, which the PR reconciler uses for "the + // pull request was closed without merging", stopped meaning one thing. + if a.cancelExecution == nil { + return fmt.Errorf("execution cancellation is unavailable") + } + _, err = a.cancelExecution(ctx, taskID, reason, workflow.StatusClosedWontDo) + return err } // chatTaskLogReaderAdapter gives the gateway a read view of a task's diff --git a/internal/app/archied/main_test.go b/internal/app/archied/main_test.go index 612fc8adf..27ef17836 100644 --- a/internal/app/archied/main_test.go +++ b/internal/app/archied/main_test.go @@ -669,16 +669,16 @@ func TestChatTaskControllerAdapterRejectsForgeTask(t *testing.T) { func TestChatTaskControllerAdapterTransitions(t *testing.T) { task := &workflow.Task{ID: 42, Source: workflow.SourceChat, Status: workflow.StatusWaitingHuman} - var requeueFrom, requeueWorkflow, transitionFrom, transitionTo, transitionDetail string + var requeueFrom, requeueWorkflow, cancelReason, cancelTo string adapter := chatTaskControllerAdapter{ taskByID: func(context.Context, int64) (*workflow.Task, error) { return task, nil }, requeue: func(_ context.Context, _ int64, from, workflow string) error { requeueFrom, requeueWorkflow = from, workflow return nil }, - transition: func(_ context.Context, _ int64, from, to, detail string) error { - transitionFrom, transitionTo, transitionDetail = from, to, detail - return nil + cancelExecution: func(_ context.Context, _ int64, reason, to string) ([]int64, error) { + cancelReason, cancelTo = reason, to + return nil, nil }, } @@ -692,12 +692,12 @@ func TestChatTaskControllerAdapterTransitions(t *testing.T) { t.Fatalf("CancelChatTask(): %v", err) } // Declining from chat lands in the same state as declining from the - // dashboard. It used to record StatusRejected, which the PR reconciler - // also uses for "the pull request was closed without merging", so the - // state could not tell an operator's decision from a forge outcome. - if transitionFrom != workflow.StatusWaitingHuman || transitionTo != workflow.StatusClosedWontDo || - transitionDetail != "cancelled by test" { - t.Errorf("transition = %q/%q/%q", transitionFrom, transitionTo, transitionDetail) + // dashboard, through the one cancel path. It used to record + // StatusRejected, which the PR reconciler also uses for "the pull + // request was closed without merging", so the state could not tell an + // operator's decision from a forge outcome. + if cancelReason != "cancelled by test" || cancelTo != workflow.StatusClosedWontDo { + t.Errorf("cancel = %q/%q", cancelReason, cancelTo) } } @@ -834,9 +834,9 @@ func TestChatTaskCommandsEndToEnd(t *testing.T) { profiles, ) controller := gateway.NewStoreTaskController(chatTaskControllerAdapter{ - taskByID: st.TaskByID, - requeue: st.Requeue, - transition: st.Transition, + taskByID: st.TaskByID, + requeue: st.Requeue, + cancelExecution: st.CancelExecution, }) router := gateway.NewRouter(st, nil, "test") configureTaskCommands(router, creator, controller, chatTaskListerAdapter{tasks: st.Tasks}, defaultIdentity) diff --git a/internal/app/archied/state_store.go b/internal/app/archied/state_store.go index 6ebb4fcb0..e0b816e03 100644 --- a/internal/app/archied/state_store.go +++ b/internal/app/archied/state_store.go @@ -349,6 +349,9 @@ func (b *boot) stateStoreDeps(grants *staterpc.TaskGrants) staterpc.Deps { if sr, ok := b.st.(storecontract.StepRecorder); ok { deps.Steps = sr } + if ec, ok := b.st.(storecontract.ExecutionCanceller); ok { + deps.Canceller = ec + } b.accessDeps(&deps) if css, ok := b.st.(storecontract.ConfigSnapshotStore); ok { deps.ConfigSnapshots = css diff --git a/internal/app/archied/task_actions_test.go b/internal/app/archied/task_actions_test.go index 3dd62f000..03324c365 100644 --- a/internal/app/archied/task_actions_test.go +++ b/internal/app/archied/task_actions_test.go @@ -76,10 +76,14 @@ func TestDashboardAndChatAgreeOnTerminalStates(t *testing.T) { // controller path and fails the test on error. func runChatAction(t *testing.T, ctx context.Context, st storecontract.TaskStore, action string, taskID int64) { t.Helper() + canceller, ok := st.(storecontract.ExecutionCanceller) + if !ok { + t.Fatal("the task store cannot cancel executions") + } controller := gateway.NewStoreTaskController(chatTaskControllerAdapter{ - taskByID: st.TaskByID, - requeue: st.Requeue, - transition: st.Transition, + taskByID: st.TaskByID, + requeue: st.Requeue, + cancelExecution: canceller.CancelExecution, }) var err error if action == "approve" { diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 36970096f..1dbd94afb 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -3649,6 +3649,115 @@ func (x *FinishStepResponse) GetEvent() *Event { return nil } +type CancelExecutionRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + // reason records why the run was stopped, in the execution's park reason + // when the cancel lands there, and on every step event it writes. + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + // to is the execution's destination: the transition table routes it, and + // the operator actions name parked or closed_wont_do. + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CancelExecutionRequest) Reset() { + *x = CancelExecutionRequest{} + mi := &file_state_v1_state_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CancelExecutionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelExecutionRequest) ProtoMessage() {} + +func (x *CancelExecutionRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[52] + 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 CancelExecutionRequest.ProtoReflect.Descriptor instead. +func (*CancelExecutionRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{52} +} + +func (x *CancelExecutionRequest) GetTaskId() int64 { + if x != nil { + return x.TaskId + } + return 0 +} + +func (x *CancelExecutionRequest) GetReason() string { + if x != nil { + return x.Reason + } + return "" +} + +func (x *CancelExecutionRequest) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +type CancelExecutionResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + // cancelled_step_ids are the StepExecutions the transaction cancelled. + CancelledStepIds []int64 `protobuf:"varint,1,rep,packed,name=cancelled_step_ids,json=cancelledStepIds,proto3" json:"cancelled_step_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CancelExecutionResponse) Reset() { + *x = CancelExecutionResponse{} + mi := &file_state_v1_state_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CancelExecutionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelExecutionResponse) ProtoMessage() {} + +func (x *CancelExecutionResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[53] + 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 CancelExecutionResponse.ProtoReflect.Descriptor instead. +func (*CancelExecutionResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{53} +} + +func (x *CancelExecutionResponse) GetCancelledStepIds() []int64 { + if x != nil { + return x.CancelledStepIds + } + return nil +} + type UpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` @@ -3658,7 +3767,7 @@ type UpdateRequest struct { func (x *UpdateRequest) Reset() { *x = UpdateRequest{} - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3670,7 +3779,7 @@ func (x *UpdateRequest) String() string { func (*UpdateRequest) ProtoMessage() {} func (x *UpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3683,7 +3792,7 @@ func (x *UpdateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. func (*UpdateRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{52} + return file_state_v1_state_proto_rawDescGZIP(), []int{54} } func (x *UpdateRequest) GetTask() *Task { @@ -3701,7 +3810,7 @@ type UpdateResponse struct { func (x *UpdateResponse) Reset() { *x = UpdateResponse{} - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3713,7 +3822,7 @@ func (x *UpdateResponse) String() string { func (*UpdateResponse) ProtoMessage() {} func (x *UpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3726,7 +3835,7 @@ func (x *UpdateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead. func (*UpdateResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{53} + return file_state_v1_state_proto_rawDescGZIP(), []int{55} } type RequeueRequest struct { @@ -3740,7 +3849,7 @@ type RequeueRequest struct { func (x *RequeueRequest) Reset() { *x = RequeueRequest{} - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3752,7 +3861,7 @@ func (x *RequeueRequest) String() string { func (*RequeueRequest) ProtoMessage() {} func (x *RequeueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3765,7 +3874,7 @@ func (x *RequeueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RequeueRequest.ProtoReflect.Descriptor instead. func (*RequeueRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{54} + return file_state_v1_state_proto_rawDescGZIP(), []int{56} } func (x *RequeueRequest) GetTaskId() int64 { @@ -3797,7 +3906,7 @@ type RequeueResponse struct { func (x *RequeueResponse) Reset() { *x = RequeueResponse{} - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3809,7 +3918,7 @@ func (x *RequeueResponse) String() string { func (*RequeueResponse) ProtoMessage() {} func (x *RequeueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3822,7 +3931,7 @@ func (x *RequeueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RequeueResponse.ProtoReflect.Descriptor instead. func (*RequeueResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{55} + return file_state_v1_state_proto_rawDescGZIP(), []int{57} } type ParkTaskRequest struct { @@ -3837,7 +3946,7 @@ type ParkTaskRequest struct { func (x *ParkTaskRequest) Reset() { *x = ParkTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3849,7 +3958,7 @@ func (x *ParkTaskRequest) String() string { func (*ParkTaskRequest) ProtoMessage() {} func (x *ParkTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3862,7 +3971,7 @@ func (x *ParkTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ParkTaskRequest.ProtoReflect.Descriptor instead. func (*ParkTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{56} + return file_state_v1_state_proto_rawDescGZIP(), []int{58} } func (x *ParkTaskRequest) GetTaskId() int64 { @@ -3901,7 +4010,7 @@ type ParkTaskResponse struct { func (x *ParkTaskResponse) Reset() { *x = ParkTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3913,7 +4022,7 @@ func (x *ParkTaskResponse) String() string { func (*ParkTaskResponse) ProtoMessage() {} func (x *ParkTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3926,7 +4035,7 @@ func (x *ParkTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ParkTaskResponse.ProtoReflect.Descriptor instead. func (*ParkTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{57} + return file_state_v1_state_proto_rawDescGZIP(), []int{59} } type RecoverStaleRequest struct { @@ -3937,7 +4046,7 @@ type RecoverStaleRequest struct { func (x *RecoverStaleRequest) Reset() { *x = RecoverStaleRequest{} - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3949,7 +4058,7 @@ func (x *RecoverStaleRequest) String() string { func (*RecoverStaleRequest) ProtoMessage() {} func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3962,7 +4071,7 @@ func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecoverStaleRequest.ProtoReflect.Descriptor instead. func (*RecoverStaleRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{58} + return file_state_v1_state_proto_rawDescGZIP(), []int{60} } type RecoverStaleResponse struct { @@ -3974,7 +4083,7 @@ type RecoverStaleResponse struct { func (x *RecoverStaleResponse) Reset() { *x = RecoverStaleResponse{} - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3986,7 +4095,7 @@ func (x *RecoverStaleResponse) String() string { func (*RecoverStaleResponse) ProtoMessage() {} func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3999,7 +4108,7 @@ func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecoverStaleResponse.ProtoReflect.Descriptor instead. func (*RecoverStaleResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{59} + return file_state_v1_state_proto_rawDescGZIP(), []int{61} } func (x *RecoverStaleResponse) GetCount() int64 { @@ -4020,7 +4129,7 @@ type ArchiveTaskRequest struct { func (x *ArchiveTaskRequest) Reset() { *x = ArchiveTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4032,7 +4141,7 @@ func (x *ArchiveTaskRequest) String() string { func (*ArchiveTaskRequest) ProtoMessage() {} func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4045,7 +4154,7 @@ func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveTaskRequest.ProtoReflect.Descriptor instead. func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{60} + return file_state_v1_state_proto_rawDescGZIP(), []int{62} } func (x *ArchiveTaskRequest) GetTaskId() int64 { @@ -4078,7 +4187,7 @@ type ArchiveTaskResponse struct { func (x *ArchiveTaskResponse) Reset() { *x = ArchiveTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4090,7 +4199,7 @@ func (x *ArchiveTaskResponse) String() string { func (*ArchiveTaskResponse) ProtoMessage() {} func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4103,7 +4212,7 @@ func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveTaskResponse.ProtoReflect.Descriptor instead. func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{61} + return file_state_v1_state_proto_rawDescGZIP(), []int{63} } func (x *ArchiveTaskResponse) GetEventId() int64 { @@ -4124,7 +4233,7 @@ type RetryTaskRequest struct { func (x *RetryTaskRequest) Reset() { *x = RetryTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4136,7 +4245,7 @@ func (x *RetryTaskRequest) String() string { func (*RetryTaskRequest) ProtoMessage() {} func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4149,7 +4258,7 @@ func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryTaskRequest.ProtoReflect.Descriptor instead. func (*RetryTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{62} + return file_state_v1_state_proto_rawDescGZIP(), []int{64} } func (x *RetryTaskRequest) GetTaskId() int64 { @@ -4181,7 +4290,7 @@ type RetryTaskResponse struct { func (x *RetryTaskResponse) Reset() { *x = RetryTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4193,7 +4302,7 @@ func (x *RetryTaskResponse) String() string { func (*RetryTaskResponse) ProtoMessage() {} func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4206,7 +4315,7 @@ func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryTaskResponse.ProtoReflect.Descriptor instead. func (*RetryTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{63} + return file_state_v1_state_proto_rawDescGZIP(), []int{65} } type BeginRemediationRequest struct { @@ -4219,7 +4328,7 @@ type BeginRemediationRequest struct { func (x *BeginRemediationRequest) Reset() { *x = BeginRemediationRequest{} - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4231,7 +4340,7 @@ func (x *BeginRemediationRequest) String() string { func (*BeginRemediationRequest) ProtoMessage() {} func (x *BeginRemediationRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4244,7 +4353,7 @@ func (x *BeginRemediationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginRemediationRequest.ProtoReflect.Descriptor instead. func (*BeginRemediationRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{64} + return file_state_v1_state_proto_rawDescGZIP(), []int{66} } func (x *BeginRemediationRequest) GetTaskId() int64 { @@ -4269,7 +4378,7 @@ type BeginRemediationResponse struct { func (x *BeginRemediationResponse) Reset() { *x = BeginRemediationResponse{} - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4281,7 +4390,7 @@ func (x *BeginRemediationResponse) String() string { func (*BeginRemediationResponse) ProtoMessage() {} func (x *BeginRemediationResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4294,7 +4403,7 @@ func (x *BeginRemediationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginRemediationResponse.ProtoReflect.Descriptor instead. func (*BeginRemediationResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{65} + return file_state_v1_state_proto_rawDescGZIP(), []int{67} } type UpdateReviewPayloadRequest struct { @@ -4307,7 +4416,7 @@ type UpdateReviewPayloadRequest struct { func (x *UpdateReviewPayloadRequest) Reset() { *x = UpdateReviewPayloadRequest{} - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4319,7 +4428,7 @@ func (x *UpdateReviewPayloadRequest) String() string { func (*UpdateReviewPayloadRequest) ProtoMessage() {} func (x *UpdateReviewPayloadRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4332,7 +4441,7 @@ func (x *UpdateReviewPayloadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateReviewPayloadRequest.ProtoReflect.Descriptor instead. func (*UpdateReviewPayloadRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{66} + return file_state_v1_state_proto_rawDescGZIP(), []int{68} } func (x *UpdateReviewPayloadRequest) GetTaskId() int64 { @@ -4357,7 +4466,7 @@ type UpdateReviewPayloadResponse struct { func (x *UpdateReviewPayloadResponse) Reset() { *x = UpdateReviewPayloadResponse{} - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4369,7 +4478,7 @@ func (x *UpdateReviewPayloadResponse) String() string { func (*UpdateReviewPayloadResponse) ProtoMessage() {} func (x *UpdateReviewPayloadResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4382,7 +4491,7 @@ func (x *UpdateReviewPayloadResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateReviewPayloadResponse.ProtoReflect.Descriptor instead. func (*UpdateReviewPayloadResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{67} + return file_state_v1_state_proto_rawDescGZIP(), []int{69} } type SetReviewCursorsRequest struct { @@ -4396,7 +4505,7 @@ type SetReviewCursorsRequest struct { func (x *SetReviewCursorsRequest) Reset() { *x = SetReviewCursorsRequest{} - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4408,7 +4517,7 @@ func (x *SetReviewCursorsRequest) String() string { func (*SetReviewCursorsRequest) ProtoMessage() {} func (x *SetReviewCursorsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4421,7 +4530,7 @@ func (x *SetReviewCursorsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReviewCursorsRequest.ProtoReflect.Descriptor instead. func (*SetReviewCursorsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{68} + return file_state_v1_state_proto_rawDescGZIP(), []int{70} } func (x *SetReviewCursorsRequest) GetTaskId() int64 { @@ -4453,7 +4562,7 @@ type SetReviewCursorsResponse struct { func (x *SetReviewCursorsResponse) Reset() { *x = SetReviewCursorsResponse{} - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4465,7 +4574,7 @@ func (x *SetReviewCursorsResponse) String() string { func (*SetReviewCursorsResponse) ProtoMessage() {} func (x *SetReviewCursorsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4478,7 +4587,7 @@ func (x *SetReviewCursorsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReviewCursorsResponse.ProtoReflect.Descriptor instead. func (*SetReviewCursorsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{69} + return file_state_v1_state_proto_rawDescGZIP(), []int{71} } type TaskByIssueRequest struct { @@ -4492,7 +4601,7 @@ type TaskByIssueRequest struct { func (x *TaskByIssueRequest) Reset() { *x = TaskByIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4504,7 +4613,7 @@ func (x *TaskByIssueRequest) String() string { func (*TaskByIssueRequest) ProtoMessage() {} func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4517,7 +4626,7 @@ func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIssueRequest.ProtoReflect.Descriptor instead. func (*TaskByIssueRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{70} + return file_state_v1_state_proto_rawDescGZIP(), []int{72} } func (x *TaskByIssueRequest) GetOwner() string { @@ -4551,7 +4660,7 @@ type TaskByIssueResponse struct { func (x *TaskByIssueResponse) Reset() { *x = TaskByIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4563,7 +4672,7 @@ func (x *TaskByIssueResponse) String() string { func (*TaskByIssueResponse) ProtoMessage() {} func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4576,7 +4685,7 @@ func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIssueResponse.ProtoReflect.Descriptor instead. func (*TaskByIssueResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{71} + return file_state_v1_state_proto_rawDescGZIP(), []int{73} } func (x *TaskByIssueResponse) GetTask() *Task { @@ -4604,7 +4713,7 @@ type OpenTaskByPRRequest struct { func (x *OpenTaskByPRRequest) Reset() { *x = OpenTaskByPRRequest{} - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4616,7 +4725,7 @@ func (x *OpenTaskByPRRequest) String() string { func (*OpenTaskByPRRequest) ProtoMessage() {} func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4629,7 +4738,7 @@ func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenTaskByPRRequest.ProtoReflect.Descriptor instead. func (*OpenTaskByPRRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{72} + return file_state_v1_state_proto_rawDescGZIP(), []int{74} } func (x *OpenTaskByPRRequest) GetOwner() string { @@ -4663,7 +4772,7 @@ type OpenTaskByPRResponse struct { func (x *OpenTaskByPRResponse) Reset() { *x = OpenTaskByPRResponse{} - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4675,7 +4784,7 @@ func (x *OpenTaskByPRResponse) String() string { func (*OpenTaskByPRResponse) ProtoMessage() {} func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4688,7 +4797,7 @@ func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenTaskByPRResponse.ProtoReflect.Descriptor instead. func (*OpenTaskByPRResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{73} + return file_state_v1_state_proto_rawDescGZIP(), []int{75} } func (x *OpenTaskByPRResponse) GetTask() *Task { @@ -4714,7 +4823,7 @@ type TaskByIDRequest struct { func (x *TaskByIDRequest) Reset() { *x = TaskByIDRequest{} - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4726,7 +4835,7 @@ func (x *TaskByIDRequest) String() string { func (*TaskByIDRequest) ProtoMessage() {} func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4739,7 +4848,7 @@ func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIDRequest.ProtoReflect.Descriptor instead. func (*TaskByIDRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{74} + return file_state_v1_state_proto_rawDescGZIP(), []int{76} } func (x *TaskByIDRequest) GetTaskId() int64 { @@ -4759,7 +4868,7 @@ type TaskByIDResponse struct { func (x *TaskByIDResponse) Reset() { *x = TaskByIDResponse{} - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4771,7 +4880,7 @@ func (x *TaskByIDResponse) String() string { func (*TaskByIDResponse) ProtoMessage() {} func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4784,7 +4893,7 @@ func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskByIDResponse.ProtoReflect.Descriptor instead. func (*TaskByIDResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{75} + return file_state_v1_state_proto_rawDescGZIP(), []int{77} } func (x *TaskByIDResponse) GetTask() *Task { @@ -4809,7 +4918,7 @@ type OpenPRsRequest struct { func (x *OpenPRsRequest) Reset() { *x = OpenPRsRequest{} - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4821,7 +4930,7 @@ func (x *OpenPRsRequest) String() string { func (*OpenPRsRequest) ProtoMessage() {} func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4834,7 +4943,7 @@ func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenPRsRequest.ProtoReflect.Descriptor instead. func (*OpenPRsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{76} + return file_state_v1_state_proto_rawDescGZIP(), []int{78} } type OpenPRsResponse struct { @@ -4846,7 +4955,7 @@ type OpenPRsResponse struct { func (x *OpenPRsResponse) Reset() { *x = OpenPRsResponse{} - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4858,7 +4967,7 @@ func (x *OpenPRsResponse) String() string { func (*OpenPRsResponse) ProtoMessage() {} func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4871,7 +4980,7 @@ func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenPRsResponse.ProtoReflect.Descriptor instead. func (*OpenPRsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{77} + return file_state_v1_state_proto_rawDescGZIP(), []int{79} } func (x *OpenPRsResponse) GetTasks() []*Task { @@ -4889,7 +4998,7 @@ type ClearTerminalTasksRequest struct { func (x *ClearTerminalTasksRequest) Reset() { *x = ClearTerminalTasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4901,7 +5010,7 @@ func (x *ClearTerminalTasksRequest) String() string { func (*ClearTerminalTasksRequest) ProtoMessage() {} func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4914,7 +5023,7 @@ func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearTerminalTasksRequest.ProtoReflect.Descriptor instead. func (*ClearTerminalTasksRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{78} + return file_state_v1_state_proto_rawDescGZIP(), []int{80} } type ClearTerminalTasksResponse struct { @@ -4926,7 +5035,7 @@ type ClearTerminalTasksResponse struct { func (x *ClearTerminalTasksResponse) Reset() { *x = ClearTerminalTasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4938,7 +5047,7 @@ func (x *ClearTerminalTasksResponse) String() string { func (*ClearTerminalTasksResponse) ProtoMessage() {} func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4951,7 +5060,7 @@ func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearTerminalTasksResponse.ProtoReflect.Descriptor instead. func (*ClearTerminalTasksResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{79} + return file_state_v1_state_proto_rawDescGZIP(), []int{81} } func (x *ClearTerminalTasksResponse) GetCount() int64 { @@ -4970,7 +5079,7 @@ type TasksRequest struct { func (x *TasksRequest) Reset() { *x = TasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4982,7 +5091,7 @@ func (x *TasksRequest) String() string { func (*TasksRequest) ProtoMessage() {} func (x *TasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4995,7 +5104,7 @@ func (x *TasksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TasksRequest.ProtoReflect.Descriptor instead. func (*TasksRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{80} + return file_state_v1_state_proto_rawDescGZIP(), []int{82} } func (x *TasksRequest) GetLimit() int64 { @@ -5014,7 +5123,7 @@ type TasksResponse struct { func (x *TasksResponse) Reset() { *x = TasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5026,7 +5135,7 @@ func (x *TasksResponse) String() string { func (*TasksResponse) ProtoMessage() {} func (x *TasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5039,7 +5148,7 @@ func (x *TasksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TasksResponse.ProtoReflect.Descriptor instead. func (*TasksResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{81} + return file_state_v1_state_proto_rawDescGZIP(), []int{83} } func (x *TasksResponse) GetTasks() []*Task { @@ -5057,7 +5166,7 @@ type StatusCountsRequest struct { func (x *StatusCountsRequest) Reset() { *x = StatusCountsRequest{} - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5069,7 +5178,7 @@ func (x *StatusCountsRequest) String() string { func (*StatusCountsRequest) ProtoMessage() {} func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5082,7 +5191,7 @@ func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusCountsRequest.ProtoReflect.Descriptor instead. func (*StatusCountsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{82} + return file_state_v1_state_proto_rawDescGZIP(), []int{84} } type StatusCountsResponse struct { @@ -5094,7 +5203,7 @@ type StatusCountsResponse struct { func (x *StatusCountsResponse) Reset() { *x = StatusCountsResponse{} - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5106,7 +5215,7 @@ func (x *StatusCountsResponse) String() string { func (*StatusCountsResponse) ProtoMessage() {} func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5119,7 +5228,7 @@ func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusCountsResponse.ProtoReflect.Descriptor instead. func (*StatusCountsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{83} + return file_state_v1_state_proto_rawDescGZIP(), []int{85} } func (x *StatusCountsResponse) GetCounts() map[string]int64 { @@ -5138,7 +5247,7 @@ type InsertEventRequest struct { func (x *InsertEventRequest) Reset() { *x = InsertEventRequest{} - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5150,7 +5259,7 @@ func (x *InsertEventRequest) String() string { func (*InsertEventRequest) ProtoMessage() {} func (x *InsertEventRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5163,7 +5272,7 @@ func (x *InsertEventRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventRequest.ProtoReflect.Descriptor instead. func (*InsertEventRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{84} + return file_state_v1_state_proto_rawDescGZIP(), []int{86} } func (x *InsertEventRequest) GetEvent() *Event { @@ -5182,7 +5291,7 @@ type InsertEventResponse struct { func (x *InsertEventResponse) Reset() { *x = InsertEventResponse{} - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5194,7 +5303,7 @@ func (x *InsertEventResponse) String() string { func (*InsertEventResponse) ProtoMessage() {} func (x *InsertEventResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5207,7 +5316,7 @@ func (x *InsertEventResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventResponse.ProtoReflect.Descriptor instead. func (*InsertEventResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{85} + return file_state_v1_state_proto_rawDescGZIP(), []int{87} } func (x *InsertEventResponse) GetId() int64 { @@ -5232,7 +5341,7 @@ type EventsSinceRequest struct { func (x *EventsSinceRequest) Reset() { *x = EventsSinceRequest{} - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5244,7 +5353,7 @@ func (x *EventsSinceRequest) String() string { func (*EventsSinceRequest) ProtoMessage() {} func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5257,7 +5366,7 @@ func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EventsSinceRequest.ProtoReflect.Descriptor instead. func (*EventsSinceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{86} + return file_state_v1_state_proto_rawDescGZIP(), []int{88} } func (x *EventsSinceRequest) GetSinceId() string { @@ -5283,7 +5392,7 @@ type EventsSinceResponse struct { func (x *EventsSinceResponse) Reset() { *x = EventsSinceResponse{} - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5295,7 +5404,7 @@ func (x *EventsSinceResponse) String() string { func (*EventsSinceResponse) ProtoMessage() {} func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5308,7 +5417,7 @@ func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EventsSinceResponse.ProtoReflect.Descriptor instead. func (*EventsSinceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{87} + return file_state_v1_state_proto_rawDescGZIP(), []int{89} } func (x *EventsSinceResponse) GetEvents() []*Event { @@ -5327,7 +5436,7 @@ type TaskEventsRequest struct { func (x *TaskEventsRequest) Reset() { *x = TaskEventsRequest{} - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5339,7 +5448,7 @@ func (x *TaskEventsRequest) String() string { func (*TaskEventsRequest) ProtoMessage() {} func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5352,7 +5461,7 @@ func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskEventsRequest.ProtoReflect.Descriptor instead. func (*TaskEventsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{88} + return file_state_v1_state_proto_rawDescGZIP(), []int{90} } func (x *TaskEventsRequest) GetTaskId() int64 { @@ -5371,7 +5480,7 @@ type TaskEventsResponse struct { func (x *TaskEventsResponse) Reset() { *x = TaskEventsResponse{} - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5383,7 +5492,7 @@ func (x *TaskEventsResponse) String() string { func (*TaskEventsResponse) ProtoMessage() {} func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5396,7 +5505,7 @@ func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskEventsResponse.ProtoReflect.Descriptor instead. func (*TaskEventsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{89} + return file_state_v1_state_proto_rawDescGZIP(), []int{91} } func (x *TaskEventsResponse) GetEvents() []*Event { @@ -5414,7 +5523,7 @@ type WorkflowStatsRequest struct { func (x *WorkflowStatsRequest) Reset() { *x = WorkflowStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5426,7 +5535,7 @@ func (x *WorkflowStatsRequest) String() string { func (*WorkflowStatsRequest) ProtoMessage() {} func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5439,7 +5548,7 @@ func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStatsRequest.ProtoReflect.Descriptor instead. func (*WorkflowStatsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{90} + return file_state_v1_state_proto_rawDescGZIP(), []int{92} } type WorkflowStatsResponse struct { @@ -5451,7 +5560,7 @@ type WorkflowStatsResponse struct { func (x *WorkflowStatsResponse) Reset() { *x = WorkflowStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5463,7 +5572,7 @@ func (x *WorkflowStatsResponse) String() string { func (*WorkflowStatsResponse) ProtoMessage() {} func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5476,7 +5585,7 @@ func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStatsResponse.ProtoReflect.Descriptor instead. func (*WorkflowStatsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{91} + return file_state_v1_state_proto_rawDescGZIP(), []int{93} } func (x *WorkflowStatsResponse) GetStats() []*WorkflowStat { @@ -5494,7 +5603,7 @@ type StageStatsRequest struct { func (x *StageStatsRequest) Reset() { *x = StageStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5506,7 +5615,7 @@ func (x *StageStatsRequest) String() string { func (*StageStatsRequest) ProtoMessage() {} func (x *StageStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5519,7 +5628,7 @@ func (x *StageStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StageStatsRequest.ProtoReflect.Descriptor instead. func (*StageStatsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{92} + return file_state_v1_state_proto_rawDescGZIP(), []int{94} } type StageStatsResponse struct { @@ -5531,7 +5640,7 @@ type StageStatsResponse struct { func (x *StageStatsResponse) Reset() { *x = StageStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5543,7 +5652,7 @@ func (x *StageStatsResponse) String() string { func (*StageStatsResponse) ProtoMessage() {} func (x *StageStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5556,7 +5665,7 @@ func (x *StageStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StageStatsResponse.ProtoReflect.Descriptor instead. func (*StageStatsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{93} + return file_state_v1_state_proto_rawDescGZIP(), []int{95} } func (x *StageStatsResponse) GetStats() []*StageStat { @@ -5575,7 +5684,7 @@ type TokensByDayRequest struct { func (x *TokensByDayRequest) Reset() { *x = TokensByDayRequest{} - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5587,7 +5696,7 @@ func (x *TokensByDayRequest) String() string { func (*TokensByDayRequest) ProtoMessage() {} func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5600,7 +5709,7 @@ func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TokensByDayRequest.ProtoReflect.Descriptor instead. func (*TokensByDayRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{94} + return file_state_v1_state_proto_rawDescGZIP(), []int{96} } func (x *TokensByDayRequest) GetDays() int64 { @@ -5619,7 +5728,7 @@ type TokensByDayResponse struct { func (x *TokensByDayResponse) Reset() { *x = TokensByDayResponse{} - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5631,7 +5740,7 @@ func (x *TokensByDayResponse) String() string { func (*TokensByDayResponse) ProtoMessage() {} func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5644,7 +5753,7 @@ func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TokensByDayResponse.ProtoReflect.Descriptor instead. func (*TokensByDayResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{95} + return file_state_v1_state_proto_rawDescGZIP(), []int{97} } func (x *TokensByDayResponse) GetTokens() []*DayTokens { @@ -5671,7 +5780,7 @@ type ConfigSnapshot struct { func (x *ConfigSnapshot) Reset() { *x = ConfigSnapshot{} - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5683,7 +5792,7 @@ func (x *ConfigSnapshot) String() string { func (*ConfigSnapshot) ProtoMessage() {} func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5696,7 +5805,7 @@ func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ConfigSnapshot.ProtoReflect.Descriptor instead. func (*ConfigSnapshot) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{96} + return file_state_v1_state_proto_rawDescGZIP(), []int{98} } func (x *ConfigSnapshot) GetSchema() string { @@ -5729,7 +5838,7 @@ type PutConfigSnapshotRequest struct { func (x *PutConfigSnapshotRequest) Reset() { *x = PutConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5741,7 +5850,7 @@ func (x *PutConfigSnapshotRequest) String() string { func (*PutConfigSnapshotRequest) ProtoMessage() {} func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5754,7 +5863,7 @@ func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutConfigSnapshotRequest.ProtoReflect.Descriptor instead. func (*PutConfigSnapshotRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{97} + return file_state_v1_state_proto_rawDescGZIP(), []int{99} } func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot { @@ -5772,7 +5881,7 @@ type PutConfigSnapshotResponse struct { func (x *PutConfigSnapshotResponse) Reset() { *x = PutConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5784,7 +5893,7 @@ func (x *PutConfigSnapshotResponse) String() string { func (*PutConfigSnapshotResponse) ProtoMessage() {} func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5797,7 +5906,7 @@ func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutConfigSnapshotResponse.ProtoReflect.Descriptor instead. func (*PutConfigSnapshotResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{98} + return file_state_v1_state_proto_rawDescGZIP(), []int{100} } type GetConfigSnapshotRequest struct { @@ -5808,7 +5917,7 @@ type GetConfigSnapshotRequest struct { func (x *GetConfigSnapshotRequest) Reset() { *x = GetConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5820,7 +5929,7 @@ func (x *GetConfigSnapshotRequest) String() string { func (*GetConfigSnapshotRequest) ProtoMessage() {} func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5833,7 +5942,7 @@ func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSnapshotRequest.ProtoReflect.Descriptor instead. func (*GetConfigSnapshotRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{99} + return file_state_v1_state_proto_rawDescGZIP(), []int{101} } type GetConfigSnapshotResponse struct { @@ -5846,7 +5955,7 @@ type GetConfigSnapshotResponse struct { func (x *GetConfigSnapshotResponse) Reset() { *x = GetConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5858,7 +5967,7 @@ func (x *GetConfigSnapshotResponse) String() string { func (*GetConfigSnapshotResponse) ProtoMessage() {} func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5871,7 +5980,7 @@ func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSnapshotResponse.ProtoReflect.Descriptor instead. func (*GetConfigSnapshotResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{100} + return file_state_v1_state_proto_rawDescGZIP(), []int{102} } func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot { @@ -5908,7 +6017,7 @@ type ChannelStatus struct { func (x *ChannelStatus) Reset() { *x = ChannelStatus{} - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5920,7 +6029,7 @@ func (x *ChannelStatus) String() string { func (*ChannelStatus) ProtoMessage() {} func (x *ChannelStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5933,7 +6042,7 @@ func (x *ChannelStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ChannelStatus.ProtoReflect.Descriptor instead. func (*ChannelStatus) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{101} + return file_state_v1_state_proto_rawDescGZIP(), []int{103} } func (x *ChannelStatus) GetId() string { @@ -5994,7 +6103,7 @@ type PutChannelStatusRequest struct { func (x *PutChannelStatusRequest) Reset() { *x = PutChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6006,7 +6115,7 @@ func (x *PutChannelStatusRequest) String() string { func (*PutChannelStatusRequest) ProtoMessage() {} func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6019,7 +6128,7 @@ func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutChannelStatusRequest.ProtoReflect.Descriptor instead. func (*PutChannelStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{102} + return file_state_v1_state_proto_rawDescGZIP(), []int{104} } func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus { @@ -6037,7 +6146,7 @@ type PutChannelStatusResponse struct { func (x *PutChannelStatusResponse) Reset() { *x = PutChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6049,7 +6158,7 @@ func (x *PutChannelStatusResponse) String() string { func (*PutChannelStatusResponse) ProtoMessage() {} func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6062,7 +6171,7 @@ func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutChannelStatusResponse.ProtoReflect.Descriptor instead. func (*PutChannelStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{103} + return file_state_v1_state_proto_rawDescGZIP(), []int{105} } type ListChannelStatusRequest struct { @@ -6073,7 +6182,7 @@ type ListChannelStatusRequest struct { func (x *ListChannelStatusRequest) Reset() { *x = ListChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6085,7 +6194,7 @@ func (x *ListChannelStatusRequest) String() string { func (*ListChannelStatusRequest) ProtoMessage() {} func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6098,7 +6207,7 @@ func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListChannelStatusRequest.ProtoReflect.Descriptor instead. func (*ListChannelStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{104} + return file_state_v1_state_proto_rawDescGZIP(), []int{106} } type ListChannelStatusResponse struct { @@ -6110,7 +6219,7 @@ type ListChannelStatusResponse struct { func (x *ListChannelStatusResponse) Reset() { *x = ListChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6122,7 +6231,7 @@ func (x *ListChannelStatusResponse) String() string { func (*ListChannelStatusResponse) ProtoMessage() {} func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6135,7 +6244,7 @@ func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListChannelStatusResponse.ProtoReflect.Descriptor instead. func (*ListChannelStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{105} + return file_state_v1_state_proto_rawDescGZIP(), []int{107} } func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus { @@ -6164,7 +6273,7 @@ type ApplyStatus struct { func (x *ApplyStatus) Reset() { *x = ApplyStatus{} - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6176,7 +6285,7 @@ func (x *ApplyStatus) String() string { func (*ApplyStatus) ProtoMessage() {} func (x *ApplyStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6189,7 +6298,7 @@ func (x *ApplyStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyStatus.ProtoReflect.Descriptor instead. func (*ApplyStatus) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{106} + return file_state_v1_state_proto_rawDescGZIP(), []int{108} } func (x *ApplyStatus) GetProcess() string { @@ -6236,7 +6345,7 @@ type PutApplyStatusRequest struct { func (x *PutApplyStatusRequest) Reset() { *x = PutApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6248,7 +6357,7 @@ func (x *PutApplyStatusRequest) String() string { func (*PutApplyStatusRequest) ProtoMessage() {} func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6261,7 +6370,7 @@ func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutApplyStatusRequest.ProtoReflect.Descriptor instead. func (*PutApplyStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{107} + return file_state_v1_state_proto_rawDescGZIP(), []int{109} } func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus { @@ -6279,7 +6388,7 @@ type PutApplyStatusResponse struct { func (x *PutApplyStatusResponse) Reset() { *x = PutApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6291,7 +6400,7 @@ func (x *PutApplyStatusResponse) String() string { func (*PutApplyStatusResponse) ProtoMessage() {} func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6304,7 +6413,7 @@ func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutApplyStatusResponse.ProtoReflect.Descriptor instead. func (*PutApplyStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{108} + return file_state_v1_state_proto_rawDescGZIP(), []int{110} } type ListApplyStatusRequest struct { @@ -6315,7 +6424,7 @@ type ListApplyStatusRequest struct { func (x *ListApplyStatusRequest) Reset() { *x = ListApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6327,7 +6436,7 @@ func (x *ListApplyStatusRequest) String() string { func (*ListApplyStatusRequest) ProtoMessage() {} func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6340,7 +6449,7 @@ func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListApplyStatusRequest.ProtoReflect.Descriptor instead. func (*ListApplyStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{109} + return file_state_v1_state_proto_rawDescGZIP(), []int{111} } type ListApplyStatusResponse struct { @@ -6352,7 +6461,7 @@ type ListApplyStatusResponse struct { func (x *ListApplyStatusResponse) Reset() { *x = ListApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6364,7 +6473,7 @@ func (x *ListApplyStatusResponse) String() string { func (*ListApplyStatusResponse) ProtoMessage() {} func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6377,7 +6486,7 @@ func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListApplyStatusResponse.ProtoReflect.Descriptor instead. func (*ListApplyStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{110} + return file_state_v1_state_proto_rawDescGZIP(), []int{112} } func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus { @@ -6404,7 +6513,7 @@ type TaskLogEntry struct { func (x *TaskLogEntry) Reset() { *x = TaskLogEntry{} - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6416,7 +6525,7 @@ func (x *TaskLogEntry) String() string { func (*TaskLogEntry) ProtoMessage() {} func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6429,7 +6538,7 @@ func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskLogEntry.ProtoReflect.Descriptor instead. func (*TaskLogEntry) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{111} + return file_state_v1_state_proto_rawDescGZIP(), []int{113} } func (x *TaskLogEntry) GetId() int64 { @@ -6494,7 +6603,7 @@ type ReadTaskLogRequest struct { func (x *ReadTaskLogRequest) Reset() { *x = ReadTaskLogRequest{} - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6506,7 +6615,7 @@ func (x *ReadTaskLogRequest) String() string { func (*ReadTaskLogRequest) ProtoMessage() {} func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6519,7 +6628,7 @@ func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadTaskLogRequest.ProtoReflect.Descriptor instead. func (*ReadTaskLogRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{112} + return file_state_v1_state_proto_rawDescGZIP(), []int{114} } func (x *ReadTaskLogRequest) GetTaskId() int64 { @@ -6605,7 +6714,7 @@ type ReadTaskLogResponse struct { func (x *ReadTaskLogResponse) Reset() { *x = ReadTaskLogResponse{} - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6617,7 +6726,7 @@ func (x *ReadTaskLogResponse) String() string { func (*ReadTaskLogResponse) ProtoMessage() {} func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6630,7 +6739,7 @@ func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadTaskLogResponse.ProtoReflect.Descriptor instead. func (*ReadTaskLogResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{113} + return file_state_v1_state_proto_rawDescGZIP(), []int{115} } func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry { @@ -6689,7 +6798,7 @@ type StreamTaskLogContentRequest struct { func (x *StreamTaskLogContentRequest) Reset() { *x = StreamTaskLogContentRequest{} - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6701,7 +6810,7 @@ func (x *StreamTaskLogContentRequest) String() string { func (*StreamTaskLogContentRequest) ProtoMessage() {} func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6714,7 +6823,7 @@ func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamTaskLogContentRequest.ProtoReflect.Descriptor instead. func (*StreamTaskLogContentRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{114} + return file_state_v1_state_proto_rawDescGZIP(), []int{116} } func (x *StreamTaskLogContentRequest) GetTaskId() int64 { @@ -6742,7 +6851,7 @@ type StreamTaskLogContentResponse struct { func (x *StreamTaskLogContentResponse) Reset() { *x = StreamTaskLogContentResponse{} - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6754,7 +6863,7 @@ func (x *StreamTaskLogContentResponse) String() string { func (*StreamTaskLogContentResponse) ProtoMessage() {} func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6767,7 +6876,7 @@ func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamTaskLogContentResponse.ProtoReflect.Descriptor instead. func (*StreamTaskLogContentResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{115} + return file_state_v1_state_proto_rawDescGZIP(), []int{117} } func (x *StreamTaskLogContentResponse) GetChunk() []byte { @@ -6802,7 +6911,7 @@ type InsertCaptureRequest struct { func (x *InsertCaptureRequest) Reset() { *x = InsertCaptureRequest{} - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6814,7 +6923,7 @@ func (x *InsertCaptureRequest) String() string { func (*InsertCaptureRequest) ProtoMessage() {} func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6827,7 +6936,7 @@ func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertCaptureRequest.ProtoReflect.Descriptor instead. func (*InsertCaptureRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{116} + return file_state_v1_state_proto_rawDescGZIP(), []int{118} } func (x *InsertCaptureRequest) GetCapture() *CapturedEvent { @@ -6860,7 +6969,7 @@ type InsertCaptureResponse struct { func (x *InsertCaptureResponse) Reset() { *x = InsertCaptureResponse{} - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6872,7 +6981,7 @@ func (x *InsertCaptureResponse) String() string { func (*InsertCaptureResponse) ProtoMessage() {} func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6885,7 +6994,7 @@ func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertCaptureResponse.ProtoReflect.Descriptor instead. func (*InsertCaptureResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{117} + return file_state_v1_state_proto_rawDescGZIP(), []int{119} } func (x *InsertCaptureResponse) GetId() string { @@ -6904,7 +7013,7 @@ type StreamCapturesRequest struct { func (x *StreamCapturesRequest) Reset() { *x = StreamCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6916,7 +7025,7 @@ func (x *StreamCapturesRequest) String() string { func (*StreamCapturesRequest) ProtoMessage() {} func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6929,7 +7038,7 @@ func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamCapturesRequest.ProtoReflect.Descriptor instead. func (*StreamCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{118} + return file_state_v1_state_proto_rawDescGZIP(), []int{120} } func (x *StreamCapturesRequest) GetLimit() int64 { @@ -6949,7 +7058,7 @@ type StreamCapturesResponse struct { func (x *StreamCapturesResponse) Reset() { *x = StreamCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6961,7 +7070,7 @@ func (x *StreamCapturesResponse) String() string { func (*StreamCapturesResponse) ProtoMessage() {} func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6974,7 +7083,7 @@ func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamCapturesResponse.ProtoReflect.Descriptor instead. func (*StreamCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{119} + return file_state_v1_state_proto_rawDescGZIP(), []int{121} } func (x *StreamCapturesResponse) GetCapture() *CapturedEvent { @@ -6993,7 +7102,7 @@ type InsertMappingRequest struct { func (x *InsertMappingRequest) Reset() { *x = InsertMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7005,7 +7114,7 @@ func (x *InsertMappingRequest) String() string { func (*InsertMappingRequest) ProtoMessage() {} func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7018,7 +7127,7 @@ func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertMappingRequest.ProtoReflect.Descriptor instead. func (*InsertMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{120} + return file_state_v1_state_proto_rawDescGZIP(), []int{122} } func (x *InsertMappingRequest) GetMapping() *Mapping { @@ -7037,7 +7146,7 @@ type InsertMappingResponse struct { func (x *InsertMappingResponse) Reset() { *x = InsertMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7049,7 +7158,7 @@ func (x *InsertMappingResponse) String() string { func (*InsertMappingResponse) ProtoMessage() {} func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7062,7 +7171,7 @@ func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertMappingResponse.ProtoReflect.Descriptor instead. func (*InsertMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{121} + return file_state_v1_state_proto_rawDescGZIP(), []int{123} } func (x *InsertMappingResponse) GetId() string { @@ -7081,7 +7190,7 @@ type GetMappingRequest struct { func (x *GetMappingRequest) Reset() { *x = GetMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7093,7 +7202,7 @@ func (x *GetMappingRequest) String() string { func (*GetMappingRequest) ProtoMessage() {} func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7106,7 +7215,7 @@ func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMappingRequest.ProtoReflect.Descriptor instead. func (*GetMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{122} + return file_state_v1_state_proto_rawDescGZIP(), []int{124} } func (x *GetMappingRequest) GetId() string { @@ -7126,7 +7235,7 @@ type GetMappingResponse struct { func (x *GetMappingResponse) Reset() { *x = GetMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7138,7 +7247,7 @@ func (x *GetMappingResponse) String() string { func (*GetMappingResponse) ProtoMessage() {} func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7151,7 +7260,7 @@ func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMappingResponse.ProtoReflect.Descriptor instead. func (*GetMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{123} + return file_state_v1_state_proto_rawDescGZIP(), []int{125} } func (x *GetMappingResponse) GetMapping() *Mapping { @@ -7176,7 +7285,7 @@ type ListMappingsRequest struct { func (x *ListMappingsRequest) Reset() { *x = ListMappingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7188,7 +7297,7 @@ func (x *ListMappingsRequest) String() string { func (*ListMappingsRequest) ProtoMessage() {} func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7201,7 +7310,7 @@ func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMappingsRequest.ProtoReflect.Descriptor instead. func (*ListMappingsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{124} + return file_state_v1_state_proto_rawDescGZIP(), []int{126} } type ListMappingsResponse struct { @@ -7213,7 +7322,7 @@ type ListMappingsResponse struct { func (x *ListMappingsResponse) Reset() { *x = ListMappingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7225,7 +7334,7 @@ func (x *ListMappingsResponse) String() string { func (*ListMappingsResponse) ProtoMessage() {} func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7238,7 +7347,7 @@ func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMappingsResponse.ProtoReflect.Descriptor instead. func (*ListMappingsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{125} + return file_state_v1_state_proto_rawDescGZIP(), []int{127} } func (x *ListMappingsResponse) GetMappings() []*Mapping { @@ -7257,7 +7366,7 @@ type UpdateMappingRequest struct { func (x *UpdateMappingRequest) Reset() { *x = UpdateMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7269,7 +7378,7 @@ func (x *UpdateMappingRequest) String() string { func (*UpdateMappingRequest) ProtoMessage() {} func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7282,7 +7391,7 @@ func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMappingRequest.ProtoReflect.Descriptor instead. func (*UpdateMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{126} + return file_state_v1_state_proto_rawDescGZIP(), []int{128} } func (x *UpdateMappingRequest) GetMapping() *Mapping { @@ -7300,7 +7409,7 @@ type UpdateMappingResponse struct { func (x *UpdateMappingResponse) Reset() { *x = UpdateMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7312,7 +7421,7 @@ func (x *UpdateMappingResponse) String() string { func (*UpdateMappingResponse) ProtoMessage() {} func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7325,7 +7434,7 @@ func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMappingResponse.ProtoReflect.Descriptor instead. func (*UpdateMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{127} + return file_state_v1_state_proto_rawDescGZIP(), []int{129} } type DeleteMappingRequest struct { @@ -7337,7 +7446,7 @@ type DeleteMappingRequest struct { func (x *DeleteMappingRequest) Reset() { *x = DeleteMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7349,7 +7458,7 @@ func (x *DeleteMappingRequest) String() string { func (*DeleteMappingRequest) ProtoMessage() {} func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7362,7 +7471,7 @@ func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMappingRequest.ProtoReflect.Descriptor instead. func (*DeleteMappingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{128} + return file_state_v1_state_proto_rawDescGZIP(), []int{130} } func (x *DeleteMappingRequest) GetId() string { @@ -7380,7 +7489,7 @@ type DeleteMappingResponse struct { func (x *DeleteMappingResponse) Reset() { *x = DeleteMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7392,7 +7501,7 @@ func (x *DeleteMappingResponse) String() string { func (*DeleteMappingResponse) ProtoMessage() {} func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7405,7 +7514,7 @@ func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMappingResponse.ProtoReflect.Descriptor instead. func (*DeleteMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{129} + return file_state_v1_state_proto_rawDescGZIP(), []int{131} } type RecordMappingMatchRequest struct { @@ -7418,7 +7527,7 @@ type RecordMappingMatchRequest struct { func (x *RecordMappingMatchRequest) Reset() { *x = RecordMappingMatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7430,7 +7539,7 @@ func (x *RecordMappingMatchRequest) String() string { func (*RecordMappingMatchRequest) ProtoMessage() {} func (x *RecordMappingMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7443,7 +7552,7 @@ func (x *RecordMappingMatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordMappingMatchRequest.ProtoReflect.Descriptor instead. func (*RecordMappingMatchRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{130} + return file_state_v1_state_proto_rawDescGZIP(), []int{132} } func (x *RecordMappingMatchRequest) GetMappingId() string { @@ -7468,7 +7577,7 @@ type RecordMappingMatchResponse struct { func (x *RecordMappingMatchResponse) Reset() { *x = RecordMappingMatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7480,7 +7589,7 @@ func (x *RecordMappingMatchResponse) String() string { func (*RecordMappingMatchResponse) ProtoMessage() {} func (x *RecordMappingMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7493,7 +7602,7 @@ func (x *RecordMappingMatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordMappingMatchResponse.ProtoReflect.Descriptor instead. func (*RecordMappingMatchResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{131} + return file_state_v1_state_proto_rawDescGZIP(), []int{133} } type InsertEventTypeRequest struct { @@ -7505,7 +7614,7 @@ type InsertEventTypeRequest struct { func (x *InsertEventTypeRequest) Reset() { *x = InsertEventTypeRequest{} - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7517,7 +7626,7 @@ func (x *InsertEventTypeRequest) String() string { func (*InsertEventTypeRequest) ProtoMessage() {} func (x *InsertEventTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7530,7 +7639,7 @@ func (x *InsertEventTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventTypeRequest.ProtoReflect.Descriptor instead. func (*InsertEventTypeRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{132} + return file_state_v1_state_proto_rawDescGZIP(), []int{134} } func (x *InsertEventTypeRequest) GetEventType() *EventType { @@ -7549,7 +7658,7 @@ type InsertEventTypeResponse struct { func (x *InsertEventTypeResponse) Reset() { *x = InsertEventTypeResponse{} - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7561,7 +7670,7 @@ func (x *InsertEventTypeResponse) String() string { func (*InsertEventTypeResponse) ProtoMessage() {} func (x *InsertEventTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7574,7 +7683,7 @@ func (x *InsertEventTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventTypeResponse.ProtoReflect.Descriptor instead. func (*InsertEventTypeResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{133} + return file_state_v1_state_proto_rawDescGZIP(), []int{135} } func (x *InsertEventTypeResponse) GetId() string { @@ -7593,7 +7702,7 @@ type UpdateEventTypeRequest struct { func (x *UpdateEventTypeRequest) Reset() { *x = UpdateEventTypeRequest{} - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7605,7 +7714,7 @@ func (x *UpdateEventTypeRequest) String() string { func (*UpdateEventTypeRequest) ProtoMessage() {} func (x *UpdateEventTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7618,7 +7727,7 @@ func (x *UpdateEventTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEventTypeRequest.ProtoReflect.Descriptor instead. func (*UpdateEventTypeRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{134} + return file_state_v1_state_proto_rawDescGZIP(), []int{136} } func (x *UpdateEventTypeRequest) GetEventType() *EventType { @@ -7636,7 +7745,7 @@ type UpdateEventTypeResponse struct { func (x *UpdateEventTypeResponse) Reset() { *x = UpdateEventTypeResponse{} - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7648,7 +7757,7 @@ func (x *UpdateEventTypeResponse) String() string { func (*UpdateEventTypeResponse) ProtoMessage() {} func (x *UpdateEventTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7661,7 +7770,7 @@ func (x *UpdateEventTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEventTypeResponse.ProtoReflect.Descriptor instead. func (*UpdateEventTypeResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{135} + return file_state_v1_state_proto_rawDescGZIP(), []int{137} } type DeleteEventTypeRequest struct { @@ -7673,7 +7782,7 @@ type DeleteEventTypeRequest struct { func (x *DeleteEventTypeRequest) Reset() { *x = DeleteEventTypeRequest{} - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7685,7 +7794,7 @@ func (x *DeleteEventTypeRequest) String() string { func (*DeleteEventTypeRequest) ProtoMessage() {} func (x *DeleteEventTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7698,7 +7807,7 @@ func (x *DeleteEventTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteEventTypeRequest.ProtoReflect.Descriptor instead. func (*DeleteEventTypeRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{136} + return file_state_v1_state_proto_rawDescGZIP(), []int{138} } func (x *DeleteEventTypeRequest) GetId() string { @@ -7716,7 +7825,7 @@ type DeleteEventTypeResponse struct { func (x *DeleteEventTypeResponse) Reset() { *x = DeleteEventTypeResponse{} - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7728,7 +7837,7 @@ func (x *DeleteEventTypeResponse) String() string { func (*DeleteEventTypeResponse) ProtoMessage() {} func (x *DeleteEventTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7741,7 +7850,7 @@ func (x *DeleteEventTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteEventTypeResponse.ProtoReflect.Descriptor instead. func (*DeleteEventTypeResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{137} + return file_state_v1_state_proto_rawDescGZIP(), []int{139} } type ListEventTypesRequest struct { @@ -7752,7 +7861,7 @@ type ListEventTypesRequest struct { func (x *ListEventTypesRequest) Reset() { *x = ListEventTypesRequest{} - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7764,7 +7873,7 @@ func (x *ListEventTypesRequest) String() string { func (*ListEventTypesRequest) ProtoMessage() {} func (x *ListEventTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7777,7 +7886,7 @@ func (x *ListEventTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEventTypesRequest.ProtoReflect.Descriptor instead. func (*ListEventTypesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{138} + return file_state_v1_state_proto_rawDescGZIP(), []int{140} } type ListEventTypesResponse struct { @@ -7789,7 +7898,7 @@ type ListEventTypesResponse struct { func (x *ListEventTypesResponse) Reset() { *x = ListEventTypesResponse{} - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7801,7 +7910,7 @@ func (x *ListEventTypesResponse) String() string { func (*ListEventTypesResponse) ProtoMessage() {} func (x *ListEventTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7814,7 +7923,7 @@ func (x *ListEventTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEventTypesResponse.ProtoReflect.Descriptor instead. func (*ListEventTypesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{139} + return file_state_v1_state_proto_rawDescGZIP(), []int{141} } func (x *ListEventTypesResponse) GetEventTypes() []*EventType { @@ -7833,7 +7942,7 @@ type InsertBindingRequest struct { func (x *InsertBindingRequest) Reset() { *x = InsertBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7845,7 +7954,7 @@ func (x *InsertBindingRequest) String() string { func (*InsertBindingRequest) ProtoMessage() {} func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[142] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7858,7 +7967,7 @@ func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertBindingRequest.ProtoReflect.Descriptor instead. func (*InsertBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{140} + return file_state_v1_state_proto_rawDescGZIP(), []int{142} } func (x *InsertBindingRequest) GetBinding() *Binding { @@ -7877,7 +7986,7 @@ type InsertBindingResponse struct { func (x *InsertBindingResponse) Reset() { *x = InsertBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7889,7 +7998,7 @@ func (x *InsertBindingResponse) String() string { func (*InsertBindingResponse) ProtoMessage() {} func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[143] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7902,7 +8011,7 @@ func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertBindingResponse.ProtoReflect.Descriptor instead. func (*InsertBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{141} + return file_state_v1_state_proto_rawDescGZIP(), []int{143} } func (x *InsertBindingResponse) GetId() string { @@ -7921,7 +8030,7 @@ type GetBindingRequest struct { func (x *GetBindingRequest) Reset() { *x = GetBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7933,7 +8042,7 @@ func (x *GetBindingRequest) String() string { func (*GetBindingRequest) ProtoMessage() {} func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[144] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7946,7 +8055,7 @@ func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBindingRequest.ProtoReflect.Descriptor instead. func (*GetBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{142} + return file_state_v1_state_proto_rawDescGZIP(), []int{144} } func (x *GetBindingRequest) GetId() string { @@ -7966,7 +8075,7 @@ type GetBindingResponse struct { func (x *GetBindingResponse) Reset() { *x = GetBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7978,7 +8087,7 @@ func (x *GetBindingResponse) String() string { func (*GetBindingResponse) ProtoMessage() {} func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[145] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7991,7 +8100,7 @@ func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBindingResponse.ProtoReflect.Descriptor instead. func (*GetBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{143} + return file_state_v1_state_proto_rawDescGZIP(), []int{145} } func (x *GetBindingResponse) GetBinding() *Binding { @@ -8016,7 +8125,7 @@ type ListBindingsRequest struct { func (x *ListBindingsRequest) Reset() { *x = ListBindingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8028,7 +8137,7 @@ func (x *ListBindingsRequest) String() string { func (*ListBindingsRequest) ProtoMessage() {} func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[146] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8041,7 +8150,7 @@ func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListBindingsRequest.ProtoReflect.Descriptor instead. func (*ListBindingsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{144} + return file_state_v1_state_proto_rawDescGZIP(), []int{146} } type ListBindingsResponse struct { @@ -8053,7 +8162,7 @@ type ListBindingsResponse struct { func (x *ListBindingsResponse) Reset() { *x = ListBindingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8065,7 +8174,7 @@ func (x *ListBindingsResponse) String() string { func (*ListBindingsResponse) ProtoMessage() {} func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[147] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8078,7 +8187,7 @@ func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListBindingsResponse.ProtoReflect.Descriptor instead. func (*ListBindingsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{145} + return file_state_v1_state_proto_rawDescGZIP(), []int{147} } func (x *ListBindingsResponse) GetBindings() []*Binding { @@ -8097,7 +8206,7 @@ type UpdateBindingRequest struct { func (x *UpdateBindingRequest) Reset() { *x = UpdateBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8109,7 +8218,7 @@ func (x *UpdateBindingRequest) String() string { func (*UpdateBindingRequest) ProtoMessage() {} func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[148] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8122,7 +8231,7 @@ func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBindingRequest.ProtoReflect.Descriptor instead. func (*UpdateBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{146} + return file_state_v1_state_proto_rawDescGZIP(), []int{148} } func (x *UpdateBindingRequest) GetBinding() *Binding { @@ -8140,7 +8249,7 @@ type UpdateBindingResponse struct { func (x *UpdateBindingResponse) Reset() { *x = UpdateBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8152,7 +8261,7 @@ func (x *UpdateBindingResponse) String() string { func (*UpdateBindingResponse) ProtoMessage() {} func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[149] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8165,7 +8274,7 @@ func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBindingResponse.ProtoReflect.Descriptor instead. func (*UpdateBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{147} + return file_state_v1_state_proto_rawDescGZIP(), []int{149} } type DeleteBindingRequest struct { @@ -8177,7 +8286,7 @@ type DeleteBindingRequest struct { func (x *DeleteBindingRequest) Reset() { *x = DeleteBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[148] + mi := &file_state_v1_state_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8189,7 +8298,7 @@ func (x *DeleteBindingRequest) String() string { func (*DeleteBindingRequest) ProtoMessage() {} func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[148] + mi := &file_state_v1_state_proto_msgTypes[150] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8202,7 +8311,7 @@ func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteBindingRequest.ProtoReflect.Descriptor instead. func (*DeleteBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{148} + return file_state_v1_state_proto_rawDescGZIP(), []int{150} } func (x *DeleteBindingRequest) GetId() string { @@ -8220,7 +8329,7 @@ type DeleteBindingResponse struct { func (x *DeleteBindingResponse) Reset() { *x = DeleteBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[149] + mi := &file_state_v1_state_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8232,7 +8341,7 @@ func (x *DeleteBindingResponse) String() string { func (*DeleteBindingResponse) ProtoMessage() {} func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[149] + mi := &file_state_v1_state_proto_msgTypes[151] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8245,7 +8354,7 @@ func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteBindingResponse.ProtoReflect.Descriptor instead. func (*DeleteBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{149} + return file_state_v1_state_proto_rawDescGZIP(), []int{151} } type ApproveBindingRequest struct { @@ -8257,7 +8366,7 @@ type ApproveBindingRequest struct { func (x *ApproveBindingRequest) Reset() { *x = ApproveBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[150] + mi := &file_state_v1_state_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8269,7 +8378,7 @@ func (x *ApproveBindingRequest) String() string { func (*ApproveBindingRequest) ProtoMessage() {} func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[150] + mi := &file_state_v1_state_proto_msgTypes[152] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8282,7 +8391,7 @@ func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApproveBindingRequest.ProtoReflect.Descriptor instead. func (*ApproveBindingRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{150} + return file_state_v1_state_proto_rawDescGZIP(), []int{152} } func (x *ApproveBindingRequest) GetId() string { @@ -8300,7 +8409,7 @@ type ApproveBindingResponse struct { func (x *ApproveBindingResponse) Reset() { *x = ApproveBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[151] + mi := &file_state_v1_state_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8312,7 +8421,7 @@ func (x *ApproveBindingResponse) String() string { func (*ApproveBindingResponse) ProtoMessage() {} func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[151] + mi := &file_state_v1_state_proto_msgTypes[153] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8325,7 +8434,7 @@ func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApproveBindingResponse.ProtoReflect.Descriptor instead. func (*ApproveBindingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{151} + return file_state_v1_state_proto_rawDescGZIP(), []int{153} } type InsertSourceRequest struct { @@ -8337,7 +8446,7 @@ type InsertSourceRequest struct { func (x *InsertSourceRequest) Reset() { *x = InsertSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[152] + mi := &file_state_v1_state_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8349,7 +8458,7 @@ func (x *InsertSourceRequest) String() string { func (*InsertSourceRequest) ProtoMessage() {} func (x *InsertSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[152] + mi := &file_state_v1_state_proto_msgTypes[154] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8362,7 +8471,7 @@ func (x *InsertSourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertSourceRequest.ProtoReflect.Descriptor instead. func (*InsertSourceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{152} + return file_state_v1_state_proto_rawDescGZIP(), []int{154} } func (x *InsertSourceRequest) GetSource() *Source { @@ -8380,7 +8489,7 @@ type InsertSourceResponse struct { func (x *InsertSourceResponse) Reset() { *x = InsertSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[153] + mi := &file_state_v1_state_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8392,7 +8501,7 @@ func (x *InsertSourceResponse) String() string { func (*InsertSourceResponse) ProtoMessage() {} func (x *InsertSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[153] + mi := &file_state_v1_state_proto_msgTypes[155] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8405,7 +8514,7 @@ func (x *InsertSourceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertSourceResponse.ProtoReflect.Descriptor instead. func (*InsertSourceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{153} + return file_state_v1_state_proto_rawDescGZIP(), []int{155} } type GetSourceRequest struct { @@ -8417,7 +8526,7 @@ type GetSourceRequest struct { func (x *GetSourceRequest) Reset() { *x = GetSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[154] + mi := &file_state_v1_state_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8429,7 +8538,7 @@ func (x *GetSourceRequest) String() string { func (*GetSourceRequest) ProtoMessage() {} func (x *GetSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[154] + mi := &file_state_v1_state_proto_msgTypes[156] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8442,7 +8551,7 @@ func (x *GetSourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSourceRequest.ProtoReflect.Descriptor instead. func (*GetSourceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{154} + return file_state_v1_state_proto_rawDescGZIP(), []int{156} } func (x *GetSourceRequest) GetPath() string { @@ -8462,7 +8571,7 @@ type GetSourceResponse struct { func (x *GetSourceResponse) Reset() { *x = GetSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[155] + mi := &file_state_v1_state_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8474,7 +8583,7 @@ func (x *GetSourceResponse) String() string { func (*GetSourceResponse) ProtoMessage() {} func (x *GetSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[155] + mi := &file_state_v1_state_proto_msgTypes[157] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8487,7 +8596,7 @@ func (x *GetSourceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSourceResponse.ProtoReflect.Descriptor instead. func (*GetSourceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{155} + return file_state_v1_state_proto_rawDescGZIP(), []int{157} } func (x *GetSourceResponse) GetSource() *Source { @@ -8512,7 +8621,7 @@ type ListSourcesRequest struct { func (x *ListSourcesRequest) Reset() { *x = ListSourcesRequest{} - mi := &file_state_v1_state_proto_msgTypes[156] + mi := &file_state_v1_state_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8524,7 +8633,7 @@ func (x *ListSourcesRequest) String() string { func (*ListSourcesRequest) ProtoMessage() {} func (x *ListSourcesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[156] + mi := &file_state_v1_state_proto_msgTypes[158] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8537,7 +8646,7 @@ func (x *ListSourcesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListSourcesRequest.ProtoReflect.Descriptor instead. func (*ListSourcesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{156} + return file_state_v1_state_proto_rawDescGZIP(), []int{158} } type ListSourcesResponse struct { @@ -8549,7 +8658,7 @@ type ListSourcesResponse struct { func (x *ListSourcesResponse) Reset() { *x = ListSourcesResponse{} - mi := &file_state_v1_state_proto_msgTypes[157] + mi := &file_state_v1_state_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8561,7 +8670,7 @@ func (x *ListSourcesResponse) String() string { func (*ListSourcesResponse) ProtoMessage() {} func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[157] + mi := &file_state_v1_state_proto_msgTypes[159] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8574,7 +8683,7 @@ func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead. func (*ListSourcesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{157} + return file_state_v1_state_proto_rawDescGZIP(), []int{159} } func (x *ListSourcesResponse) GetSources() []*Source { @@ -8595,7 +8704,7 @@ type SetSourceSigningRequest struct { func (x *SetSourceSigningRequest) Reset() { *x = SetSourceSigningRequest{} - mi := &file_state_v1_state_proto_msgTypes[158] + mi := &file_state_v1_state_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8607,7 +8716,7 @@ func (x *SetSourceSigningRequest) String() string { func (*SetSourceSigningRequest) ProtoMessage() {} func (x *SetSourceSigningRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[158] + mi := &file_state_v1_state_proto_msgTypes[160] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8620,7 +8729,7 @@ func (x *SetSourceSigningRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSigningRequest.ProtoReflect.Descriptor instead. func (*SetSourceSigningRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{158} + return file_state_v1_state_proto_rawDescGZIP(), []int{160} } func (x *SetSourceSigningRequest) GetPath() string { @@ -8652,7 +8761,7 @@ type SetSourceSigningResponse struct { func (x *SetSourceSigningResponse) Reset() { *x = SetSourceSigningResponse{} - mi := &file_state_v1_state_proto_msgTypes[159] + mi := &file_state_v1_state_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8664,7 +8773,7 @@ func (x *SetSourceSigningResponse) String() string { func (*SetSourceSigningResponse) ProtoMessage() {} func (x *SetSourceSigningResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[159] + mi := &file_state_v1_state_proto_msgTypes[161] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8677,7 +8786,7 @@ func (x *SetSourceSigningResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSigningResponse.ProtoReflect.Descriptor instead. func (*SetSourceSigningResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{159} + return file_state_v1_state_proto_rawDescGZIP(), []int{161} } type SetSourceSecretRequest struct { @@ -8690,7 +8799,7 @@ type SetSourceSecretRequest struct { func (x *SetSourceSecretRequest) Reset() { *x = SetSourceSecretRequest{} - mi := &file_state_v1_state_proto_msgTypes[160] + mi := &file_state_v1_state_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8702,7 +8811,7 @@ func (x *SetSourceSecretRequest) String() string { func (*SetSourceSecretRequest) ProtoMessage() {} func (x *SetSourceSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[160] + mi := &file_state_v1_state_proto_msgTypes[162] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8715,7 +8824,7 @@ func (x *SetSourceSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSecretRequest.ProtoReflect.Descriptor instead. func (*SetSourceSecretRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{160} + return file_state_v1_state_proto_rawDescGZIP(), []int{162} } func (x *SetSourceSecretRequest) GetPath() string { @@ -8740,7 +8849,7 @@ type SetSourceSecretResponse struct { func (x *SetSourceSecretResponse) Reset() { *x = SetSourceSecretResponse{} - mi := &file_state_v1_state_proto_msgTypes[161] + mi := &file_state_v1_state_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8752,7 +8861,7 @@ func (x *SetSourceSecretResponse) String() string { func (*SetSourceSecretResponse) ProtoMessage() {} func (x *SetSourceSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[161] + mi := &file_state_v1_state_proto_msgTypes[163] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8765,7 +8874,7 @@ func (x *SetSourceSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSecretResponse.ProtoReflect.Descriptor instead. func (*SetSourceSecretResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{161} + return file_state_v1_state_proto_rawDescGZIP(), []int{163} } type ArmedBindingsForSourceRequest struct { @@ -8777,7 +8886,7 @@ type ArmedBindingsForSourceRequest struct { func (x *ArmedBindingsForSourceRequest) Reset() { *x = ArmedBindingsForSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[162] + mi := &file_state_v1_state_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8789,7 +8898,7 @@ func (x *ArmedBindingsForSourceRequest) String() string { func (*ArmedBindingsForSourceRequest) ProtoMessage() {} func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[162] + mi := &file_state_v1_state_proto_msgTypes[164] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8802,7 +8911,7 @@ func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArmedBindingsForSourceRequest.ProtoReflect.Descriptor instead. func (*ArmedBindingsForSourceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{162} + return file_state_v1_state_proto_rawDescGZIP(), []int{164} } func (x *ArmedBindingsForSourceRequest) GetSource() string { @@ -8821,7 +8930,7 @@ type ArmedBindingsForSourceResponse struct { func (x *ArmedBindingsForSourceResponse) Reset() { *x = ArmedBindingsForSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[163] + mi := &file_state_v1_state_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8833,7 +8942,7 @@ func (x *ArmedBindingsForSourceResponse) String() string { func (*ArmedBindingsForSourceResponse) ProtoMessage() {} func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[163] + mi := &file_state_v1_state_proto_msgTypes[165] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8846,7 +8955,7 @@ func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ArmedBindingsForSourceResponse.ProtoReflect.Descriptor instead. func (*ArmedBindingsForSourceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{163} + return file_state_v1_state_proto_rawDescGZIP(), []int{165} } func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding { @@ -8869,7 +8978,7 @@ type RecordDispatchRequest struct { func (x *RecordDispatchRequest) Reset() { *x = RecordDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[164] + mi := &file_state_v1_state_proto_msgTypes[166] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8881,7 +8990,7 @@ func (x *RecordDispatchRequest) String() string { func (*RecordDispatchRequest) ProtoMessage() {} func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[164] + mi := &file_state_v1_state_proto_msgTypes[166] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8894,7 +9003,7 @@ func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDispatchRequest.ProtoReflect.Descriptor instead. func (*RecordDispatchRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{164} + return file_state_v1_state_proto_rawDescGZIP(), []int{166} } func (x *RecordDispatchRequest) GetBindingId() string { @@ -8933,7 +9042,7 @@ type RecordDispatchResponse struct { func (x *RecordDispatchResponse) Reset() { *x = RecordDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[165] + mi := &file_state_v1_state_proto_msgTypes[167] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8945,7 +9054,7 @@ func (x *RecordDispatchResponse) String() string { func (*RecordDispatchResponse) ProtoMessage() {} func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[165] + mi := &file_state_v1_state_proto_msgTypes[167] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8958,7 +9067,7 @@ func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDispatchResponse.ProtoReflect.Descriptor instead. func (*RecordDispatchResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{165} + return file_state_v1_state_proto_rawDescGZIP(), []int{167} } type RecordPlaybookDispatchRequest struct { @@ -8973,7 +9082,7 @@ type RecordPlaybookDispatchRequest struct { func (x *RecordPlaybookDispatchRequest) Reset() { *x = RecordPlaybookDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[166] + mi := &file_state_v1_state_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8985,7 +9094,7 @@ func (x *RecordPlaybookDispatchRequest) String() string { func (*RecordPlaybookDispatchRequest) ProtoMessage() {} func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[166] + mi := &file_state_v1_state_proto_msgTypes[168] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8998,7 +9107,7 @@ func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordPlaybookDispatchRequest.ProtoReflect.Descriptor instead. func (*RecordPlaybookDispatchRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{166} + return file_state_v1_state_proto_rawDescGZIP(), []int{168} } func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string { @@ -9037,7 +9146,7 @@ type RecordPlaybookDispatchResponse struct { func (x *RecordPlaybookDispatchResponse) Reset() { *x = RecordPlaybookDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[167] + mi := &file_state_v1_state_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9049,7 +9158,7 @@ func (x *RecordPlaybookDispatchResponse) String() string { func (*RecordPlaybookDispatchResponse) ProtoMessage() {} func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[167] + mi := &file_state_v1_state_proto_msgTypes[169] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9062,7 +9171,7 @@ func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordPlaybookDispatchResponse.ProtoReflect.Descriptor instead. func (*RecordPlaybookDispatchResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{167} + return file_state_v1_state_proto_rawDescGZIP(), []int{169} } type DeletePlaybookDispatchesRequest struct { @@ -9074,7 +9183,7 @@ type DeletePlaybookDispatchesRequest struct { func (x *DeletePlaybookDispatchesRequest) Reset() { *x = DeletePlaybookDispatchesRequest{} - mi := &file_state_v1_state_proto_msgTypes[168] + mi := &file_state_v1_state_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9086,7 +9195,7 @@ func (x *DeletePlaybookDispatchesRequest) String() string { func (*DeletePlaybookDispatchesRequest) ProtoMessage() {} func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[168] + mi := &file_state_v1_state_proto_msgTypes[170] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9099,7 +9208,7 @@ func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePlaybookDispatchesRequest.ProtoReflect.Descriptor instead. func (*DeletePlaybookDispatchesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{168} + return file_state_v1_state_proto_rawDescGZIP(), []int{170} } func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string { @@ -9117,7 +9226,7 @@ type DeletePlaybookDispatchesResponse struct { func (x *DeletePlaybookDispatchesResponse) Reset() { *x = DeletePlaybookDispatchesResponse{} - mi := &file_state_v1_state_proto_msgTypes[169] + mi := &file_state_v1_state_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9129,7 +9238,7 @@ func (x *DeletePlaybookDispatchesResponse) String() string { func (*DeletePlaybookDispatchesResponse) ProtoMessage() {} func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[169] + mi := &file_state_v1_state_proto_msgTypes[171] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9142,7 +9251,7 @@ func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePlaybookDispatchesResponse.ProtoReflect.Descriptor instead. func (*DeletePlaybookDispatchesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{169} + return file_state_v1_state_proto_rawDescGZIP(), []int{171} } type StreamUndispatchedCapturesRequest struct { @@ -9155,7 +9264,7 @@ type StreamUndispatchedCapturesRequest struct { func (x *StreamUndispatchedCapturesRequest) Reset() { *x = StreamUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[170] + mi := &file_state_v1_state_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9167,7 +9276,7 @@ func (x *StreamUndispatchedCapturesRequest) String() string { func (*StreamUndispatchedCapturesRequest) ProtoMessage() {} func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[170] + mi := &file_state_v1_state_proto_msgTypes[172] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9180,7 +9289,7 @@ func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message // Deprecated: Use StreamUndispatchedCapturesRequest.ProtoReflect.Descriptor instead. func (*StreamUndispatchedCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{170} + return file_state_v1_state_proto_rawDescGZIP(), []int{172} } func (x *StreamUndispatchedCapturesRequest) GetSources() []string { @@ -9207,7 +9316,7 @@ type StreamUndispatchedCapturesResponse struct { func (x *StreamUndispatchedCapturesResponse) Reset() { *x = StreamUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[171] + mi := &file_state_v1_state_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9219,7 +9328,7 @@ func (x *StreamUndispatchedCapturesResponse) String() string { func (*StreamUndispatchedCapturesResponse) ProtoMessage() {} func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[171] + mi := &file_state_v1_state_proto_msgTypes[173] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9232,7 +9341,7 @@ func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message // Deprecated: Use StreamUndispatchedCapturesResponse.ProtoReflect.Descriptor instead. func (*StreamUndispatchedCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{171} + return file_state_v1_state_proto_rawDescGZIP(), []int{173} } func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent { @@ -9259,7 +9368,7 @@ type EnqueueBindingTaskRequest struct { func (x *EnqueueBindingTaskRequest) Reset() { *x = EnqueueBindingTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[172] + mi := &file_state_v1_state_proto_msgTypes[174] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9271,7 +9380,7 @@ func (x *EnqueueBindingTaskRequest) String() string { func (*EnqueueBindingTaskRequest) ProtoMessage() {} func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[172] + mi := &file_state_v1_state_proto_msgTypes[174] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9284,7 +9393,7 @@ func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueBindingTaskRequest.ProtoReflect.Descriptor instead. func (*EnqueueBindingTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{172} + return file_state_v1_state_proto_rawDescGZIP(), []int{174} } func (x *EnqueueBindingTaskRequest) GetOwner() string { @@ -9359,7 +9468,7 @@ type EnqueueBindingTaskResponse struct { func (x *EnqueueBindingTaskResponse) Reset() { *x = EnqueueBindingTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[173] + mi := &file_state_v1_state_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9371,7 +9480,7 @@ func (x *EnqueueBindingTaskResponse) String() string { func (*EnqueueBindingTaskResponse) ProtoMessage() {} func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[173] + mi := &file_state_v1_state_proto_msgTypes[175] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9384,7 +9493,7 @@ func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueBindingTaskResponse.ProtoReflect.Descriptor instead. func (*EnqueueBindingTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{173} + return file_state_v1_state_proto_rawDescGZIP(), []int{175} } func (x *EnqueueBindingTaskResponse) GetTask() *Task { @@ -9407,7 +9516,7 @@ type EnqueueCallTaskRequest struct { func (x *EnqueueCallTaskRequest) Reset() { *x = EnqueueCallTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[174] + mi := &file_state_v1_state_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9419,7 +9528,7 @@ func (x *EnqueueCallTaskRequest) String() string { func (*EnqueueCallTaskRequest) ProtoMessage() {} func (x *EnqueueCallTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[174] + mi := &file_state_v1_state_proto_msgTypes[176] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9432,7 +9541,7 @@ func (x *EnqueueCallTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueCallTaskRequest.ProtoReflect.Descriptor instead. func (*EnqueueCallTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{174} + return file_state_v1_state_proto_rawDescGZIP(), []int{176} } func (x *EnqueueCallTaskRequest) GetCallerTaskId() int64 { @@ -9466,7 +9575,7 @@ type EnqueueCallTaskResponse struct { func (x *EnqueueCallTaskResponse) Reset() { *x = EnqueueCallTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[175] + mi := &file_state_v1_state_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9478,7 +9587,7 @@ func (x *EnqueueCallTaskResponse) String() string { func (*EnqueueCallTaskResponse) ProtoMessage() {} func (x *EnqueueCallTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[175] + mi := &file_state_v1_state_proto_msgTypes[177] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9491,7 +9600,7 @@ func (x *EnqueueCallTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueCallTaskResponse.ProtoReflect.Descriptor instead. func (*EnqueueCallTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{175} + return file_state_v1_state_proto_rawDescGZIP(), []int{177} } func (x *EnqueueCallTaskResponse) GetTask() *Task { @@ -9518,7 +9627,7 @@ type WorkflowCallStatusRequest struct { func (x *WorkflowCallStatusRequest) Reset() { *x = WorkflowCallStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[176] + mi := &file_state_v1_state_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9530,7 +9639,7 @@ func (x *WorkflowCallStatusRequest) String() string { func (*WorkflowCallStatusRequest) ProtoMessage() {} func (x *WorkflowCallStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[176] + mi := &file_state_v1_state_proto_msgTypes[178] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9543,7 +9652,7 @@ func (x *WorkflowCallStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowCallStatusRequest.ProtoReflect.Descriptor instead. func (*WorkflowCallStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{176} + return file_state_v1_state_proto_rawDescGZIP(), []int{178} } func (x *WorkflowCallStatusRequest) GetCallerTaskId() int64 { @@ -9572,7 +9681,7 @@ type WorkflowCallStatusResponse struct { func (x *WorkflowCallStatusResponse) Reset() { *x = WorkflowCallStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[177] + mi := &file_state_v1_state_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9584,7 +9693,7 @@ func (x *WorkflowCallStatusResponse) String() string { func (*WorkflowCallStatusResponse) ProtoMessage() {} func (x *WorkflowCallStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[177] + mi := &file_state_v1_state_proto_msgTypes[179] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9597,7 +9706,7 @@ func (x *WorkflowCallStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowCallStatusResponse.ProtoReflect.Descriptor instead. func (*WorkflowCallStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{177} + return file_state_v1_state_proto_rawDescGZIP(), []int{179} } func (x *WorkflowCallStatusResponse) GetStatus() string { @@ -9629,7 +9738,7 @@ type InstalledPackage struct { func (x *InstalledPackage) Reset() { *x = InstalledPackage{} - mi := &file_state_v1_state_proto_msgTypes[178] + mi := &file_state_v1_state_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9641,7 +9750,7 @@ func (x *InstalledPackage) String() string { func (*InstalledPackage) ProtoMessage() {} func (x *InstalledPackage) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[178] + mi := &file_state_v1_state_proto_msgTypes[180] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9654,7 +9763,7 @@ func (x *InstalledPackage) ProtoReflect() protoreflect.Message { // Deprecated: Use InstalledPackage.ProtoReflect.Descriptor instead. func (*InstalledPackage) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{178} + return file_state_v1_state_proto_rawDescGZIP(), []int{180} } func (x *InstalledPackage) GetOrgId() string { @@ -9718,7 +9827,7 @@ type InstallPackageRequest struct { func (x *InstallPackageRequest) Reset() { *x = InstallPackageRequest{} - mi := &file_state_v1_state_proto_msgTypes[179] + mi := &file_state_v1_state_proto_msgTypes[181] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9730,7 +9839,7 @@ func (x *InstallPackageRequest) String() string { func (*InstallPackageRequest) ProtoMessage() {} func (x *InstallPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[179] + mi := &file_state_v1_state_proto_msgTypes[181] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9743,7 +9852,7 @@ func (x *InstallPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InstallPackageRequest.ProtoReflect.Descriptor instead. func (*InstallPackageRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{179} + return file_state_v1_state_proto_rawDescGZIP(), []int{181} } func (x *InstallPackageRequest) GetOrgId() string { @@ -9783,7 +9892,7 @@ type InstallPackageResponse struct { func (x *InstallPackageResponse) Reset() { *x = InstallPackageResponse{} - mi := &file_state_v1_state_proto_msgTypes[180] + mi := &file_state_v1_state_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9795,7 +9904,7 @@ func (x *InstallPackageResponse) String() string { func (*InstallPackageResponse) ProtoMessage() {} func (x *InstallPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[180] + mi := &file_state_v1_state_proto_msgTypes[182] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9808,7 +9917,7 @@ func (x *InstallPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InstallPackageResponse.ProtoReflect.Descriptor instead. func (*InstallPackageResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{180} + return file_state_v1_state_proto_rawDescGZIP(), []int{182} } func (x *InstallPackageResponse) GetPackage() *InstalledPackage { @@ -9828,7 +9937,7 @@ type GetInstalledPackageRequest struct { func (x *GetInstalledPackageRequest) Reset() { *x = GetInstalledPackageRequest{} - mi := &file_state_v1_state_proto_msgTypes[181] + mi := &file_state_v1_state_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9840,7 +9949,7 @@ func (x *GetInstalledPackageRequest) String() string { func (*GetInstalledPackageRequest) ProtoMessage() {} func (x *GetInstalledPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[181] + mi := &file_state_v1_state_proto_msgTypes[183] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9853,7 +9962,7 @@ func (x *GetInstalledPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInstalledPackageRequest.ProtoReflect.Descriptor instead. func (*GetInstalledPackageRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{181} + return file_state_v1_state_proto_rawDescGZIP(), []int{183} } func (x *GetInstalledPackageRequest) GetOrgId() string { @@ -9879,7 +9988,7 @@ type GetInstalledPackageResponse struct { func (x *GetInstalledPackageResponse) Reset() { *x = GetInstalledPackageResponse{} - mi := &file_state_v1_state_proto_msgTypes[182] + mi := &file_state_v1_state_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9891,7 +10000,7 @@ func (x *GetInstalledPackageResponse) String() string { func (*GetInstalledPackageResponse) ProtoMessage() {} func (x *GetInstalledPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[182] + mi := &file_state_v1_state_proto_msgTypes[184] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9904,7 +10013,7 @@ func (x *GetInstalledPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInstalledPackageResponse.ProtoReflect.Descriptor instead. func (*GetInstalledPackageResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{182} + return file_state_v1_state_proto_rawDescGZIP(), []int{184} } func (x *GetInstalledPackageResponse) GetPackage() *InstalledPackage { @@ -9923,7 +10032,7 @@ type ListInstalledPackagesRequest struct { func (x *ListInstalledPackagesRequest) Reset() { *x = ListInstalledPackagesRequest{} - mi := &file_state_v1_state_proto_msgTypes[183] + mi := &file_state_v1_state_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9935,7 +10044,7 @@ func (x *ListInstalledPackagesRequest) String() string { func (*ListInstalledPackagesRequest) ProtoMessage() {} func (x *ListInstalledPackagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[183] + mi := &file_state_v1_state_proto_msgTypes[185] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9948,7 +10057,7 @@ func (x *ListInstalledPackagesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListInstalledPackagesRequest.ProtoReflect.Descriptor instead. func (*ListInstalledPackagesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{183} + return file_state_v1_state_proto_rawDescGZIP(), []int{185} } func (x *ListInstalledPackagesRequest) GetOrgId() string { @@ -9967,7 +10076,7 @@ type ListInstalledPackagesResponse struct { func (x *ListInstalledPackagesResponse) Reset() { *x = ListInstalledPackagesResponse{} - mi := &file_state_v1_state_proto_msgTypes[184] + mi := &file_state_v1_state_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9979,7 +10088,7 @@ func (x *ListInstalledPackagesResponse) String() string { func (*ListInstalledPackagesResponse) ProtoMessage() {} func (x *ListInstalledPackagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[184] + mi := &file_state_v1_state_proto_msgTypes[186] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9992,7 +10101,7 @@ func (x *ListInstalledPackagesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListInstalledPackagesResponse.ProtoReflect.Descriptor instead. func (*ListInstalledPackagesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{184} + return file_state_v1_state_proto_rawDescGZIP(), []int{186} } func (x *ListInstalledPackagesResponse) GetPackages() []*InstalledPackage { @@ -10012,7 +10121,7 @@ type RemoveInstalledPackageRequest struct { func (x *RemoveInstalledPackageRequest) Reset() { *x = RemoveInstalledPackageRequest{} - mi := &file_state_v1_state_proto_msgTypes[185] + mi := &file_state_v1_state_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10024,7 +10133,7 @@ func (x *RemoveInstalledPackageRequest) String() string { func (*RemoveInstalledPackageRequest) ProtoMessage() {} func (x *RemoveInstalledPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[185] + mi := &file_state_v1_state_proto_msgTypes[187] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10037,7 +10146,7 @@ func (x *RemoveInstalledPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveInstalledPackageRequest.ProtoReflect.Descriptor instead. func (*RemoveInstalledPackageRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{185} + return file_state_v1_state_proto_rawDescGZIP(), []int{187} } func (x *RemoveInstalledPackageRequest) GetOrgId() string { @@ -10062,7 +10171,7 @@ type RemoveInstalledPackageResponse struct { func (x *RemoveInstalledPackageResponse) Reset() { *x = RemoveInstalledPackageResponse{} - mi := &file_state_v1_state_proto_msgTypes[186] + mi := &file_state_v1_state_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10074,7 +10183,7 @@ func (x *RemoveInstalledPackageResponse) String() string { func (*RemoveInstalledPackageResponse) ProtoMessage() {} func (x *RemoveInstalledPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[186] + mi := &file_state_v1_state_proto_msgTypes[188] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10087,7 +10196,7 @@ func (x *RemoveInstalledPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveInstalledPackageResponse.ProtoReflect.Descriptor instead. func (*RemoveInstalledPackageResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{186} + return file_state_v1_state_proto_rawDescGZIP(), []int{188} } type GetPrincipalRequest struct { @@ -10099,7 +10208,7 @@ type GetPrincipalRequest struct { func (x *GetPrincipalRequest) Reset() { *x = GetPrincipalRequest{} - mi := &file_state_v1_state_proto_msgTypes[187] + mi := &file_state_v1_state_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10111,7 +10220,7 @@ func (x *GetPrincipalRequest) String() string { func (*GetPrincipalRequest) ProtoMessage() {} func (x *GetPrincipalRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[187] + mi := &file_state_v1_state_proto_msgTypes[189] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10124,7 +10233,7 @@ func (x *GetPrincipalRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPrincipalRequest.ProtoReflect.Descriptor instead. func (*GetPrincipalRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{187} + return file_state_v1_state_proto_rawDescGZIP(), []int{189} } func (x *GetPrincipalRequest) GetIdentityId() string { @@ -10147,7 +10256,7 @@ type PrincipalMembership struct { func (x *PrincipalMembership) Reset() { *x = PrincipalMembership{} - mi := &file_state_v1_state_proto_msgTypes[188] + mi := &file_state_v1_state_proto_msgTypes[190] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10159,7 +10268,7 @@ func (x *PrincipalMembership) String() string { func (*PrincipalMembership) ProtoMessage() {} func (x *PrincipalMembership) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[188] + mi := &file_state_v1_state_proto_msgTypes[190] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10172,7 +10281,7 @@ func (x *PrincipalMembership) ProtoReflect() protoreflect.Message { // Deprecated: Use PrincipalMembership.ProtoReflect.Descriptor instead. func (*PrincipalMembership) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{188} + return file_state_v1_state_proto_rawDescGZIP(), []int{190} } func (x *PrincipalMembership) GetOrgId() string { @@ -10207,7 +10316,7 @@ type AccessPrincipal struct { func (x *AccessPrincipal) Reset() { *x = AccessPrincipal{} - mi := &file_state_v1_state_proto_msgTypes[189] + mi := &file_state_v1_state_proto_msgTypes[191] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10219,7 +10328,7 @@ func (x *AccessPrincipal) String() string { func (*AccessPrincipal) ProtoMessage() {} func (x *AccessPrincipal) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[189] + mi := &file_state_v1_state_proto_msgTypes[191] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10232,7 +10341,7 @@ func (x *AccessPrincipal) ProtoReflect() protoreflect.Message { // Deprecated: Use AccessPrincipal.ProtoReflect.Descriptor instead. func (*AccessPrincipal) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{189} + return file_state_v1_state_proto_rawDescGZIP(), []int{191} } func (x *AccessPrincipal) GetIdentityId() string { @@ -10265,7 +10374,7 @@ type GetPrincipalResponse struct { func (x *GetPrincipalResponse) Reset() { *x = GetPrincipalResponse{} - mi := &file_state_v1_state_proto_msgTypes[190] + mi := &file_state_v1_state_proto_msgTypes[192] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10277,7 +10386,7 @@ func (x *GetPrincipalResponse) String() string { func (*GetPrincipalResponse) ProtoMessage() {} func (x *GetPrincipalResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[190] + mi := &file_state_v1_state_proto_msgTypes[192] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10290,7 +10399,7 @@ func (x *GetPrincipalResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPrincipalResponse.ProtoReflect.Descriptor instead. func (*GetPrincipalResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{190} + return file_state_v1_state_proto_rawDescGZIP(), []int{192} } func (x *GetPrincipalResponse) GetPrincipal() *AccessPrincipal { @@ -10317,7 +10426,7 @@ type AccessPolicy struct { func (x *AccessPolicy) Reset() { *x = AccessPolicy{} - mi := &file_state_v1_state_proto_msgTypes[191] + mi := &file_state_v1_state_proto_msgTypes[193] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10329,7 +10438,7 @@ func (x *AccessPolicy) String() string { func (*AccessPolicy) ProtoMessage() {} func (x *AccessPolicy) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[191] + mi := &file_state_v1_state_proto_msgTypes[193] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10342,7 +10451,7 @@ func (x *AccessPolicy) ProtoReflect() protoreflect.Message { // Deprecated: Use AccessPolicy.ProtoReflect.Descriptor instead. func (*AccessPolicy) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{191} + return file_state_v1_state_proto_rawDescGZIP(), []int{193} } func (x *AccessPolicy) GetPolicyId() string { @@ -10402,7 +10511,7 @@ type ListPoliciesRequest struct { func (x *ListPoliciesRequest) Reset() { *x = ListPoliciesRequest{} - mi := &file_state_v1_state_proto_msgTypes[192] + mi := &file_state_v1_state_proto_msgTypes[194] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10414,7 +10523,7 @@ func (x *ListPoliciesRequest) String() string { func (*ListPoliciesRequest) ProtoMessage() {} func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[192] + mi := &file_state_v1_state_proto_msgTypes[194] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10427,7 +10536,7 @@ func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead. func (*ListPoliciesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{192} + return file_state_v1_state_proto_rawDescGZIP(), []int{194} } type ListPoliciesResponse struct { @@ -10439,7 +10548,7 @@ type ListPoliciesResponse struct { func (x *ListPoliciesResponse) Reset() { *x = ListPoliciesResponse{} - mi := &file_state_v1_state_proto_msgTypes[193] + mi := &file_state_v1_state_proto_msgTypes[195] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10451,7 +10560,7 @@ func (x *ListPoliciesResponse) String() string { func (*ListPoliciesResponse) ProtoMessage() {} func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[193] + mi := &file_state_v1_state_proto_msgTypes[195] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10464,7 +10573,7 @@ func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead. func (*ListPoliciesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{193} + return file_state_v1_state_proto_rawDescGZIP(), []int{195} } func (x *ListPoliciesResponse) GetPolicies() []*AccessPolicy { @@ -10483,7 +10592,7 @@ type PutPolicyRequest struct { func (x *PutPolicyRequest) Reset() { *x = PutPolicyRequest{} - mi := &file_state_v1_state_proto_msgTypes[194] + mi := &file_state_v1_state_proto_msgTypes[196] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10495,7 +10604,7 @@ func (x *PutPolicyRequest) String() string { func (*PutPolicyRequest) ProtoMessage() {} func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[194] + mi := &file_state_v1_state_proto_msgTypes[196] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10508,7 +10617,7 @@ func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutPolicyRequest.ProtoReflect.Descriptor instead. func (*PutPolicyRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{194} + return file_state_v1_state_proto_rawDescGZIP(), []int{196} } func (x *PutPolicyRequest) GetPolicy() *AccessPolicy { @@ -10527,7 +10636,7 @@ type PutPolicyResponse struct { func (x *PutPolicyResponse) Reset() { *x = PutPolicyResponse{} - mi := &file_state_v1_state_proto_msgTypes[195] + mi := &file_state_v1_state_proto_msgTypes[197] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10539,7 +10648,7 @@ func (x *PutPolicyResponse) String() string { func (*PutPolicyResponse) ProtoMessage() {} func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[195] + mi := &file_state_v1_state_proto_msgTypes[197] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10552,7 +10661,7 @@ func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutPolicyResponse.ProtoReflect.Descriptor instead. func (*PutPolicyResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{195} + return file_state_v1_state_proto_rawDescGZIP(), []int{197} } func (x *PutPolicyResponse) GetVersion() int64 { @@ -10571,7 +10680,7 @@ type DeletePolicyRequest struct { func (x *DeletePolicyRequest) Reset() { *x = DeletePolicyRequest{} - mi := &file_state_v1_state_proto_msgTypes[196] + mi := &file_state_v1_state_proto_msgTypes[198] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10583,7 +10692,7 @@ func (x *DeletePolicyRequest) String() string { func (*DeletePolicyRequest) ProtoMessage() {} func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[196] + mi := &file_state_v1_state_proto_msgTypes[198] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10596,7 +10705,7 @@ func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead. func (*DeletePolicyRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{196} + return file_state_v1_state_proto_rawDescGZIP(), []int{198} } func (x *DeletePolicyRequest) GetPolicy() *AccessPolicy { @@ -10614,7 +10723,7 @@ type DeletePolicyResponse struct { func (x *DeletePolicyResponse) Reset() { *x = DeletePolicyResponse{} - mi := &file_state_v1_state_proto_msgTypes[197] + mi := &file_state_v1_state_proto_msgTypes[199] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10626,7 +10735,7 @@ func (x *DeletePolicyResponse) String() string { func (*DeletePolicyResponse) ProtoMessage() {} func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[197] + mi := &file_state_v1_state_proto_msgTypes[199] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10639,7 +10748,7 @@ func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead. func (*DeletePolicyResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{197} + return file_state_v1_state_proto_rawDescGZIP(), []int{199} } type EnsureShippedOrgPoliciesRequest struct { @@ -10651,7 +10760,7 @@ type EnsureShippedOrgPoliciesRequest struct { func (x *EnsureShippedOrgPoliciesRequest) Reset() { *x = EnsureShippedOrgPoliciesRequest{} - mi := &file_state_v1_state_proto_msgTypes[198] + mi := &file_state_v1_state_proto_msgTypes[200] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10663,7 +10772,7 @@ func (x *EnsureShippedOrgPoliciesRequest) String() string { func (*EnsureShippedOrgPoliciesRequest) ProtoMessage() {} func (x *EnsureShippedOrgPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[198] + mi := &file_state_v1_state_proto_msgTypes[200] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10676,7 +10785,7 @@ func (x *EnsureShippedOrgPoliciesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnsureShippedOrgPoliciesRequest.ProtoReflect.Descriptor instead. func (*EnsureShippedOrgPoliciesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{198} + return file_state_v1_state_proto_rawDescGZIP(), []int{200} } func (x *EnsureShippedOrgPoliciesRequest) GetOrgId() string { @@ -10694,7 +10803,7 @@ type EnsureShippedOrgPoliciesResponse struct { func (x *EnsureShippedOrgPoliciesResponse) Reset() { *x = EnsureShippedOrgPoliciesResponse{} - mi := &file_state_v1_state_proto_msgTypes[199] + mi := &file_state_v1_state_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10706,7 +10815,7 @@ func (x *EnsureShippedOrgPoliciesResponse) String() string { func (*EnsureShippedOrgPoliciesResponse) ProtoMessage() {} func (x *EnsureShippedOrgPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[199] + mi := &file_state_v1_state_proto_msgTypes[201] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10719,7 +10828,7 @@ func (x *EnsureShippedOrgPoliciesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnsureShippedOrgPoliciesResponse.ProtoReflect.Descriptor instead. func (*EnsureShippedOrgPoliciesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{199} + return file_state_v1_state_proto_rawDescGZIP(), []int{201} } // AccessDenial mirrors internal/domain/access.Denial: one refusal with the @@ -10742,7 +10851,7 @@ type AccessDenial struct { func (x *AccessDenial) Reset() { *x = AccessDenial{} - mi := &file_state_v1_state_proto_msgTypes[200] + mi := &file_state_v1_state_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10754,7 +10863,7 @@ func (x *AccessDenial) String() string { func (*AccessDenial) ProtoMessage() {} func (x *AccessDenial) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[200] + mi := &file_state_v1_state_proto_msgTypes[202] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10767,7 +10876,7 @@ func (x *AccessDenial) ProtoReflect() protoreflect.Message { // Deprecated: Use AccessDenial.ProtoReflect.Descriptor instead. func (*AccessDenial) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{200} + return file_state_v1_state_proto_rawDescGZIP(), []int{202} } func (x *AccessDenial) GetOrgId() string { @@ -10842,7 +10951,7 @@ type RecordDenialRequest struct { func (x *RecordDenialRequest) Reset() { *x = RecordDenialRequest{} - mi := &file_state_v1_state_proto_msgTypes[201] + mi := &file_state_v1_state_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10854,7 +10963,7 @@ func (x *RecordDenialRequest) String() string { func (*RecordDenialRequest) ProtoMessage() {} func (x *RecordDenialRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[201] + mi := &file_state_v1_state_proto_msgTypes[203] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10867,7 +10976,7 @@ func (x *RecordDenialRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDenialRequest.ProtoReflect.Descriptor instead. func (*RecordDenialRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{201} + return file_state_v1_state_proto_rawDescGZIP(), []int{203} } func (x *RecordDenialRequest) GetDenial() *AccessDenial { @@ -10885,7 +10994,7 @@ type RecordDenialResponse struct { func (x *RecordDenialResponse) Reset() { *x = RecordDenialResponse{} - mi := &file_state_v1_state_proto_msgTypes[202] + mi := &file_state_v1_state_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10897,7 +11006,7 @@ func (x *RecordDenialResponse) String() string { func (*RecordDenialResponse) ProtoMessage() {} func (x *RecordDenialResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[202] + mi := &file_state_v1_state_proto_msgTypes[204] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10910,7 +11019,7 @@ func (x *RecordDenialResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDenialResponse.ProtoReflect.Descriptor instead. func (*RecordDenialResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{202} + return file_state_v1_state_proto_rawDescGZIP(), []int{204} } type ListDenialsRequest struct { @@ -10923,7 +11032,7 @@ type ListDenialsRequest struct { func (x *ListDenialsRequest) Reset() { *x = ListDenialsRequest{} - mi := &file_state_v1_state_proto_msgTypes[203] + mi := &file_state_v1_state_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10935,7 +11044,7 @@ func (x *ListDenialsRequest) String() string { func (*ListDenialsRequest) ProtoMessage() {} func (x *ListDenialsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[203] + mi := &file_state_v1_state_proto_msgTypes[205] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10948,7 +11057,7 @@ func (x *ListDenialsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDenialsRequest.ProtoReflect.Descriptor instead. func (*ListDenialsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{203} + return file_state_v1_state_proto_rawDescGZIP(), []int{205} } func (x *ListDenialsRequest) GetOrgId() string { @@ -10974,7 +11083,7 @@ type ListDenialsResponse struct { func (x *ListDenialsResponse) Reset() { *x = ListDenialsResponse{} - mi := &file_state_v1_state_proto_msgTypes[204] + mi := &file_state_v1_state_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10986,7 +11095,7 @@ func (x *ListDenialsResponse) String() string { func (*ListDenialsResponse) ProtoMessage() {} func (x *ListDenialsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[204] + mi := &file_state_v1_state_proto_msgTypes[206] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10999,7 +11108,7 @@ func (x *ListDenialsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDenialsResponse.ProtoReflect.Descriptor instead. func (*ListDenialsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{204} + return file_state_v1_state_proto_rawDescGZIP(), []int{206} } func (x *ListDenialsResponse) GetDenials() []*AccessDenial { @@ -11317,7 +11426,13 @@ const file_state_v1_state_proto_rawDesc = "" + "\vtokens_used\x18\x06 \x01(\x03R\n" + "tokensUsed\";\n" + "\x12FinishStepResponse\x12%\n" + - "\x05event\x18\x01 \x01(\v2\x0f.state.v1.EventR\x05event\"3\n" + + "\x05event\x18\x01 \x01(\v2\x0f.state.v1.EventR\x05event\"Y\n" + + "\x16CancelExecutionRequest\x12\x17\n" + + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" + + "\x06reason\x18\x02 \x01(\tR\x06reason\x12\x0e\n" + + "\x02to\x18\x03 \x01(\tR\x02to\"G\n" + + "\x17CancelExecutionResponse\x12,\n" + + "\x12cancelled_step_ids\x18\x01 \x03(\x03R\x10cancelledStepIds\"3\n" + "\rUpdateRequest\x12\"\n" + "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"\x10\n" + "\x0eUpdateResponse\"f\n" + @@ -11725,7 +11840,7 @@ const file_state_v1_state_proto_rawDesc = "" + "\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x14\n" + "\x05limit\x18\x02 \x01(\x05R\x05limit\"G\n" + "\x13ListDenialsResponse\x120\n" + - "\adenials\x18\x01 \x03(\v2\x16.state.v1.AccessDenialR\adenials2\xdd;\n" + + "\adenials\x18\x01 \x03(\v2\x16.state.v1.AccessDenialR\adenials2\xb5<\n" + "\x11StateStoreService\x12S\n" + "\x0eInstallPackage\x12\x1f.state.v1.InstallPackageRequest\x1a .state.v1.InstallPackageResponse\x12b\n" + "\x13GetInstalledPackage\x12$.state.v1.GetInstalledPackageRequest\x1a%.state.v1.GetInstalledPackageResponse\x12h\n" + @@ -11751,7 +11866,8 @@ const file_state_v1_state_proto_rawDesc = "" + "\x06Update\x12\x17.state.v1.UpdateRequest\x1a\x18.state.v1.UpdateResponse\x12D\n" + "\tStartStep\x12\x1a.state.v1.StartStepRequest\x1a\x1b.state.v1.StartStepResponse\x12G\n" + "\n" + - "FinishStep\x12\x1b.state.v1.FinishStepRequest\x1a\x1c.state.v1.FinishStepResponse\x12>\n" + + "FinishStep\x12\x1b.state.v1.FinishStepRequest\x1a\x1c.state.v1.FinishStepResponse\x12V\n" + + "\x0fCancelExecution\x12 .state.v1.CancelExecutionRequest\x1a!.state.v1.CancelExecutionResponse\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" + @@ -11838,7 +11954,7 @@ func file_state_v1_state_proto_rawDescGZIP() []byte { return file_state_v1_state_proto_rawDescData } -var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 207) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 209) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -11892,166 +12008,168 @@ var file_state_v1_state_proto_goTypes = []any{ (*StartStepResponse)(nil), // 49: state.v1.StartStepResponse (*FinishStepRequest)(nil), // 50: state.v1.FinishStepRequest (*FinishStepResponse)(nil), // 51: state.v1.FinishStepResponse - (*UpdateRequest)(nil), // 52: state.v1.UpdateRequest - (*UpdateResponse)(nil), // 53: state.v1.UpdateResponse - (*RequeueRequest)(nil), // 54: state.v1.RequeueRequest - (*RequeueResponse)(nil), // 55: state.v1.RequeueResponse - (*ParkTaskRequest)(nil), // 56: state.v1.ParkTaskRequest - (*ParkTaskResponse)(nil), // 57: state.v1.ParkTaskResponse - (*RecoverStaleRequest)(nil), // 58: state.v1.RecoverStaleRequest - (*RecoverStaleResponse)(nil), // 59: state.v1.RecoverStaleResponse - (*ArchiveTaskRequest)(nil), // 60: state.v1.ArchiveTaskRequest - (*ArchiveTaskResponse)(nil), // 61: state.v1.ArchiveTaskResponse - (*RetryTaskRequest)(nil), // 62: state.v1.RetryTaskRequest - (*RetryTaskResponse)(nil), // 63: state.v1.RetryTaskResponse - (*BeginRemediationRequest)(nil), // 64: state.v1.BeginRemediationRequest - (*BeginRemediationResponse)(nil), // 65: state.v1.BeginRemediationResponse - (*UpdateReviewPayloadRequest)(nil), // 66: state.v1.UpdateReviewPayloadRequest - (*UpdateReviewPayloadResponse)(nil), // 67: state.v1.UpdateReviewPayloadResponse - (*SetReviewCursorsRequest)(nil), // 68: state.v1.SetReviewCursorsRequest - (*SetReviewCursorsResponse)(nil), // 69: state.v1.SetReviewCursorsResponse - (*TaskByIssueRequest)(nil), // 70: state.v1.TaskByIssueRequest - (*TaskByIssueResponse)(nil), // 71: state.v1.TaskByIssueResponse - (*OpenTaskByPRRequest)(nil), // 72: state.v1.OpenTaskByPRRequest - (*OpenTaskByPRResponse)(nil), // 73: state.v1.OpenTaskByPRResponse - (*TaskByIDRequest)(nil), // 74: state.v1.TaskByIDRequest - (*TaskByIDResponse)(nil), // 75: state.v1.TaskByIDResponse - (*OpenPRsRequest)(nil), // 76: state.v1.OpenPRsRequest - (*OpenPRsResponse)(nil), // 77: state.v1.OpenPRsResponse - (*ClearTerminalTasksRequest)(nil), // 78: state.v1.ClearTerminalTasksRequest - (*ClearTerminalTasksResponse)(nil), // 79: state.v1.ClearTerminalTasksResponse - (*TasksRequest)(nil), // 80: state.v1.TasksRequest - (*TasksResponse)(nil), // 81: state.v1.TasksResponse - (*StatusCountsRequest)(nil), // 82: state.v1.StatusCountsRequest - (*StatusCountsResponse)(nil), // 83: state.v1.StatusCountsResponse - (*InsertEventRequest)(nil), // 84: state.v1.InsertEventRequest - (*InsertEventResponse)(nil), // 85: state.v1.InsertEventResponse - (*EventsSinceRequest)(nil), // 86: state.v1.EventsSinceRequest - (*EventsSinceResponse)(nil), // 87: state.v1.EventsSinceResponse - (*TaskEventsRequest)(nil), // 88: state.v1.TaskEventsRequest - (*TaskEventsResponse)(nil), // 89: state.v1.TaskEventsResponse - (*WorkflowStatsRequest)(nil), // 90: state.v1.WorkflowStatsRequest - (*WorkflowStatsResponse)(nil), // 91: state.v1.WorkflowStatsResponse - (*StageStatsRequest)(nil), // 92: state.v1.StageStatsRequest - (*StageStatsResponse)(nil), // 93: state.v1.StageStatsResponse - (*TokensByDayRequest)(nil), // 94: state.v1.TokensByDayRequest - (*TokensByDayResponse)(nil), // 95: state.v1.TokensByDayResponse - (*ConfigSnapshot)(nil), // 96: state.v1.ConfigSnapshot - (*PutConfigSnapshotRequest)(nil), // 97: state.v1.PutConfigSnapshotRequest - (*PutConfigSnapshotResponse)(nil), // 98: state.v1.PutConfigSnapshotResponse - (*GetConfigSnapshotRequest)(nil), // 99: state.v1.GetConfigSnapshotRequest - (*GetConfigSnapshotResponse)(nil), // 100: state.v1.GetConfigSnapshotResponse - (*ChannelStatus)(nil), // 101: state.v1.ChannelStatus - (*PutChannelStatusRequest)(nil), // 102: state.v1.PutChannelStatusRequest - (*PutChannelStatusResponse)(nil), // 103: state.v1.PutChannelStatusResponse - (*ListChannelStatusRequest)(nil), // 104: state.v1.ListChannelStatusRequest - (*ListChannelStatusResponse)(nil), // 105: state.v1.ListChannelStatusResponse - (*ApplyStatus)(nil), // 106: state.v1.ApplyStatus - (*PutApplyStatusRequest)(nil), // 107: state.v1.PutApplyStatusRequest - (*PutApplyStatusResponse)(nil), // 108: state.v1.PutApplyStatusResponse - (*ListApplyStatusRequest)(nil), // 109: state.v1.ListApplyStatusRequest - (*ListApplyStatusResponse)(nil), // 110: state.v1.ListApplyStatusResponse - (*TaskLogEntry)(nil), // 111: state.v1.TaskLogEntry - (*ReadTaskLogRequest)(nil), // 112: state.v1.ReadTaskLogRequest - (*ReadTaskLogResponse)(nil), // 113: state.v1.ReadTaskLogResponse - (*StreamTaskLogContentRequest)(nil), // 114: state.v1.StreamTaskLogContentRequest - (*StreamTaskLogContentResponse)(nil), // 115: state.v1.StreamTaskLogContentResponse - (*InsertCaptureRequest)(nil), // 116: state.v1.InsertCaptureRequest - (*InsertCaptureResponse)(nil), // 117: state.v1.InsertCaptureResponse - (*StreamCapturesRequest)(nil), // 118: state.v1.StreamCapturesRequest - (*StreamCapturesResponse)(nil), // 119: state.v1.StreamCapturesResponse - (*InsertMappingRequest)(nil), // 120: state.v1.InsertMappingRequest - (*InsertMappingResponse)(nil), // 121: state.v1.InsertMappingResponse - (*GetMappingRequest)(nil), // 122: state.v1.GetMappingRequest - (*GetMappingResponse)(nil), // 123: state.v1.GetMappingResponse - (*ListMappingsRequest)(nil), // 124: state.v1.ListMappingsRequest - (*ListMappingsResponse)(nil), // 125: state.v1.ListMappingsResponse - (*UpdateMappingRequest)(nil), // 126: state.v1.UpdateMappingRequest - (*UpdateMappingResponse)(nil), // 127: state.v1.UpdateMappingResponse - (*DeleteMappingRequest)(nil), // 128: state.v1.DeleteMappingRequest - (*DeleteMappingResponse)(nil), // 129: state.v1.DeleteMappingResponse - (*RecordMappingMatchRequest)(nil), // 130: state.v1.RecordMappingMatchRequest - (*RecordMappingMatchResponse)(nil), // 131: state.v1.RecordMappingMatchResponse - (*InsertEventTypeRequest)(nil), // 132: state.v1.InsertEventTypeRequest - (*InsertEventTypeResponse)(nil), // 133: state.v1.InsertEventTypeResponse - (*UpdateEventTypeRequest)(nil), // 134: state.v1.UpdateEventTypeRequest - (*UpdateEventTypeResponse)(nil), // 135: state.v1.UpdateEventTypeResponse - (*DeleteEventTypeRequest)(nil), // 136: state.v1.DeleteEventTypeRequest - (*DeleteEventTypeResponse)(nil), // 137: state.v1.DeleteEventTypeResponse - (*ListEventTypesRequest)(nil), // 138: state.v1.ListEventTypesRequest - (*ListEventTypesResponse)(nil), // 139: state.v1.ListEventTypesResponse - (*InsertBindingRequest)(nil), // 140: state.v1.InsertBindingRequest - (*InsertBindingResponse)(nil), // 141: state.v1.InsertBindingResponse - (*GetBindingRequest)(nil), // 142: state.v1.GetBindingRequest - (*GetBindingResponse)(nil), // 143: state.v1.GetBindingResponse - (*ListBindingsRequest)(nil), // 144: state.v1.ListBindingsRequest - (*ListBindingsResponse)(nil), // 145: state.v1.ListBindingsResponse - (*UpdateBindingRequest)(nil), // 146: state.v1.UpdateBindingRequest - (*UpdateBindingResponse)(nil), // 147: state.v1.UpdateBindingResponse - (*DeleteBindingRequest)(nil), // 148: state.v1.DeleteBindingRequest - (*DeleteBindingResponse)(nil), // 149: state.v1.DeleteBindingResponse - (*ApproveBindingRequest)(nil), // 150: state.v1.ApproveBindingRequest - (*ApproveBindingResponse)(nil), // 151: state.v1.ApproveBindingResponse - (*InsertSourceRequest)(nil), // 152: state.v1.InsertSourceRequest - (*InsertSourceResponse)(nil), // 153: state.v1.InsertSourceResponse - (*GetSourceRequest)(nil), // 154: state.v1.GetSourceRequest - (*GetSourceResponse)(nil), // 155: state.v1.GetSourceResponse - (*ListSourcesRequest)(nil), // 156: state.v1.ListSourcesRequest - (*ListSourcesResponse)(nil), // 157: state.v1.ListSourcesResponse - (*SetSourceSigningRequest)(nil), // 158: state.v1.SetSourceSigningRequest - (*SetSourceSigningResponse)(nil), // 159: state.v1.SetSourceSigningResponse - (*SetSourceSecretRequest)(nil), // 160: state.v1.SetSourceSecretRequest - (*SetSourceSecretResponse)(nil), // 161: state.v1.SetSourceSecretResponse - (*ArmedBindingsForSourceRequest)(nil), // 162: state.v1.ArmedBindingsForSourceRequest - (*ArmedBindingsForSourceResponse)(nil), // 163: state.v1.ArmedBindingsForSourceResponse - (*RecordDispatchRequest)(nil), // 164: state.v1.RecordDispatchRequest - (*RecordDispatchResponse)(nil), // 165: state.v1.RecordDispatchResponse - (*RecordPlaybookDispatchRequest)(nil), // 166: state.v1.RecordPlaybookDispatchRequest - (*RecordPlaybookDispatchResponse)(nil), // 167: state.v1.RecordPlaybookDispatchResponse - (*DeletePlaybookDispatchesRequest)(nil), // 168: state.v1.DeletePlaybookDispatchesRequest - (*DeletePlaybookDispatchesResponse)(nil), // 169: state.v1.DeletePlaybookDispatchesResponse - (*StreamUndispatchedCapturesRequest)(nil), // 170: state.v1.StreamUndispatchedCapturesRequest - (*StreamUndispatchedCapturesResponse)(nil), // 171: state.v1.StreamUndispatchedCapturesResponse - (*EnqueueBindingTaskRequest)(nil), // 172: state.v1.EnqueueBindingTaskRequest - (*EnqueueBindingTaskResponse)(nil), // 173: state.v1.EnqueueBindingTaskResponse - (*EnqueueCallTaskRequest)(nil), // 174: state.v1.EnqueueCallTaskRequest - (*EnqueueCallTaskResponse)(nil), // 175: state.v1.EnqueueCallTaskResponse - (*WorkflowCallStatusRequest)(nil), // 176: state.v1.WorkflowCallStatusRequest - (*WorkflowCallStatusResponse)(nil), // 177: state.v1.WorkflowCallStatusResponse - (*InstalledPackage)(nil), // 178: state.v1.InstalledPackage - (*InstallPackageRequest)(nil), // 179: state.v1.InstallPackageRequest - (*InstallPackageResponse)(nil), // 180: state.v1.InstallPackageResponse - (*GetInstalledPackageRequest)(nil), // 181: state.v1.GetInstalledPackageRequest - (*GetInstalledPackageResponse)(nil), // 182: state.v1.GetInstalledPackageResponse - (*ListInstalledPackagesRequest)(nil), // 183: state.v1.ListInstalledPackagesRequest - (*ListInstalledPackagesResponse)(nil), // 184: state.v1.ListInstalledPackagesResponse - (*RemoveInstalledPackageRequest)(nil), // 185: state.v1.RemoveInstalledPackageRequest - (*RemoveInstalledPackageResponse)(nil), // 186: state.v1.RemoveInstalledPackageResponse - (*GetPrincipalRequest)(nil), // 187: state.v1.GetPrincipalRequest - (*PrincipalMembership)(nil), // 188: state.v1.PrincipalMembership - (*AccessPrincipal)(nil), // 189: state.v1.AccessPrincipal - (*GetPrincipalResponse)(nil), // 190: state.v1.GetPrincipalResponse - (*AccessPolicy)(nil), // 191: state.v1.AccessPolicy - (*ListPoliciesRequest)(nil), // 192: state.v1.ListPoliciesRequest - (*ListPoliciesResponse)(nil), // 193: state.v1.ListPoliciesResponse - (*PutPolicyRequest)(nil), // 194: state.v1.PutPolicyRequest - (*PutPolicyResponse)(nil), // 195: state.v1.PutPolicyResponse - (*DeletePolicyRequest)(nil), // 196: state.v1.DeletePolicyRequest - (*DeletePolicyResponse)(nil), // 197: state.v1.DeletePolicyResponse - (*EnsureShippedOrgPoliciesRequest)(nil), // 198: state.v1.EnsureShippedOrgPoliciesRequest - (*EnsureShippedOrgPoliciesResponse)(nil), // 199: state.v1.EnsureShippedOrgPoliciesResponse - (*AccessDenial)(nil), // 200: state.v1.AccessDenial - (*RecordDenialRequest)(nil), // 201: state.v1.RecordDenialRequest - (*RecordDenialResponse)(nil), // 202: state.v1.RecordDenialResponse - (*ListDenialsRequest)(nil), // 203: state.v1.ListDenialsRequest - (*ListDenialsResponse)(nil), // 204: state.v1.ListDenialsResponse - nil, // 205: state.v1.EventType.SchemaEntry - nil, // 206: state.v1.StatusCountsResponse.CountsEntry - (*timestamppb.Timestamp)(nil), // 207: google.protobuf.Timestamp + (*CancelExecutionRequest)(nil), // 52: state.v1.CancelExecutionRequest + (*CancelExecutionResponse)(nil), // 53: state.v1.CancelExecutionResponse + (*UpdateRequest)(nil), // 54: state.v1.UpdateRequest + (*UpdateResponse)(nil), // 55: state.v1.UpdateResponse + (*RequeueRequest)(nil), // 56: state.v1.RequeueRequest + (*RequeueResponse)(nil), // 57: state.v1.RequeueResponse + (*ParkTaskRequest)(nil), // 58: state.v1.ParkTaskRequest + (*ParkTaskResponse)(nil), // 59: state.v1.ParkTaskResponse + (*RecoverStaleRequest)(nil), // 60: state.v1.RecoverStaleRequest + (*RecoverStaleResponse)(nil), // 61: state.v1.RecoverStaleResponse + (*ArchiveTaskRequest)(nil), // 62: state.v1.ArchiveTaskRequest + (*ArchiveTaskResponse)(nil), // 63: state.v1.ArchiveTaskResponse + (*RetryTaskRequest)(nil), // 64: state.v1.RetryTaskRequest + (*RetryTaskResponse)(nil), // 65: state.v1.RetryTaskResponse + (*BeginRemediationRequest)(nil), // 66: state.v1.BeginRemediationRequest + (*BeginRemediationResponse)(nil), // 67: state.v1.BeginRemediationResponse + (*UpdateReviewPayloadRequest)(nil), // 68: state.v1.UpdateReviewPayloadRequest + (*UpdateReviewPayloadResponse)(nil), // 69: state.v1.UpdateReviewPayloadResponse + (*SetReviewCursorsRequest)(nil), // 70: state.v1.SetReviewCursorsRequest + (*SetReviewCursorsResponse)(nil), // 71: state.v1.SetReviewCursorsResponse + (*TaskByIssueRequest)(nil), // 72: state.v1.TaskByIssueRequest + (*TaskByIssueResponse)(nil), // 73: state.v1.TaskByIssueResponse + (*OpenTaskByPRRequest)(nil), // 74: state.v1.OpenTaskByPRRequest + (*OpenTaskByPRResponse)(nil), // 75: state.v1.OpenTaskByPRResponse + (*TaskByIDRequest)(nil), // 76: state.v1.TaskByIDRequest + (*TaskByIDResponse)(nil), // 77: state.v1.TaskByIDResponse + (*OpenPRsRequest)(nil), // 78: state.v1.OpenPRsRequest + (*OpenPRsResponse)(nil), // 79: state.v1.OpenPRsResponse + (*ClearTerminalTasksRequest)(nil), // 80: state.v1.ClearTerminalTasksRequest + (*ClearTerminalTasksResponse)(nil), // 81: state.v1.ClearTerminalTasksResponse + (*TasksRequest)(nil), // 82: state.v1.TasksRequest + (*TasksResponse)(nil), // 83: state.v1.TasksResponse + (*StatusCountsRequest)(nil), // 84: state.v1.StatusCountsRequest + (*StatusCountsResponse)(nil), // 85: state.v1.StatusCountsResponse + (*InsertEventRequest)(nil), // 86: state.v1.InsertEventRequest + (*InsertEventResponse)(nil), // 87: state.v1.InsertEventResponse + (*EventsSinceRequest)(nil), // 88: state.v1.EventsSinceRequest + (*EventsSinceResponse)(nil), // 89: state.v1.EventsSinceResponse + (*TaskEventsRequest)(nil), // 90: state.v1.TaskEventsRequest + (*TaskEventsResponse)(nil), // 91: state.v1.TaskEventsResponse + (*WorkflowStatsRequest)(nil), // 92: state.v1.WorkflowStatsRequest + (*WorkflowStatsResponse)(nil), // 93: state.v1.WorkflowStatsResponse + (*StageStatsRequest)(nil), // 94: state.v1.StageStatsRequest + (*StageStatsResponse)(nil), // 95: state.v1.StageStatsResponse + (*TokensByDayRequest)(nil), // 96: state.v1.TokensByDayRequest + (*TokensByDayResponse)(nil), // 97: state.v1.TokensByDayResponse + (*ConfigSnapshot)(nil), // 98: state.v1.ConfigSnapshot + (*PutConfigSnapshotRequest)(nil), // 99: state.v1.PutConfigSnapshotRequest + (*PutConfigSnapshotResponse)(nil), // 100: state.v1.PutConfigSnapshotResponse + (*GetConfigSnapshotRequest)(nil), // 101: state.v1.GetConfigSnapshotRequest + (*GetConfigSnapshotResponse)(nil), // 102: state.v1.GetConfigSnapshotResponse + (*ChannelStatus)(nil), // 103: state.v1.ChannelStatus + (*PutChannelStatusRequest)(nil), // 104: state.v1.PutChannelStatusRequest + (*PutChannelStatusResponse)(nil), // 105: state.v1.PutChannelStatusResponse + (*ListChannelStatusRequest)(nil), // 106: state.v1.ListChannelStatusRequest + (*ListChannelStatusResponse)(nil), // 107: state.v1.ListChannelStatusResponse + (*ApplyStatus)(nil), // 108: state.v1.ApplyStatus + (*PutApplyStatusRequest)(nil), // 109: state.v1.PutApplyStatusRequest + (*PutApplyStatusResponse)(nil), // 110: state.v1.PutApplyStatusResponse + (*ListApplyStatusRequest)(nil), // 111: state.v1.ListApplyStatusRequest + (*ListApplyStatusResponse)(nil), // 112: state.v1.ListApplyStatusResponse + (*TaskLogEntry)(nil), // 113: state.v1.TaskLogEntry + (*ReadTaskLogRequest)(nil), // 114: state.v1.ReadTaskLogRequest + (*ReadTaskLogResponse)(nil), // 115: state.v1.ReadTaskLogResponse + (*StreamTaskLogContentRequest)(nil), // 116: state.v1.StreamTaskLogContentRequest + (*StreamTaskLogContentResponse)(nil), // 117: state.v1.StreamTaskLogContentResponse + (*InsertCaptureRequest)(nil), // 118: state.v1.InsertCaptureRequest + (*InsertCaptureResponse)(nil), // 119: state.v1.InsertCaptureResponse + (*StreamCapturesRequest)(nil), // 120: state.v1.StreamCapturesRequest + (*StreamCapturesResponse)(nil), // 121: state.v1.StreamCapturesResponse + (*InsertMappingRequest)(nil), // 122: state.v1.InsertMappingRequest + (*InsertMappingResponse)(nil), // 123: state.v1.InsertMappingResponse + (*GetMappingRequest)(nil), // 124: state.v1.GetMappingRequest + (*GetMappingResponse)(nil), // 125: state.v1.GetMappingResponse + (*ListMappingsRequest)(nil), // 126: state.v1.ListMappingsRequest + (*ListMappingsResponse)(nil), // 127: state.v1.ListMappingsResponse + (*UpdateMappingRequest)(nil), // 128: state.v1.UpdateMappingRequest + (*UpdateMappingResponse)(nil), // 129: state.v1.UpdateMappingResponse + (*DeleteMappingRequest)(nil), // 130: state.v1.DeleteMappingRequest + (*DeleteMappingResponse)(nil), // 131: state.v1.DeleteMappingResponse + (*RecordMappingMatchRequest)(nil), // 132: state.v1.RecordMappingMatchRequest + (*RecordMappingMatchResponse)(nil), // 133: state.v1.RecordMappingMatchResponse + (*InsertEventTypeRequest)(nil), // 134: state.v1.InsertEventTypeRequest + (*InsertEventTypeResponse)(nil), // 135: state.v1.InsertEventTypeResponse + (*UpdateEventTypeRequest)(nil), // 136: state.v1.UpdateEventTypeRequest + (*UpdateEventTypeResponse)(nil), // 137: state.v1.UpdateEventTypeResponse + (*DeleteEventTypeRequest)(nil), // 138: state.v1.DeleteEventTypeRequest + (*DeleteEventTypeResponse)(nil), // 139: state.v1.DeleteEventTypeResponse + (*ListEventTypesRequest)(nil), // 140: state.v1.ListEventTypesRequest + (*ListEventTypesResponse)(nil), // 141: state.v1.ListEventTypesResponse + (*InsertBindingRequest)(nil), // 142: state.v1.InsertBindingRequest + (*InsertBindingResponse)(nil), // 143: state.v1.InsertBindingResponse + (*GetBindingRequest)(nil), // 144: state.v1.GetBindingRequest + (*GetBindingResponse)(nil), // 145: state.v1.GetBindingResponse + (*ListBindingsRequest)(nil), // 146: state.v1.ListBindingsRequest + (*ListBindingsResponse)(nil), // 147: state.v1.ListBindingsResponse + (*UpdateBindingRequest)(nil), // 148: state.v1.UpdateBindingRequest + (*UpdateBindingResponse)(nil), // 149: state.v1.UpdateBindingResponse + (*DeleteBindingRequest)(nil), // 150: state.v1.DeleteBindingRequest + (*DeleteBindingResponse)(nil), // 151: state.v1.DeleteBindingResponse + (*ApproveBindingRequest)(nil), // 152: state.v1.ApproveBindingRequest + (*ApproveBindingResponse)(nil), // 153: state.v1.ApproveBindingResponse + (*InsertSourceRequest)(nil), // 154: state.v1.InsertSourceRequest + (*InsertSourceResponse)(nil), // 155: state.v1.InsertSourceResponse + (*GetSourceRequest)(nil), // 156: state.v1.GetSourceRequest + (*GetSourceResponse)(nil), // 157: state.v1.GetSourceResponse + (*ListSourcesRequest)(nil), // 158: state.v1.ListSourcesRequest + (*ListSourcesResponse)(nil), // 159: state.v1.ListSourcesResponse + (*SetSourceSigningRequest)(nil), // 160: state.v1.SetSourceSigningRequest + (*SetSourceSigningResponse)(nil), // 161: state.v1.SetSourceSigningResponse + (*SetSourceSecretRequest)(nil), // 162: state.v1.SetSourceSecretRequest + (*SetSourceSecretResponse)(nil), // 163: state.v1.SetSourceSecretResponse + (*ArmedBindingsForSourceRequest)(nil), // 164: state.v1.ArmedBindingsForSourceRequest + (*ArmedBindingsForSourceResponse)(nil), // 165: state.v1.ArmedBindingsForSourceResponse + (*RecordDispatchRequest)(nil), // 166: state.v1.RecordDispatchRequest + (*RecordDispatchResponse)(nil), // 167: state.v1.RecordDispatchResponse + (*RecordPlaybookDispatchRequest)(nil), // 168: state.v1.RecordPlaybookDispatchRequest + (*RecordPlaybookDispatchResponse)(nil), // 169: state.v1.RecordPlaybookDispatchResponse + (*DeletePlaybookDispatchesRequest)(nil), // 170: state.v1.DeletePlaybookDispatchesRequest + (*DeletePlaybookDispatchesResponse)(nil), // 171: state.v1.DeletePlaybookDispatchesResponse + (*StreamUndispatchedCapturesRequest)(nil), // 172: state.v1.StreamUndispatchedCapturesRequest + (*StreamUndispatchedCapturesResponse)(nil), // 173: state.v1.StreamUndispatchedCapturesResponse + (*EnqueueBindingTaskRequest)(nil), // 174: state.v1.EnqueueBindingTaskRequest + (*EnqueueBindingTaskResponse)(nil), // 175: state.v1.EnqueueBindingTaskResponse + (*EnqueueCallTaskRequest)(nil), // 176: state.v1.EnqueueCallTaskRequest + (*EnqueueCallTaskResponse)(nil), // 177: state.v1.EnqueueCallTaskResponse + (*WorkflowCallStatusRequest)(nil), // 178: state.v1.WorkflowCallStatusRequest + (*WorkflowCallStatusResponse)(nil), // 179: state.v1.WorkflowCallStatusResponse + (*InstalledPackage)(nil), // 180: state.v1.InstalledPackage + (*InstallPackageRequest)(nil), // 181: state.v1.InstallPackageRequest + (*InstallPackageResponse)(nil), // 182: state.v1.InstallPackageResponse + (*GetInstalledPackageRequest)(nil), // 183: state.v1.GetInstalledPackageRequest + (*GetInstalledPackageResponse)(nil), // 184: state.v1.GetInstalledPackageResponse + (*ListInstalledPackagesRequest)(nil), // 185: state.v1.ListInstalledPackagesRequest + (*ListInstalledPackagesResponse)(nil), // 186: state.v1.ListInstalledPackagesResponse + (*RemoveInstalledPackageRequest)(nil), // 187: state.v1.RemoveInstalledPackageRequest + (*RemoveInstalledPackageResponse)(nil), // 188: state.v1.RemoveInstalledPackageResponse + (*GetPrincipalRequest)(nil), // 189: state.v1.GetPrincipalRequest + (*PrincipalMembership)(nil), // 190: state.v1.PrincipalMembership + (*AccessPrincipal)(nil), // 191: state.v1.AccessPrincipal + (*GetPrincipalResponse)(nil), // 192: state.v1.GetPrincipalResponse + (*AccessPolicy)(nil), // 193: state.v1.AccessPolicy + (*ListPoliciesRequest)(nil), // 194: state.v1.ListPoliciesRequest + (*ListPoliciesResponse)(nil), // 195: state.v1.ListPoliciesResponse + (*PutPolicyRequest)(nil), // 196: state.v1.PutPolicyRequest + (*PutPolicyResponse)(nil), // 197: state.v1.PutPolicyResponse + (*DeletePolicyRequest)(nil), // 198: state.v1.DeletePolicyRequest + (*DeletePolicyResponse)(nil), // 199: state.v1.DeletePolicyResponse + (*EnsureShippedOrgPoliciesRequest)(nil), // 200: state.v1.EnsureShippedOrgPoliciesRequest + (*EnsureShippedOrgPoliciesResponse)(nil), // 201: state.v1.EnsureShippedOrgPoliciesResponse + (*AccessDenial)(nil), // 202: state.v1.AccessDenial + (*RecordDenialRequest)(nil), // 203: state.v1.RecordDenialRequest + (*RecordDenialResponse)(nil), // 204: state.v1.RecordDenialResponse + (*ListDenialsRequest)(nil), // 205: state.v1.ListDenialsRequest + (*ListDenialsResponse)(nil), // 206: state.v1.ListDenialsResponse + nil, // 207: state.v1.EventType.SchemaEntry + nil, // 208: state.v1.StatusCountsResponse.CountsEntry + (*timestamppb.Timestamp)(nil), // 209: google.protobuf.Timestamp } var file_state_v1_state_proto_depIdxs = []int32{ - 207, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 207, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 209, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 209, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp 4, // 2: state.v1.ListIdentitiesResponse.identities:type_name -> state.v1.Identity 4, // 3: state.v1.GetIdentityResponse.identity:type_name -> state.v1.Identity 5, // 4: state.v1.CreateIdentityRequest.audit:type_name -> state.v1.IdentityAudit @@ -12067,24 +12185,24 @@ var file_state_v1_state_proto_depIdxs = []int32{ 4, // 14: state.v1.ResolveIdentitySubjectResponse.identity:type_name -> state.v1.Identity 5, // 15: state.v1.BindIdentitySubjectRequest.audit:type_name -> state.v1.IdentityAudit 4, // 16: state.v1.BindIdentitySubjectResponse.identity:type_name -> state.v1.Identity - 207, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 207, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 207, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 207, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 209, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 209, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 209, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 209, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp 27, // 21: state.v1.EventType.header_conditions:type_name -> state.v1.EventTypeHeaderCondition 28, // 22: state.v1.EventType.payload_conditions:type_name -> state.v1.EventTypePayloadCondition - 205, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry - 207, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp - 207, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp + 207, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry + 209, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp + 209, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp 30, // 26: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 207, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 207, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp - 207, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp + 209, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 209, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 209, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp 32, // 30: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 207, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 207, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp - 207, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp - 207, // 34: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp + 209, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 209, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 209, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp + 209, // 34: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp 24, // 35: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task 24, // 36: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task 24, // 37: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task @@ -12097,26 +12215,26 @@ var file_state_v1_state_proto_depIdxs = []int32{ 24, // 44: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task 24, // 45: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task 24, // 46: state.v1.TasksResponse.tasks:type_name -> state.v1.Task - 206, // 47: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 208, // 47: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry 25, // 48: state.v1.InsertEventRequest.event:type_name -> state.v1.Event 25, // 49: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event 25, // 50: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event 35, // 51: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat 36, // 52: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat 37, // 53: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens - 207, // 54: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp - 96, // 55: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot - 96, // 56: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 207, // 57: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp - 101, // 58: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus - 101, // 59: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 207, // 60: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp - 106, // 61: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus - 106, // 62: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 207, // 63: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 207, // 64: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 207, // 65: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp - 111, // 66: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry + 209, // 54: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 98, // 55: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot + 98, // 56: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot + 209, // 57: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 103, // 58: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus + 103, // 59: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus + 209, // 60: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 108, // 61: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus + 108, // 62: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus + 209, // 63: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 209, // 64: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 209, // 65: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 113, // 66: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry 26, // 67: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent 26, // 68: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent 31, // 69: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping @@ -12137,21 +12255,21 @@ var file_state_v1_state_proto_depIdxs = []int32{ 26, // 84: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent 24, // 85: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task 24, // 86: state.v1.EnqueueCallTaskResponse.task:type_name -> state.v1.Task - 178, // 87: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage - 178, // 88: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage - 178, // 89: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage - 188, // 90: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership - 189, // 91: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal - 191, // 92: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy - 191, // 93: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy - 191, // 94: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy - 207, // 95: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp - 200, // 96: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial - 200, // 97: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial - 179, // 98: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest - 181, // 99: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest - 183, // 100: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest - 185, // 101: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest + 180, // 87: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage + 180, // 88: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage + 180, // 89: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage + 190, // 90: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership + 191, // 91: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal + 193, // 92: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy + 193, // 93: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy + 193, // 94: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy + 209, // 95: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp + 202, // 96: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial + 202, // 97: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial + 181, // 98: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest + 183, // 99: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest + 185, // 100: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest + 187, // 101: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest 0, // 102: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest 2, // 103: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest 6, // 104: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest @@ -12168,168 +12286,170 @@ var file_state_v1_state_proto_depIdxs = []int32{ 42, // 115: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest 44, // 116: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest 46, // 117: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest - 52, // 118: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest + 54, // 118: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest 48, // 119: state.v1.StateStoreService.StartStep:input_type -> state.v1.StartStepRequest 50, // 120: state.v1.StateStoreService.FinishStep:input_type -> state.v1.FinishStepRequest - 54, // 121: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest - 56, // 122: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest - 58, // 123: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest - 60, // 124: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest - 62, // 125: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 64, // 126: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest - 66, // 127: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest - 68, // 128: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest - 70, // 129: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 72, // 130: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 74, // 131: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 76, // 132: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 78, // 133: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 80, // 134: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 82, // 135: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 84, // 136: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 86, // 137: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 88, // 138: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 90, // 139: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 92, // 140: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 94, // 141: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 97, // 142: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 99, // 143: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 102, // 144: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 104, // 145: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 107, // 146: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 109, // 147: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 112, // 148: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 114, // 149: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 116, // 150: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 118, // 151: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 120, // 152: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 122, // 153: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 124, // 154: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 126, // 155: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 128, // 156: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 130, // 157: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest - 132, // 158: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest - 134, // 159: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest - 136, // 160: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest - 138, // 161: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest - 140, // 162: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 142, // 163: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 144, // 164: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 146, // 165: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 148, // 166: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 150, // 167: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 152, // 168: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest - 154, // 169: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest - 156, // 170: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest - 158, // 171: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest - 160, // 172: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest - 162, // 173: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 164, // 174: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 166, // 175: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 168, // 176: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 170, // 177: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 172, // 178: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 174, // 179: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest - 176, // 180: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest - 187, // 181: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest - 192, // 182: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest - 194, // 183: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest - 196, // 184: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest - 198, // 185: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest - 201, // 186: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest - 203, // 187: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest - 180, // 188: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse - 182, // 189: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse - 184, // 190: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse - 186, // 191: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse - 1, // 192: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 193: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 7, // 194: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 9, // 195: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 15, // 196: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 16, // 197: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 17, // 198: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 18, // 199: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 19, // 200: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 21, // 201: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse - 23, // 202: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse - 39, // 203: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 41, // 204: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 43, // 205: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 45, // 206: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 47, // 207: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 53, // 208: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 49, // 209: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse - 51, // 210: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse - 55, // 211: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 57, // 212: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse - 59, // 213: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 61, // 214: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 63, // 215: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 65, // 216: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse - 67, // 217: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse - 69, // 218: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse - 71, // 219: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 73, // 220: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 75, // 221: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 77, // 222: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 79, // 223: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 81, // 224: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 83, // 225: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 85, // 226: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 87, // 227: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 89, // 228: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 91, // 229: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 93, // 230: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 95, // 231: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 98, // 232: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 100, // 233: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 103, // 234: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 105, // 235: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 108, // 236: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 110, // 237: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 113, // 238: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 115, // 239: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 117, // 240: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 119, // 241: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 121, // 242: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 123, // 243: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 125, // 244: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 127, // 245: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 129, // 246: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 131, // 247: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse - 133, // 248: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse - 135, // 249: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse - 137, // 250: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse - 139, // 251: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse - 141, // 252: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 143, // 253: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 145, // 254: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 147, // 255: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 149, // 256: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 151, // 257: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 153, // 258: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse - 155, // 259: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse - 157, // 260: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse - 159, // 261: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse - 161, // 262: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse - 163, // 263: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 165, // 264: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 167, // 265: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 169, // 266: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 171, // 267: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 173, // 268: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 175, // 269: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse - 177, // 270: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse - 190, // 271: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse - 193, // 272: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse - 195, // 273: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse - 197, // 274: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse - 199, // 275: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse - 202, // 276: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse - 204, // 277: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse - 188, // [188:278] is the sub-list for method output_type - 98, // [98:188] is the sub-list for method input_type + 52, // 121: state.v1.StateStoreService.CancelExecution:input_type -> state.v1.CancelExecutionRequest + 56, // 122: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest + 58, // 123: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest + 60, // 124: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest + 62, // 125: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest + 64, // 126: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest + 66, // 127: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest + 68, // 128: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest + 70, // 129: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest + 72, // 130: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 74, // 131: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 76, // 132: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 78, // 133: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 80, // 134: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 82, // 135: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 84, // 136: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 86, // 137: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 88, // 138: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 90, // 139: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 92, // 140: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 94, // 141: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 96, // 142: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 99, // 143: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 101, // 144: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 104, // 145: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 106, // 146: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 109, // 147: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 111, // 148: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 114, // 149: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 116, // 150: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 118, // 151: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 120, // 152: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 122, // 153: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 124, // 154: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 126, // 155: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 128, // 156: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 130, // 157: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 132, // 158: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest + 134, // 159: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest + 136, // 160: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest + 138, // 161: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest + 140, // 162: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest + 142, // 163: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 144, // 164: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 146, // 165: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 148, // 166: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 150, // 167: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 152, // 168: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 154, // 169: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest + 156, // 170: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest + 158, // 171: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest + 160, // 172: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest + 162, // 173: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest + 164, // 174: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 166, // 175: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 168, // 176: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 170, // 177: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 172, // 178: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 174, // 179: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 176, // 180: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest + 178, // 181: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest + 189, // 182: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest + 194, // 183: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest + 196, // 184: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest + 198, // 185: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest + 200, // 186: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest + 203, // 187: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest + 205, // 188: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest + 182, // 189: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse + 184, // 190: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse + 186, // 191: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse + 188, // 192: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse + 1, // 193: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 194: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 7, // 195: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 9, // 196: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 15, // 197: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 16, // 198: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 17, // 199: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 18, // 200: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 19, // 201: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 21, // 202: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 23, // 203: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 39, // 204: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 41, // 205: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 43, // 206: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 45, // 207: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 47, // 208: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 55, // 209: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 49, // 210: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse + 51, // 211: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse + 53, // 212: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse + 57, // 213: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 59, // 214: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse + 61, // 215: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 63, // 216: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 65, // 217: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 67, // 218: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse + 69, // 219: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse + 71, // 220: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse + 73, // 221: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 75, // 222: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 77, // 223: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 79, // 224: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 81, // 225: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 83, // 226: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 85, // 227: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 87, // 228: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 89, // 229: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 91, // 230: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 93, // 231: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 95, // 232: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 97, // 233: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 100, // 234: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 102, // 235: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 105, // 236: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 107, // 237: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 110, // 238: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 112, // 239: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 115, // 240: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 117, // 241: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 119, // 242: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 121, // 243: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 123, // 244: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 125, // 245: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 127, // 246: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 129, // 247: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 131, // 248: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 133, // 249: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse + 135, // 250: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse + 137, // 251: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse + 139, // 252: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse + 141, // 253: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse + 143, // 254: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 145, // 255: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 147, // 256: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 149, // 257: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 151, // 258: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 153, // 259: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 155, // 260: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse + 157, // 261: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse + 159, // 262: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse + 161, // 263: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse + 163, // 264: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse + 165, // 265: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 167, // 266: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 169, // 267: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 171, // 268: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 173, // 269: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 175, // 270: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 177, // 271: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse + 179, // 272: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse + 192, // 273: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse + 195, // 274: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse + 197, // 275: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse + 199, // 276: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse + 201, // 277: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse + 204, // 278: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse + 206, // 279: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse + 189, // [189:280] is the sub-list for method output_type + 98, // [98:189] is the sub-list for method input_type 98, // [98:98] is the sub-list for extension type_name 98, // [98:98] is the sub-list for extension extendee 0, // [0:98] is the sub-list for field type_name @@ -12346,7 +12466,7 @@ func file_state_v1_state_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_state_proto_rawDesc), len(file_state_v1_state_proto_rawDesc)), NumEnums: 0, - NumMessages: 207, + NumMessages: 209, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/contracts/state/v1/state_grpc.pb.go b/internal/contracts/state/v1/state_grpc.pb.go index 58d7ecbed..345599219 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -42,6 +42,7 @@ const ( StateStoreService_Update_FullMethodName = "/state.v1.StateStoreService/Update" StateStoreService_StartStep_FullMethodName = "/state.v1.StateStoreService/StartStep" StateStoreService_FinishStep_FullMethodName = "/state.v1.StateStoreService/FinishStep" + StateStoreService_CancelExecution_FullMethodName = "/state.v1.StateStoreService/CancelExecution" StateStoreService_Requeue_FullMethodName = "/state.v1.StateStoreService/Requeue" StateStoreService_ParkTask_FullMethodName = "/state.v1.StateStoreService/ParkTask" StateStoreService_RecoverStale_FullMethodName = "/state.v1.StateStoreService/RecoverStale" @@ -155,6 +156,10 @@ type StateStoreServiceClient interface { // credential authorises both on its own execution only. StartStep(ctx context.Context, in *StartStepRequest, opts ...grpc.CallOption) (*StartStepResponse, error) FinishStep(ctx context.Context, in *FinishStepRequest, opts ...grpc.CallOption) (*FinishStepResponse, error) + // Cancellation. Deliberately administrative (deny-by-default for a + // task-scoped grant): a cancel is a dashboard, API and dispatch action + // decided by the Authorizer, not a worker call. + CancelExecution(ctx context.Context, in *CancelExecutionRequest, opts ...grpc.CallOption) (*CancelExecutionResponse, error) Requeue(ctx context.Context, in *RequeueRequest, opts ...grpc.CallOption) (*RequeueResponse, error) ParkTask(ctx context.Context, in *ParkTaskRequest, opts ...grpc.CallOption) (*ParkTaskResponse, error) RecoverStale(ctx context.Context, in *RecoverStaleRequest, opts ...grpc.CallOption) (*RecoverStaleResponse, error) @@ -518,6 +523,16 @@ func (c *stateStoreServiceClient) FinishStep(ctx context.Context, in *FinishStep return out, nil } +func (c *stateStoreServiceClient) CancelExecution(ctx context.Context, in *CancelExecutionRequest, opts ...grpc.CallOption) (*CancelExecutionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CancelExecutionResponse) + err := c.cc.Invoke(ctx, StateStoreService_CancelExecution_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) Requeue(ctx context.Context, in *RequeueRequest, opts ...grpc.CallOption) (*RequeueResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RequeueResponse) @@ -1259,6 +1274,10 @@ type StateStoreServiceServer interface { // credential authorises both on its own execution only. StartStep(context.Context, *StartStepRequest) (*StartStepResponse, error) FinishStep(context.Context, *FinishStepRequest) (*FinishStepResponse, error) + // Cancellation. Deliberately administrative (deny-by-default for a + // task-scoped grant): a cancel is a dashboard, API and dispatch action + // decided by the Authorizer, not a worker call. + CancelExecution(context.Context, *CancelExecutionRequest) (*CancelExecutionResponse, error) Requeue(context.Context, *RequeueRequest) (*RequeueResponse, error) ParkTask(context.Context, *ParkTaskRequest) (*ParkTaskResponse, error) RecoverStale(context.Context, *RecoverStaleRequest) (*RecoverStaleResponse, error) @@ -1461,6 +1480,9 @@ func (UnimplementedStateStoreServiceServer) StartStep(context.Context, *StartSte func (UnimplementedStateStoreServiceServer) FinishStep(context.Context, *FinishStepRequest) (*FinishStepResponse, error) { return nil, status.Error(codes.Unimplemented, "method FinishStep not implemented") } +func (UnimplementedStateStoreServiceServer) CancelExecution(context.Context, *CancelExecutionRequest) (*CancelExecutionResponse, error) { + return nil, status.Error(codes.Unimplemented, "method CancelExecution not implemented") +} func (UnimplementedStateStoreServiceServer) Requeue(context.Context, *RequeueRequest) (*RequeueResponse, error) { return nil, status.Error(codes.Unimplemented, "method Requeue not implemented") } @@ -2097,6 +2119,24 @@ func _StateStoreService_FinishStep_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _StateStoreService_CancelExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CancelExecutionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).CancelExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_CancelExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).CancelExecution(ctx, req.(*CancelExecutionRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_Requeue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RequeueRequest) if err := dec(in); err != nil { @@ -3381,6 +3421,10 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "FinishStep", Handler: _StateStoreService_FinishStep_Handler, }, + { + MethodName: "CancelExecution", + Handler: _StateStoreService_CancelExecution_Handler, + }, { MethodName: "Requeue", Handler: _StateStoreService_Requeue_Handler, diff --git a/internal/daemon/running.go b/internal/daemon/running.go index 04a812b40..1a75c01d2 100644 --- a/internal/daemon/running.go +++ b/internal/daemon/running.go @@ -2,7 +2,6 @@ package daemon import ( "context" - "slices" "sort" "sync" ) @@ -63,32 +62,6 @@ func (r *runningTasks) stop(id int64) bool { return true } -// stopAll cancels every running task belonging to identity, or all of them -// when identity is empty. It returns the IDs it cancelled, in order. -func (r *runningTasks) stopAll(identity string) []int64 { - r.mu.Lock() - var ( - ids []int64 - cancels []context.CancelFunc - ) - for id, entry := range r.entries { - if identity != "" && entry.identity != identity { - continue - } - ids = append(ids, id) - cancels = append(cancels, entry.cancel) - } - r.mu.Unlock() - - // Cancel outside the lock: a cancel can synchronously unwind a task - // whose cleanup calls back in here to retire itself. - for _, cancel := range cancels { - cancel() - } - slices.Sort(ids) - return ids -} - // list returns the tasks currently running, for reporting. func (r *runningTasks) list() []RunningTask { r.mu.Lock() @@ -109,12 +82,6 @@ func (d *Daemon) CancelTask(id int64) bool { return d.running.stop(id) } -// CancelRunningTasks stops every task running for identity, or all of them -// when identity is empty, and returns the IDs it stopped. -func (d *Daemon) CancelRunningTasks(identity string) []int64 { - return d.running.stopAll(identity) -} - // RunningTasks lists the tasks currently executing. func (d *Daemon) RunningTasks() []RunningTask { return d.running.list() diff --git a/internal/daemon/running_test.go b/internal/daemon/running_test.go index 85cab6df2..4deb861ff 100644 --- a/internal/daemon/running_test.go +++ b/internal/daemon/running_test.go @@ -68,47 +68,3 @@ func TestFinishedTaskIsNotCancellable(t *testing.T) { t.Errorf("list() = %v, want empty after the task finished", got) } } - -// TestStopAllIsIdentityScoped keeps one identity's /stop from reaching -// another's work. -func TestStopAllIsIdentityScoped(t *testing.T) { - t.Parallel() - - var r runningTasks - base := context.Background() - - first, doneFirst := r.begin(base, 1, "archie") - defer doneFirst() - other, doneOther := r.begin(base, 2, "winter") - defer doneOther() - third, doneThird := r.begin(base, 3, "archie") - defer doneThird() - - stopped := r.stopAll("archie") - if len(stopped) != 2 || stopped[0] != 1 || stopped[1] != 3 { - t.Fatalf("stopAll = %v, want [1 3] in order", stopped) - } - if other.Err() != nil { - t.Error("another identity's task was cancelled") - } - if first.Err() == nil || third.Err() == nil { - t.Error("a task reported as stopped still has a live context") - } -} - -// TestStopAllEmptyIdentityStopsEverything covers the operator-wide brake. -func TestStopAllEmptyIdentityStopsEverything(t *testing.T) { - t.Parallel() - - var r runningTasks - base := context.Background() - - _, doneArchie := r.begin(base, 1, "archie") - defer doneArchie() - _, doneWinter := r.begin(base, 2, "winter") - defer doneWinter() - - if got := r.stopAll(""); len(got) != 2 { - t.Errorf("stopAll(\"\") = %v, want both tasks", got) - } -} diff --git a/internal/domain/storecontract/storecontract.go b/internal/domain/storecontract/storecontract.go index 947fedc60..7f7387168 100644 --- a/internal/domain/storecontract/storecontract.go +++ b/internal/domain/storecontract/storecontract.go @@ -75,6 +75,21 @@ type StepRecorder interface { FinishStep(ctx context.Context, s task.StepFinish) (events.Event, error) } +// ExecutionCanceller is the one cancel path +// (docs/prds/execution-tree-state-machine.md, "Cancellation"): one +// transaction moves every non-terminal StepExecution of the execution's +// current attempt to cancelled and the execution itself to the status the +// operator action names (parked or closed_wont_do, as the transition table +// routes). The daemon then cancels the in-memory context that was delivering +// the run: the store is the record of cancellation, the context cancel is +// only the delivery mechanism, so a lost cancel still leaves the store +// correct and the worker's next step write fails ErrStaleTransition. It is a +// dashboard, API and dispatch action, so a task-scoped grant never reaches +// it; the Authorizer decides. +type ExecutionCanceller interface { + CancelExecution(ctx context.Context, taskID int64, reason, to string) ([]int64, error) +} + // TaskArchiver removes one terminal task's local record with an optimistic // status guard. It is separate from the already broad lifecycle contract so // consumers that only run tasks do not acquire an operator-only capability. diff --git a/internal/domain/taskactions/cancel_path_test.go b/internal/domain/taskactions/cancel_path_test.go new file mode 100644 index 000000000..21e8064d7 --- /dev/null +++ b/internal/domain/taskactions/cancel_path_test.go @@ -0,0 +1,93 @@ +package taskactions + +import ( + "context" + "slices" + "testing" + + "github.com/samcharles93/archie-core/internal/events" + "github.com/samcharles93/archie-core/internal/taskstate" +) + +// Every operator action that ends a run's work routes through the one cancel +// path, CancelExecution (docs/prds/execution-tree-state-machine.md, +// "Cancellation"): the store records the cancellation first, then the daemon +// cancels the in-memory context that was delivering the run. The actions' +// old Transition-then-interrupt combinations are gone, not alongside. + +type cancelRecordingStore struct { + fakeStore + cancels []cancelCall +} + +type cancelCall struct { + taskID int64 + reason, to string +} + +func (f *cancelRecordingStore) CancelExecution(_ context.Context, taskID int64, reason, to string) ([]int64, error) { + f.cancels = append(f.cancels, cancelCall{taskID: taskID, reason: reason, to: to}) + return nil, nil +} + +func TestOperatorActionsRouteThroughCancelExecution(t *testing.T) { + tests := []struct { + name string + status string + action taskstate.Action + wantTo string + }{ + {name: "stop parks the run", status: taskstate.Running, action: taskstate.ActionStop, wantTo: taskstate.Parked}, + {name: "cancel declines a queued run", status: taskstate.Queued, action: taskstate.ActionCancel, wantTo: taskstate.Declined}, + {name: "abandon declines a parked run", status: taskstate.Parked, action: taskstate.ActionAbandon, wantTo: taskstate.Declined}, + {name: "reject declines a running run", status: taskstate.Running, action: taskstate.ActionReject, wantTo: taskstate.Declined}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + store := &cancelRecordingStore{task: &Task{ID: 7, Owner: "acme", Repo: "widgets", Status: tt.status, IssueNumber: 3}} + var deliveries []int64 + service := Service{ + Store: store, + CancelTask: func(id int64) bool { deliveries = append(deliveries, id); return true }, + } + if err := service.Apply(context.Background(), nil, humanActor(), 7, tt.action); err != nil { + t.Fatalf("Apply(%s): %v", tt.action, err) + } + if len(store.cancels) != 1 { + t.Fatalf("CancelExecution calls = %+v, want exactly the one cancel path", store.cancels) + } + if call := store.cancels[0]; call.taskID != 7 || call.to != tt.wantTo { + t.Errorf("CancelExecution = %+v, want task 7 to %q", call, tt.wantTo) + } + // The context cancel is the delivery mechanism, not a second + // store write: it rides the store record, never beside it. + if tt.status == taskstate.Running && !slices.Contains(deliveries, int64(7)) { + t.Errorf("deliveries = %v, want the running execution's context cancelled", deliveries) + } + // The action's own attribution event is the operator's record; + // the store wrote the mechanical rows. + if got := store.last(); got.Kind == "" { + t.Error("the operator event was not recorded") + } + }) + } +} + +// A stop's detail names the delivery, as before: a context cancel that found +// nothing executing says so, and the parked execution is recorded either way. +func TestStopRecordsEvenWhenNothingWasExecuting(t *testing.T) { + store := &cancelRecordingStore{task: &Task{ID: 7, Owner: "acme", Repo: "widgets", Status: taskstate.Running}} + service := Service{ + Store: store, + CancelTask: func(int64) bool { return false }, + } + if err := service.Apply(context.Background(), nil, humanActor(), 7, taskstate.ActionStop); err != nil { + t.Fatalf("Apply(stop): %v", err) + } + if len(store.cancels) != 1 || store.cancels[0].to != taskstate.Parked { + t.Fatalf("CancelExecution = %+v, want task 7 parked", store.cancels) + } + if got := store.last(); got.Kind != events.KindTaskStopped || got.Detail == "" { + t.Fatalf("stop event = %+v, want the stop kind and the no-execution detail", got) + } +} diff --git a/internal/domain/taskactions/service.go b/internal/domain/taskactions/service.go index 75e538f54..197eb5324 100644 --- a/internal/domain/taskactions/service.go +++ b/internal/domain/taskactions/service.go @@ -124,6 +124,13 @@ type Store interface { RetryTask(context.Context, int64, string, string) error ArchiveTask(context.Context, int64, string, events.Event) (int64, error) InsertEvent(context.Context, events.Event) (int64, error) + // CancelExecution is the one cancel path + // (docs/prds/execution-tree-state-machine.md, "Cancellation"): the store + // records the cancellation -- every non-terminal step of the current + // attempt plus the execution's own move to `to` -- in one transaction. + // The service then cancels the in-memory context that was delivering the + // run; a worker's next step write fails ErrStaleTransition and stops. + CancelExecution(context.Context, int64, string, string) ([]int64, error) } // Service runs in the daemon, which owns execution cancellation and events. @@ -189,11 +196,14 @@ func (s Service) apply(ctx context.Context, task *Task, actor Actor, action task case taskstate.ActionStop: return s.applyStop(ctx, task, actor, o) case taskstate.ActionReject: - o.event.Kind, o.event.Detail, o.verb = rejectedKind(actor), actor.describe("rejected"), "rejected" - if task.Status == "running" && s.CancelTask != nil { - s.CancelTask(task.ID) + // A rejection ends the run's work wherever it sits, so it rides the + // one cancel path like every other operator stop. + o.event.Kind, o.event.Detail, o.verb = rejectedKind(actor), actor.describe("rejected"), "declined" + if _, err := s.Store.CancelExecution(ctx, task.ID, actor.describe("rejected"), "closed_wont_do"); err != nil { + return o, err } - return o, s.Store.Transition(ctx, task.ID, task.Status, "closed_wont_do", actor.describe("declined")) + s.deliver(task.ID) + return o, nil case taskstate.ActionCancel, taskstate.ActionAbandon: return s.applyCancelOrAbandon(ctx, task, action, actor, o) case taskstate.ActionArchive: @@ -203,6 +213,17 @@ func (s Service) apply(ctx context.Context, task *Task, actor Actor, action task } } +// deliver cancels the in-memory context of a run the store has already +// recorded as cancelled. It is the delivery mechanism, never a second store +// write, and it follows the record -- the PRD's order, which the step rows +// make safe: a worker that keeps writing after the record fails +// ErrStaleTransition on its next step write. +func (s Service) deliver(taskID int64) { + if s.CancelTask != nil { + s.CancelTask(taskID) + } +} + // attributed builds the event skeleton every action carries: the task, the run // and both identities. Every event this service records passes through here, so // no action can be recorded without its attribution. @@ -244,10 +265,17 @@ func (s Service) applyStop(ctx context.Context, task *Task, actor Actor, o outco return o, ErrUnavailable } o.event.Kind, o.event.Detail = events.KindTaskStopped, actor.describe("stopped")+"; recoverable work remains parked" + // The store records the stop first, then the context delivers it. A + // context cancel that found nothing executing says so; the parked + // execution is recorded either way, and the task's own unwind cannot win + // the race any more -- its next step write is already stale. + if _, err := s.Store.CancelExecution(ctx, task.ID, o.event.Detail, "parked"); err != nil { + return o, err + } if !s.CancelTask(task.ID) { o.event.Detail = "no active execution was found; recoverable work was parked, " + actor.describe("stopped") } - return o, s.Store.Transition(ctx, task.ID, "running", "parked", o.event.Detail) + return o, nil } func (s Service) applyCancelOrAbandon(ctx context.Context, task *Task, action taskstate.Action, actor Actor, o outcome) (outcome, error) { @@ -255,10 +283,17 @@ func (s Service) applyCancelOrAbandon(ctx context.Context, task *Task, action ta // Abandoning ends archie's run, not the issue: no verb, so the issue // stays open for a human. o.event.Kind, o.event.Detail = events.KindTaskAbandoned, actor.describe("abandoned") - return o, s.Store.Transition(ctx, task.ID, "parked", "closed_wont_do", o.event.Detail) + if _, err := s.Store.CancelExecution(ctx, task.ID, o.event.Detail, "closed_wont_do"); err != nil { + return o, err + } + return o, nil } o.event.Kind, o.event.Detail, o.verb = events.KindTaskCancelled, actor.describe("cancelled"), "cancelled" - return o, s.Store.Transition(ctx, task.ID, "queued", "closed_wont_do", o.event.Detail) + if _, err := s.Store.CancelExecution(ctx, task.ID, o.event.Detail, "closed_wont_do"); err != nil { + return o, err + } + s.deliver(task.ID) + return o, nil } func (s Service) applyArchive(ctx context.Context, task *Task, actor Actor, o outcome) (outcome, error) { diff --git a/internal/domain/taskactions/service_test.go b/internal/domain/taskactions/service_test.go index 0b04890c8..fbbd27556 100644 --- a/internal/domain/taskactions/service_test.go +++ b/internal/domain/taskactions/service_test.go @@ -19,6 +19,10 @@ func (f *fakeStore) Transition(context.Context, int64, string, string, string) e return nil } +func (f *fakeStore) CancelExecution(context.Context, int64, string, string) ([]int64, error) { + return nil, nil +} + func (f *fakeStore) Requeue(context.Context, int64, string, string) error { return nil } func (f *fakeStore) RetryTask(context.Context, int64, string, string) error { return nil diff --git a/internal/gateway/gateway.go b/internal/gateway/gateway.go index 18ee77569..8bf633581 100644 --- a/internal/gateway/gateway.go +++ b/internal/gateway/gateway.go @@ -134,16 +134,13 @@ type TaskController interface { // error (surfaced to the user, not the LLM) if the task doesn't // exist, isn't owned by identity, or isn't in waiting_human. Approve(ctx context.Context, taskID int64, identity string) error - // Cancel moves an active task to a rejected/cancelled terminal - // state, interrupting it first if it is running. Returns an error if - // the task doesn't exist, isn't owned by identity, or is already - // terminal. + // Cancel moves an active task to a terminal state through the one + // cancel path (docs/prds/execution-tree-state-machine.md): the store + // records the cancellation first, and the runtime delivers it by + // cancelling the run's in-memory context where this process owns one. + // Returns an error if the task doesn't exist, isn't owned by identity, + // or is already terminal. Cancel(ctx context.Context, taskID int64, identity string) error - // StopRunning interrupts every task currently executing for - // identity and returns the IDs it stopped. It is the agent half of - // /stop, so it must not require knowing a task ID: someone reaching - // for the brake is not in a position to look one up. - StopRunning(ctx context.Context, identity string) ([]int64, error) } // Router dispatches inbound messages. Gateway-local commands (like diff --git a/internal/gateway/tasks.go b/internal/gateway/tasks.go index 0a307a1ed..32ae2d143 100644 --- a/internal/gateway/tasks.go +++ b/internal/gateway/tasks.go @@ -146,14 +146,12 @@ type chatTaskController interface { // TaskRuntime reaches tasks that are currently executing. The daemon // implements it; the store cannot, because a row records what a task is -// meant to be doing, not the goroutine doing it. +// meant to be doing, not the goroutine doing it. It is only the delivery +// mechanism: the store's CancelExecution record precedes it. type TaskRuntime interface { // CancelTask interrupts one running task, reporting whether it was // running. CancelTask(taskID int64) bool - // CancelRunningTasks interrupts every task running for identity, or - // all of them when identity is empty, returning the IDs stopped. - CancelRunningTasks(identity string) []int64 } // StoreTaskController implements TaskController backed by a store @@ -197,38 +195,20 @@ func (c *StoreTaskController) Cancel(ctx context.Context, taskID int64, identity if err := taskstate.CheckDecline(st.Status); err != nil { return err } - switch st.Status { - case taskstate.Running: - // Cancelling a running task used to be refused outright, which - // left the only case worth interrupting as the one case that - // could not be. Interrupt the work first, then record it: the - // order matters, because writing the terminal state while the - // task is still executing invites it to write its own state - // afterwards and win. - if c.runtime == nil { - return fmt.Errorf("task is running and no runtime control is configured") - } - if !c.runtime.CancelTask(taskID) { - // The store says running but nothing is executing -- a - // crashed or migrated daemon. Recording the terminal state - // is still right, and is what unsticks the task. - break - } + // The store records the cancellation first -- the one cancel path -- and + // the context cancel delivers it. The order is the PRD's: a worker that + // keeps writing after the record fails ErrStaleTransition on its next + // step write, so it cannot win the race the old interrupt-first ordering + // guarded against. A task the store says is running but nothing is + // executing for (a crashed or migrated daemon) is unstuck by the record + // alone, which is why the delivery is reported, not required. + if err := c.store.CancelChatTask(ctx, taskID, "declined by "+identity); err != nil { + return err } - return c.store.CancelChatTask(ctx, taskID, "declined by "+identity) -} - -// StopRunning interrupts every task executing for identity. -// -// It deliberately does not write terminal states. A stopped task unwinds -// through its own error paths and lands wherever that leaves it, usually -// parked, which is recoverable. Forcing every one to rejected would -// discard work the operator may well want to resume. -func (c *StoreTaskController) StopRunning(_ context.Context, identity string) ([]int64, error) { - if c.runtime == nil { - return nil, fmt.Errorf("no runtime control is configured") + if st.Status == taskstate.Running && c.runtime != nil { + c.runtime.CancelTask(taskID) } - return c.runtime.CancelRunningTasks(identity), nil + return nil } func (c *StoreTaskController) authorize(ctx context.Context, taskID int64, identity string) (ChatTaskStatus, error) { diff --git a/internal/gateway/tasks_test.go b/internal/gateway/tasks_test.go index 2abc39b3f..68111441f 100644 --- a/internal/gateway/tasks_test.go +++ b/internal/gateway/tasks_test.go @@ -271,8 +271,6 @@ func TestStoreTaskControllerCancelActiveStates(t *testing.T) { type fakeTaskRuntime struct { cancelled []int64 running bool - stopped []int64 - identity string } func (f *fakeTaskRuntime) CancelTask(taskID int64) bool { @@ -280,14 +278,9 @@ func (f *fakeTaskRuntime) CancelTask(taskID int64) bool { return f.running } -func (f *fakeTaskRuntime) CancelRunningTasks(identity string) []int64 { - f.identity = identity - return f.stopped -} - // TestStoreTaskControllerCancelInterruptsRunning covers the case that used -// to be refused. A running task is the only one worth interrupting, so -// cancelling it must reach the work and then record the outcome. +// to be refused. The store records first, then the runtime delivers the +// context cancel; both happen. func TestStoreTaskControllerCancelInterruptsRunning(t *testing.T) { store := &fakeChatTaskStore{statuses: map[int64]ChatTaskStatus{1: {Status: taskstate.Running}}} rt := &fakeTaskRuntime{running: true} @@ -320,44 +313,19 @@ func TestStoreTaskControllerCancelRecordsStaleRunning(t *testing.T) { } } -// TestStoreTaskControllerCancelWithoutRuntimeRefusesRunning keeps the -// refusal honest when nothing can interrupt the work: recording the task -// as cancelled while it carries on would be a lie. -func TestStoreTaskControllerCancelWithoutRuntimeRefusesRunning(t *testing.T) { +// TestStoreTaskControllerCancelWithoutRuntimeStillRecords pins the PRD's +// delivery contract: the store records the cancellation even when nothing in +// this process can deliver it, because a worker's next step write fails +// ErrStaleTransition and stops -- the record is what unsticks the task. +func TestStoreTaskControllerCancelWithoutRuntimeStillRecords(t *testing.T) { store := &fakeChatTaskStore{statuses: map[int64]ChatTaskStatus{1: {Status: taskstate.Running}}} c := NewStoreTaskController(store) - err := c.Cancel(context.Background(), 1, "") - if err == nil || !strings.Contains(err.Error(), "no runtime control") { - t.Errorf("err = %v, want a refusal naming the missing runtime", err) + if err := c.Cancel(context.Background(), 1, ""); err != nil { + t.Fatalf("Cancel: %v", err) } - if len(store.cancelled) != 0 { - t.Error("CancelChatTask must not be called when the task cannot be interrupted") - } -} - -// TestStoreTaskControllerStopRunningIsIdentityScoped checks the agent half -// of /stop reaches the runtime and stays within the caller's identity. -func TestStoreTaskControllerStopRunningIsIdentityScoped(t *testing.T) { - rt := &fakeTaskRuntime{stopped: []int64{4, 7}} - c := NewStoreTaskController(&fakeChatTaskStore{statuses: map[int64]ChatTaskStatus{}}).WithRuntime(rt) - - stopped, err := c.StopRunning(context.Background(), "archie") - if err != nil { - t.Fatalf("StopRunning: %v", err) - } - if len(stopped) != 2 || stopped[0] != 4 || stopped[1] != 7 { - t.Errorf("stopped = %v, want [4 7]", stopped) - } - if rt.identity != "archie" { - t.Errorf("identity = %q, want the caller's identity", rt.identity) - } -} - -func TestStoreTaskControllerStopRunningWithoutRuntime(t *testing.T) { - c := NewStoreTaskController(&fakeChatTaskStore{statuses: map[int64]ChatTaskStatus{}}) - if _, err := c.StopRunning(context.Background(), ""); err == nil { - t.Error("StopRunning reported success with no runtime wired") + if len(store.cancelled) != 1 { + t.Error("the cancellation was not recorded without a runtime: the record is what unsticks a lost-cancel task") } } diff --git a/internal/infrastructure/postgres/cancel_test.go b/internal/infrastructure/postgres/cancel_test.go new file mode 100644 index 000000000..9cc015f4e --- /dev/null +++ b/internal/infrastructure/postgres/cancel_test.go @@ -0,0 +1,194 @@ +package postgres + +import ( + "errors" + "testing" + + "github.com/samcharles93/archie-core/internal/domain/storecontract" + task "github.com/samcharles93/archie-core/internal/domain/workflow/task" + "github.com/samcharles93/archie-core/internal/events" + "github.com/samcharles93/archie-core/internal/taskstate" +) + +// CancelExecution is the one cancel path (docs/prds/execution-tree-state-machine.md, +// "Cancellation"): one transaction cancels every non-terminal StepExecution of +// the execution's current attempt and moves the execution to the status the +// operator action names, with one event row per step transition and the +// execution's own audit row in the same write. + +func TestCancelExecutionCancelsTheAttemptsStepsAndTheExecution(t *testing.T) { + s := storeFor(t) + execution := runningExecution(t, s) + + stageID, _, err := s.StartStep(t.Context(), task.StepStart{ + ExecutionID: execution.ID, Attempt: execution.Attempt, Kind: task.StepKindStage, Name: "review", + }) + if err != nil { + t.Fatalf("StartStep stage: %v", err) + } + childID, _, err := s.StartStep(t.Context(), task.StepStart{ + ExecutionID: execution.ID, Attempt: execution.Attempt, + ParentID: stageID, Kind: task.StepKindAgent, Name: "review:1", + }) + if err != nil { + t.Fatalf("StartStep child: %v", err) + } + if _, err := s.FinishStep(t.Context(), task.StepFinish{ + StepID: stageID, ExecutionID: execution.ID, + From: taskstate.StepRunning, To: taskstate.StepSucceeded, Detail: "done", + }); err != nil { + t.Fatalf("FinishStep: %v", err) + } + + steps, err := s.CancelExecution(t.Context(), execution.ID, "stopped by operator", taskstate.Parked) + if err != nil { + t.Fatalf("CancelExecution: %v", err) + } + if len(steps) != 1 || steps[0] != childID { + t.Fatalf("cancelled steps = %v, want only the non-terminal %d", steps, childID) + } + + // Every non-terminal step of the current attempt is cancelled; the one + // that already finished is never rewritten. + var statuses map[int64]string + if err := s.pool.QueryRow(t.Context(), + `SELECT jsonb_object_agg(id, status) FROM step_executions WHERE execution_id = $1`, + execution.ID).Scan(&statuses); err != nil { + t.Fatalf("read steps: %v", err) + } + if statuses[stageID] != string(taskstate.StepSucceeded) || statuses[childID] != string(taskstate.StepCancelled) { + t.Fatalf("statuses = %v, want the finished step kept and the child cancelled", statuses) + } + + got, err := s.TaskByID(t.Context(), execution.ID) + if err != nil || got == nil { + t.Fatalf("TaskByID: %+v %v", got, err) + } + if got.Status != taskstate.Parked || got.ParkReason != "stopped by operator" { + t.Fatalf("execution after cancel = %s (%q), want parked with the reason", got.Status, got.ParkReason) + } +} + +func TestCancelExecutionWritesOneEventPerCancelledStep(t *testing.T) { + s := storeFor(t) + execution := runningExecution(t, s) + + stageID, _, err := s.StartStep(t.Context(), task.StepStart{ + ExecutionID: execution.ID, Attempt: execution.Attempt, Kind: task.StepKindStage, Name: "implement", + }) + if err != nil { + t.Fatalf("StartStep: %v", err) + } + if _, _, err := s.StartStep(t.Context(), task.StepStart{ + ExecutionID: execution.ID, Attempt: execution.Attempt, + ParentID: stageID, Kind: task.StepKindAgent, Name: "implement", + }); err != nil { + t.Fatalf("StartStep child: %v", err) + } + + if _, err := s.CancelExecution(t.Context(), execution.ID, "stopped by operator", taskstate.Parked); err != nil { + t.Fatalf("CancelExecution: %v", err) + } + evs, err := s.TaskEvents(t.Context(), execution.ID) + if err != nil { + t.Fatalf("TaskEvents: %v", err) + } + var cancelled []events.Event + for _, e := range evs { + if e.Data["cancelled"] == true { + cancelled = append(cancelled, e) + } + } + if len(cancelled) != 2 { + t.Fatalf("cancel events = %d, want one per step the transaction cancelled", len(cancelled)) + } + for _, e := range cancelled { + if e.Kind != events.KindStageFinish || e.Attempt != execution.Attempt { + t.Errorf("cancel event = %+v, want a stage_finish row attributed to the attempt", e) + } + } +} + +func TestCancelExecutionLeavesEarlierAttemptsAlone(t *testing.T) { + s := storeFor(t) + execution := runningExecution(t, s) + + firstAttempt := execution.Attempt + stepID, _, err := s.StartStep(t.Context(), task.StepStart{ + ExecutionID: execution.ID, Attempt: firstAttempt, Kind: task.StepKindStage, Name: "implement", + }) + if err != nil { + t.Fatalf("StartStep: %v", err) + } + if _, err := s.FinishStep(t.Context(), task.StepFinish{ + StepID: stepID, ExecutionID: execution.ID, + From: taskstate.StepRunning, To: taskstate.StepSucceeded, + }); err != nil { + t.Fatalf("FinishStep: %v", err) + } + // A retry requeues and reclaims: attempt 2. + if err := s.Requeue(t.Context(), execution.ID, taskstate.Running, "implement"); err != nil { + t.Fatalf("Requeue: %v", err) + } + retried, err := s.ClaimNext(t.Context()) + if err != nil || retried == nil { + t.Fatalf("ClaimNext: %+v %v", retried, err) + } + + if _, err := s.CancelExecution(t.Context(), execution.ID, "stopped by operator", taskstate.Parked); err != nil { + t.Fatalf("CancelExecution: %v", err) + } + var firstAttemptStatuses []string + if err := s.pool.QueryRow(t.Context(), + `SELECT jsonb_agg(status) FROM step_executions WHERE execution_id = $1 AND attempt = $2`, + execution.ID, firstAttempt).Scan(&firstAttemptStatuses); err != nil { + t.Fatalf("read first attempt's steps: %v", err) + } + for _, status := range firstAttemptStatuses { + if status != string(taskstate.StepSucceeded) { + t.Errorf("an earlier attempt's step was rewritten to %q; history is never rewritten", status) + } + } +} + +func TestCancelExecutionRefusesWhatTheTableForbids(t *testing.T) { + tests := []struct { + name string + target string + want error + }{ + {name: "a terminal execution", target: taskstate.Queued, want: storecontract.ErrIllegalTransition}, + {name: "an unroutable destination", target: "quantum", want: storecontract.ErrIllegalTransition}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + s := storeFor(t) + execution := runningExecution(t, s) + if tt.name == "a terminal execution" { + // completed is terminal: the table routes nothing out of it. + if err := s.Transition(t.Context(), execution.ID, taskstate.Running, taskstate.Completed, "done"); err != nil { + t.Fatalf("seed completed: %v", err) + } + } + if _, err := s.CancelExecution(t.Context(), execution.ID, "why", tt.target); !errors.Is(err, tt.want) { + t.Fatalf("CancelExecution(to=%q) = %v, want %v", tt.target, err, tt.want) + } + }) + } + // A queued execution cancels fine: the table routes queued -> closed_wont_do. + s := storeFor(t) + execution := runningExecution(t, s) + if err := s.Transition(t.Context(), execution.ID, taskstate.Running, taskstate.Queued, "requeue"); err != nil { + t.Fatalf("seed queued: %v", err) + } + if _, err := s.CancelExecution(t.Context(), execution.ID, "cancelled by operator", taskstate.Declined); err != nil { + t.Fatalf("CancelExecution(queued -> closed_wont_do) = %v, want nil", err) + } +} + +func TestCancelExecutionOnAMissingExecutionIsStale(t *testing.T) { + s := storeFor(t) + if _, err := s.CancelExecution(t.Context(), 999999, "why", taskstate.Parked); !errors.Is(err, storecontract.ErrStaleTransition) { + t.Fatalf("CancelExecution on a missing execution = %v, want ErrStaleTransition", err) + } +} diff --git a/internal/infrastructure/postgres/postgresdb/steps.sql.go b/internal/infrastructure/postgres/postgresdb/steps.sql.go index 1f9088cd4..47ffa89cb 100644 --- a/internal/infrastructure/postgres/postgresdb/steps.sql.go +++ b/internal/infrastructure/postgres/postgresdb/steps.sql.go @@ -11,6 +11,47 @@ import ( "github.com/jackc/pgx/v5/pgtype" ) +const cancelAttemptSteps = `-- name: CancelAttemptSteps :many +UPDATE step_executions +SET status = 'cancelled', finished_at = now() +WHERE execution_id = $1 AND attempt = $2 AND status IN ('pending', 'running') +RETURNING id, name +` + +type CancelAttemptStepsParams struct { + ExecutionID int64 + Attempt int64 +} + +type CancelAttemptStepsRow struct { + ID int64 + Name string +} + +// The half of CancelExecution that cancels the current attempt's +// non-terminal steps, returning them so the store writes one event row per +// transition in the same transaction. Earlier attempts' rows never match: +// history is never rewritten. +func (q *Queries) CancelAttemptSteps(ctx context.Context, arg CancelAttemptStepsParams) ([]CancelAttemptStepsRow, error) { + rows, err := q.db.Query(ctx, cancelAttemptSteps, arg.ExecutionID, arg.Attempt) + if err != nil { + return nil, err + } + defer rows.Close() + var items []CancelAttemptStepsRow + for rows.Next() { + var i CancelAttemptStepsRow + if err := rows.Scan(&i.ID, &i.Name); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + const finishStepExecution = `-- name: FinishStepExecution :execrows UPDATE step_executions SET status = $1, detail = $2, tokens_used = $3, finished_at = now() diff --git a/internal/infrastructure/postgres/queries/steps.sql b/internal/infrastructure/postgres/queries/steps.sql index 7ba83a959..d440266f7 100644 --- a/internal/infrastructure/postgres/queries/steps.sql +++ b/internal/infrastructure/postgres/queries/steps.sql @@ -33,4 +33,13 @@ FROM step_executions WHERE id = $1 FOR UPDATE; -- name: FinishStepExecution :execrows UPDATE step_executions SET status = $1, detail = $2, tokens_used = $3, finished_at = now() -WHERE id = $4 AND status = $5; \ No newline at end of file +WHERE id = $4 AND status = $5; +-- name: CancelAttemptSteps :many +-- The half of CancelExecution that cancels the current attempt's +-- non-terminal steps, returning them so the store writes one event row per +-- transition in the same transaction. Earlier attempts' rows never match: +-- history is never rewritten. +UPDATE step_executions +SET status = 'cancelled', finished_at = now() +WHERE execution_id = $1 AND attempt = $2 AND status IN ('pending', 'running') +RETURNING id, name; diff --git a/internal/infrastructure/postgres/steps.go b/internal/infrastructure/postgres/steps.go index 3a01cac30..b80bf7fae 100644 --- a/internal/infrastructure/postgres/steps.go +++ b/internal/infrastructure/postgres/steps.go @@ -230,3 +230,70 @@ func stepEventData(to taskstate.StepStatus, durationMS int64, detail string) map func stepParentID(parentID int64) pgtype.Int8 { return pgtype.Int8{Int64: parentID, Valid: parentID != 0} } + +// CancelExecution is the one cancel path (docs/prds/execution-tree-state-machine.md, +// "Cancellation"): one transaction moves every non-terminal StepExecution of +// the execution's current attempt to cancelled -- one event row each -- and +// the execution itself to the status the operator action names, under the +// shared execution transition table. Staleness is decided before legality, as +// guardTransition decides it, and the audit row lands in the same write. The +// caller cancels the in-memory context after this commits; the worker's next +// step write then fails ErrStaleTransition and stops. +func (s *Store) CancelExecution(ctx context.Context, taskID int64, reason, to string) ([]int64, error) { + tx, err := s.pool.Begin(ctx) + if err != nil { + return nil, err + } + defer func() { _ = tx.Rollback(ctx) }() + q := postgresdb.New(tx) + + execution, err := q.LockExecutionForStep(ctx, taskID) + if errors.Is(err, pgx.ErrNoRows) { + return nil, storecontract.ErrStaleTransition + } + if err != nil { + return nil, err + } + if !taskstate.CanTransition(execution.Status, to) { + return nil, fmt.Errorf("%w: %s -> %s is not a transition", + storecontract.ErrIllegalTransition, execution.Status, to) + } + + steps, err := q.CancelAttemptSteps(ctx, postgresdb.CancelAttemptStepsParams{ + ExecutionID: taskID, Attempt: execution.Attempt, + }) + if err != nil { + return nil, err + } + for _, step := range steps { + if _, err := insertEventQ(ctx, q, stepEvent(events.KindStageFinish, execution.ID, + execution.Owner, execution.Repo, execution.IssueNumber, execution.Workflow, + int(execution.Attempt), step.Name, map[string]any{"cancelled": true})); err != nil { + return nil, err + } + } + + n, err := q.TransitionTask(ctx, postgresdb.TransitionTaskParams{ + ID: taskID, Status: to, ParkReason: clip(reason, 4000), + ParkClass: taskstate.ParkNeedsHuman, Status_2: execution.Status, + }) + if err != nil { + return nil, err + } + if n == 0 { + return nil, storecontract.ErrStaleTransition + } + if err := q.InsertTransition(ctx, postgresdb.InsertTransitionParams{ + TaskID: taskID, FromStatus: execution.Status, ToStatus: to, Detail: clip(reason, 4000), + }); err != nil { + return nil, err + } + if err := tx.Commit(ctx); err != nil { + return nil, err + } + ids := make([]int64, 0, len(steps)) + for _, step := range steps { + ids = append(ids, step.ID) + } + return ids, nil +} diff --git a/internal/infrastructure/postgres/store.go b/internal/infrastructure/postgres/store.go index b72e9e94b..985ca1dfa 100644 --- a/internal/infrastructure/postgres/store.go +++ b/internal/infrastructure/postgres/store.go @@ -125,6 +125,7 @@ func taskFromRow(t postgresdb.Task) *workflow.Task { var ( _ storecontract.TaskStore = (*Store)(nil) _ storecontract.StepRecorder = (*Store)(nil) + _ storecontract.ExecutionCanceller = (*Store)(nil) _ storecontract.BindingTaskCreator = (*Store)(nil) _ storecontract.ConfigSnapshotStore = (*Store)(nil) _ storecontract.ChannelStatusStore = (*Store)(nil) diff --git a/internal/infrastructure/staterpc/client.go b/internal/infrastructure/staterpc/client.go index 38c6b0ac6..63935bc60 100644 --- a/internal/infrastructure/staterpc/client.go +++ b/internal/infrastructure/staterpc/client.go @@ -58,6 +58,7 @@ var ( _ storecontract.ConfigSnapshotStore = (*Client)(nil) _ storecontract.ChannelStatusStore = (*Client)(nil) _ storecontract.ApplyStatusStore = (*Client)(nil) + _ storecontract.ExecutionCanceller = (*Client)(nil) _ identity.Repository = (*Client)(nil) _ storepkg.Manager = (*Client)(nil) ) @@ -127,6 +128,18 @@ func (c *Client) StartStep(ctx context.Context, s task.StepStart) (int64, events return r.StepId, event, nil } +// CancelExecution is the one cancel path (docs/prds/execution-tree-state-machine.md): +// the State Store records the cancellation -- every non-terminal step of the +// current attempt plus the execution's own move -- and returns the steps it +// cancelled; the caller cancels the run's in-memory context afterwards. +func (c *Client) CancelExecution(ctx context.Context, taskID int64, reason, to string) ([]int64, error) { + r, err := c.client.CancelExecution(ctx, &pb.CancelExecutionRequest{TaskId: taskID, Reason: reason, To: to}) + if err != nil { + return nil, unmapError(err) + } + return r.CancelledStepIds, nil +} + func (c *Client) FinishStep(ctx context.Context, s task.StepFinish) (events.Event, error) { r, err := c.client.FinishStep(ctx, &pb.FinishStepRequest{ ExecutionId: s.ExecutionID, StepId: s.StepID, diff --git a/internal/infrastructure/staterpc/conformance_test.go b/internal/infrastructure/staterpc/conformance_test.go index 5e0566e04..a3d82ac42 100644 --- a/internal/infrastructure/staterpc/conformance_test.go +++ b/internal/infrastructure/staterpc/conformance_test.go @@ -28,6 +28,7 @@ import ( type contract interface { storecontract.TaskStore storecontract.StepRecorder + storecontract.ExecutionCanceller storecontract.BindingTaskCreator storecontract.ConfigSnapshotStore storecontract.ApplyStatusStore @@ -84,6 +85,7 @@ func remoteTaskStore(t *testing.T, local *pgstore.TaskDB, logs storecontract.Tas server := grpc.NewServer() deps := Deps{ Tasks: local, BindingTaskCreator: local, WorkflowCalls: local, Steps: local, + Canceller: local, ConfigSnapshots: local, ApplyStatus: local, TaskLogs: logs, } @@ -400,6 +402,16 @@ func TestStateStoreConformance(t *testing.T) { t.Fatalf("ClaimByIssue missing: %+v %v", byClaim, err) } + // The one cancel path, at the battery's end where the task's + // status is whatever the lifecycle section left: both adapters + // cancel the attempt's non-terminal steps and move the execution + // in one write, and the archive below then reads the parked row. + cancelled, err := c.CancelExecution(ctx, task.ID, "declined by operator", "closed_wont_do") + if err != nil { + t.Fatalf("CancelExecution: %v", err) + } + _ = cancelled + // Archive. RecoverStale above may have requeued task if it was // still running, so re-fetch its current status rather than // trusting the in-memory snapshot. @@ -407,6 +419,9 @@ func TestStateStoreConformance(t *testing.T) { if err != nil || current == nil { t.Fatalf("TaskByID before archive: %+v %v", current, err) } + if current.Status != "closed_wont_do" { + t.Fatalf("execution after cancel = %q, want closed_wont_do", current.Status) + } if _, err := c.ArchiveTask(ctx, task.ID, current.Status, events.Event{Kind: "archived"}); err != nil { t.Fatalf("ArchiveTask: %v", err) } diff --git a/internal/infrastructure/staterpc/server.go b/internal/infrastructure/staterpc/server.go index 3175f0184..2b18b0736 100644 --- a/internal/infrastructure/staterpc/server.go +++ b/internal/infrastructure/staterpc/server.go @@ -102,6 +102,10 @@ type Deps struct { // workflow engine's run credential calls. Optional: nil answers both RPCs // with codes.Unavailable. Steps storecontract.StepRecorder + // Canceller is the one cancel path (docs/prds/execution-tree-state-machine.md): + // an operator action's guarded write over the execution and its steps. + // Optional: nil answers the RPC with codes.Unavailable. + Canceller storecontract.ExecutionCanceller // PlaybookDispatcher is the side-effecting-action idempotency ledger // (docs/prds/eda-playbook-engine.md gap 2). Optional: nil disables the // two playbook dispatch RPCs with codes.Unavailable. @@ -214,6 +218,20 @@ func (s *server) StartStep(ctx context.Context, r *pb.StartStepRequest) (*pb.Sta return &pb.StartStepResponse{StepId: stepID, Event: eventProto(event)}, nil } +// CancelExecution is the one cancel path (docs/prds/execution-tree-state-machine.md): +// the store records the cancellation and returns the steps it cancelled; the +// caller delivers it by cancelling the run's in-memory context afterwards. +func (s *server) CancelExecution(ctx context.Context, r *pb.CancelExecutionRequest) (*pb.CancelExecutionResponse, error) { + if s.deps.Canceller == nil { + return nil, status.Error(codes.Unavailable, "execution canceller unavailable") + } + ids, err := s.deps.Canceller.CancelExecution(ctx, r.TaskId, r.Reason, r.To) + if err != nil { + return nil, s.logErr("CancelExecution", err) + } + return &pb.CancelExecutionResponse{CancelledStepIds: ids}, nil +} + func (s *server) FinishStep(ctx context.Context, r *pb.FinishStepRequest) (*pb.FinishStepResponse, error) { if s.deps.Steps == nil { return nil, status.Error(codes.Unavailable, "step recorder unavailable") diff --git a/internal/infrastructure/staterpc/task_grants_test.go b/internal/infrastructure/staterpc/task_grants_test.go index 0139fde8c..c6ed4f7b3 100644 --- a/internal/infrastructure/staterpc/task_grants_test.go +++ b/internal/infrastructure/staterpc/task_grants_test.go @@ -44,7 +44,8 @@ func grantsServer(t *testing.T, adminToken string) (grants *TaskGrants, dial fun Captures: eda, Mappings: eda, Bindings: eda, BindingDispatcher: eda, PlaybookDispatcher: eda, EventTypes: eda, BindingTaskCreator: local, WorkflowCalls: local, Steps: local, - Grants: grants, + Canceller: local, + Grants: grants, }) go func() { _ = server.Serve(listener) }() t.Cleanup(func() { server.Stop(); _ = listener.Close() }) @@ -457,3 +458,29 @@ func TestRunCredentialRecordsItsOwnSteps(t *testing.T) { t.Fatalf("FinishStep naming another execution = %v, want PermissionDenied from the grant check", err) } } + +// A task-scoped grant never reaches CancelExecution: a cancel is a dashboard, +// API and dispatch action decided by the Authorizer +// (docs/prds/execution-tree-state-machine.md), and the deny-by-default rule +// covers it without a widening. +func TestTaskGrantCannotCancelAnExecution(t *testing.T) { + const adminToken = "daemon-admin-token" + grants, dial := grantsServer(t, adminToken) + _ = grants + admin := dial(t, adminToken) + ctx := t.Context() + + task, err := admin.EnqueueChatTask(ctx, "acme", "widget", "a", "body", "implement", "") + if err != nil { + t.Fatal(err) + } + workerToken, err := admin.RegisterTaskGrant(ctx, task.ID, time.Hour) + if err != nil { + t.Fatalf("RegisterTaskGrant: %v", err) + } + worker := dial(t, workerToken) + + if _, err := worker.CancelExecution(ctx, task.ID, "why", "parked"); status.Code(err) != codes.PermissionDenied { + t.Fatalf("CancelExecution with a task grant = %v, want PermissionDenied", err) + } +} diff --git a/internal/infrastructure/taskactions/rpc_test.go b/internal/infrastructure/taskactions/rpc_test.go index a30288856..d57c27fa6 100644 --- a/internal/infrastructure/taskactions/rpc_test.go +++ b/internal/infrastructure/taskactions/rpc_test.go @@ -42,8 +42,11 @@ type stubStore struct { func (s stubStore) TaskByID(context.Context, int64) (*domain.Task, error) { return s.task, nil } func (s stubStore) Transition(context.Context, int64, string, string, string) error { return s.err } -func (s stubStore) Requeue(context.Context, int64, string, string) error { return s.err } -func (s stubStore) RetryTask(context.Context, int64, string, string) error { return s.err } +func (s stubStore) CancelExecution(context.Context, int64, string, string) ([]int64, error) { + return nil, s.err +} +func (s stubStore) Requeue(context.Context, int64, string, string) error { return s.err } +func (s stubStore) RetryTask(context.Context, int64, string, string) error { return s.err } func (s stubStore) ArchiveTask(context.Context, int64, string, events.Event) (int64, error) { return 0, s.err diff --git a/internal/infrastructure/taskactions/store.go b/internal/infrastructure/taskactions/store.go index 9ebae24e7..08178b2ac 100644 --- a/internal/infrastructure/taskactions/store.go +++ b/internal/infrastructure/taskactions/store.go @@ -3,6 +3,7 @@ package taskactions import ( "context" + "fmt" "github.com/samcharles93/archie-core/internal/config" "github.com/samcharles93/archie-core/internal/domain/storecontract" @@ -19,6 +20,19 @@ func (s Store) TaskByID(ctx context.Context, id int64) (*taskactions.Task, error return &taskactions.Task{ID: t.ID, Owner: t.Owner, Repo: t.Repo, Identity: t.Identity, Status: t.Status, Stage: t.Stage, ParkReason: t.ParkReason, IssueNumber: t.IssueNumber, RetryCount: t.RetryCount, Attempt: t.Attempt, ForgeBacked: t.IsForgeBacked()}, nil } +// CancelExecution delegates to the store's one cancel path +// (docs/prds/execution-tree-state-machine.md). Both adapters -- the +// PostgreSQL store and the remote gRPC client -- implement it; the type +// assertion failing would be a composition bug, so it is named rather than +// panicked over. +func (s Store) CancelExecution(ctx context.Context, taskID int64, reason, to string) ([]int64, error) { + canceller, ok := s.TaskStore.(storecontract.ExecutionCanceller) + if !ok { + return nil, fmt.Errorf("task store cannot cancel executions") + } + return canceller.CancelExecution(ctx, taskID, reason, to) +} + func MaxRetries(cfg *config.Holder) func(*taskactions.Task) int { return func(t *taskactions.Task) int { if cfg == nil { diff --git a/proto/state/v1/state.proto b/proto/state/v1/state.proto index c9c1307f9..ace40c102 100644 --- a/proto/state/v1/state.proto +++ b/proto/state/v1/state.proto @@ -44,6 +44,10 @@ service StateStoreService { // credential authorises both on its own execution only. rpc StartStep(StartStepRequest) returns (StartStepResponse); rpc FinishStep(FinishStepRequest) returns (FinishStepResponse); + // Cancellation. Deliberately administrative (deny-by-default for a + // task-scoped grant): a cancel is a dashboard, API and dispatch action + // decided by the Authorizer, not a worker call. + rpc CancelExecution(CancelExecutionRequest) returns (CancelExecutionResponse); rpc Requeue(RequeueRequest) returns (RequeueResponse); rpc ParkTask(ParkTaskRequest) returns (ParkTaskResponse); rpc RecoverStale(RecoverStaleRequest) returns (RecoverStaleResponse); @@ -558,6 +562,20 @@ message FinishStepResponse { Event event = 1; } +message CancelExecutionRequest { + int64 task_id = 1; + // reason records why the run was stopped, in the execution's park reason + // when the cancel lands there, and on every step event it writes. + string reason = 2; + // to is the execution's destination: the transition table routes it, and + // the operator actions name parked or closed_wont_do. + string to = 3; +} +message CancelExecutionResponse { + // cancelled_step_ids are the StepExecutions the transaction cancelled. + repeated int64 cancelled_step_ids = 1; +} + message UpdateRequest { Task task = 1; } message UpdateResponse {}