From 4b4459f0cfb776339dfc1d136640d01b5e0295bc Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 2 Oct 2026 02:04:35 +1000 Subject: [PATCH] feat(staterpc): carry the review gate and re-review rounds, with one guarded response write The operator-approval gate needs its conversation with the operator persisted before it waits and its answer threaded back (docs/prds/pr-review-operator-response.md, Decision 2). review_gate is a text column beside review_payload, encoded by the package that owns the type; rereview_rounds is a bigint counted only by the new guarded write. RespondReviewGate is the one write beside RetryTask/BeginRemediation: a transition-table guard, one from-status check, an optional round increment, and a requeue in one transaction. The re-review cap is enforced in the row under the guard's lock, and a refusal leaves the task waiting and the row untouched, surfaced as ErrRereviewCapReached (added to the wire error table and the conformance battery). The column joins the column-listing ListTaskSummaries projection and UpdateTask, so the dashboard reads the offer and the store round-trips the count. --- internal/contracts/state/v1/state.pb.go | 1763 +++++++++-------- internal/contracts/state/v1/state_grpc.pb.go | 50 + .../domain/storecontract/storecontract.go | 21 + internal/domain/workflow/task/task.go | 18 + .../postgres/migrations/0025_review_gate.sql | 19 + .../postgres/postgresdb/call_tasks.sql.go | 6 +- .../postgres/postgresdb/models.go | 2 + .../postgres/postgresdb/tasks.sql.go | 91 +- .../infrastructure/postgres/queries/tasks.sql | 28 +- .../postgres/review_gate_test.go | 138 ++ internal/infrastructure/postgres/store.go | 52 + internal/infrastructure/staterpc/client.go | 7 + .../staterpc/conformance_test.go | 51 + .../infrastructure/staterpc/error_test.go | 1 + internal/infrastructure/staterpc/server.go | 7 + internal/infrastructure/staterpc/values.go | 11 +- proto/state/v1/state.proto | 35 + 17 files changed, 1486 insertions(+), 814 deletions(-) create mode 100644 internal/infrastructure/postgres/migrations/0025_review_gate.sql create mode 100644 internal/infrastructure/postgres/review_gate_test.go diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 34a0121a2..7d7cb14ee 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -1341,9 +1341,21 @@ type Task struct { // Update sends the whole row, so a column the message cannot carry is a // column that write drops (docs/prds/workflow-call-outputs.md, "Storage and // wire"). - OutputsJson string `protobuf:"bytes,38,opt,name=outputs_json,json=outputsJson,proto3" json:"outputs_json,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + OutputsJson string `protobuf:"bytes,38,opt,name=outputs_json,json=outputsJson,proto3" json:"outputs_json,omitempty"` + // review_gate is the operator-approval gate's whole conversation with the + // operator (docs/prds/pr-review-operator-response.md): the offer the gate + // wrote before waiting, and the answer the response path filled in. It is + // opaque here -- internal/domain/workflow/prreview owns the encoding -- but + // it must cross so the dashboard can render the offer and the resumed run + // can read the answer. + ReviewGate string `protobuf:"bytes,39,opt,name=review_gate,json=reviewGate,proto3" json:"review_gate,omitempty"` + // rereview_rounds counts granted operator re-reviews, capped by + // prreview.MaxRereviewRounds in the guarded response write. It is separate + // from retry_count and remediation_rounds for the same reason those are + // separate from each other. + RereviewRounds int64 `protobuf:"varint,40,opt,name=rereview_rounds,json=rereviewRounds,proto3" json:"rereview_rounds,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Task) Reset() { @@ -1643,6 +1655,20 @@ func (x *Task) GetOutputsJson() string { return "" } +func (x *Task) GetReviewGate() string { + if x != nil { + return x.ReviewGate + } + return "" +} + +func (x *Task) GetRereviewRounds() int64 { + if x != nil { + return x.RereviewRounds + } + return 0 +} + // Event mirrors internal/events.Event. Data is carried as a JSON object // string (matching the store's own on-disk representation) rather than // google.protobuf.Struct, to stay a direct mirror of the existing column. @@ -4880,6 +4906,125 @@ func (*RetryTaskResponse) Descriptor() ([]byte, []int) { return file_state_v1_state_proto_rawDescGZIP(), []int{73} } +type RespondReviewGateRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"` + // gate is the whole review_gate document the caller computed: the offer + // with the answer filled in. The store persists it unread. + Gate string `protobuf:"bytes,3,opt,name=gate,proto3" json:"gate,omitempty"` + // rereview increments rereview_rounds in the same write; an approve must + // pass false and bumps nothing. + Rereview bool `protobuf:"varint,4,opt,name=rereview,proto3" json:"rereview,omitempty"` + // cap is the domain's re-review bound (prreview.MaxRereviewRounds). It + // crosses so the guard is enforced where the row is locked rather than by + // the caller's stale read. + Cap int64 `protobuf:"varint,5,opt,name=cap,proto3" json:"cap,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RespondReviewGateRequest) Reset() { + *x = RespondReviewGateRequest{} + mi := &file_state_v1_state_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RespondReviewGateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RespondReviewGateRequest) ProtoMessage() {} + +func (x *RespondReviewGateRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[74] + 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 RespondReviewGateRequest.ProtoReflect.Descriptor instead. +func (*RespondReviewGateRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{74} +} + +func (x *RespondReviewGateRequest) GetTaskId() int64 { + if x != nil { + return x.TaskId + } + return 0 +} + +func (x *RespondReviewGateRequest) GetFromStatus() string { + if x != nil { + return x.FromStatus + } + return "" +} + +func (x *RespondReviewGateRequest) GetGate() string { + if x != nil { + return x.Gate + } + return "" +} + +func (x *RespondReviewGateRequest) GetRereview() bool { + if x != nil { + return x.Rereview + } + return false +} + +func (x *RespondReviewGateRequest) GetCap() int64 { + if x != nil { + return x.Cap + } + return 0 +} + +type RespondReviewGateResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RespondReviewGateResponse) Reset() { + *x = RespondReviewGateResponse{} + mi := &file_state_v1_state_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RespondReviewGateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RespondReviewGateResponse) ProtoMessage() {} + +func (x *RespondReviewGateResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[75] + 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 RespondReviewGateResponse.ProtoReflect.Descriptor instead. +func (*RespondReviewGateResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{75} +} + type BeginRemediationRequest struct { state protoimpl.MessageState `protogen:"open.v1"` TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` @@ -4890,7 +5035,7 @@ type BeginRemediationRequest struct { func (x *BeginRemediationRequest) Reset() { *x = BeginRemediationRequest{} - 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) } @@ -4902,7 +5047,7 @@ func (x *BeginRemediationRequest) String() string { func (*BeginRemediationRequest) ProtoMessage() {} func (x *BeginRemediationRequest) 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 { @@ -4915,7 +5060,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{74} + return file_state_v1_state_proto_rawDescGZIP(), []int{76} } func (x *BeginRemediationRequest) GetTaskId() int64 { @@ -4940,7 +5085,7 @@ type BeginRemediationResponse struct { func (x *BeginRemediationResponse) Reset() { *x = BeginRemediationResponse{} - 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) } @@ -4952,7 +5097,7 @@ func (x *BeginRemediationResponse) String() string { func (*BeginRemediationResponse) ProtoMessage() {} func (x *BeginRemediationResponse) 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 { @@ -4965,7 +5110,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{75} + return file_state_v1_state_proto_rawDescGZIP(), []int{77} } type UpdateReviewPayloadRequest struct { @@ -4978,7 +5123,7 @@ type UpdateReviewPayloadRequest struct { func (x *UpdateReviewPayloadRequest) Reset() { *x = UpdateReviewPayloadRequest{} - 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) } @@ -4990,7 +5135,7 @@ func (x *UpdateReviewPayloadRequest) String() string { func (*UpdateReviewPayloadRequest) ProtoMessage() {} func (x *UpdateReviewPayloadRequest) 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 { @@ -5003,7 +5148,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{76} + return file_state_v1_state_proto_rawDescGZIP(), []int{78} } func (x *UpdateReviewPayloadRequest) GetTaskId() int64 { @@ -5028,7 +5173,7 @@ type UpdateReviewPayloadResponse struct { func (x *UpdateReviewPayloadResponse) Reset() { *x = UpdateReviewPayloadResponse{} - 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) } @@ -5040,7 +5185,7 @@ func (x *UpdateReviewPayloadResponse) String() string { func (*UpdateReviewPayloadResponse) ProtoMessage() {} func (x *UpdateReviewPayloadResponse) 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 { @@ -5053,7 +5198,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{77} + return file_state_v1_state_proto_rawDescGZIP(), []int{79} } type SetReviewCursorsRequest struct { @@ -5067,7 +5212,7 @@ type SetReviewCursorsRequest struct { func (x *SetReviewCursorsRequest) Reset() { *x = SetReviewCursorsRequest{} - 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) } @@ -5079,7 +5224,7 @@ func (x *SetReviewCursorsRequest) String() string { func (*SetReviewCursorsRequest) ProtoMessage() {} func (x *SetReviewCursorsRequest) 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 { @@ -5092,7 +5237,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{78} + return file_state_v1_state_proto_rawDescGZIP(), []int{80} } func (x *SetReviewCursorsRequest) GetTaskId() int64 { @@ -5124,7 +5269,7 @@ type SetReviewCursorsResponse struct { func (x *SetReviewCursorsResponse) Reset() { *x = SetReviewCursorsResponse{} - 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) } @@ -5136,7 +5281,7 @@ func (x *SetReviewCursorsResponse) String() string { func (*SetReviewCursorsResponse) ProtoMessage() {} func (x *SetReviewCursorsResponse) 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 { @@ -5149,7 +5294,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{79} + return file_state_v1_state_proto_rawDescGZIP(), []int{81} } type TaskByIssueRequest struct { @@ -5163,7 +5308,7 @@ type TaskByIssueRequest struct { func (x *TaskByIssueRequest) Reset() { *x = TaskByIssueRequest{} - 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) } @@ -5175,7 +5320,7 @@ func (x *TaskByIssueRequest) String() string { func (*TaskByIssueRequest) ProtoMessage() {} func (x *TaskByIssueRequest) 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 { @@ -5188,7 +5333,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{80} + return file_state_v1_state_proto_rawDescGZIP(), []int{82} } func (x *TaskByIssueRequest) GetOwner() string { @@ -5222,7 +5367,7 @@ type TaskByIssueResponse struct { func (x *TaskByIssueResponse) Reset() { *x = TaskByIssueResponse{} - 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) } @@ -5234,7 +5379,7 @@ func (x *TaskByIssueResponse) String() string { func (*TaskByIssueResponse) ProtoMessage() {} func (x *TaskByIssueResponse) 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 { @@ -5247,7 +5392,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{81} + return file_state_v1_state_proto_rawDescGZIP(), []int{83} } func (x *TaskByIssueResponse) GetTask() *Task { @@ -5275,7 +5420,7 @@ type OpenTaskByPRRequest struct { func (x *OpenTaskByPRRequest) Reset() { *x = OpenTaskByPRRequest{} - 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) } @@ -5287,7 +5432,7 @@ func (x *OpenTaskByPRRequest) String() string { func (*OpenTaskByPRRequest) ProtoMessage() {} func (x *OpenTaskByPRRequest) 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 { @@ -5300,7 +5445,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{82} + return file_state_v1_state_proto_rawDescGZIP(), []int{84} } func (x *OpenTaskByPRRequest) GetOwner() string { @@ -5334,7 +5479,7 @@ type OpenTaskByPRResponse struct { func (x *OpenTaskByPRResponse) Reset() { *x = OpenTaskByPRResponse{} - 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) } @@ -5346,7 +5491,7 @@ func (x *OpenTaskByPRResponse) String() string { func (*OpenTaskByPRResponse) ProtoMessage() {} func (x *OpenTaskByPRResponse) 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 { @@ -5359,7 +5504,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{83} + return file_state_v1_state_proto_rawDescGZIP(), []int{85} } func (x *OpenTaskByPRResponse) GetTask() *Task { @@ -5385,7 +5530,7 @@ type TaskByIDRequest struct { func (x *TaskByIDRequest) Reset() { *x = TaskByIDRequest{} - 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) } @@ -5397,7 +5542,7 @@ func (x *TaskByIDRequest) String() string { func (*TaskByIDRequest) ProtoMessage() {} func (x *TaskByIDRequest) 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 { @@ -5410,7 +5555,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{84} + return file_state_v1_state_proto_rawDescGZIP(), []int{86} } func (x *TaskByIDRequest) GetTaskId() int64 { @@ -5430,7 +5575,7 @@ type TaskByIDResponse struct { func (x *TaskByIDResponse) Reset() { *x = TaskByIDResponse{} - 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) } @@ -5442,7 +5587,7 @@ func (x *TaskByIDResponse) String() string { func (*TaskByIDResponse) ProtoMessage() {} func (x *TaskByIDResponse) 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 { @@ -5455,7 +5600,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{85} + return file_state_v1_state_proto_rawDescGZIP(), []int{87} } func (x *TaskByIDResponse) GetTask() *Task { @@ -5480,7 +5625,7 @@ type OpenPRsRequest struct { func (x *OpenPRsRequest) Reset() { *x = OpenPRsRequest{} - 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) } @@ -5492,7 +5637,7 @@ func (x *OpenPRsRequest) String() string { func (*OpenPRsRequest) ProtoMessage() {} func (x *OpenPRsRequest) 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 { @@ -5505,7 +5650,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{86} + return file_state_v1_state_proto_rawDescGZIP(), []int{88} } type OpenPRsResponse struct { @@ -5517,7 +5662,7 @@ type OpenPRsResponse struct { func (x *OpenPRsResponse) Reset() { *x = OpenPRsResponse{} - 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) } @@ -5529,7 +5674,7 @@ func (x *OpenPRsResponse) String() string { func (*OpenPRsResponse) ProtoMessage() {} func (x *OpenPRsResponse) 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 { @@ -5542,7 +5687,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{87} + return file_state_v1_state_proto_rawDescGZIP(), []int{89} } func (x *OpenPRsResponse) GetTasks() []*Task { @@ -5560,7 +5705,7 @@ type ClearTerminalTasksRequest struct { func (x *ClearTerminalTasksRequest) Reset() { *x = ClearTerminalTasksRequest{} - 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) } @@ -5572,7 +5717,7 @@ func (x *ClearTerminalTasksRequest) String() string { func (*ClearTerminalTasksRequest) ProtoMessage() {} func (x *ClearTerminalTasksRequest) 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 { @@ -5585,7 +5730,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{88} + return file_state_v1_state_proto_rawDescGZIP(), []int{90} } type ClearTerminalTasksResponse struct { @@ -5597,7 +5742,7 @@ type ClearTerminalTasksResponse struct { func (x *ClearTerminalTasksResponse) Reset() { *x = ClearTerminalTasksResponse{} - 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) } @@ -5609,7 +5754,7 @@ func (x *ClearTerminalTasksResponse) String() string { func (*ClearTerminalTasksResponse) ProtoMessage() {} func (x *ClearTerminalTasksResponse) 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 { @@ -5622,7 +5767,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{89} + return file_state_v1_state_proto_rawDescGZIP(), []int{91} } func (x *ClearTerminalTasksResponse) GetCount() int64 { @@ -5641,7 +5786,7 @@ type TasksRequest struct { func (x *TasksRequest) Reset() { *x = TasksRequest{} - 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) } @@ -5653,7 +5798,7 @@ func (x *TasksRequest) String() string { func (*TasksRequest) ProtoMessage() {} func (x *TasksRequest) 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 { @@ -5666,7 +5811,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{90} + return file_state_v1_state_proto_rawDescGZIP(), []int{92} } func (x *TasksRequest) GetLimit() int64 { @@ -5685,7 +5830,7 @@ type TasksResponse struct { func (x *TasksResponse) Reset() { *x = TasksResponse{} - 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) } @@ -5697,7 +5842,7 @@ func (x *TasksResponse) String() string { func (*TasksResponse) ProtoMessage() {} func (x *TasksResponse) 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 { @@ -5710,7 +5855,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{91} + return file_state_v1_state_proto_rawDescGZIP(), []int{93} } func (x *TasksResponse) GetTasks() []*Task { @@ -5728,7 +5873,7 @@ type StatusCountsRequest struct { func (x *StatusCountsRequest) Reset() { *x = StatusCountsRequest{} - 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) } @@ -5740,7 +5885,7 @@ func (x *StatusCountsRequest) String() string { func (*StatusCountsRequest) ProtoMessage() {} func (x *StatusCountsRequest) 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 { @@ -5753,7 +5898,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{92} + return file_state_v1_state_proto_rawDescGZIP(), []int{94} } type StatusCountsResponse struct { @@ -5765,7 +5910,7 @@ type StatusCountsResponse struct { func (x *StatusCountsResponse) Reset() { *x = StatusCountsResponse{} - 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) } @@ -5777,7 +5922,7 @@ func (x *StatusCountsResponse) String() string { func (*StatusCountsResponse) ProtoMessage() {} func (x *StatusCountsResponse) 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 { @@ -5790,7 +5935,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{93} + return file_state_v1_state_proto_rawDescGZIP(), []int{95} } func (x *StatusCountsResponse) GetCounts() map[string]int64 { @@ -5809,7 +5954,7 @@ type InsertEventRequest struct { func (x *InsertEventRequest) Reset() { *x = InsertEventRequest{} - 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) } @@ -5821,7 +5966,7 @@ func (x *InsertEventRequest) String() string { func (*InsertEventRequest) ProtoMessage() {} func (x *InsertEventRequest) 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 { @@ -5834,7 +5979,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{94} + return file_state_v1_state_proto_rawDescGZIP(), []int{96} } func (x *InsertEventRequest) GetEvent() *Event { @@ -5853,7 +5998,7 @@ type InsertEventResponse struct { func (x *InsertEventResponse) Reset() { *x = InsertEventResponse{} - 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) } @@ -5865,7 +6010,7 @@ func (x *InsertEventResponse) String() string { func (*InsertEventResponse) ProtoMessage() {} func (x *InsertEventResponse) 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 { @@ -5878,7 +6023,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{95} + return file_state_v1_state_proto_rawDescGZIP(), []int{97} } func (x *InsertEventResponse) GetId() int64 { @@ -5903,7 +6048,7 @@ type EventsSinceRequest struct { func (x *EventsSinceRequest) Reset() { *x = EventsSinceRequest{} - 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) } @@ -5915,7 +6060,7 @@ func (x *EventsSinceRequest) String() string { func (*EventsSinceRequest) ProtoMessage() {} func (x *EventsSinceRequest) 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 { @@ -5928,7 +6073,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{96} + return file_state_v1_state_proto_rawDescGZIP(), []int{98} } func (x *EventsSinceRequest) GetSinceId() string { @@ -5954,7 +6099,7 @@ type EventsSinceResponse struct { func (x *EventsSinceResponse) Reset() { *x = EventsSinceResponse{} - 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) } @@ -5966,7 +6111,7 @@ func (x *EventsSinceResponse) String() string { func (*EventsSinceResponse) ProtoMessage() {} func (x *EventsSinceResponse) 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 { @@ -5979,7 +6124,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{97} + return file_state_v1_state_proto_rawDescGZIP(), []int{99} } func (x *EventsSinceResponse) GetEvents() []*Event { @@ -5998,7 +6143,7 @@ type TaskEventsRequest struct { func (x *TaskEventsRequest) Reset() { *x = TaskEventsRequest{} - 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) } @@ -6010,7 +6155,7 @@ func (x *TaskEventsRequest) String() string { func (*TaskEventsRequest) ProtoMessage() {} func (x *TaskEventsRequest) 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 { @@ -6023,7 +6168,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{98} + return file_state_v1_state_proto_rawDescGZIP(), []int{100} } func (x *TaskEventsRequest) GetTaskId() int64 { @@ -6042,7 +6187,7 @@ type TaskEventsResponse struct { func (x *TaskEventsResponse) Reset() { *x = TaskEventsResponse{} - 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) } @@ -6054,7 +6199,7 @@ func (x *TaskEventsResponse) String() string { func (*TaskEventsResponse) ProtoMessage() {} func (x *TaskEventsResponse) 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 { @@ -6067,7 +6212,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{99} + return file_state_v1_state_proto_rawDescGZIP(), []int{101} } func (x *TaskEventsResponse) GetEvents() []*Event { @@ -6085,7 +6230,7 @@ type WorkflowStatsRequest struct { func (x *WorkflowStatsRequest) Reset() { *x = WorkflowStatsRequest{} - 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) } @@ -6097,7 +6242,7 @@ func (x *WorkflowStatsRequest) String() string { func (*WorkflowStatsRequest) ProtoMessage() {} func (x *WorkflowStatsRequest) 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 { @@ -6110,7 +6255,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{100} + return file_state_v1_state_proto_rawDescGZIP(), []int{102} } type WorkflowStatsResponse struct { @@ -6122,7 +6267,7 @@ type WorkflowStatsResponse struct { func (x *WorkflowStatsResponse) Reset() { *x = WorkflowStatsResponse{} - 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) } @@ -6134,7 +6279,7 @@ func (x *WorkflowStatsResponse) String() string { func (*WorkflowStatsResponse) ProtoMessage() {} func (x *WorkflowStatsResponse) 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 { @@ -6147,7 +6292,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{101} + return file_state_v1_state_proto_rawDescGZIP(), []int{103} } func (x *WorkflowStatsResponse) GetStats() []*WorkflowStat { @@ -6165,7 +6310,7 @@ type StageStatsRequest struct { func (x *StageStatsRequest) Reset() { *x = StageStatsRequest{} - 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) } @@ -6177,7 +6322,7 @@ func (x *StageStatsRequest) String() string { func (*StageStatsRequest) ProtoMessage() {} func (x *StageStatsRequest) 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 { @@ -6190,7 +6335,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{102} + return file_state_v1_state_proto_rawDescGZIP(), []int{104} } type StageStatsResponse struct { @@ -6202,7 +6347,7 @@ type StageStatsResponse struct { func (x *StageStatsResponse) Reset() { *x = StageStatsResponse{} - 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) } @@ -6214,7 +6359,7 @@ func (x *StageStatsResponse) String() string { func (*StageStatsResponse) ProtoMessage() {} func (x *StageStatsResponse) 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 { @@ -6227,7 +6372,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{103} + return file_state_v1_state_proto_rawDescGZIP(), []int{105} } func (x *StageStatsResponse) GetStats() []*StageStat { @@ -6246,7 +6391,7 @@ type TokensByDayRequest struct { func (x *TokensByDayRequest) Reset() { *x = TokensByDayRequest{} - 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) } @@ -6258,7 +6403,7 @@ func (x *TokensByDayRequest) String() string { func (*TokensByDayRequest) ProtoMessage() {} func (x *TokensByDayRequest) 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 { @@ -6271,7 +6416,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{104} + return file_state_v1_state_proto_rawDescGZIP(), []int{106} } func (x *TokensByDayRequest) GetDays() int64 { @@ -6290,7 +6435,7 @@ type TokensByDayResponse struct { func (x *TokensByDayResponse) Reset() { *x = TokensByDayResponse{} - 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) } @@ -6302,7 +6447,7 @@ func (x *TokensByDayResponse) String() string { func (*TokensByDayResponse) ProtoMessage() {} func (x *TokensByDayResponse) 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 { @@ -6315,7 +6460,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{105} + return file_state_v1_state_proto_rawDescGZIP(), []int{107} } func (x *TokensByDayResponse) GetTokens() []*DayTokens { @@ -6342,7 +6487,7 @@ type ConfigSnapshot struct { func (x *ConfigSnapshot) Reset() { *x = ConfigSnapshot{} - 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) } @@ -6354,7 +6499,7 @@ func (x *ConfigSnapshot) String() string { func (*ConfigSnapshot) ProtoMessage() {} func (x *ConfigSnapshot) 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 { @@ -6367,7 +6512,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{106} + return file_state_v1_state_proto_rawDescGZIP(), []int{108} } func (x *ConfigSnapshot) GetSchema() string { @@ -6400,7 +6545,7 @@ type PutConfigSnapshotRequest struct { func (x *PutConfigSnapshotRequest) Reset() { *x = PutConfigSnapshotRequest{} - 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) } @@ -6412,7 +6557,7 @@ func (x *PutConfigSnapshotRequest) String() string { func (*PutConfigSnapshotRequest) ProtoMessage() {} func (x *PutConfigSnapshotRequest) 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 { @@ -6425,7 +6570,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{107} + return file_state_v1_state_proto_rawDescGZIP(), []int{109} } func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot { @@ -6443,7 +6588,7 @@ type PutConfigSnapshotResponse struct { func (x *PutConfigSnapshotResponse) Reset() { *x = PutConfigSnapshotResponse{} - 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) } @@ -6455,7 +6600,7 @@ func (x *PutConfigSnapshotResponse) String() string { func (*PutConfigSnapshotResponse) ProtoMessage() {} func (x *PutConfigSnapshotResponse) 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 { @@ -6468,7 +6613,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{108} + return file_state_v1_state_proto_rawDescGZIP(), []int{110} } type GetConfigSnapshotRequest struct { @@ -6479,7 +6624,7 @@ type GetConfigSnapshotRequest struct { func (x *GetConfigSnapshotRequest) Reset() { *x = GetConfigSnapshotRequest{} - 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) } @@ -6491,7 +6636,7 @@ func (x *GetConfigSnapshotRequest) String() string { func (*GetConfigSnapshotRequest) ProtoMessage() {} func (x *GetConfigSnapshotRequest) 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 { @@ -6504,7 +6649,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{109} + return file_state_v1_state_proto_rawDescGZIP(), []int{111} } type GetConfigSnapshotResponse struct { @@ -6517,7 +6662,7 @@ type GetConfigSnapshotResponse struct { func (x *GetConfigSnapshotResponse) Reset() { *x = GetConfigSnapshotResponse{} - 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) } @@ -6529,7 +6674,7 @@ func (x *GetConfigSnapshotResponse) String() string { func (*GetConfigSnapshotResponse) ProtoMessage() {} func (x *GetConfigSnapshotResponse) 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 { @@ -6542,7 +6687,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{110} + return file_state_v1_state_proto_rawDescGZIP(), []int{112} } func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot { @@ -6579,7 +6724,7 @@ type ChannelStatus struct { func (x *ChannelStatus) Reset() { *x = ChannelStatus{} - 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) } @@ -6591,7 +6736,7 @@ func (x *ChannelStatus) String() string { func (*ChannelStatus) ProtoMessage() {} func (x *ChannelStatus) 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 { @@ -6604,7 +6749,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{111} + return file_state_v1_state_proto_rawDescGZIP(), []int{113} } func (x *ChannelStatus) GetId() string { @@ -6665,7 +6810,7 @@ type PutChannelStatusRequest struct { func (x *PutChannelStatusRequest) Reset() { *x = PutChannelStatusRequest{} - 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) } @@ -6677,7 +6822,7 @@ func (x *PutChannelStatusRequest) String() string { func (*PutChannelStatusRequest) ProtoMessage() {} func (x *PutChannelStatusRequest) 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 { @@ -6690,7 +6835,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{112} + return file_state_v1_state_proto_rawDescGZIP(), []int{114} } func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus { @@ -6708,7 +6853,7 @@ type PutChannelStatusResponse struct { func (x *PutChannelStatusResponse) Reset() { *x = PutChannelStatusResponse{} - 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) } @@ -6720,7 +6865,7 @@ func (x *PutChannelStatusResponse) String() string { func (*PutChannelStatusResponse) ProtoMessage() {} func (x *PutChannelStatusResponse) 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 { @@ -6733,7 +6878,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{113} + return file_state_v1_state_proto_rawDescGZIP(), []int{115} } type ListChannelStatusRequest struct { @@ -6744,7 +6889,7 @@ type ListChannelStatusRequest struct { func (x *ListChannelStatusRequest) Reset() { *x = ListChannelStatusRequest{} - 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) } @@ -6756,7 +6901,7 @@ func (x *ListChannelStatusRequest) String() string { func (*ListChannelStatusRequest) ProtoMessage() {} func (x *ListChannelStatusRequest) 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 { @@ -6769,7 +6914,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{114} + return file_state_v1_state_proto_rawDescGZIP(), []int{116} } type ListChannelStatusResponse struct { @@ -6781,7 +6926,7 @@ type ListChannelStatusResponse struct { func (x *ListChannelStatusResponse) Reset() { *x = ListChannelStatusResponse{} - 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) } @@ -6793,7 +6938,7 @@ func (x *ListChannelStatusResponse) String() string { func (*ListChannelStatusResponse) ProtoMessage() {} func (x *ListChannelStatusResponse) 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 { @@ -6806,7 +6951,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{115} + return file_state_v1_state_proto_rawDescGZIP(), []int{117} } func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus { @@ -6835,7 +6980,7 @@ type ApplyStatus struct { func (x *ApplyStatus) Reset() { *x = ApplyStatus{} - 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) } @@ -6847,7 +6992,7 @@ func (x *ApplyStatus) String() string { func (*ApplyStatus) ProtoMessage() {} func (x *ApplyStatus) 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 { @@ -6860,7 +7005,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{116} + return file_state_v1_state_proto_rawDescGZIP(), []int{118} } func (x *ApplyStatus) GetProcess() string { @@ -6907,7 +7052,7 @@ type PutApplyStatusRequest struct { func (x *PutApplyStatusRequest) Reset() { *x = PutApplyStatusRequest{} - 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) } @@ -6919,7 +7064,7 @@ func (x *PutApplyStatusRequest) String() string { func (*PutApplyStatusRequest) ProtoMessage() {} func (x *PutApplyStatusRequest) 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 { @@ -6932,7 +7077,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{117} + return file_state_v1_state_proto_rawDescGZIP(), []int{119} } func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus { @@ -6950,7 +7095,7 @@ type PutApplyStatusResponse struct { func (x *PutApplyStatusResponse) Reset() { *x = PutApplyStatusResponse{} - 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) } @@ -6962,7 +7107,7 @@ func (x *PutApplyStatusResponse) String() string { func (*PutApplyStatusResponse) ProtoMessage() {} func (x *PutApplyStatusResponse) 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 { @@ -6975,7 +7120,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{118} + return file_state_v1_state_proto_rawDescGZIP(), []int{120} } type ListApplyStatusRequest struct { @@ -6986,7 +7131,7 @@ type ListApplyStatusRequest struct { func (x *ListApplyStatusRequest) Reset() { *x = ListApplyStatusRequest{} - 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) } @@ -6998,7 +7143,7 @@ func (x *ListApplyStatusRequest) String() string { func (*ListApplyStatusRequest) ProtoMessage() {} func (x *ListApplyStatusRequest) 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 { @@ -7011,7 +7156,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{119} + return file_state_v1_state_proto_rawDescGZIP(), []int{121} } type ListApplyStatusResponse struct { @@ -7023,7 +7168,7 @@ type ListApplyStatusResponse struct { func (x *ListApplyStatusResponse) Reset() { *x = ListApplyStatusResponse{} - 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) } @@ -7035,7 +7180,7 @@ func (x *ListApplyStatusResponse) String() string { func (*ListApplyStatusResponse) ProtoMessage() {} func (x *ListApplyStatusResponse) 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 { @@ -7048,7 +7193,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{120} + return file_state_v1_state_proto_rawDescGZIP(), []int{122} } func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus { @@ -7075,7 +7220,7 @@ type TaskLogEntry struct { func (x *TaskLogEntry) Reset() { *x = TaskLogEntry{} - 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) } @@ -7087,7 +7232,7 @@ func (x *TaskLogEntry) String() string { func (*TaskLogEntry) ProtoMessage() {} func (x *TaskLogEntry) 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 { @@ -7100,7 +7245,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{121} + return file_state_v1_state_proto_rawDescGZIP(), []int{123} } func (x *TaskLogEntry) GetId() int64 { @@ -7165,7 +7310,7 @@ type ReadTaskLogRequest struct { func (x *ReadTaskLogRequest) Reset() { *x = ReadTaskLogRequest{} - 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) } @@ -7177,7 +7322,7 @@ func (x *ReadTaskLogRequest) String() string { func (*ReadTaskLogRequest) ProtoMessage() {} func (x *ReadTaskLogRequest) 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 { @@ -7190,7 +7335,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{122} + return file_state_v1_state_proto_rawDescGZIP(), []int{124} } func (x *ReadTaskLogRequest) GetTaskId() int64 { @@ -7276,7 +7421,7 @@ type ReadTaskLogResponse struct { func (x *ReadTaskLogResponse) Reset() { *x = ReadTaskLogResponse{} - 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) } @@ -7288,7 +7433,7 @@ func (x *ReadTaskLogResponse) String() string { func (*ReadTaskLogResponse) ProtoMessage() {} func (x *ReadTaskLogResponse) 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 { @@ -7301,7 +7446,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{123} + return file_state_v1_state_proto_rawDescGZIP(), []int{125} } func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry { @@ -7360,7 +7505,7 @@ type StreamTaskLogContentRequest struct { func (x *StreamTaskLogContentRequest) Reset() { *x = StreamTaskLogContentRequest{} - 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) } @@ -7372,7 +7517,7 @@ func (x *StreamTaskLogContentRequest) String() string { func (*StreamTaskLogContentRequest) ProtoMessage() {} func (x *StreamTaskLogContentRequest) 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 { @@ -7385,7 +7530,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{124} + return file_state_v1_state_proto_rawDescGZIP(), []int{126} } func (x *StreamTaskLogContentRequest) GetTaskId() int64 { @@ -7413,7 +7558,7 @@ type StreamTaskLogContentResponse struct { func (x *StreamTaskLogContentResponse) Reset() { *x = StreamTaskLogContentResponse{} - 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) } @@ -7425,7 +7570,7 @@ func (x *StreamTaskLogContentResponse) String() string { func (*StreamTaskLogContentResponse) ProtoMessage() {} func (x *StreamTaskLogContentResponse) 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 { @@ -7438,7 +7583,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{125} + return file_state_v1_state_proto_rawDescGZIP(), []int{127} } func (x *StreamTaskLogContentResponse) GetChunk() []byte { @@ -7473,7 +7618,7 @@ type InsertCaptureRequest struct { func (x *InsertCaptureRequest) Reset() { *x = InsertCaptureRequest{} - 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) } @@ -7485,7 +7630,7 @@ func (x *InsertCaptureRequest) String() string { func (*InsertCaptureRequest) ProtoMessage() {} func (x *InsertCaptureRequest) 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 { @@ -7498,7 +7643,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{126} + return file_state_v1_state_proto_rawDescGZIP(), []int{128} } func (x *InsertCaptureRequest) GetCapture() *CapturedEvent { @@ -7531,7 +7676,7 @@ type InsertCaptureResponse struct { func (x *InsertCaptureResponse) Reset() { *x = InsertCaptureResponse{} - 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) } @@ -7543,7 +7688,7 @@ func (x *InsertCaptureResponse) String() string { func (*InsertCaptureResponse) ProtoMessage() {} func (x *InsertCaptureResponse) 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 { @@ -7556,7 +7701,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{127} + return file_state_v1_state_proto_rawDescGZIP(), []int{129} } func (x *InsertCaptureResponse) GetId() string { @@ -7575,7 +7720,7 @@ type StreamCapturesRequest struct { func (x *StreamCapturesRequest) Reset() { *x = StreamCapturesRequest{} - 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) } @@ -7587,7 +7732,7 @@ func (x *StreamCapturesRequest) String() string { func (*StreamCapturesRequest) ProtoMessage() {} func (x *StreamCapturesRequest) 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 { @@ -7600,7 +7745,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{128} + return file_state_v1_state_proto_rawDescGZIP(), []int{130} } func (x *StreamCapturesRequest) GetLimit() int64 { @@ -7620,7 +7765,7 @@ type StreamCapturesResponse struct { func (x *StreamCapturesResponse) Reset() { *x = StreamCapturesResponse{} - 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) } @@ -7632,7 +7777,7 @@ func (x *StreamCapturesResponse) String() string { func (*StreamCapturesResponse) ProtoMessage() {} func (x *StreamCapturesResponse) 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 { @@ -7645,7 +7790,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{129} + return file_state_v1_state_proto_rawDescGZIP(), []int{131} } func (x *StreamCapturesResponse) GetCapture() *CapturedEvent { @@ -7664,7 +7809,7 @@ type InsertMappingRequest struct { func (x *InsertMappingRequest) Reset() { *x = InsertMappingRequest{} - 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) } @@ -7676,7 +7821,7 @@ func (x *InsertMappingRequest) String() string { func (*InsertMappingRequest) ProtoMessage() {} func (x *InsertMappingRequest) 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 { @@ -7689,7 +7834,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{130} + return file_state_v1_state_proto_rawDescGZIP(), []int{132} } func (x *InsertMappingRequest) GetMapping() *Mapping { @@ -7708,7 +7853,7 @@ type InsertMappingResponse struct { func (x *InsertMappingResponse) Reset() { *x = InsertMappingResponse{} - 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) } @@ -7720,7 +7865,7 @@ func (x *InsertMappingResponse) String() string { func (*InsertMappingResponse) ProtoMessage() {} func (x *InsertMappingResponse) 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 { @@ -7733,7 +7878,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{131} + return file_state_v1_state_proto_rawDescGZIP(), []int{133} } func (x *InsertMappingResponse) GetId() string { @@ -7752,7 +7897,7 @@ type GetMappingRequest struct { func (x *GetMappingRequest) Reset() { *x = GetMappingRequest{} - 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) } @@ -7764,7 +7909,7 @@ func (x *GetMappingRequest) String() string { func (*GetMappingRequest) ProtoMessage() {} func (x *GetMappingRequest) 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 { @@ -7777,7 +7922,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{132} + return file_state_v1_state_proto_rawDescGZIP(), []int{134} } func (x *GetMappingRequest) GetId() string { @@ -7797,7 +7942,7 @@ type GetMappingResponse struct { func (x *GetMappingResponse) Reset() { *x = GetMappingResponse{} - 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) } @@ -7809,7 +7954,7 @@ func (x *GetMappingResponse) String() string { func (*GetMappingResponse) ProtoMessage() {} func (x *GetMappingResponse) 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 { @@ -7822,7 +7967,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{133} + return file_state_v1_state_proto_rawDescGZIP(), []int{135} } func (x *GetMappingResponse) GetMapping() *Mapping { @@ -7847,7 +7992,7 @@ type ListMappingsRequest struct { func (x *ListMappingsRequest) Reset() { *x = ListMappingsRequest{} - 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) } @@ -7859,7 +8004,7 @@ func (x *ListMappingsRequest) String() string { func (*ListMappingsRequest) ProtoMessage() {} func (x *ListMappingsRequest) 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 { @@ -7872,7 +8017,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{134} + return file_state_v1_state_proto_rawDescGZIP(), []int{136} } type ListMappingsResponse struct { @@ -7884,7 +8029,7 @@ type ListMappingsResponse struct { func (x *ListMappingsResponse) Reset() { *x = ListMappingsResponse{} - 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) } @@ -7896,7 +8041,7 @@ func (x *ListMappingsResponse) String() string { func (*ListMappingsResponse) ProtoMessage() {} func (x *ListMappingsResponse) 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 { @@ -7909,7 +8054,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{135} + return file_state_v1_state_proto_rawDescGZIP(), []int{137} } func (x *ListMappingsResponse) GetMappings() []*Mapping { @@ -7928,7 +8073,7 @@ type UpdateMappingRequest struct { func (x *UpdateMappingRequest) Reset() { *x = UpdateMappingRequest{} - 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) } @@ -7940,7 +8085,7 @@ func (x *UpdateMappingRequest) String() string { func (*UpdateMappingRequest) ProtoMessage() {} func (x *UpdateMappingRequest) 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 { @@ -7953,7 +8098,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{136} + return file_state_v1_state_proto_rawDescGZIP(), []int{138} } func (x *UpdateMappingRequest) GetMapping() *Mapping { @@ -7971,7 +8116,7 @@ type UpdateMappingResponse struct { func (x *UpdateMappingResponse) Reset() { *x = UpdateMappingResponse{} - 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) } @@ -7983,7 +8128,7 @@ func (x *UpdateMappingResponse) String() string { func (*UpdateMappingResponse) ProtoMessage() {} func (x *UpdateMappingResponse) 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 { @@ -7996,7 +8141,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{137} + return file_state_v1_state_proto_rawDescGZIP(), []int{139} } type DeleteMappingRequest struct { @@ -8008,7 +8153,7 @@ type DeleteMappingRequest struct { func (x *DeleteMappingRequest) Reset() { *x = DeleteMappingRequest{} - 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) } @@ -8020,7 +8165,7 @@ func (x *DeleteMappingRequest) String() string { func (*DeleteMappingRequest) ProtoMessage() {} func (x *DeleteMappingRequest) 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 { @@ -8033,7 +8178,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{138} + return file_state_v1_state_proto_rawDescGZIP(), []int{140} } func (x *DeleteMappingRequest) GetId() string { @@ -8051,7 +8196,7 @@ type DeleteMappingResponse struct { func (x *DeleteMappingResponse) Reset() { *x = DeleteMappingResponse{} - 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) } @@ -8063,7 +8208,7 @@ func (x *DeleteMappingResponse) String() string { func (*DeleteMappingResponse) ProtoMessage() {} func (x *DeleteMappingResponse) 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 { @@ -8076,7 +8221,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{139} + return file_state_v1_state_proto_rawDescGZIP(), []int{141} } type RecordMappingMatchRequest struct { @@ -8089,7 +8234,7 @@ type RecordMappingMatchRequest struct { func (x *RecordMappingMatchRequest) Reset() { *x = RecordMappingMatchRequest{} - 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) } @@ -8101,7 +8246,7 @@ func (x *RecordMappingMatchRequest) String() string { func (*RecordMappingMatchRequest) ProtoMessage() {} func (x *RecordMappingMatchRequest) 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 { @@ -8114,7 +8259,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{140} + return file_state_v1_state_proto_rawDescGZIP(), []int{142} } func (x *RecordMappingMatchRequest) GetMappingId() string { @@ -8139,7 +8284,7 @@ type RecordMappingMatchResponse struct { func (x *RecordMappingMatchResponse) Reset() { *x = RecordMappingMatchResponse{} - 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) } @@ -8151,7 +8296,7 @@ func (x *RecordMappingMatchResponse) String() string { func (*RecordMappingMatchResponse) ProtoMessage() {} func (x *RecordMappingMatchResponse) 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 { @@ -8164,7 +8309,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{141} + return file_state_v1_state_proto_rawDescGZIP(), []int{143} } type InsertEventTypeRequest struct { @@ -8176,7 +8321,7 @@ type InsertEventTypeRequest struct { func (x *InsertEventTypeRequest) Reset() { *x = InsertEventTypeRequest{} - 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) } @@ -8188,7 +8333,7 @@ func (x *InsertEventTypeRequest) String() string { func (*InsertEventTypeRequest) ProtoMessage() {} func (x *InsertEventTypeRequest) 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 { @@ -8201,7 +8346,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{142} + return file_state_v1_state_proto_rawDescGZIP(), []int{144} } func (x *InsertEventTypeRequest) GetEventType() *EventType { @@ -8220,7 +8365,7 @@ type InsertEventTypeResponse struct { func (x *InsertEventTypeResponse) Reset() { *x = InsertEventTypeResponse{} - 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) } @@ -8232,7 +8377,7 @@ func (x *InsertEventTypeResponse) String() string { func (*InsertEventTypeResponse) ProtoMessage() {} func (x *InsertEventTypeResponse) 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 { @@ -8245,7 +8390,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{143} + return file_state_v1_state_proto_rawDescGZIP(), []int{145} } func (x *InsertEventTypeResponse) GetId() string { @@ -8264,7 +8409,7 @@ type UpdateEventTypeRequest struct { func (x *UpdateEventTypeRequest) Reset() { *x = UpdateEventTypeRequest{} - 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) } @@ -8276,7 +8421,7 @@ func (x *UpdateEventTypeRequest) String() string { func (*UpdateEventTypeRequest) ProtoMessage() {} func (x *UpdateEventTypeRequest) 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 { @@ -8289,7 +8434,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{144} + return file_state_v1_state_proto_rawDescGZIP(), []int{146} } func (x *UpdateEventTypeRequest) GetEventType() *EventType { @@ -8307,7 +8452,7 @@ type UpdateEventTypeResponse struct { func (x *UpdateEventTypeResponse) Reset() { *x = UpdateEventTypeResponse{} - 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) } @@ -8319,7 +8464,7 @@ func (x *UpdateEventTypeResponse) String() string { func (*UpdateEventTypeResponse) ProtoMessage() {} func (x *UpdateEventTypeResponse) 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 { @@ -8332,7 +8477,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{145} + return file_state_v1_state_proto_rawDescGZIP(), []int{147} } type DeleteEventTypeRequest struct { @@ -8344,7 +8489,7 @@ type DeleteEventTypeRequest struct { func (x *DeleteEventTypeRequest) Reset() { *x = DeleteEventTypeRequest{} - 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) } @@ -8356,7 +8501,7 @@ func (x *DeleteEventTypeRequest) String() string { func (*DeleteEventTypeRequest) ProtoMessage() {} func (x *DeleteEventTypeRequest) 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 { @@ -8369,7 +8514,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{146} + return file_state_v1_state_proto_rawDescGZIP(), []int{148} } func (x *DeleteEventTypeRequest) GetId() string { @@ -8387,7 +8532,7 @@ type DeleteEventTypeResponse struct { func (x *DeleteEventTypeResponse) Reset() { *x = DeleteEventTypeResponse{} - 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) } @@ -8399,7 +8544,7 @@ func (x *DeleteEventTypeResponse) String() string { func (*DeleteEventTypeResponse) ProtoMessage() {} func (x *DeleteEventTypeResponse) 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 { @@ -8412,7 +8557,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{147} + return file_state_v1_state_proto_rawDescGZIP(), []int{149} } type ListEventTypesRequest struct { @@ -8423,7 +8568,7 @@ type ListEventTypesRequest struct { func (x *ListEventTypesRequest) Reset() { *x = ListEventTypesRequest{} - 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) } @@ -8435,7 +8580,7 @@ func (x *ListEventTypesRequest) String() string { func (*ListEventTypesRequest) ProtoMessage() {} func (x *ListEventTypesRequest) 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 { @@ -8448,7 +8593,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{148} + return file_state_v1_state_proto_rawDescGZIP(), []int{150} } type ListEventTypesResponse struct { @@ -8460,7 +8605,7 @@ type ListEventTypesResponse struct { func (x *ListEventTypesResponse) Reset() { *x = ListEventTypesResponse{} - 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) } @@ -8472,7 +8617,7 @@ func (x *ListEventTypesResponse) String() string { func (*ListEventTypesResponse) ProtoMessage() {} func (x *ListEventTypesResponse) 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 { @@ -8485,7 +8630,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{149} + return file_state_v1_state_proto_rawDescGZIP(), []int{151} } func (x *ListEventTypesResponse) GetEventTypes() []*EventType { @@ -8504,7 +8649,7 @@ type InsertBindingRequest struct { func (x *InsertBindingRequest) Reset() { *x = InsertBindingRequest{} - 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) } @@ -8516,7 +8661,7 @@ func (x *InsertBindingRequest) String() string { func (*InsertBindingRequest) ProtoMessage() {} func (x *InsertBindingRequest) 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 { @@ -8529,7 +8674,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{150} + return file_state_v1_state_proto_rawDescGZIP(), []int{152} } func (x *InsertBindingRequest) GetBinding() *Binding { @@ -8548,7 +8693,7 @@ type InsertBindingResponse struct { func (x *InsertBindingResponse) Reset() { *x = InsertBindingResponse{} - 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) } @@ -8560,7 +8705,7 @@ func (x *InsertBindingResponse) String() string { func (*InsertBindingResponse) ProtoMessage() {} func (x *InsertBindingResponse) 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 { @@ -8573,7 +8718,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{151} + return file_state_v1_state_proto_rawDescGZIP(), []int{153} } func (x *InsertBindingResponse) GetId() string { @@ -8592,7 +8737,7 @@ type GetBindingRequest struct { func (x *GetBindingRequest) Reset() { *x = GetBindingRequest{} - 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) } @@ -8604,7 +8749,7 @@ func (x *GetBindingRequest) String() string { func (*GetBindingRequest) ProtoMessage() {} func (x *GetBindingRequest) 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 { @@ -8617,7 +8762,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{152} + return file_state_v1_state_proto_rawDescGZIP(), []int{154} } func (x *GetBindingRequest) GetId() string { @@ -8637,7 +8782,7 @@ type GetBindingResponse struct { func (x *GetBindingResponse) Reset() { *x = GetBindingResponse{} - 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) } @@ -8649,7 +8794,7 @@ func (x *GetBindingResponse) String() string { func (*GetBindingResponse) ProtoMessage() {} func (x *GetBindingResponse) 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 { @@ -8662,7 +8807,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{153} + return file_state_v1_state_proto_rawDescGZIP(), []int{155} } func (x *GetBindingResponse) GetBinding() *Binding { @@ -8687,7 +8832,7 @@ type ListBindingsRequest struct { func (x *ListBindingsRequest) Reset() { *x = ListBindingsRequest{} - 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) } @@ -8699,7 +8844,7 @@ func (x *ListBindingsRequest) String() string { func (*ListBindingsRequest) ProtoMessage() {} func (x *ListBindingsRequest) 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 { @@ -8712,7 +8857,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{154} + return file_state_v1_state_proto_rawDescGZIP(), []int{156} } type ListBindingsResponse struct { @@ -8724,7 +8869,7 @@ type ListBindingsResponse struct { func (x *ListBindingsResponse) Reset() { *x = ListBindingsResponse{} - 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) } @@ -8736,7 +8881,7 @@ func (x *ListBindingsResponse) String() string { func (*ListBindingsResponse) ProtoMessage() {} func (x *ListBindingsResponse) 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 { @@ -8749,7 +8894,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{155} + return file_state_v1_state_proto_rawDescGZIP(), []int{157} } func (x *ListBindingsResponse) GetBindings() []*Binding { @@ -8768,7 +8913,7 @@ type UpdateBindingRequest struct { func (x *UpdateBindingRequest) Reset() { *x = UpdateBindingRequest{} - 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) } @@ -8780,7 +8925,7 @@ func (x *UpdateBindingRequest) String() string { func (*UpdateBindingRequest) ProtoMessage() {} func (x *UpdateBindingRequest) 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 { @@ -8793,7 +8938,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{156} + return file_state_v1_state_proto_rawDescGZIP(), []int{158} } func (x *UpdateBindingRequest) GetBinding() *Binding { @@ -8811,7 +8956,7 @@ type UpdateBindingResponse struct { func (x *UpdateBindingResponse) Reset() { *x = UpdateBindingResponse{} - 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) } @@ -8823,7 +8968,7 @@ func (x *UpdateBindingResponse) String() string { func (*UpdateBindingResponse) ProtoMessage() {} func (x *UpdateBindingResponse) 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 { @@ -8836,7 +8981,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{157} + return file_state_v1_state_proto_rawDescGZIP(), []int{159} } type DeleteBindingRequest struct { @@ -8848,7 +8993,7 @@ type DeleteBindingRequest struct { func (x *DeleteBindingRequest) Reset() { *x = DeleteBindingRequest{} - 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) } @@ -8860,7 +9005,7 @@ func (x *DeleteBindingRequest) String() string { func (*DeleteBindingRequest) ProtoMessage() {} func (x *DeleteBindingRequest) 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 { @@ -8873,7 +9018,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{158} + return file_state_v1_state_proto_rawDescGZIP(), []int{160} } func (x *DeleteBindingRequest) GetId() string { @@ -8891,7 +9036,7 @@ type DeleteBindingResponse struct { func (x *DeleteBindingResponse) Reset() { *x = DeleteBindingResponse{} - 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) } @@ -8903,7 +9048,7 @@ func (x *DeleteBindingResponse) String() string { func (*DeleteBindingResponse) ProtoMessage() {} func (x *DeleteBindingResponse) 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 { @@ -8916,7 +9061,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{159} + return file_state_v1_state_proto_rawDescGZIP(), []int{161} } type ApproveBindingRequest struct { @@ -8928,7 +9073,7 @@ type ApproveBindingRequest struct { func (x *ApproveBindingRequest) Reset() { *x = ApproveBindingRequest{} - 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) } @@ -8940,7 +9085,7 @@ func (x *ApproveBindingRequest) String() string { func (*ApproveBindingRequest) ProtoMessage() {} func (x *ApproveBindingRequest) 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 { @@ -8953,7 +9098,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{160} + return file_state_v1_state_proto_rawDescGZIP(), []int{162} } func (x *ApproveBindingRequest) GetId() string { @@ -8971,7 +9116,7 @@ type ApproveBindingResponse struct { func (x *ApproveBindingResponse) Reset() { *x = ApproveBindingResponse{} - 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) } @@ -8983,7 +9128,7 @@ func (x *ApproveBindingResponse) String() string { func (*ApproveBindingResponse) ProtoMessage() {} func (x *ApproveBindingResponse) 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 { @@ -8996,7 +9141,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{161} + return file_state_v1_state_proto_rawDescGZIP(), []int{163} } type InsertSourceRequest struct { @@ -9008,7 +9153,7 @@ type InsertSourceRequest struct { func (x *InsertSourceRequest) Reset() { *x = InsertSourceRequest{} - 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) } @@ -9020,7 +9165,7 @@ func (x *InsertSourceRequest) String() string { func (*InsertSourceRequest) ProtoMessage() {} func (x *InsertSourceRequest) 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 { @@ -9033,7 +9178,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{162} + return file_state_v1_state_proto_rawDescGZIP(), []int{164} } func (x *InsertSourceRequest) GetSource() *Source { @@ -9051,7 +9196,7 @@ type InsertSourceResponse struct { func (x *InsertSourceResponse) Reset() { *x = InsertSourceResponse{} - 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) } @@ -9063,7 +9208,7 @@ func (x *InsertSourceResponse) String() string { func (*InsertSourceResponse) ProtoMessage() {} func (x *InsertSourceResponse) 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 { @@ -9076,7 +9221,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{163} + return file_state_v1_state_proto_rawDescGZIP(), []int{165} } type GetSourceRequest struct { @@ -9088,7 +9233,7 @@ type GetSourceRequest struct { func (x *GetSourceRequest) Reset() { *x = GetSourceRequest{} - 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) } @@ -9100,7 +9245,7 @@ func (x *GetSourceRequest) String() string { func (*GetSourceRequest) ProtoMessage() {} func (x *GetSourceRequest) 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 { @@ -9113,7 +9258,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{164} + return file_state_v1_state_proto_rawDescGZIP(), []int{166} } func (x *GetSourceRequest) GetPath() string { @@ -9133,7 +9278,7 @@ type GetSourceResponse struct { func (x *GetSourceResponse) Reset() { *x = GetSourceResponse{} - 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) } @@ -9145,7 +9290,7 @@ func (x *GetSourceResponse) String() string { func (*GetSourceResponse) ProtoMessage() {} func (x *GetSourceResponse) 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 { @@ -9158,7 +9303,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{165} + return file_state_v1_state_proto_rawDescGZIP(), []int{167} } func (x *GetSourceResponse) GetSource() *Source { @@ -9183,7 +9328,7 @@ type ListSourcesRequest struct { func (x *ListSourcesRequest) Reset() { *x = ListSourcesRequest{} - 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) } @@ -9195,7 +9340,7 @@ func (x *ListSourcesRequest) String() string { func (*ListSourcesRequest) ProtoMessage() {} func (x *ListSourcesRequest) 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 { @@ -9208,7 +9353,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{166} + return file_state_v1_state_proto_rawDescGZIP(), []int{168} } type ListSourcesResponse struct { @@ -9220,7 +9365,7 @@ type ListSourcesResponse struct { func (x *ListSourcesResponse) Reset() { *x = ListSourcesResponse{} - 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) } @@ -9232,7 +9377,7 @@ func (x *ListSourcesResponse) String() string { func (*ListSourcesResponse) ProtoMessage() {} func (x *ListSourcesResponse) 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 { @@ -9245,7 +9390,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{167} + return file_state_v1_state_proto_rawDescGZIP(), []int{169} } func (x *ListSourcesResponse) GetSources() []*Source { @@ -9266,7 +9411,7 @@ type SetSourceSigningRequest struct { func (x *SetSourceSigningRequest) Reset() { *x = SetSourceSigningRequest{} - 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) } @@ -9278,7 +9423,7 @@ func (x *SetSourceSigningRequest) String() string { func (*SetSourceSigningRequest) ProtoMessage() {} func (x *SetSourceSigningRequest) 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 { @@ -9291,7 +9436,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{168} + return file_state_v1_state_proto_rawDescGZIP(), []int{170} } func (x *SetSourceSigningRequest) GetPath() string { @@ -9323,7 +9468,7 @@ type SetSourceSigningResponse struct { func (x *SetSourceSigningResponse) Reset() { *x = SetSourceSigningResponse{} - 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) } @@ -9335,7 +9480,7 @@ func (x *SetSourceSigningResponse) String() string { func (*SetSourceSigningResponse) ProtoMessage() {} func (x *SetSourceSigningResponse) 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 { @@ -9348,7 +9493,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{169} + return file_state_v1_state_proto_rawDescGZIP(), []int{171} } type SetSourceSecretRequest struct { @@ -9361,7 +9506,7 @@ type SetSourceSecretRequest struct { func (x *SetSourceSecretRequest) Reset() { *x = SetSourceSecretRequest{} - 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) } @@ -9373,7 +9518,7 @@ func (x *SetSourceSecretRequest) String() string { func (*SetSourceSecretRequest) ProtoMessage() {} func (x *SetSourceSecretRequest) 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 { @@ -9386,7 +9531,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{170} + return file_state_v1_state_proto_rawDescGZIP(), []int{172} } func (x *SetSourceSecretRequest) GetPath() string { @@ -9411,7 +9556,7 @@ type SetSourceSecretResponse struct { func (x *SetSourceSecretResponse) Reset() { *x = SetSourceSecretResponse{} - 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) } @@ -9423,7 +9568,7 @@ func (x *SetSourceSecretResponse) String() string { func (*SetSourceSecretResponse) ProtoMessage() {} func (x *SetSourceSecretResponse) 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 { @@ -9436,7 +9581,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{171} + return file_state_v1_state_proto_rawDescGZIP(), []int{173} } type ArmedBindingsForSourceRequest struct { @@ -9448,7 +9593,7 @@ type ArmedBindingsForSourceRequest struct { func (x *ArmedBindingsForSourceRequest) Reset() { *x = ArmedBindingsForSourceRequest{} - 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) } @@ -9460,7 +9605,7 @@ func (x *ArmedBindingsForSourceRequest) String() string { func (*ArmedBindingsForSourceRequest) ProtoMessage() {} func (x *ArmedBindingsForSourceRequest) 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 { @@ -9473,7 +9618,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{172} + return file_state_v1_state_proto_rawDescGZIP(), []int{174} } func (x *ArmedBindingsForSourceRequest) GetSource() string { @@ -9492,7 +9637,7 @@ type ArmedBindingsForSourceResponse struct { func (x *ArmedBindingsForSourceResponse) Reset() { *x = ArmedBindingsForSourceResponse{} - 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) } @@ -9504,7 +9649,7 @@ func (x *ArmedBindingsForSourceResponse) String() string { func (*ArmedBindingsForSourceResponse) ProtoMessage() {} func (x *ArmedBindingsForSourceResponse) 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 { @@ -9517,7 +9662,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{173} + return file_state_v1_state_proto_rawDescGZIP(), []int{175} } func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding { @@ -9540,7 +9685,7 @@ type RecordDispatchRequest struct { func (x *RecordDispatchRequest) Reset() { *x = RecordDispatchRequest{} - 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) } @@ -9552,7 +9697,7 @@ func (x *RecordDispatchRequest) String() string { func (*RecordDispatchRequest) ProtoMessage() {} func (x *RecordDispatchRequest) 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 { @@ -9565,7 +9710,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{174} + return file_state_v1_state_proto_rawDescGZIP(), []int{176} } func (x *RecordDispatchRequest) GetBindingId() string { @@ -9604,7 +9749,7 @@ type RecordDispatchResponse struct { func (x *RecordDispatchResponse) Reset() { *x = RecordDispatchResponse{} - 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) } @@ -9616,7 +9761,7 @@ func (x *RecordDispatchResponse) String() string { func (*RecordDispatchResponse) ProtoMessage() {} func (x *RecordDispatchResponse) 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 { @@ -9629,7 +9774,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{175} + return file_state_v1_state_proto_rawDescGZIP(), []int{177} } type RecordPlaybookDispatchRequest struct { @@ -9644,7 +9789,7 @@ type RecordPlaybookDispatchRequest struct { func (x *RecordPlaybookDispatchRequest) Reset() { *x = RecordPlaybookDispatchRequest{} - 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) } @@ -9656,7 +9801,7 @@ func (x *RecordPlaybookDispatchRequest) String() string { func (*RecordPlaybookDispatchRequest) ProtoMessage() {} func (x *RecordPlaybookDispatchRequest) 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 { @@ -9669,7 +9814,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{176} + return file_state_v1_state_proto_rawDescGZIP(), []int{178} } func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string { @@ -9708,7 +9853,7 @@ type RecordPlaybookDispatchResponse struct { func (x *RecordPlaybookDispatchResponse) Reset() { *x = RecordPlaybookDispatchResponse{} - 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) } @@ -9720,7 +9865,7 @@ func (x *RecordPlaybookDispatchResponse) String() string { func (*RecordPlaybookDispatchResponse) ProtoMessage() {} func (x *RecordPlaybookDispatchResponse) 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 { @@ -9733,7 +9878,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{177} + return file_state_v1_state_proto_rawDescGZIP(), []int{179} } type DeletePlaybookDispatchesRequest struct { @@ -9745,7 +9890,7 @@ type DeletePlaybookDispatchesRequest struct { func (x *DeletePlaybookDispatchesRequest) Reset() { *x = DeletePlaybookDispatchesRequest{} - 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) } @@ -9757,7 +9902,7 @@ func (x *DeletePlaybookDispatchesRequest) String() string { func (*DeletePlaybookDispatchesRequest) ProtoMessage() {} func (x *DeletePlaybookDispatchesRequest) 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 { @@ -9770,7 +9915,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{178} + return file_state_v1_state_proto_rawDescGZIP(), []int{180} } func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string { @@ -9788,7 +9933,7 @@ type DeletePlaybookDispatchesResponse struct { func (x *DeletePlaybookDispatchesResponse) Reset() { *x = DeletePlaybookDispatchesResponse{} - 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) } @@ -9800,7 +9945,7 @@ func (x *DeletePlaybookDispatchesResponse) String() string { func (*DeletePlaybookDispatchesResponse) ProtoMessage() {} func (x *DeletePlaybookDispatchesResponse) 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 { @@ -9813,7 +9958,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{179} + return file_state_v1_state_proto_rawDescGZIP(), []int{181} } type StreamUndispatchedCapturesRequest struct { @@ -9826,7 +9971,7 @@ type StreamUndispatchedCapturesRequest struct { func (x *StreamUndispatchedCapturesRequest) Reset() { *x = StreamUndispatchedCapturesRequest{} - 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) } @@ -9838,7 +9983,7 @@ func (x *StreamUndispatchedCapturesRequest) String() string { func (*StreamUndispatchedCapturesRequest) ProtoMessage() {} func (x *StreamUndispatchedCapturesRequest) 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 { @@ -9851,7 +9996,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{180} + return file_state_v1_state_proto_rawDescGZIP(), []int{182} } func (x *StreamUndispatchedCapturesRequest) GetSources() []string { @@ -9878,7 +10023,7 @@ type StreamUndispatchedCapturesResponse struct { func (x *StreamUndispatchedCapturesResponse) Reset() { *x = StreamUndispatchedCapturesResponse{} - 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) } @@ -9890,7 +10035,7 @@ func (x *StreamUndispatchedCapturesResponse) String() string { func (*StreamUndispatchedCapturesResponse) ProtoMessage() {} func (x *StreamUndispatchedCapturesResponse) 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 { @@ -9903,7 +10048,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{181} + return file_state_v1_state_proto_rawDescGZIP(), []int{183} } func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent { @@ -9930,7 +10075,7 @@ type EnqueueBindingTaskRequest struct { func (x *EnqueueBindingTaskRequest) Reset() { *x = EnqueueBindingTaskRequest{} - 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) } @@ -9942,7 +10087,7 @@ func (x *EnqueueBindingTaskRequest) String() string { func (*EnqueueBindingTaskRequest) ProtoMessage() {} func (x *EnqueueBindingTaskRequest) 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 { @@ -9955,7 +10100,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{182} + return file_state_v1_state_proto_rawDescGZIP(), []int{184} } func (x *EnqueueBindingTaskRequest) GetOwner() string { @@ -10030,7 +10175,7 @@ type EnqueueBindingTaskResponse struct { func (x *EnqueueBindingTaskResponse) Reset() { *x = EnqueueBindingTaskResponse{} - 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) } @@ -10042,7 +10187,7 @@ func (x *EnqueueBindingTaskResponse) String() string { func (*EnqueueBindingTaskResponse) ProtoMessage() {} func (x *EnqueueBindingTaskResponse) 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 { @@ -10055,7 +10200,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{183} + return file_state_v1_state_proto_rawDescGZIP(), []int{185} } func (x *EnqueueBindingTaskResponse) GetTask() *Task { @@ -10078,7 +10223,7 @@ type EnqueueCallTaskRequest struct { func (x *EnqueueCallTaskRequest) Reset() { *x = EnqueueCallTaskRequest{} - 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) } @@ -10090,7 +10235,7 @@ func (x *EnqueueCallTaskRequest) String() string { func (*EnqueueCallTaskRequest) ProtoMessage() {} func (x *EnqueueCallTaskRequest) 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 { @@ -10103,7 +10248,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{184} + return file_state_v1_state_proto_rawDescGZIP(), []int{186} } func (x *EnqueueCallTaskRequest) GetCallerTaskId() int64 { @@ -10137,7 +10282,7 @@ type EnqueueCallTaskResponse struct { func (x *EnqueueCallTaskResponse) Reset() { *x = EnqueueCallTaskResponse{} - 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) } @@ -10149,7 +10294,7 @@ func (x *EnqueueCallTaskResponse) String() string { func (*EnqueueCallTaskResponse) ProtoMessage() {} func (x *EnqueueCallTaskResponse) 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 { @@ -10162,7 +10307,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{185} + return file_state_v1_state_proto_rawDescGZIP(), []int{187} } func (x *EnqueueCallTaskResponse) GetTask() *Task { @@ -10189,7 +10334,7 @@ type WorkflowCallStatusRequest struct { func (x *WorkflowCallStatusRequest) Reset() { *x = WorkflowCallStatusRequest{} - 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) } @@ -10201,7 +10346,7 @@ func (x *WorkflowCallStatusRequest) String() string { func (*WorkflowCallStatusRequest) ProtoMessage() {} func (x *WorkflowCallStatusRequest) 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 { @@ -10214,7 +10359,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{186} + return file_state_v1_state_proto_rawDescGZIP(), []int{188} } func (x *WorkflowCallStatusRequest) GetCallerTaskId() int64 { @@ -10247,7 +10392,7 @@ type WorkflowCallStatusResponse struct { func (x *WorkflowCallStatusResponse) Reset() { *x = WorkflowCallStatusResponse{} - 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) } @@ -10259,7 +10404,7 @@ func (x *WorkflowCallStatusResponse) String() string { func (*WorkflowCallStatusResponse) ProtoMessage() {} func (x *WorkflowCallStatusResponse) 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 { @@ -10272,7 +10417,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{187} + return file_state_v1_state_proto_rawDescGZIP(), []int{189} } func (x *WorkflowCallStatusResponse) GetStatus() string { @@ -10314,7 +10459,7 @@ type InstalledPackage struct { func (x *InstalledPackage) Reset() { *x = InstalledPackage{} - 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) } @@ -10326,7 +10471,7 @@ func (x *InstalledPackage) String() string { func (*InstalledPackage) ProtoMessage() {} func (x *InstalledPackage) 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 { @@ -10339,7 +10484,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{188} + return file_state_v1_state_proto_rawDescGZIP(), []int{190} } func (x *InstalledPackage) GetOrgId() string { @@ -10413,7 +10558,7 @@ type PackageAuthority struct { func (x *PackageAuthority) Reset() { *x = PackageAuthority{} - 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) } @@ -10425,7 +10570,7 @@ func (x *PackageAuthority) String() string { func (*PackageAuthority) ProtoMessage() {} func (x *PackageAuthority) 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 { @@ -10438,7 +10583,7 @@ func (x *PackageAuthority) ProtoReflect() protoreflect.Message { // Deprecated: Use PackageAuthority.ProtoReflect.Descriptor instead. func (*PackageAuthority) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{189} + return file_state_v1_state_proto_rawDescGZIP(), []int{191} } func (x *PackageAuthority) GetCredentialServices() []string { @@ -10488,7 +10633,7 @@ type InstallPackageRequest struct { func (x *InstallPackageRequest) Reset() { *x = InstallPackageRequest{} - 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) } @@ -10500,7 +10645,7 @@ func (x *InstallPackageRequest) String() string { func (*InstallPackageRequest) ProtoMessage() {} func (x *InstallPackageRequest) 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 { @@ -10513,7 +10658,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{190} + return file_state_v1_state_proto_rawDescGZIP(), []int{192} } func (x *InstallPackageRequest) GetOrgId() string { @@ -10553,7 +10698,7 @@ type InstallPackageResponse struct { func (x *InstallPackageResponse) Reset() { *x = InstallPackageResponse{} - 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) } @@ -10565,7 +10710,7 @@ func (x *InstallPackageResponse) String() string { func (*InstallPackageResponse) ProtoMessage() {} func (x *InstallPackageResponse) 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 { @@ -10578,7 +10723,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{191} + return file_state_v1_state_proto_rawDescGZIP(), []int{193} } func (x *InstallPackageResponse) GetPackage() *InstalledPackage { @@ -10598,7 +10743,7 @@ type GetInstalledPackageRequest struct { func (x *GetInstalledPackageRequest) Reset() { *x = GetInstalledPackageRequest{} - 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) } @@ -10610,7 +10755,7 @@ func (x *GetInstalledPackageRequest) String() string { func (*GetInstalledPackageRequest) ProtoMessage() {} func (x *GetInstalledPackageRequest) 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 { @@ -10623,7 +10768,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{192} + return file_state_v1_state_proto_rawDescGZIP(), []int{194} } func (x *GetInstalledPackageRequest) GetOrgId() string { @@ -10649,7 +10794,7 @@ type GetInstalledPackageResponse struct { func (x *GetInstalledPackageResponse) Reset() { *x = GetInstalledPackageResponse{} - 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) } @@ -10661,7 +10806,7 @@ func (x *GetInstalledPackageResponse) String() string { func (*GetInstalledPackageResponse) ProtoMessage() {} func (x *GetInstalledPackageResponse) 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 { @@ -10674,7 +10819,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{193} + return file_state_v1_state_proto_rawDescGZIP(), []int{195} } func (x *GetInstalledPackageResponse) GetPackage() *InstalledPackage { @@ -10693,7 +10838,7 @@ type ListInstalledPackagesRequest struct { func (x *ListInstalledPackagesRequest) Reset() { *x = ListInstalledPackagesRequest{} - 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) } @@ -10705,7 +10850,7 @@ func (x *ListInstalledPackagesRequest) String() string { func (*ListInstalledPackagesRequest) ProtoMessage() {} func (x *ListInstalledPackagesRequest) 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 { @@ -10718,7 +10863,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{194} + return file_state_v1_state_proto_rawDescGZIP(), []int{196} } func (x *ListInstalledPackagesRequest) GetOrgId() string { @@ -10737,7 +10882,7 @@ type ListInstalledPackagesResponse struct { func (x *ListInstalledPackagesResponse) Reset() { *x = ListInstalledPackagesResponse{} - 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) } @@ -10749,7 +10894,7 @@ func (x *ListInstalledPackagesResponse) String() string { func (*ListInstalledPackagesResponse) ProtoMessage() {} func (x *ListInstalledPackagesResponse) 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 { @@ -10762,7 +10907,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{195} + return file_state_v1_state_proto_rawDescGZIP(), []int{197} } func (x *ListInstalledPackagesResponse) GetPackages() []*InstalledPackage { @@ -10783,7 +10928,7 @@ type AcceptPackageAuthorityRequest struct { func (x *AcceptPackageAuthorityRequest) Reset() { *x = AcceptPackageAuthorityRequest{} - 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) } @@ -10795,7 +10940,7 @@ func (x *AcceptPackageAuthorityRequest) String() string { func (*AcceptPackageAuthorityRequest) ProtoMessage() {} func (x *AcceptPackageAuthorityRequest) 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 { @@ -10808,7 +10953,7 @@ func (x *AcceptPackageAuthorityRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AcceptPackageAuthorityRequest.ProtoReflect.Descriptor instead. func (*AcceptPackageAuthorityRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{196} + return file_state_v1_state_proto_rawDescGZIP(), []int{198} } func (x *AcceptPackageAuthorityRequest) GetOrgId() string { @@ -10841,7 +10986,7 @@ type AcceptPackageAuthorityResponse struct { func (x *AcceptPackageAuthorityResponse) Reset() { *x = AcceptPackageAuthorityResponse{} - 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) } @@ -10853,7 +10998,7 @@ func (x *AcceptPackageAuthorityResponse) String() string { func (*AcceptPackageAuthorityResponse) ProtoMessage() {} func (x *AcceptPackageAuthorityResponse) 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 { @@ -10866,7 +11011,7 @@ func (x *AcceptPackageAuthorityResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AcceptPackageAuthorityResponse.ProtoReflect.Descriptor instead. func (*AcceptPackageAuthorityResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{197} + return file_state_v1_state_proto_rawDescGZIP(), []int{199} } func (x *AcceptPackageAuthorityResponse) GetPackage() *InstalledPackage { @@ -10886,7 +11031,7 @@ type RemoveInstalledPackageRequest struct { func (x *RemoveInstalledPackageRequest) Reset() { *x = RemoveInstalledPackageRequest{} - 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) } @@ -10898,7 +11043,7 @@ func (x *RemoveInstalledPackageRequest) String() string { func (*RemoveInstalledPackageRequest) ProtoMessage() {} func (x *RemoveInstalledPackageRequest) 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 { @@ -10911,7 +11056,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{198} + return file_state_v1_state_proto_rawDescGZIP(), []int{200} } func (x *RemoveInstalledPackageRequest) GetOrgId() string { @@ -10936,7 +11081,7 @@ type RemoveInstalledPackageResponse struct { func (x *RemoveInstalledPackageResponse) Reset() { *x = RemoveInstalledPackageResponse{} - 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) } @@ -10948,7 +11093,7 @@ func (x *RemoveInstalledPackageResponse) String() string { func (*RemoveInstalledPackageResponse) ProtoMessage() {} func (x *RemoveInstalledPackageResponse) 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 { @@ -10961,7 +11106,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{199} + return file_state_v1_state_proto_rawDescGZIP(), []int{201} } type GetPrincipalRequest struct { @@ -10973,7 +11118,7 @@ type GetPrincipalRequest struct { func (x *GetPrincipalRequest) Reset() { *x = GetPrincipalRequest{} - 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) } @@ -10985,7 +11130,7 @@ func (x *GetPrincipalRequest) String() string { func (*GetPrincipalRequest) ProtoMessage() {} func (x *GetPrincipalRequest) 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 { @@ -10998,7 +11143,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{200} + return file_state_v1_state_proto_rawDescGZIP(), []int{202} } func (x *GetPrincipalRequest) GetIdentityId() string { @@ -11021,7 +11166,7 @@ type PrincipalMembership struct { func (x *PrincipalMembership) Reset() { *x = PrincipalMembership{} - 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) } @@ -11033,7 +11178,7 @@ func (x *PrincipalMembership) String() string { func (*PrincipalMembership) ProtoMessage() {} func (x *PrincipalMembership) 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 { @@ -11046,7 +11191,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{201} + return file_state_v1_state_proto_rawDescGZIP(), []int{203} } func (x *PrincipalMembership) GetOrgId() string { @@ -11081,7 +11226,7 @@ type AccessPrincipal struct { func (x *AccessPrincipal) Reset() { *x = AccessPrincipal{} - 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) } @@ -11093,7 +11238,7 @@ func (x *AccessPrincipal) String() string { func (*AccessPrincipal) ProtoMessage() {} func (x *AccessPrincipal) 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 { @@ -11106,7 +11251,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{202} + return file_state_v1_state_proto_rawDescGZIP(), []int{204} } func (x *AccessPrincipal) GetIdentityId() string { @@ -11139,7 +11284,7 @@ type GetPrincipalResponse struct { func (x *GetPrincipalResponse) Reset() { *x = GetPrincipalResponse{} - 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) } @@ -11151,7 +11296,7 @@ func (x *GetPrincipalResponse) String() string { func (*GetPrincipalResponse) ProtoMessage() {} func (x *GetPrincipalResponse) 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 { @@ -11164,7 +11309,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{203} + return file_state_v1_state_proto_rawDescGZIP(), []int{205} } func (x *GetPrincipalResponse) GetPrincipal() *AccessPrincipal { @@ -11191,7 +11336,7 @@ type AccessPolicy struct { func (x *AccessPolicy) Reset() { *x = AccessPolicy{} - 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) } @@ -11203,7 +11348,7 @@ func (x *AccessPolicy) String() string { func (*AccessPolicy) ProtoMessage() {} func (x *AccessPolicy) 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 { @@ -11216,7 +11361,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{204} + return file_state_v1_state_proto_rawDescGZIP(), []int{206} } func (x *AccessPolicy) GetPolicyId() string { @@ -11276,7 +11421,7 @@ type ListPoliciesRequest struct { func (x *ListPoliciesRequest) Reset() { *x = ListPoliciesRequest{} - mi := &file_state_v1_state_proto_msgTypes[205] + mi := &file_state_v1_state_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11288,7 +11433,7 @@ func (x *ListPoliciesRequest) String() string { func (*ListPoliciesRequest) ProtoMessage() {} func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[205] + mi := &file_state_v1_state_proto_msgTypes[207] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11301,7 +11446,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{205} + return file_state_v1_state_proto_rawDescGZIP(), []int{207} } type ListPoliciesResponse struct { @@ -11313,7 +11458,7 @@ type ListPoliciesResponse struct { func (x *ListPoliciesResponse) Reset() { *x = ListPoliciesResponse{} - mi := &file_state_v1_state_proto_msgTypes[206] + mi := &file_state_v1_state_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11325,7 +11470,7 @@ func (x *ListPoliciesResponse) String() string { func (*ListPoliciesResponse) ProtoMessage() {} func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[206] + mi := &file_state_v1_state_proto_msgTypes[208] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11338,7 +11483,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{206} + return file_state_v1_state_proto_rawDescGZIP(), []int{208} } func (x *ListPoliciesResponse) GetPolicies() []*AccessPolicy { @@ -11357,7 +11502,7 @@ type PutPolicyRequest struct { func (x *PutPolicyRequest) Reset() { *x = PutPolicyRequest{} - mi := &file_state_v1_state_proto_msgTypes[207] + mi := &file_state_v1_state_proto_msgTypes[209] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11369,7 +11514,7 @@ func (x *PutPolicyRequest) String() string { func (*PutPolicyRequest) ProtoMessage() {} func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[207] + mi := &file_state_v1_state_proto_msgTypes[209] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11382,7 +11527,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{207} + return file_state_v1_state_proto_rawDescGZIP(), []int{209} } func (x *PutPolicyRequest) GetPolicy() *AccessPolicy { @@ -11401,7 +11546,7 @@ type PutPolicyResponse struct { func (x *PutPolicyResponse) Reset() { *x = PutPolicyResponse{} - mi := &file_state_v1_state_proto_msgTypes[208] + mi := &file_state_v1_state_proto_msgTypes[210] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11413,7 +11558,7 @@ func (x *PutPolicyResponse) String() string { func (*PutPolicyResponse) ProtoMessage() {} func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[208] + mi := &file_state_v1_state_proto_msgTypes[210] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11426,7 +11571,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{208} + return file_state_v1_state_proto_rawDescGZIP(), []int{210} } func (x *PutPolicyResponse) GetVersion() int64 { @@ -11445,7 +11590,7 @@ type DeletePolicyRequest struct { func (x *DeletePolicyRequest) Reset() { *x = DeletePolicyRequest{} - mi := &file_state_v1_state_proto_msgTypes[209] + mi := &file_state_v1_state_proto_msgTypes[211] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11457,7 +11602,7 @@ func (x *DeletePolicyRequest) String() string { func (*DeletePolicyRequest) ProtoMessage() {} func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[209] + mi := &file_state_v1_state_proto_msgTypes[211] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11470,7 +11615,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{209} + return file_state_v1_state_proto_rawDescGZIP(), []int{211} } func (x *DeletePolicyRequest) GetPolicy() *AccessPolicy { @@ -11488,7 +11633,7 @@ type DeletePolicyResponse struct { func (x *DeletePolicyResponse) Reset() { *x = DeletePolicyResponse{} - mi := &file_state_v1_state_proto_msgTypes[210] + mi := &file_state_v1_state_proto_msgTypes[212] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11500,7 +11645,7 @@ func (x *DeletePolicyResponse) String() string { func (*DeletePolicyResponse) ProtoMessage() {} func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[210] + mi := &file_state_v1_state_proto_msgTypes[212] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11513,7 +11658,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{210} + return file_state_v1_state_proto_rawDescGZIP(), []int{212} } type EnsureShippedOrgPoliciesRequest struct { @@ -11525,7 +11670,7 @@ type EnsureShippedOrgPoliciesRequest struct { func (x *EnsureShippedOrgPoliciesRequest) Reset() { *x = EnsureShippedOrgPoliciesRequest{} - mi := &file_state_v1_state_proto_msgTypes[211] + mi := &file_state_v1_state_proto_msgTypes[213] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11537,7 +11682,7 @@ func (x *EnsureShippedOrgPoliciesRequest) String() string { func (*EnsureShippedOrgPoliciesRequest) ProtoMessage() {} func (x *EnsureShippedOrgPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[211] + mi := &file_state_v1_state_proto_msgTypes[213] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11550,7 +11695,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{211} + return file_state_v1_state_proto_rawDescGZIP(), []int{213} } func (x *EnsureShippedOrgPoliciesRequest) GetOrgId() string { @@ -11568,7 +11713,7 @@ type EnsureShippedOrgPoliciesResponse struct { func (x *EnsureShippedOrgPoliciesResponse) Reset() { *x = EnsureShippedOrgPoliciesResponse{} - mi := &file_state_v1_state_proto_msgTypes[212] + mi := &file_state_v1_state_proto_msgTypes[214] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11580,7 +11725,7 @@ func (x *EnsureShippedOrgPoliciesResponse) String() string { func (*EnsureShippedOrgPoliciesResponse) ProtoMessage() {} func (x *EnsureShippedOrgPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[212] + mi := &file_state_v1_state_proto_msgTypes[214] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11593,7 +11738,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{212} + return file_state_v1_state_proto_rawDescGZIP(), []int{214} } // AccessDenial mirrors internal/domain/access.Denial: one refusal with the @@ -11616,7 +11761,7 @@ type AccessDenial struct { func (x *AccessDenial) Reset() { *x = AccessDenial{} - mi := &file_state_v1_state_proto_msgTypes[213] + mi := &file_state_v1_state_proto_msgTypes[215] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11628,7 +11773,7 @@ func (x *AccessDenial) String() string { func (*AccessDenial) ProtoMessage() {} func (x *AccessDenial) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[213] + mi := &file_state_v1_state_proto_msgTypes[215] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11641,7 +11786,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{213} + return file_state_v1_state_proto_rawDescGZIP(), []int{215} } func (x *AccessDenial) GetOrgId() string { @@ -11716,7 +11861,7 @@ type RecordDenialRequest struct { func (x *RecordDenialRequest) Reset() { *x = RecordDenialRequest{} - mi := &file_state_v1_state_proto_msgTypes[214] + mi := &file_state_v1_state_proto_msgTypes[216] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11728,7 +11873,7 @@ func (x *RecordDenialRequest) String() string { func (*RecordDenialRequest) ProtoMessage() {} func (x *RecordDenialRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[214] + mi := &file_state_v1_state_proto_msgTypes[216] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11741,7 +11886,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{214} + return file_state_v1_state_proto_rawDescGZIP(), []int{216} } func (x *RecordDenialRequest) GetDenial() *AccessDenial { @@ -11759,7 +11904,7 @@ type RecordDenialResponse struct { func (x *RecordDenialResponse) Reset() { *x = RecordDenialResponse{} - mi := &file_state_v1_state_proto_msgTypes[215] + mi := &file_state_v1_state_proto_msgTypes[217] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11771,7 +11916,7 @@ func (x *RecordDenialResponse) String() string { func (*RecordDenialResponse) ProtoMessage() {} func (x *RecordDenialResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[215] + mi := &file_state_v1_state_proto_msgTypes[217] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11784,7 +11929,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{215} + return file_state_v1_state_proto_rawDescGZIP(), []int{217} } type ListDenialsRequest struct { @@ -11797,7 +11942,7 @@ type ListDenialsRequest struct { func (x *ListDenialsRequest) Reset() { *x = ListDenialsRequest{} - mi := &file_state_v1_state_proto_msgTypes[216] + mi := &file_state_v1_state_proto_msgTypes[218] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11809,7 +11954,7 @@ func (x *ListDenialsRequest) String() string { func (*ListDenialsRequest) ProtoMessage() {} func (x *ListDenialsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[216] + mi := &file_state_v1_state_proto_msgTypes[218] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11822,7 +11967,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{216} + return file_state_v1_state_proto_rawDescGZIP(), []int{218} } func (x *ListDenialsRequest) GetOrgId() string { @@ -11848,7 +11993,7 @@ type ListDenialsResponse struct { func (x *ListDenialsResponse) Reset() { *x = ListDenialsResponse{} - mi := &file_state_v1_state_proto_msgTypes[217] + mi := &file_state_v1_state_proto_msgTypes[219] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11860,7 +12005,7 @@ func (x *ListDenialsResponse) String() string { func (*ListDenialsResponse) ProtoMessage() {} func (x *ListDenialsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[217] + mi := &file_state_v1_state_proto_msgTypes[219] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11873,7 +12018,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{217} + return file_state_v1_state_proto_rawDescGZIP(), []int{219} } func (x *ListDenialsResponse) GetDenials() []*AccessDenial { @@ -11963,7 +12108,7 @@ const file_state_v1_state_proto_rawDesc = "" + "\asubject\x18\x03 \x01(\tR\asubject\x12-\n" + "\x05audit\x18\x04 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"M\n" + "\x1bBindIdentitySubjectResponse\x12.\n" + - "\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\x81\n" + + "\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\xcb\n" + "\n" + "\x04Task\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" + @@ -12015,7 +12160,10 @@ const file_state_v1_state_proto_rawDesc = "" + "\x13call_parent_task_id\x18$ \x01(\x03R\x10callParentTaskId\x12\x1d\n" + "\n" + "call_depth\x18% \x01(\x05R\tcallDepth\x12!\n" + - "\foutputs_json\x18& \x01(\tR\voutputsJson\"\xf8\x02\n" + + "\foutputs_json\x18& \x01(\tR\voutputsJson\x12\x1f\n" + + "\vreview_gate\x18' \x01(\tR\n" + + "reviewGate\x12'\n" + + "\x0frereview_rounds\x18( \x01(\x03R\x0erereviewRounds\"\xf8\x02\n" + "\x05Event\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12*\n" + "\x02at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x02at\x12\x12\n" + @@ -12276,7 +12424,15 @@ const file_state_v1_state_proto_rawDesc = "" + "\vfrom_status\x18\x02 \x01(\tR\n" + "fromStatus\x12\x1a\n" + "\bworkflow\x18\x03 \x01(\tR\bworkflow\"\x13\n" + - "\x11RetryTaskResponse\"L\n" + + "\x11RetryTaskResponse\"\x96\x01\n" + + "\x18RespondReviewGateRequest\x12\x17\n" + + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" + + "\vfrom_status\x18\x02 \x01(\tR\n" + + "fromStatus\x12\x12\n" + + "\x04gate\x18\x03 \x01(\tR\x04gate\x12\x1a\n" + + "\brereview\x18\x04 \x01(\bR\brereview\x12\x10\n" + + "\x03cap\x18\x05 \x01(\x03R\x03cap\"\x1b\n" + + "\x19RespondReviewGateResponse\"L\n" + "\x17BeginRemediationRequest\x12\x17\n" + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x18\n" + "\apayload\x18\x02 \x01(\tR\apayload\"\x1a\n" + @@ -12667,7 +12823,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\x9e?\n" + + "\adenials\x18\x01 \x03(\v2\x16.state.v1.AccessDenialR\adenials2\xfc?\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" + @@ -12703,7 +12859,8 @@ const file_state_v1_state_proto_rawDesc = "" + "\bParkTask\x12\x19.state.v1.ParkTaskRequest\x1a\x1a.state.v1.ParkTaskResponse\x12M\n" + "\fRecoverStale\x12\x1d.state.v1.RecoverStaleRequest\x1a\x1e.state.v1.RecoverStaleResponse\x12J\n" + "\vArchiveTask\x12\x1c.state.v1.ArchiveTaskRequest\x1a\x1d.state.v1.ArchiveTaskResponse\x12D\n" + - "\tRetryTask\x12\x1a.state.v1.RetryTaskRequest\x1a\x1b.state.v1.RetryTaskResponse\x12Y\n" + + "\tRetryTask\x12\x1a.state.v1.RetryTaskRequest\x1a\x1b.state.v1.RetryTaskResponse\x12\\\n" + + "\x11RespondReviewGate\x12\".state.v1.RespondReviewGateRequest\x1a#.state.v1.RespondReviewGateResponse\x12Y\n" + "\x10BeginRemediation\x12!.state.v1.BeginRemediationRequest\x1a\".state.v1.BeginRemediationResponse\x12b\n" + "\x13UpdateReviewPayload\x12$.state.v1.UpdateReviewPayloadRequest\x1a%.state.v1.UpdateReviewPayloadResponse\x12Y\n" + "\x10SetReviewCursors\x12!.state.v1.SetReviewCursorsRequest\x1a\".state.v1.SetReviewCursorsResponse\x12J\n" + @@ -12785,7 +12942,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, 220) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 222) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -12861,157 +13018,159 @@ var file_state_v1_state_proto_goTypes = []any{ (*ArchiveTaskResponse)(nil), // 71: state.v1.ArchiveTaskResponse (*RetryTaskRequest)(nil), // 72: state.v1.RetryTaskRequest (*RetryTaskResponse)(nil), // 73: state.v1.RetryTaskResponse - (*BeginRemediationRequest)(nil), // 74: state.v1.BeginRemediationRequest - (*BeginRemediationResponse)(nil), // 75: state.v1.BeginRemediationResponse - (*UpdateReviewPayloadRequest)(nil), // 76: state.v1.UpdateReviewPayloadRequest - (*UpdateReviewPayloadResponse)(nil), // 77: state.v1.UpdateReviewPayloadResponse - (*SetReviewCursorsRequest)(nil), // 78: state.v1.SetReviewCursorsRequest - (*SetReviewCursorsResponse)(nil), // 79: state.v1.SetReviewCursorsResponse - (*TaskByIssueRequest)(nil), // 80: state.v1.TaskByIssueRequest - (*TaskByIssueResponse)(nil), // 81: state.v1.TaskByIssueResponse - (*OpenTaskByPRRequest)(nil), // 82: state.v1.OpenTaskByPRRequest - (*OpenTaskByPRResponse)(nil), // 83: state.v1.OpenTaskByPRResponse - (*TaskByIDRequest)(nil), // 84: state.v1.TaskByIDRequest - (*TaskByIDResponse)(nil), // 85: state.v1.TaskByIDResponse - (*OpenPRsRequest)(nil), // 86: state.v1.OpenPRsRequest - (*OpenPRsResponse)(nil), // 87: state.v1.OpenPRsResponse - (*ClearTerminalTasksRequest)(nil), // 88: state.v1.ClearTerminalTasksRequest - (*ClearTerminalTasksResponse)(nil), // 89: state.v1.ClearTerminalTasksResponse - (*TasksRequest)(nil), // 90: state.v1.TasksRequest - (*TasksResponse)(nil), // 91: state.v1.TasksResponse - (*StatusCountsRequest)(nil), // 92: state.v1.StatusCountsRequest - (*StatusCountsResponse)(nil), // 93: state.v1.StatusCountsResponse - (*InsertEventRequest)(nil), // 94: state.v1.InsertEventRequest - (*InsertEventResponse)(nil), // 95: state.v1.InsertEventResponse - (*EventsSinceRequest)(nil), // 96: state.v1.EventsSinceRequest - (*EventsSinceResponse)(nil), // 97: state.v1.EventsSinceResponse - (*TaskEventsRequest)(nil), // 98: state.v1.TaskEventsRequest - (*TaskEventsResponse)(nil), // 99: state.v1.TaskEventsResponse - (*WorkflowStatsRequest)(nil), // 100: state.v1.WorkflowStatsRequest - (*WorkflowStatsResponse)(nil), // 101: state.v1.WorkflowStatsResponse - (*StageStatsRequest)(nil), // 102: state.v1.StageStatsRequest - (*StageStatsResponse)(nil), // 103: state.v1.StageStatsResponse - (*TokensByDayRequest)(nil), // 104: state.v1.TokensByDayRequest - (*TokensByDayResponse)(nil), // 105: state.v1.TokensByDayResponse - (*ConfigSnapshot)(nil), // 106: state.v1.ConfigSnapshot - (*PutConfigSnapshotRequest)(nil), // 107: state.v1.PutConfigSnapshotRequest - (*PutConfigSnapshotResponse)(nil), // 108: state.v1.PutConfigSnapshotResponse - (*GetConfigSnapshotRequest)(nil), // 109: state.v1.GetConfigSnapshotRequest - (*GetConfigSnapshotResponse)(nil), // 110: state.v1.GetConfigSnapshotResponse - (*ChannelStatus)(nil), // 111: state.v1.ChannelStatus - (*PutChannelStatusRequest)(nil), // 112: state.v1.PutChannelStatusRequest - (*PutChannelStatusResponse)(nil), // 113: state.v1.PutChannelStatusResponse - (*ListChannelStatusRequest)(nil), // 114: state.v1.ListChannelStatusRequest - (*ListChannelStatusResponse)(nil), // 115: state.v1.ListChannelStatusResponse - (*ApplyStatus)(nil), // 116: state.v1.ApplyStatus - (*PutApplyStatusRequest)(nil), // 117: state.v1.PutApplyStatusRequest - (*PutApplyStatusResponse)(nil), // 118: state.v1.PutApplyStatusResponse - (*ListApplyStatusRequest)(nil), // 119: state.v1.ListApplyStatusRequest - (*ListApplyStatusResponse)(nil), // 120: state.v1.ListApplyStatusResponse - (*TaskLogEntry)(nil), // 121: state.v1.TaskLogEntry - (*ReadTaskLogRequest)(nil), // 122: state.v1.ReadTaskLogRequest - (*ReadTaskLogResponse)(nil), // 123: state.v1.ReadTaskLogResponse - (*StreamTaskLogContentRequest)(nil), // 124: state.v1.StreamTaskLogContentRequest - (*StreamTaskLogContentResponse)(nil), // 125: state.v1.StreamTaskLogContentResponse - (*InsertCaptureRequest)(nil), // 126: state.v1.InsertCaptureRequest - (*InsertCaptureResponse)(nil), // 127: state.v1.InsertCaptureResponse - (*StreamCapturesRequest)(nil), // 128: state.v1.StreamCapturesRequest - (*StreamCapturesResponse)(nil), // 129: state.v1.StreamCapturesResponse - (*InsertMappingRequest)(nil), // 130: state.v1.InsertMappingRequest - (*InsertMappingResponse)(nil), // 131: state.v1.InsertMappingResponse - (*GetMappingRequest)(nil), // 132: state.v1.GetMappingRequest - (*GetMappingResponse)(nil), // 133: state.v1.GetMappingResponse - (*ListMappingsRequest)(nil), // 134: state.v1.ListMappingsRequest - (*ListMappingsResponse)(nil), // 135: state.v1.ListMappingsResponse - (*UpdateMappingRequest)(nil), // 136: state.v1.UpdateMappingRequest - (*UpdateMappingResponse)(nil), // 137: state.v1.UpdateMappingResponse - (*DeleteMappingRequest)(nil), // 138: state.v1.DeleteMappingRequest - (*DeleteMappingResponse)(nil), // 139: state.v1.DeleteMappingResponse - (*RecordMappingMatchRequest)(nil), // 140: state.v1.RecordMappingMatchRequest - (*RecordMappingMatchResponse)(nil), // 141: state.v1.RecordMappingMatchResponse - (*InsertEventTypeRequest)(nil), // 142: state.v1.InsertEventTypeRequest - (*InsertEventTypeResponse)(nil), // 143: state.v1.InsertEventTypeResponse - (*UpdateEventTypeRequest)(nil), // 144: state.v1.UpdateEventTypeRequest - (*UpdateEventTypeResponse)(nil), // 145: state.v1.UpdateEventTypeResponse - (*DeleteEventTypeRequest)(nil), // 146: state.v1.DeleteEventTypeRequest - (*DeleteEventTypeResponse)(nil), // 147: state.v1.DeleteEventTypeResponse - (*ListEventTypesRequest)(nil), // 148: state.v1.ListEventTypesRequest - (*ListEventTypesResponse)(nil), // 149: state.v1.ListEventTypesResponse - (*InsertBindingRequest)(nil), // 150: state.v1.InsertBindingRequest - (*InsertBindingResponse)(nil), // 151: state.v1.InsertBindingResponse - (*GetBindingRequest)(nil), // 152: state.v1.GetBindingRequest - (*GetBindingResponse)(nil), // 153: state.v1.GetBindingResponse - (*ListBindingsRequest)(nil), // 154: state.v1.ListBindingsRequest - (*ListBindingsResponse)(nil), // 155: state.v1.ListBindingsResponse - (*UpdateBindingRequest)(nil), // 156: state.v1.UpdateBindingRequest - (*UpdateBindingResponse)(nil), // 157: state.v1.UpdateBindingResponse - (*DeleteBindingRequest)(nil), // 158: state.v1.DeleteBindingRequest - (*DeleteBindingResponse)(nil), // 159: state.v1.DeleteBindingResponse - (*ApproveBindingRequest)(nil), // 160: state.v1.ApproveBindingRequest - (*ApproveBindingResponse)(nil), // 161: state.v1.ApproveBindingResponse - (*InsertSourceRequest)(nil), // 162: state.v1.InsertSourceRequest - (*InsertSourceResponse)(nil), // 163: state.v1.InsertSourceResponse - (*GetSourceRequest)(nil), // 164: state.v1.GetSourceRequest - (*GetSourceResponse)(nil), // 165: state.v1.GetSourceResponse - (*ListSourcesRequest)(nil), // 166: state.v1.ListSourcesRequest - (*ListSourcesResponse)(nil), // 167: state.v1.ListSourcesResponse - (*SetSourceSigningRequest)(nil), // 168: state.v1.SetSourceSigningRequest - (*SetSourceSigningResponse)(nil), // 169: state.v1.SetSourceSigningResponse - (*SetSourceSecretRequest)(nil), // 170: state.v1.SetSourceSecretRequest - (*SetSourceSecretResponse)(nil), // 171: state.v1.SetSourceSecretResponse - (*ArmedBindingsForSourceRequest)(nil), // 172: state.v1.ArmedBindingsForSourceRequest - (*ArmedBindingsForSourceResponse)(nil), // 173: state.v1.ArmedBindingsForSourceResponse - (*RecordDispatchRequest)(nil), // 174: state.v1.RecordDispatchRequest - (*RecordDispatchResponse)(nil), // 175: state.v1.RecordDispatchResponse - (*RecordPlaybookDispatchRequest)(nil), // 176: state.v1.RecordPlaybookDispatchRequest - (*RecordPlaybookDispatchResponse)(nil), // 177: state.v1.RecordPlaybookDispatchResponse - (*DeletePlaybookDispatchesRequest)(nil), // 178: state.v1.DeletePlaybookDispatchesRequest - (*DeletePlaybookDispatchesResponse)(nil), // 179: state.v1.DeletePlaybookDispatchesResponse - (*StreamUndispatchedCapturesRequest)(nil), // 180: state.v1.StreamUndispatchedCapturesRequest - (*StreamUndispatchedCapturesResponse)(nil), // 181: state.v1.StreamUndispatchedCapturesResponse - (*EnqueueBindingTaskRequest)(nil), // 182: state.v1.EnqueueBindingTaskRequest - (*EnqueueBindingTaskResponse)(nil), // 183: state.v1.EnqueueBindingTaskResponse - (*EnqueueCallTaskRequest)(nil), // 184: state.v1.EnqueueCallTaskRequest - (*EnqueueCallTaskResponse)(nil), // 185: state.v1.EnqueueCallTaskResponse - (*WorkflowCallStatusRequest)(nil), // 186: state.v1.WorkflowCallStatusRequest - (*WorkflowCallStatusResponse)(nil), // 187: state.v1.WorkflowCallStatusResponse - (*InstalledPackage)(nil), // 188: state.v1.InstalledPackage - (*PackageAuthority)(nil), // 189: state.v1.PackageAuthority - (*InstallPackageRequest)(nil), // 190: state.v1.InstallPackageRequest - (*InstallPackageResponse)(nil), // 191: state.v1.InstallPackageResponse - (*GetInstalledPackageRequest)(nil), // 192: state.v1.GetInstalledPackageRequest - (*GetInstalledPackageResponse)(nil), // 193: state.v1.GetInstalledPackageResponse - (*ListInstalledPackagesRequest)(nil), // 194: state.v1.ListInstalledPackagesRequest - (*ListInstalledPackagesResponse)(nil), // 195: state.v1.ListInstalledPackagesResponse - (*AcceptPackageAuthorityRequest)(nil), // 196: state.v1.AcceptPackageAuthorityRequest - (*AcceptPackageAuthorityResponse)(nil), // 197: state.v1.AcceptPackageAuthorityResponse - (*RemoveInstalledPackageRequest)(nil), // 198: state.v1.RemoveInstalledPackageRequest - (*RemoveInstalledPackageResponse)(nil), // 199: state.v1.RemoveInstalledPackageResponse - (*GetPrincipalRequest)(nil), // 200: state.v1.GetPrincipalRequest - (*PrincipalMembership)(nil), // 201: state.v1.PrincipalMembership - (*AccessPrincipal)(nil), // 202: state.v1.AccessPrincipal - (*GetPrincipalResponse)(nil), // 203: state.v1.GetPrincipalResponse - (*AccessPolicy)(nil), // 204: state.v1.AccessPolicy - (*ListPoliciesRequest)(nil), // 205: state.v1.ListPoliciesRequest - (*ListPoliciesResponse)(nil), // 206: state.v1.ListPoliciesResponse - (*PutPolicyRequest)(nil), // 207: state.v1.PutPolicyRequest - (*PutPolicyResponse)(nil), // 208: state.v1.PutPolicyResponse - (*DeletePolicyRequest)(nil), // 209: state.v1.DeletePolicyRequest - (*DeletePolicyResponse)(nil), // 210: state.v1.DeletePolicyResponse - (*EnsureShippedOrgPoliciesRequest)(nil), // 211: state.v1.EnsureShippedOrgPoliciesRequest - (*EnsureShippedOrgPoliciesResponse)(nil), // 212: state.v1.EnsureShippedOrgPoliciesResponse - (*AccessDenial)(nil), // 213: state.v1.AccessDenial - (*RecordDenialRequest)(nil), // 214: state.v1.RecordDenialRequest - (*RecordDenialResponse)(nil), // 215: state.v1.RecordDenialResponse - (*ListDenialsRequest)(nil), // 216: state.v1.ListDenialsRequest - (*ListDenialsResponse)(nil), // 217: state.v1.ListDenialsResponse - nil, // 218: state.v1.EventType.SchemaEntry - nil, // 219: state.v1.StatusCountsResponse.CountsEntry - (*timestamppb.Timestamp)(nil), // 220: google.protobuf.Timestamp + (*RespondReviewGateRequest)(nil), // 74: state.v1.RespondReviewGateRequest + (*RespondReviewGateResponse)(nil), // 75: state.v1.RespondReviewGateResponse + (*BeginRemediationRequest)(nil), // 76: state.v1.BeginRemediationRequest + (*BeginRemediationResponse)(nil), // 77: state.v1.BeginRemediationResponse + (*UpdateReviewPayloadRequest)(nil), // 78: state.v1.UpdateReviewPayloadRequest + (*UpdateReviewPayloadResponse)(nil), // 79: state.v1.UpdateReviewPayloadResponse + (*SetReviewCursorsRequest)(nil), // 80: state.v1.SetReviewCursorsRequest + (*SetReviewCursorsResponse)(nil), // 81: state.v1.SetReviewCursorsResponse + (*TaskByIssueRequest)(nil), // 82: state.v1.TaskByIssueRequest + (*TaskByIssueResponse)(nil), // 83: state.v1.TaskByIssueResponse + (*OpenTaskByPRRequest)(nil), // 84: state.v1.OpenTaskByPRRequest + (*OpenTaskByPRResponse)(nil), // 85: state.v1.OpenTaskByPRResponse + (*TaskByIDRequest)(nil), // 86: state.v1.TaskByIDRequest + (*TaskByIDResponse)(nil), // 87: state.v1.TaskByIDResponse + (*OpenPRsRequest)(nil), // 88: state.v1.OpenPRsRequest + (*OpenPRsResponse)(nil), // 89: state.v1.OpenPRsResponse + (*ClearTerminalTasksRequest)(nil), // 90: state.v1.ClearTerminalTasksRequest + (*ClearTerminalTasksResponse)(nil), // 91: state.v1.ClearTerminalTasksResponse + (*TasksRequest)(nil), // 92: state.v1.TasksRequest + (*TasksResponse)(nil), // 93: state.v1.TasksResponse + (*StatusCountsRequest)(nil), // 94: state.v1.StatusCountsRequest + (*StatusCountsResponse)(nil), // 95: state.v1.StatusCountsResponse + (*InsertEventRequest)(nil), // 96: state.v1.InsertEventRequest + (*InsertEventResponse)(nil), // 97: state.v1.InsertEventResponse + (*EventsSinceRequest)(nil), // 98: state.v1.EventsSinceRequest + (*EventsSinceResponse)(nil), // 99: state.v1.EventsSinceResponse + (*TaskEventsRequest)(nil), // 100: state.v1.TaskEventsRequest + (*TaskEventsResponse)(nil), // 101: state.v1.TaskEventsResponse + (*WorkflowStatsRequest)(nil), // 102: state.v1.WorkflowStatsRequest + (*WorkflowStatsResponse)(nil), // 103: state.v1.WorkflowStatsResponse + (*StageStatsRequest)(nil), // 104: state.v1.StageStatsRequest + (*StageStatsResponse)(nil), // 105: state.v1.StageStatsResponse + (*TokensByDayRequest)(nil), // 106: state.v1.TokensByDayRequest + (*TokensByDayResponse)(nil), // 107: state.v1.TokensByDayResponse + (*ConfigSnapshot)(nil), // 108: state.v1.ConfigSnapshot + (*PutConfigSnapshotRequest)(nil), // 109: state.v1.PutConfigSnapshotRequest + (*PutConfigSnapshotResponse)(nil), // 110: state.v1.PutConfigSnapshotResponse + (*GetConfigSnapshotRequest)(nil), // 111: state.v1.GetConfigSnapshotRequest + (*GetConfigSnapshotResponse)(nil), // 112: state.v1.GetConfigSnapshotResponse + (*ChannelStatus)(nil), // 113: state.v1.ChannelStatus + (*PutChannelStatusRequest)(nil), // 114: state.v1.PutChannelStatusRequest + (*PutChannelStatusResponse)(nil), // 115: state.v1.PutChannelStatusResponse + (*ListChannelStatusRequest)(nil), // 116: state.v1.ListChannelStatusRequest + (*ListChannelStatusResponse)(nil), // 117: state.v1.ListChannelStatusResponse + (*ApplyStatus)(nil), // 118: state.v1.ApplyStatus + (*PutApplyStatusRequest)(nil), // 119: state.v1.PutApplyStatusRequest + (*PutApplyStatusResponse)(nil), // 120: state.v1.PutApplyStatusResponse + (*ListApplyStatusRequest)(nil), // 121: state.v1.ListApplyStatusRequest + (*ListApplyStatusResponse)(nil), // 122: state.v1.ListApplyStatusResponse + (*TaskLogEntry)(nil), // 123: state.v1.TaskLogEntry + (*ReadTaskLogRequest)(nil), // 124: state.v1.ReadTaskLogRequest + (*ReadTaskLogResponse)(nil), // 125: state.v1.ReadTaskLogResponse + (*StreamTaskLogContentRequest)(nil), // 126: state.v1.StreamTaskLogContentRequest + (*StreamTaskLogContentResponse)(nil), // 127: state.v1.StreamTaskLogContentResponse + (*InsertCaptureRequest)(nil), // 128: state.v1.InsertCaptureRequest + (*InsertCaptureResponse)(nil), // 129: state.v1.InsertCaptureResponse + (*StreamCapturesRequest)(nil), // 130: state.v1.StreamCapturesRequest + (*StreamCapturesResponse)(nil), // 131: state.v1.StreamCapturesResponse + (*InsertMappingRequest)(nil), // 132: state.v1.InsertMappingRequest + (*InsertMappingResponse)(nil), // 133: state.v1.InsertMappingResponse + (*GetMappingRequest)(nil), // 134: state.v1.GetMappingRequest + (*GetMappingResponse)(nil), // 135: state.v1.GetMappingResponse + (*ListMappingsRequest)(nil), // 136: state.v1.ListMappingsRequest + (*ListMappingsResponse)(nil), // 137: state.v1.ListMappingsResponse + (*UpdateMappingRequest)(nil), // 138: state.v1.UpdateMappingRequest + (*UpdateMappingResponse)(nil), // 139: state.v1.UpdateMappingResponse + (*DeleteMappingRequest)(nil), // 140: state.v1.DeleteMappingRequest + (*DeleteMappingResponse)(nil), // 141: state.v1.DeleteMappingResponse + (*RecordMappingMatchRequest)(nil), // 142: state.v1.RecordMappingMatchRequest + (*RecordMappingMatchResponse)(nil), // 143: state.v1.RecordMappingMatchResponse + (*InsertEventTypeRequest)(nil), // 144: state.v1.InsertEventTypeRequest + (*InsertEventTypeResponse)(nil), // 145: state.v1.InsertEventTypeResponse + (*UpdateEventTypeRequest)(nil), // 146: state.v1.UpdateEventTypeRequest + (*UpdateEventTypeResponse)(nil), // 147: state.v1.UpdateEventTypeResponse + (*DeleteEventTypeRequest)(nil), // 148: state.v1.DeleteEventTypeRequest + (*DeleteEventTypeResponse)(nil), // 149: state.v1.DeleteEventTypeResponse + (*ListEventTypesRequest)(nil), // 150: state.v1.ListEventTypesRequest + (*ListEventTypesResponse)(nil), // 151: state.v1.ListEventTypesResponse + (*InsertBindingRequest)(nil), // 152: state.v1.InsertBindingRequest + (*InsertBindingResponse)(nil), // 153: state.v1.InsertBindingResponse + (*GetBindingRequest)(nil), // 154: state.v1.GetBindingRequest + (*GetBindingResponse)(nil), // 155: state.v1.GetBindingResponse + (*ListBindingsRequest)(nil), // 156: state.v1.ListBindingsRequest + (*ListBindingsResponse)(nil), // 157: state.v1.ListBindingsResponse + (*UpdateBindingRequest)(nil), // 158: state.v1.UpdateBindingRequest + (*UpdateBindingResponse)(nil), // 159: state.v1.UpdateBindingResponse + (*DeleteBindingRequest)(nil), // 160: state.v1.DeleteBindingRequest + (*DeleteBindingResponse)(nil), // 161: state.v1.DeleteBindingResponse + (*ApproveBindingRequest)(nil), // 162: state.v1.ApproveBindingRequest + (*ApproveBindingResponse)(nil), // 163: state.v1.ApproveBindingResponse + (*InsertSourceRequest)(nil), // 164: state.v1.InsertSourceRequest + (*InsertSourceResponse)(nil), // 165: state.v1.InsertSourceResponse + (*GetSourceRequest)(nil), // 166: state.v1.GetSourceRequest + (*GetSourceResponse)(nil), // 167: state.v1.GetSourceResponse + (*ListSourcesRequest)(nil), // 168: state.v1.ListSourcesRequest + (*ListSourcesResponse)(nil), // 169: state.v1.ListSourcesResponse + (*SetSourceSigningRequest)(nil), // 170: state.v1.SetSourceSigningRequest + (*SetSourceSigningResponse)(nil), // 171: state.v1.SetSourceSigningResponse + (*SetSourceSecretRequest)(nil), // 172: state.v1.SetSourceSecretRequest + (*SetSourceSecretResponse)(nil), // 173: state.v1.SetSourceSecretResponse + (*ArmedBindingsForSourceRequest)(nil), // 174: state.v1.ArmedBindingsForSourceRequest + (*ArmedBindingsForSourceResponse)(nil), // 175: state.v1.ArmedBindingsForSourceResponse + (*RecordDispatchRequest)(nil), // 176: state.v1.RecordDispatchRequest + (*RecordDispatchResponse)(nil), // 177: state.v1.RecordDispatchResponse + (*RecordPlaybookDispatchRequest)(nil), // 178: state.v1.RecordPlaybookDispatchRequest + (*RecordPlaybookDispatchResponse)(nil), // 179: state.v1.RecordPlaybookDispatchResponse + (*DeletePlaybookDispatchesRequest)(nil), // 180: state.v1.DeletePlaybookDispatchesRequest + (*DeletePlaybookDispatchesResponse)(nil), // 181: state.v1.DeletePlaybookDispatchesResponse + (*StreamUndispatchedCapturesRequest)(nil), // 182: state.v1.StreamUndispatchedCapturesRequest + (*StreamUndispatchedCapturesResponse)(nil), // 183: state.v1.StreamUndispatchedCapturesResponse + (*EnqueueBindingTaskRequest)(nil), // 184: state.v1.EnqueueBindingTaskRequest + (*EnqueueBindingTaskResponse)(nil), // 185: state.v1.EnqueueBindingTaskResponse + (*EnqueueCallTaskRequest)(nil), // 186: state.v1.EnqueueCallTaskRequest + (*EnqueueCallTaskResponse)(nil), // 187: state.v1.EnqueueCallTaskResponse + (*WorkflowCallStatusRequest)(nil), // 188: state.v1.WorkflowCallStatusRequest + (*WorkflowCallStatusResponse)(nil), // 189: state.v1.WorkflowCallStatusResponse + (*InstalledPackage)(nil), // 190: state.v1.InstalledPackage + (*PackageAuthority)(nil), // 191: state.v1.PackageAuthority + (*InstallPackageRequest)(nil), // 192: state.v1.InstallPackageRequest + (*InstallPackageResponse)(nil), // 193: state.v1.InstallPackageResponse + (*GetInstalledPackageRequest)(nil), // 194: state.v1.GetInstalledPackageRequest + (*GetInstalledPackageResponse)(nil), // 195: state.v1.GetInstalledPackageResponse + (*ListInstalledPackagesRequest)(nil), // 196: state.v1.ListInstalledPackagesRequest + (*ListInstalledPackagesResponse)(nil), // 197: state.v1.ListInstalledPackagesResponse + (*AcceptPackageAuthorityRequest)(nil), // 198: state.v1.AcceptPackageAuthorityRequest + (*AcceptPackageAuthorityResponse)(nil), // 199: state.v1.AcceptPackageAuthorityResponse + (*RemoveInstalledPackageRequest)(nil), // 200: state.v1.RemoveInstalledPackageRequest + (*RemoveInstalledPackageResponse)(nil), // 201: state.v1.RemoveInstalledPackageResponse + (*GetPrincipalRequest)(nil), // 202: state.v1.GetPrincipalRequest + (*PrincipalMembership)(nil), // 203: state.v1.PrincipalMembership + (*AccessPrincipal)(nil), // 204: state.v1.AccessPrincipal + (*GetPrincipalResponse)(nil), // 205: state.v1.GetPrincipalResponse + (*AccessPolicy)(nil), // 206: state.v1.AccessPolicy + (*ListPoliciesRequest)(nil), // 207: state.v1.ListPoliciesRequest + (*ListPoliciesResponse)(nil), // 208: state.v1.ListPoliciesResponse + (*PutPolicyRequest)(nil), // 209: state.v1.PutPolicyRequest + (*PutPolicyResponse)(nil), // 210: state.v1.PutPolicyResponse + (*DeletePolicyRequest)(nil), // 211: state.v1.DeletePolicyRequest + (*DeletePolicyResponse)(nil), // 212: state.v1.DeletePolicyResponse + (*EnsureShippedOrgPoliciesRequest)(nil), // 213: state.v1.EnsureShippedOrgPoliciesRequest + (*EnsureShippedOrgPoliciesResponse)(nil), // 214: state.v1.EnsureShippedOrgPoliciesResponse + (*AccessDenial)(nil), // 215: state.v1.AccessDenial + (*RecordDenialRequest)(nil), // 216: state.v1.RecordDenialRequest + (*RecordDenialResponse)(nil), // 217: state.v1.RecordDenialResponse + (*ListDenialsRequest)(nil), // 218: state.v1.ListDenialsRequest + (*ListDenialsResponse)(nil), // 219: state.v1.ListDenialsResponse + nil, // 220: state.v1.EventType.SchemaEntry + nil, // 221: state.v1.StatusCountsResponse.CountsEntry + (*timestamppb.Timestamp)(nil), // 222: google.protobuf.Timestamp } var file_state_v1_state_proto_depIdxs = []int32{ - 220, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 220, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 222, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 222, // 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 @@ -13027,34 +13186,34 @@ 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 - 220, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 220, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 220, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 220, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 222, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 222, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 222, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 222, // 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 - 218, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry - 220, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp - 220, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp + 220, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry + 222, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp + 222, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp 30, // 26: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 220, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 220, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp - 220, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp + 222, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 222, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 222, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp 32, // 30: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 220, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 220, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp - 220, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp - 220, // 34: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp + 222, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 222, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 222, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp + 222, // 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 25, // 38: state.v1.StartStepResponse.event:type_name -> state.v1.Event 25, // 39: state.v1.FinishStepResponse.event:type_name -> state.v1.Event - 220, // 40: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp - 220, // 41: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp + 222, // 40: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp + 222, // 41: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp 54, // 42: state.v1.ListStepsResponse.steps:type_name -> state.v1.StepExecution - 220, // 43: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp - 220, // 44: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp + 222, // 43: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp + 222, // 44: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp 57, // 45: state.v1.GetHarnessSecretResponse.secret:type_name -> state.v1.HarnessSecret 57, // 46: state.v1.PutHarnessSecretRequest.secret:type_name -> state.v1.HarnessSecret 24, // 47: state.v1.UpdateRequest.task:type_name -> state.v1.Task @@ -13064,26 +13223,26 @@ var file_state_v1_state_proto_depIdxs = []int32{ 24, // 51: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task 24, // 52: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task 24, // 53: state.v1.TasksResponse.tasks:type_name -> state.v1.Task - 219, // 54: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 221, // 54: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry 25, // 55: state.v1.InsertEventRequest.event:type_name -> state.v1.Event 25, // 56: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event 25, // 57: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event 35, // 58: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat 36, // 59: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat 37, // 60: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens - 220, // 61: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp - 106, // 62: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot - 106, // 63: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 220, // 64: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp - 111, // 65: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus - 111, // 66: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 220, // 67: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp - 116, // 68: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus - 116, // 69: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 220, // 70: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 220, // 71: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 220, // 72: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp - 121, // 73: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry + 222, // 61: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 108, // 62: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot + 108, // 63: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot + 222, // 64: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 113, // 65: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus + 113, // 66: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus + 222, // 67: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 118, // 68: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus + 118, // 69: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus + 222, // 70: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 222, // 71: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 222, // 72: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 123, // 73: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry 26, // 74: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent 26, // 75: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent 31, // 76: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping @@ -13104,25 +13263,25 @@ var file_state_v1_state_proto_depIdxs = []int32{ 26, // 91: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent 24, // 92: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task 24, // 93: state.v1.EnqueueCallTaskResponse.task:type_name -> state.v1.Task - 189, // 94: state.v1.InstalledPackage.accepted_authority:type_name -> state.v1.PackageAuthority - 188, // 95: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage - 188, // 96: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage - 188, // 97: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage - 189, // 98: state.v1.AcceptPackageAuthorityRequest.accepted:type_name -> state.v1.PackageAuthority - 188, // 99: state.v1.AcceptPackageAuthorityResponse.package:type_name -> state.v1.InstalledPackage - 201, // 100: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership - 202, // 101: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal - 204, // 102: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy - 204, // 103: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy - 204, // 104: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy - 220, // 105: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp - 213, // 106: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial - 213, // 107: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial - 190, // 108: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest - 192, // 109: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest - 194, // 110: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest - 196, // 111: state.v1.StateStoreService.AcceptPackageAuthority:input_type -> state.v1.AcceptPackageAuthorityRequest - 198, // 112: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest + 191, // 94: state.v1.InstalledPackage.accepted_authority:type_name -> state.v1.PackageAuthority + 190, // 95: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage + 190, // 96: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage + 190, // 97: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage + 191, // 98: state.v1.AcceptPackageAuthorityRequest.accepted:type_name -> state.v1.PackageAuthority + 190, // 99: state.v1.AcceptPackageAuthorityResponse.package:type_name -> state.v1.InstalledPackage + 203, // 100: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership + 204, // 101: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal + 206, // 102: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy + 206, // 103: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy + 206, // 104: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy + 222, // 105: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp + 215, // 106: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial + 215, // 107: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial + 192, // 108: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest + 194, // 109: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest + 196, // 110: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest + 198, // 111: state.v1.StateStoreService.AcceptPackageAuthority:input_type -> state.v1.AcceptPackageAuthorityRequest + 200, // 112: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest 0, // 113: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest 2, // 114: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest 6, // 115: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest @@ -13151,165 +13310,167 @@ var file_state_v1_state_proto_depIdxs = []int32{ 68, // 138: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest 70, // 139: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest 72, // 140: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 74, // 141: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest - 76, // 142: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest - 78, // 143: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest - 80, // 144: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 82, // 145: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 84, // 146: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 86, // 147: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 88, // 148: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 90, // 149: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 92, // 150: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 94, // 151: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 96, // 152: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 98, // 153: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 100, // 154: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 102, // 155: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 104, // 156: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 107, // 157: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 109, // 158: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 112, // 159: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 114, // 160: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 117, // 161: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 119, // 162: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 122, // 163: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 124, // 164: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 126, // 165: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 128, // 166: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 130, // 167: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 132, // 168: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 134, // 169: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 136, // 170: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 138, // 171: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 140, // 172: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest - 142, // 173: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest - 144, // 174: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest - 146, // 175: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest - 148, // 176: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest - 150, // 177: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 152, // 178: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 154, // 179: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 156, // 180: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 158, // 181: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 160, // 182: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 162, // 183: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest - 164, // 184: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest - 166, // 185: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest - 168, // 186: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest - 170, // 187: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest - 172, // 188: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 174, // 189: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 176, // 190: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 178, // 191: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 180, // 192: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 182, // 193: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 184, // 194: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest - 186, // 195: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest - 200, // 196: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest - 205, // 197: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest - 207, // 198: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest - 209, // 199: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest - 211, // 200: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest - 214, // 201: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest - 216, // 202: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest - 191, // 203: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse - 193, // 204: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse - 195, // 205: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse - 197, // 206: state.v1.StateStoreService.AcceptPackageAuthority:output_type -> state.v1.AcceptPackageAuthorityResponse - 199, // 207: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse - 1, // 208: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 209: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 7, // 210: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 9, // 211: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 15, // 212: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 16, // 213: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 17, // 214: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 18, // 215: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 19, // 216: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 21, // 217: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse - 23, // 218: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse - 39, // 219: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 41, // 220: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 43, // 221: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 45, // 222: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 47, // 223: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 63, // 224: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 49, // 225: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse - 51, // 226: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse - 53, // 227: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse - 56, // 228: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse - 59, // 229: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse - 61, // 230: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse - 65, // 231: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 67, // 232: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse - 69, // 233: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 71, // 234: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 73, // 235: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 75, // 236: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse - 77, // 237: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse - 79, // 238: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse - 81, // 239: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 83, // 240: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 85, // 241: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 87, // 242: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 89, // 243: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 91, // 244: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 93, // 245: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 95, // 246: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 97, // 247: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 99, // 248: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 101, // 249: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 103, // 250: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 105, // 251: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 108, // 252: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 110, // 253: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 113, // 254: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 115, // 255: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 118, // 256: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 120, // 257: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 123, // 258: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 125, // 259: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 127, // 260: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 129, // 261: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 131, // 262: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 133, // 263: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 135, // 264: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 137, // 265: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 139, // 266: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 141, // 267: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse - 143, // 268: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse - 145, // 269: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse - 147, // 270: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse - 149, // 271: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse - 151, // 272: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 153, // 273: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 155, // 274: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 157, // 275: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 159, // 276: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 161, // 277: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 163, // 278: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse - 165, // 279: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse - 167, // 280: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse - 169, // 281: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse - 171, // 282: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse - 173, // 283: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 175, // 284: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 177, // 285: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 179, // 286: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 181, // 287: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 183, // 288: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 185, // 289: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse - 187, // 290: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse - 203, // 291: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse - 206, // 292: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse - 208, // 293: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse - 210, // 294: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse - 212, // 295: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse - 215, // 296: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse - 217, // 297: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse - 203, // [203:298] is the sub-list for method output_type - 108, // [108:203] is the sub-list for method input_type + 74, // 141: state.v1.StateStoreService.RespondReviewGate:input_type -> state.v1.RespondReviewGateRequest + 76, // 142: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest + 78, // 143: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest + 80, // 144: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest + 82, // 145: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 84, // 146: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 86, // 147: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 88, // 148: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 90, // 149: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 92, // 150: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 94, // 151: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 96, // 152: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 98, // 153: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 100, // 154: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 102, // 155: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 104, // 156: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 106, // 157: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 109, // 158: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 111, // 159: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 114, // 160: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 116, // 161: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 119, // 162: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 121, // 163: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 124, // 164: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 126, // 165: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 128, // 166: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 130, // 167: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 132, // 168: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 134, // 169: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 136, // 170: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 138, // 171: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 140, // 172: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 142, // 173: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest + 144, // 174: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest + 146, // 175: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest + 148, // 176: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest + 150, // 177: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest + 152, // 178: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 154, // 179: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 156, // 180: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 158, // 181: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 160, // 182: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 162, // 183: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 164, // 184: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest + 166, // 185: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest + 168, // 186: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest + 170, // 187: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest + 172, // 188: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest + 174, // 189: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 176, // 190: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 178, // 191: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 180, // 192: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 182, // 193: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 184, // 194: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 186, // 195: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest + 188, // 196: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest + 202, // 197: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest + 207, // 198: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest + 209, // 199: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest + 211, // 200: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest + 213, // 201: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest + 216, // 202: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest + 218, // 203: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest + 193, // 204: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse + 195, // 205: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse + 197, // 206: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse + 199, // 207: state.v1.StateStoreService.AcceptPackageAuthority:output_type -> state.v1.AcceptPackageAuthorityResponse + 201, // 208: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse + 1, // 209: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 210: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 7, // 211: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 9, // 212: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 15, // 213: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 16, // 214: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 17, // 215: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 18, // 216: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 19, // 217: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 21, // 218: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 23, // 219: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 39, // 220: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 41, // 221: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 43, // 222: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 45, // 223: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 47, // 224: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 63, // 225: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 49, // 226: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse + 51, // 227: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse + 53, // 228: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse + 56, // 229: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse + 59, // 230: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse + 61, // 231: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse + 65, // 232: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 67, // 233: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse + 69, // 234: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 71, // 235: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 73, // 236: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 75, // 237: state.v1.StateStoreService.RespondReviewGate:output_type -> state.v1.RespondReviewGateResponse + 77, // 238: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse + 79, // 239: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse + 81, // 240: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse + 83, // 241: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 85, // 242: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 87, // 243: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 89, // 244: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 91, // 245: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 93, // 246: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 95, // 247: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 97, // 248: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 99, // 249: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 101, // 250: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 103, // 251: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 105, // 252: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 107, // 253: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 110, // 254: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 112, // 255: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 115, // 256: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 117, // 257: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 120, // 258: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 122, // 259: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 125, // 260: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 127, // 261: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 129, // 262: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 131, // 263: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 133, // 264: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 135, // 265: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 137, // 266: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 139, // 267: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 141, // 268: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 143, // 269: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse + 145, // 270: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse + 147, // 271: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse + 149, // 272: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse + 151, // 273: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse + 153, // 274: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 155, // 275: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 157, // 276: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 159, // 277: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 161, // 278: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 163, // 279: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 165, // 280: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse + 167, // 281: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse + 169, // 282: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse + 171, // 283: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse + 173, // 284: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse + 175, // 285: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 177, // 286: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 179, // 287: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 181, // 288: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 183, // 289: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 185, // 290: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 187, // 291: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse + 189, // 292: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse + 205, // 293: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse + 208, // 294: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse + 210, // 295: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse + 212, // 296: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse + 214, // 297: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse + 217, // 298: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse + 219, // 299: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse + 204, // [204:300] is the sub-list for method output_type + 108, // [108:204] is the sub-list for method input_type 108, // [108:108] is the sub-list for extension type_name 108, // [108:108] is the sub-list for extension extendee 0, // [0:108] is the sub-list for field type_name @@ -13326,7 +13487,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: 220, + NumMessages: 222, 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 1e4b82e5f..ec010ca56 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -52,6 +52,7 @@ const ( StateStoreService_RecoverStale_FullMethodName = "/state.v1.StateStoreService/RecoverStale" StateStoreService_ArchiveTask_FullMethodName = "/state.v1.StateStoreService/ArchiveTask" StateStoreService_RetryTask_FullMethodName = "/state.v1.StateStoreService/RetryTask" + StateStoreService_RespondReviewGate_FullMethodName = "/state.v1.StateStoreService/RespondReviewGate" StateStoreService_BeginRemediation_FullMethodName = "/state.v1.StateStoreService/BeginRemediation" StateStoreService_UpdateReviewPayload_FullMethodName = "/state.v1.StateStoreService/UpdateReviewPayload" StateStoreService_SetReviewCursors_FullMethodName = "/state.v1.StateStoreService/SetReviewCursors" @@ -183,6 +184,13 @@ type StateStoreServiceClient interface { // Archive / Retry ArchiveTask(ctx context.Context, in *ArchiveTaskRequest, opts ...grpc.CallOption) (*ArchiveTaskResponse, error) RetryTask(ctx context.Context, in *RetryTaskRequest, opts ...grpc.CallOption) (*RetryTaskResponse, error) + // RespondReviewGate is the operator's answer to the review gate + // (docs/prds/pr-review-operator-response.md, Decision 2): one guarded + // requeue that records the answer, increments rereview_rounds for a + // re-review, and refuses a re-review past cap with the ErrRereviewCapReached + // wire sentinel. Admin-only, like every other operator surface: a + // task-scoped grant never reaches it. + RespondReviewGate(ctx context.Context, in *RespondReviewGateRequest, opts ...grpc.CallOption) (*RespondReviewGateResponse, error) BeginRemediation(ctx context.Context, in *BeginRemediationRequest, opts ...grpc.CallOption) (*BeginRemediationResponse, error) UpdateReviewPayload(ctx context.Context, in *UpdateReviewPayloadRequest, opts ...grpc.CallOption) (*UpdateReviewPayloadResponse, error) SetReviewCursors(ctx context.Context, in *SetReviewCursorsRequest, opts ...grpc.CallOption) (*SetReviewCursorsResponse, error) @@ -640,6 +648,16 @@ func (c *stateStoreServiceClient) RetryTask(ctx context.Context, in *RetryTaskRe return out, nil } +func (c *stateStoreServiceClient) RespondReviewGate(ctx context.Context, in *RespondReviewGateRequest, opts ...grpc.CallOption) (*RespondReviewGateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RespondReviewGateResponse) + err := c.cc.Invoke(ctx, StateStoreService_RespondReviewGate_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) BeginRemediation(ctx context.Context, in *BeginRemediationRequest, opts ...grpc.CallOption) (*BeginRemediationResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BeginRemediationResponse) @@ -1354,6 +1372,13 @@ type StateStoreServiceServer interface { // Archive / Retry ArchiveTask(context.Context, *ArchiveTaskRequest) (*ArchiveTaskResponse, error) RetryTask(context.Context, *RetryTaskRequest) (*RetryTaskResponse, error) + // RespondReviewGate is the operator's answer to the review gate + // (docs/prds/pr-review-operator-response.md, Decision 2): one guarded + // requeue that records the answer, increments rereview_rounds for a + // re-review, and refuses a re-review past cap with the ErrRereviewCapReached + // wire sentinel. Admin-only, like every other operator surface: a + // task-scoped grant never reaches it. + RespondReviewGate(context.Context, *RespondReviewGateRequest) (*RespondReviewGateResponse, error) BeginRemediation(context.Context, *BeginRemediationRequest) (*BeginRemediationResponse, error) UpdateReviewPayload(context.Context, *UpdateReviewPayloadRequest) (*UpdateReviewPayloadResponse, error) SetReviewCursors(context.Context, *SetReviewCursorsRequest) (*SetReviewCursorsResponse, error) @@ -1580,6 +1605,9 @@ func (UnimplementedStateStoreServiceServer) ArchiveTask(context.Context, *Archiv func (UnimplementedStateStoreServiceServer) RetryTask(context.Context, *RetryTaskRequest) (*RetryTaskResponse, error) { return nil, status.Error(codes.Unimplemented, "method RetryTask not implemented") } +func (UnimplementedStateStoreServiceServer) RespondReviewGate(context.Context, *RespondReviewGateRequest) (*RespondReviewGateResponse, error) { + return nil, status.Error(codes.Unimplemented, "method RespondReviewGate not implemented") +} func (UnimplementedStateStoreServiceServer) BeginRemediation(context.Context, *BeginRemediationRequest) (*BeginRemediationResponse, error) { return nil, status.Error(codes.Unimplemented, "method BeginRemediation not implemented") } @@ -2381,6 +2409,24 @@ func _StateStoreService_RetryTask_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _StateStoreService_RespondReviewGate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RespondReviewGateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).RespondReviewGate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_RespondReviewGate_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).RespondReviewGate(ctx, req.(*RespondReviewGateRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_BeginRemediation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BeginRemediationRequest) if err := dec(in); err != nil { @@ -3615,6 +3661,10 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "RetryTask", Handler: _StateStoreService_RetryTask_Handler, }, + { + MethodName: "RespondReviewGate", + Handler: _StateStoreService_RespondReviewGate_Handler, + }, { MethodName: "BeginRemediation", Handler: _StateStoreService_BeginRemediation_Handler, diff --git a/internal/domain/storecontract/storecontract.go b/internal/domain/storecontract/storecontract.go index 8fe884388..d9a615983 100644 --- a/internal/domain/storecontract/storecontract.go +++ b/internal/domain/storecontract/storecontract.go @@ -38,6 +38,7 @@ type TaskStore interface { TaskQueries TaskArchiver TaskRetryer + ReviewGateResponder RemediationStarter } @@ -126,6 +127,21 @@ type TaskRetryer interface { RetryTask(ctx context.Context, taskID int64, fromStatus, workflow string) error } +// ReviewGateResponder is the operator's answer to the review gate +// (docs/prds/pr-review-operator-response.md, Decision 2): one guarded write +// beside RetryTask/BeginRemediation that fills in the review gate document +// the caller computed (the outcome, the selection or the instructions), and +// -- for a re-review only -- increments rereview_rounds and requeues, under +// one transition-table guard and one from-status check. A re-review that has +// spent its rounds is refused with ErrRereviewCapReached and writes nothing, +// so the cap cannot be raced past; an approve requeues with no counter. +// +// The caller computes the gate document from the task row it read; the write +// is the only place rereview_rounds ever increments. +type ReviewGateResponder interface { + RespondReviewGate(ctx context.Context, taskID int64, fromStatus, gate string, rereview bool, maxRounds int) error +} + // RemediationStarter queues a review-triggered remediation for an // Archie-owned open-PR task: one guarded transition that carries the // JSON-encoded review unit in the same write, so a claimed remediation @@ -511,6 +527,11 @@ var ( // stored for an org/service pair -- the setup terminal has not // captured one yet. ErrHarnessSecretNotFound = errors.New("store: harness secret not found") + // ErrRereviewCapReached is returned when a review gate re-review would + // round past prreview.MaxRereviewRounds (docs/prds/pr-review-operator- + // response.md, Decision 2). The task stays waiting and its gate row is + // unchanged. The dashboard answers it 409, like every other conflict. + ErrRereviewCapReached = errors.New("store: re-review cap reached") // ErrResourceNotFound is returned when a control-plane resource kind has // no stored document. It is in-process only (not on the gRPC wire): the diff --git a/internal/domain/workflow/task/task.go b/internal/domain/workflow/task/task.go index 1fe918c47..994729c59 100644 --- a/internal/domain/workflow/task/task.go +++ b/internal/domain/workflow/task/task.go @@ -128,6 +128,24 @@ type Task struct { // budget: one shared counter made N operator retries eat the // review-remediation budget and vice versa. RemediationRounds int `json:"remediation_rounds"` + // ReviewGate is the operator-approval gate's whole conversation with + // the operator, persisted as one JSON document (prreview.EncodeReviewGate): + // the offer the gate writes before it waits for an operator -- the scored + // findings, the head SHA, the pull request's identity and the workflow the + // wait resumes -- and the answer the response path fills in -- the outcome, + // the selected findings' keys for an approve and the instructions for a + // re-review. Without it, "post the selected findings" cannot mean the + // findings the operator saw: the resumed run recomputes them with agent + // calls (docs/prds/pr-review-operator-response.md, "The review the operator + // answers"). Empty for a task that never reached the gate. + ReviewGate string `json:"review_gate"` + // RereviewRounds counts how many operator re-reviews the pr-review gate + // granted, incremented in the same guarded write that requeues the + // re-review and capped at prreview.MaxRereviewRounds + // (docs/prds/pr-review-operator-response.md, Decision 2). Deliberately + // separate from both RetryCount and RemediationRounds -- one shared + // counter made unrelated retries draw another phase's budget down. + RereviewRounds int `json:"rereview_rounds"` // CallParentTaskID is the task whose workflow.call step started this // one; 0 on a root run. A caller reads only the tasks it started, // through WorkflowCallStatus. diff --git a/internal/infrastructure/postgres/migrations/0025_review_gate.sql b/internal/infrastructure/postgres/migrations/0025_review_gate.sql new file mode 100644 index 000000000..41e1f899c --- /dev/null +++ b/internal/infrastructure/postgres/migrations/0025_review_gate.sql @@ -0,0 +1,19 @@ +-- +goose Up +-- The operator-approval gate's conversation with the operator +-- (docs/prds/pr-review-operator-response.md). review_gate is the JSON +-- document the gate writes before it waits -- the scored findings, the head +-- SHA, the pull request's identity and the workflow the wait resumes -- and +-- the answer the response path fills in. The text type mirrors review_payload, +-- its sibling column: the package that owns the type (internal/domain/ +-- workflow/prreview) owns the encoding, so the store never parses it. +ALTER TABLE tasks ADD COLUMN review_gate text NOT NULL DEFAULT ''; + +-- rereview_rounds counts granted operator re-reviews, capped by the guarded +-- response write itself (prreview.MaxRereviewRounds). Deliberately separate +-- from retry_count and remediation_rounds: one shared counter made unrelated +-- retries draw another phase's budget down. +ALTER TABLE tasks ADD COLUMN rereview_rounds bigint NOT NULL DEFAULT 0; + +-- +goose Down +ALTER TABLE tasks DROP COLUMN rereview_rounds; +ALTER TABLE tasks DROP COLUMN review_gate; \ No newline at end of file diff --git a/internal/infrastructure/postgres/postgresdb/call_tasks.sql.go b/internal/infrastructure/postgres/postgresdb/call_tasks.sql.go index acbab0915..623763689 100644 --- a/internal/infrastructure/postgres/postgresdb/call_tasks.sql.go +++ b/internal/infrastructure/postgres/postgresdb/call_tasks.sql.go @@ -24,7 +24,7 @@ func (q *Queries) CallStatusDetail(ctx context.Context, taskID int64) (string, e const enqueueCallTask = `-- name: EnqueueCallTask :one WITH caller AS ( - SELECT t.id, t.owner, t.repo, t.issue_number, t.title, t.body, t.labels, t.status, t.workflow, t.branch, t.plan, t.notes, t.pr_number, t.tokens_used, t.iterations, t.attempt, t.park_reason, t.watch_comment_id, t.park_class, t.remediation_rounds, t.retry_count, t.source, t.identity, t.binding_id, t.binding_version, t.review_payload, t.workflow_definition_version, t.workflow_definition_digest, t.workflow_definition_yaml, t.created_at, t.updated_at, t.review_cursor, t.inputs, t.org_id, t.workspace_id, t.call_parent_task_id, t.call_depth, t.outputs FROM tasks t WHERE t.id = $1 FOR UPDATE + SELECT t.id, t.owner, t.repo, t.issue_number, t.title, t.body, t.labels, t.status, t.workflow, t.branch, t.plan, t.notes, t.pr_number, t.tokens_used, t.iterations, t.attempt, t.park_reason, t.watch_comment_id, t.park_class, t.remediation_rounds, t.retry_count, t.source, t.identity, t.binding_id, t.binding_version, t.review_payload, t.workflow_definition_version, t.workflow_definition_digest, t.workflow_definition_yaml, t.created_at, t.updated_at, t.review_cursor, t.inputs, t.org_id, t.workspace_id, t.call_parent_task_id, t.call_depth, t.outputs, t.review_gate, t.rereview_rounds FROM tasks t WHERE t.id = $1 FOR UPDATE ) INSERT INTO tasks (owner, repo, issue_number, title, body, labels, workflow, source, identity, org_id, workspace_id, inputs, call_parent_task_id, call_depth) SELECT @@ -41,7 +41,7 @@ SELECT caller.id, caller.call_depth + 1 FROM caller WHERE caller.status = 'running' AND caller.call_depth + 1 <= $7::int -RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs +RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds ` type EnqueueCallTaskParams struct { @@ -113,6 +113,8 @@ func (q *Queries) EnqueueCallTask(ctx context.Context, arg EnqueueCallTaskParams &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } diff --git a/internal/infrastructure/postgres/postgresdb/models.go b/internal/infrastructure/postgres/postgresdb/models.go index 11b8f39e7..e0f8ec8b0 100644 --- a/internal/infrastructure/postgres/postgresdb/models.go +++ b/internal/infrastructure/postgres/postgresdb/models.go @@ -393,6 +393,8 @@ type Task struct { CallParentTaskID int64 CallDepth int32 Outputs string + ReviewGate string + RereviewRounds int64 } type ToolCall struct { diff --git a/internal/infrastructure/postgres/postgresdb/tasks.sql.go b/internal/infrastructure/postgres/postgresdb/tasks.sql.go index 96e7c7441..b51acbff4 100644 --- a/internal/infrastructure/postgres/postgresdb/tasks.sql.go +++ b/internal/infrastructure/postgres/postgresdb/tasks.sql.go @@ -48,7 +48,7 @@ func (q *Queries) BeginRemediationTask(ctx context.Context, arg BeginRemediation const claimByIssue = `-- name: ClaimByIssue :one UPDATE tasks SET status = 'running', attempt = attempt + 1, outputs = '', updated_at = now() WHERE owner = $1 AND repo = $2 AND issue_number = $3 AND status = 'queued' -RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs +RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds ` type ClaimByIssueParams struct { @@ -101,6 +101,8 @@ func (q *Queries) ClaimByIssue(ctx context.Context, arg ClaimByIssueParams) (Tas &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } @@ -115,7 +117,7 @@ WHERE id = ( FOR UPDATE SKIP LOCKED LIMIT 1 ) -RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs +RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds ` // FOR UPDATE SKIP LOCKED replaces the SQLite single-writer assumption: two @@ -166,6 +168,8 @@ func (q *Queries) ClaimNextTask(ctx context.Context) (Task, error) { &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } @@ -276,7 +280,7 @@ VALUES ( ), $8 ) -RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs +RETURNING id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds ` type InsertChatTaskParams struct { @@ -348,6 +352,8 @@ func (q *Queries) InsertChatTask(ctx context.Context, arg InsertChatTaskParams) &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } @@ -431,7 +437,7 @@ const listTaskSummaries = `-- name: ListTaskSummaries :many SELECT id, owner, repo, issue_number, title, status, workflow, pr_number, tokens_used, iterations, attempt, park_reason, retry_count, created_at, updated_at, plan, source, identity, binding_id, binding_version, - outputs + outputs, review_gate, rereview_rounds FROM tasks ORDER BY updated_at DESC LIMIT $1 ` @@ -457,6 +463,8 @@ type ListTaskSummariesRow struct { BindingID string BindingVersion int64 Outputs string + ReviewGate string + RereviewRounds int64 } // The dashboard's list. This projection is deliberately narrow: Plan gates @@ -464,6 +472,10 @@ type ListTaskSummariesRow struct { // back would send rows without them. outputs rides it because the task row's // own structured result is part of the summary a caller or the dashboard // reads (docs/prds/workflow-call-outputs.md, "Storage and wire"). +// review_gate and rereview_rounds join it deliberately: the offer the gate +// wrote is what the operator reads before answering it +// (docs/prds/pr-review-operator-response.md, "The review the operator +// answers"), and the round count is the cap's visible half. func (q *Queries) ListTaskSummaries(ctx context.Context, limit int32) ([]ListTaskSummariesRow, error) { rows, err := q.db.Query(ctx, listTaskSummaries, limit) if err != nil { @@ -495,6 +507,8 @@ func (q *Queries) ListTaskSummaries(ctx context.Context, limit int32) ([]ListTas &i.BindingID, &i.BindingVersion, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ); err != nil { return nil, err } @@ -579,6 +593,57 @@ func (q *Queries) RequeueTask(ctx context.Context, arg RequeueTaskParams) (int64 return result.RowsAffected(), nil } +const rereviewRounds = `-- name: RereviewRounds :one +SELECT rereview_rounds FROM tasks WHERE id = $1 +` + +// Read under the lock LockTaskStatus takes in the same transaction, so the +// cap decision and the increment it guards cannot interleave with a second +// response write. +func (q *Queries) RereviewRounds(ctx context.Context, id int64) (int64, error) { + row := q.db.QueryRow(ctx, rereviewRounds, id) + var rereview_rounds int64 + err := row.Scan(&rereview_rounds) + return rereview_rounds, err +} + +const respondReviewGateTask = `-- name: RespondReviewGateTask :execrows +UPDATE tasks SET status = 'queued', + review_gate = $1::text, + rereview_rounds = rereview_rounds + CASE WHEN $2::bool THEN 1 ELSE 0 END, + park_reason = '', park_class = 'needs_human', updated_at = now() +WHERE id = $3 AND status = $4 + AND ($2::bool = false OR rereview_rounds < $5::bigint) +` + +type RespondReviewGateTaskParams struct { + Gate string + Rereview bool + ID int64 + FromStatus string + Cap int64 +} + +// The review gate response write (docs/prds/pr-review-operator-response.md, +// Decision 2): one guarded requeue beside RetryTask/BeginRemediation. The +// from-status guard and the transition table live in the store's transaction +// around this statement; the rereview cap is enforced HERE, in the row, so +// two simultaneous re-reviews cannot spend a round the cap forbids. An +// approve passes rereview=false and bumps nothing. +func (q *Queries) RespondReviewGateTask(ctx context.Context, arg RespondReviewGateTaskParams) (int64, error) { + result, err := q.db.Exec(ctx, respondReviewGateTask, + arg.Gate, + arg.Rereview, + arg.ID, + arg.FromStatus, + arg.Cap, + ) + if err != nil { + return 0, err + } + return result.RowsAffected(), nil +} + const retryTask = `-- name: RetryTask :execrows UPDATE tasks SET status = 'queued', retry_count = retry_count + 1, workflow = CASE WHEN $1::text = '' THEN workflow ELSE $1::text END, @@ -635,7 +700,7 @@ func (q *Queries) StampTaskBinding(ctx context.Context, arg StampTaskBindingPara } const taskByID = `-- name: TaskByID :one -SELECT id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs FROM tasks WHERE id = $1 +SELECT id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds FROM tasks WHERE id = $1 ` func (q *Queries) TaskByID(ctx context.Context, id int64) (Task, error) { @@ -680,12 +745,14 @@ func (q *Queries) TaskByID(ctx context.Context, id int64) (Task, error) { &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } const taskByIssue = `-- name: TaskByIssue :one -SELECT id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs FROM tasks WHERE owner = $1 AND repo = $2 AND issue_number = $3 +SELECT id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds FROM tasks WHERE owner = $1 AND repo = $2 AND issue_number = $3 ` type TaskByIssueParams struct { @@ -736,12 +803,14 @@ func (q *Queries) TaskByIssue(ctx context.Context, arg TaskByIssueParams) (Task, &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } const taskByPR = `-- name: TaskByPR :one -SELECT id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs FROM tasks WHERE owner = $1 AND repo = $2 AND pr_number = $3 AND status = $4 +SELECT id, owner, repo, issue_number, title, body, labels, status, workflow, branch, plan, notes, pr_number, tokens_used, iterations, attempt, park_reason, watch_comment_id, park_class, remediation_rounds, retry_count, source, identity, binding_id, binding_version, review_payload, workflow_definition_version, workflow_definition_digest, workflow_definition_yaml, created_at, updated_at, review_cursor, inputs, org_id, workspace_id, call_parent_task_id, call_depth, outputs, review_gate, rereview_rounds FROM tasks WHERE owner = $1 AND repo = $2 AND pr_number = $3 AND status = $4 ` type TaskByPRParams struct { @@ -801,6 +870,8 @@ func (q *Queries) TaskByPR(ctx context.Context, arg TaskByPRParams) (Task, error &i.CallParentTaskID, &i.CallDepth, &i.Outputs, + &i.ReviewGate, + &i.RereviewRounds, ) return i, err } @@ -862,7 +933,7 @@ UPDATE tasks SET workflow = $2, branch = $3, plan = $4, notes = $5, watch_comment_id = $10, retry_count = $11, remediation_rounds = $12, review_payload = $13, workflow_definition_version = $14, workflow_definition_digest = $15, workflow_definition_yaml = $16, - outputs = $17, + outputs = $17, review_gate = $18, rereview_rounds = $19, updated_at = now() WHERE id = $1 ` @@ -885,6 +956,8 @@ type UpdateTaskParams struct { WorkflowDefinitionDigest string WorkflowDefinitionYaml string Outputs string + ReviewGate string + RereviewRounds int64 } func (q *Queries) UpdateTask(ctx context.Context, arg UpdateTaskParams) error { @@ -906,6 +979,8 @@ func (q *Queries) UpdateTask(ctx context.Context, arg UpdateTaskParams) error { arg.WorkflowDefinitionDigest, arg.WorkflowDefinitionYaml, arg.Outputs, + arg.ReviewGate, + arg.RereviewRounds, ) return err } diff --git a/internal/infrastructure/postgres/queries/tasks.sql b/internal/infrastructure/postgres/queries/tasks.sql index 64fa7c1ae..f83f8a425 100644 --- a/internal/infrastructure/postgres/queries/tasks.sql +++ b/internal/infrastructure/postgres/queries/tasks.sql @@ -34,10 +34,14 @@ SELECT * FROM tasks WHERE owner = $1 AND repo = $2 AND pr_number = $3 AND status -- back would send rows without them. outputs rides it because the task row's -- own structured result is part of the summary a caller or the dashboard -- reads (docs/prds/workflow-call-outputs.md, "Storage and wire"). +-- review_gate and rereview_rounds join it deliberately: the offer the gate +-- wrote is what the operator reads before answering it +-- (docs/prds/pr-review-operator-response.md, "The review the operator +-- answers"), and the round count is the cap's visible half. SELECT id, owner, repo, issue_number, title, status, workflow, pr_number, tokens_used, iterations, attempt, park_reason, retry_count, created_at, updated_at, plan, source, identity, binding_id, binding_version, - outputs + outputs, review_gate, rereview_rounds FROM tasks ORDER BY updated_at DESC LIMIT $1; -- name: CountTasksByStatus :many @@ -80,10 +84,16 @@ UPDATE tasks SET workflow = $2, branch = $3, plan = $4, notes = $5, watch_comment_id = $10, retry_count = $11, remediation_rounds = $12, review_payload = $13, workflow_definition_version = $14, workflow_definition_digest = $15, workflow_definition_yaml = $16, - outputs = $17, + outputs = $17, review_gate = $18, rereview_rounds = $19, updated_at = now() WHERE id = $1; +-- name: RereviewRounds :one +-- Read under the lock LockTaskStatus takes in the same transaction, so the +-- cap decision and the increment it guards cannot interleave with a second +-- response write. +SELECT rereview_rounds FROM tasks WHERE id = $1; + -- name: LockTaskStatus :one -- Locks the task's row and returns its current status, so the staleness and -- transition-table checks that decide a guarded write hold against a @@ -165,6 +175,20 @@ UPDATE tasks SET status = 'queued', retry_count = retry_count + 1, park_reason = '', park_class = 'needs_human', updated_at = now() WHERE id = @id AND status = @from_status; +-- name: RespondReviewGateTask :execrows +-- The review gate response write (docs/prds/pr-review-operator-response.md, +-- Decision 2): one guarded requeue beside RetryTask/BeginRemediation. The +-- from-status guard and the transition table live in the store's transaction +-- around this statement; the rereview cap is enforced HERE, in the row, so +-- two simultaneous re-reviews cannot spend a round the cap forbids. An +-- approve passes rereview=false and bumps nothing. +UPDATE tasks SET status = 'queued', + review_gate = @gate::text, + rereview_rounds = rereview_rounds + CASE WHEN @rereview::bool THEN 1 ELSE 0 END, + park_reason = '', park_class = 'needs_human', updated_at = now() +WHERE id = @id AND status = @from_status + AND (@rereview::bool = false OR rereview_rounds < @cap::bigint); + -- name: ArchiveTaskDelete :execrows DELETE FROM tasks WHERE id = $1 AND status = $2; diff --git a/internal/infrastructure/postgres/review_gate_test.go b/internal/infrastructure/postgres/review_gate_test.go new file mode 100644 index 000000000..1473a0609 --- /dev/null +++ b/internal/infrastructure/postgres/review_gate_test.go @@ -0,0 +1,138 @@ +package postgres + +import ( + "errors" + "testing" + + "github.com/samcharles93/archie-core/internal/domain/storecontract" + "github.com/samcharles93/archie-core/internal/domain/workflow" +) + +// Tests for the review gate response write +// (docs/prds/pr-review-operator-response.md, Decision 2): one guarded +// requeue beside RetryTask/BeginRemediation. The rereview cap is enforced in +// the row, so a race cannot spend a round the cap forbids. + +// waitingTaskWithGate claims a task, runs it to waiting_human and writes a +// gate document on it -- the state an operator's response acts on. +func waitingTaskWithGate(t *testing.T, s *Store) *workflow.Task { + t.Helper() + execution := runningTask(t, s) + if err := s.Transition(t.Context(), execution.ID, workflow.StatusRunning, workflow.StatusWaitingHuman, "awaiting operator review"); err != nil { + t.Fatalf("Transition to waiting_human: %v", err) + } + if err := s.Update(t.Context(), &workflow.Task{ + ID: execution.ID, Workflow: execution.Workflow, ReviewGate: `{"findings":[{"title":"f0"}]}`, + }); err != nil { + t.Fatalf("write gate offer: %v", err) + } + refreshed, err := s.TaskByID(t.Context(), execution.ID) + if err != nil || refreshed == nil { + t.Fatalf("TaskByID = (%v, %v)", refreshed, err) + } + return refreshed +} + +func TestRespondReviewGateIncrementsOnlyForARereview(t *testing.T) { + s := storeFor(t) + task := waitingTaskWithGate(t, s) + + if err := s.RespondReviewGate(t.Context(), task.ID, workflow.StatusWaitingHuman, `{"outcome":"approve"}`, false, 2); err != nil { + t.Fatalf("RespondReviewGate(approve): %v", err) + } + got, err := s.TaskByID(t.Context(), task.ID) + if err != nil || got == nil { + t.Fatalf("TaskByID = (%v, %v)", got, err) + } + if got.Status != workflow.StatusQueued { + t.Fatalf("status after approve = %q, want %q: the response requeues", got.Status, workflow.StatusQueued) + } + if got.RereviewRounds != 0 { + t.Fatalf("rereview_rounds after approve = %d, want 0: an approve counts no round", got.RereviewRounds) + } + if got.ReviewGate != `{"outcome":"approve"}` { + t.Fatalf("review_gate after approve = %q, want the caller's document", got.ReviewGate) + } + if got.Workflow != task.Workflow { + t.Fatalf("workflow after approve = %q, want %q (the wait resumes the workflow the wait names)", got.Workflow, task.Workflow) + } + + // Requeue again to waiting, then answer with a re-review: the counter moves. + if err := s.Transition(t.Context(), task.ID, workflow.StatusQueued, workflow.StatusRunning, ""); err != nil { + t.Fatalf("claim again: %v", err) + } + if err := s.Transition(t.Context(), task.ID, workflow.StatusRunning, workflow.StatusWaitingHuman, ""); err != nil { + t.Fatalf("wait again: %v", err) + } + if err := s.RespondReviewGate(t.Context(), task.ID, workflow.StatusWaitingHuman, `{"outcome":"rereview","instructions":"look again"}`, true, 2); err != nil { + t.Fatalf("RespondReviewGate(rereview): %v", err) + } + got, err = s.TaskByID(t.Context(), task.ID) + if err != nil || got == nil { + t.Fatalf("TaskByID = (%v, %v)", got, err) + } + if got.RereviewRounds != 1 { + t.Fatalf("rereview_rounds after one re-review = %d, want 1 (and it must survive the store round trip)", got.RereviewRounds) + } + if got.Status != workflow.StatusQueued { + t.Fatalf("status after re-review = %q, want %q", got.Status, workflow.StatusQueued) + } + if got.ReviewGate != `{"outcome":"rereview","instructions":"look again"}` { + t.Fatalf("review_gate after re-review = %q, want the caller's document", got.ReviewGate) + } +} + +func TestRespondReviewGateAtCapRefusedAndStaysWaiting(t *testing.T) { + s := storeFor(t) + task := waitingTaskWithGate(t, s) + + // Spend both rounds: two waiting_human gates answered with re-reviews. + for range 2 { + if err := s.RespondReviewGate(t.Context(), task.ID, workflow.StatusWaitingHuman, `{"outcome":"rereview"}`, true, 2); err != nil { + t.Fatalf("RespondReviewGate(reviewer round %d): %v", task.RereviewRounds, err) + } + if err := s.Transition(t.Context(), task.ID, workflow.StatusQueued, workflow.StatusRunning, ""); err != nil { + t.Fatalf("claim again: %v", err) + } + if err := s.Transition(t.Context(), task.ID, workflow.StatusRunning, workflow.StatusWaitingHuman, ""); err != nil { + t.Fatalf("wait again: %v", err) + } + } + + before, err := s.TaskByID(t.Context(), task.ID) + if err != nil || before == nil { + t.Fatalf("TaskByID = (%v, %v)", before, err) + } + err = s.RespondReviewGate(t.Context(), task.ID, workflow.StatusWaitingHuman, `{"outcome":"rereview"}`, true, 2) + if !errors.Is(err, storecontract.ErrRereviewCapReached) { + t.Fatalf("RespondReviewGate at cap = %v, want ErrRereviewCapReached", err) + } + after, err := s.TaskByID(t.Context(), task.ID) + if err != nil || after == nil { + t.Fatalf("TaskByID = (%v, %v)", after, err) + } + if after.Status != workflow.StatusWaitingHuman { + t.Fatalf("status after refused re-review = %q, want %q: the task stays waiting", after.Status, workflow.StatusWaitingHuman) + } + if after.RereviewRounds != before.RereviewRounds || after.ReviewGate != before.ReviewGate { + t.Fatalf("refused re-review changed the row: rounds %d->%d, gate %q->%q", + before.RereviewRounds, after.RereviewRounds, before.ReviewGate, after.ReviewGate) + } +} + +func TestRespondReviewGateStaleFromStatusWritesNothing(t *testing.T) { + s := storeFor(t) + task := waitingTaskWithGate(t, s) + + err := s.RespondReviewGate(t.Context(), task.ID, workflow.StatusParked, `{"outcome":"approve"}`, false, 2) + if !errors.Is(err, storecontract.ErrStaleTransition) { + t.Fatalf("RespondReviewGate from parked = %v, want ErrStaleTransition", err) + } + got, err := s.TaskByID(t.Context(), task.ID) + if err != nil || got == nil { + t.Fatalf("TaskByID = (%v, %v)", got, err) + } + if got.Status != workflow.StatusWaitingHuman || got.ReviewGate != `{"findings":[{"title":"f0"}]}` { + t.Fatalf("refused write changed the row: status=%q gate=%q", got.Status, got.ReviewGate) + } +} diff --git a/internal/infrastructure/postgres/store.go b/internal/infrastructure/postgres/store.go index cacfdc15a..0ea574877 100644 --- a/internal/infrastructure/postgres/store.go +++ b/internal/infrastructure/postgres/store.go @@ -121,6 +121,8 @@ func taskFromRow(t postgresdb.Task) *workflow.Task { Inputs: inputs, Outputs: outputs, ReviewPayload: t.ReviewPayload, + ReviewGate: t.ReviewGate, + RereviewRounds: int(t.RereviewRounds), ParkClass: t.ParkClass, RemediationRounds: int(t.RemediationRounds), CallParentTaskID: t.CallParentTaskID, @@ -318,6 +320,8 @@ func (s *Store) Update(ctx context.Context, t *workflow.Task) error { RetryCount: int64(t.RetryCount), RemediationRounds: int64(t.RemediationRounds), ReviewPayload: t.ReviewPayload, + ReviewGate: t.ReviewGate, + RereviewRounds: int64(t.RereviewRounds), WorkflowDefinitionVersion: t.WorkflowDefinitionVersion, WorkflowDefinitionDigest: t.WorkflowDefinitionDigest, WorkflowDefinitionYaml: t.WorkflowDefinitionYAML, @@ -406,6 +410,53 @@ func (s *Store) RetryTask(ctx context.Context, taskID int64, fromStatus, wf stri }) } +// RespondReviewGate is the review gate response write +// (docs/prds/pr-review-operator-response.md, Decision 2): one guarded +// requeue that records the operator's answer, increments rereview_rounds for +// a re-review only, and writes one audit row -- all in one transaction. The +// cap is checked under the row lock the transition guard takes, so two +// simultaneous re-reviews cannot both spend the last round. +func (s *Store) RespondReviewGate(ctx context.Context, taskID int64, fromStatus, gate string, rereview bool, maxRounds int) error { + tx, err := s.pool.Begin(ctx) + if err != nil { + return err + } + defer func() { _ = tx.Rollback(ctx) }() + q := postgresdb.New(tx) + + if err := guardTransition(ctx, q, taskID, fromStatus, workflow.StatusQueued); err != nil { + return err + } + // The row is locked by the guard read, so the cap decision and the + // increment below cannot interleave with a second response write. + rounds, err := q.RereviewRounds(ctx, taskID) + if err != nil { + return err + } + if rereview && rounds >= int64(maxRounds) { + return storecontract.ErrRereviewCapReached + } + n, err := q.RespondReviewGateTask(ctx, postgresdb.RespondReviewGateTaskParams{ + ID: taskID, FromStatus: fromStatus, Gate: gate, Rereview: rereview, Cap: int64(maxRounds), + }) + if err != nil { + return err + } + if n == 0 { + return storecontract.ErrStaleTransition + } + detail := "operator approved the review gate" + if rereview { + detail = "operator requested a re-review" + } + if err := q.InsertTransition(ctx, postgresdb.InsertTransitionParams{ + TaskID: taskID, FromStatus: fromStatus, ToStatus: workflow.StatusQueued, Detail: detail, + }); err != nil { + return err + } + return tx.Commit(ctx) +} + // requeue carries the guarded requeue write Requeue and RetryTask share: the // transition-table check, the update guarded on the from status, and one audit // row. update is the query that differs between the two callers; detail is the @@ -561,6 +612,7 @@ func (s *Store) Tasks(ctx context.Context, limit int) ([]workflow.Task, error) { CreatedAt: r.CreatedAt, UpdatedAt: r.UpdatedAt, Plan: r.Plan, Source: r.Source, Identity: r.Identity, BindingID: r.BindingID, BindingVersion: int(r.BindingVersion), Outputs: outputs, + ReviewGate: r.ReviewGate, RereviewRounds: int(r.RereviewRounds), }) } return tasks, nil diff --git a/internal/infrastructure/staterpc/client.go b/internal/infrastructure/staterpc/client.go index 656637794..2d4a113f7 100644 --- a/internal/infrastructure/staterpc/client.go +++ b/internal/infrastructure/staterpc/client.go @@ -212,6 +212,13 @@ func (c *Client) RetryTask(ctx context.Context, taskID int64, fromStatus, wf str return unmapError(err) } +func (c *Client) RespondReviewGate(ctx context.Context, taskID int64, fromStatus, gate string, rereview bool, maxRounds int) error { + _, err := c.client.RespondReviewGate(ctx, &pb.RespondReviewGateRequest{ + TaskId: taskID, FromStatus: fromStatus, Gate: gate, Rereview: rereview, Cap: int64(maxRounds), + }) + return unmapError(err) +} + func (c *Client) BeginRemediation(ctx context.Context, taskID int64, payload string) error { _, err := c.client.BeginRemediation(ctx, &pb.BeginRemediationRequest{TaskId: taskID, Payload: payload}) return unmapError(err) diff --git a/internal/infrastructure/staterpc/conformance_test.go b/internal/infrastructure/staterpc/conformance_test.go index ee9c3070e..c743ed22e 100644 --- a/internal/infrastructure/staterpc/conformance_test.go +++ b/internal/infrastructure/staterpc/conformance_test.go @@ -149,6 +149,57 @@ func TestStateStoreConformance(t *testing.T) { if got := triggered.EffectivePRNumber(); got != 7 { t.Fatalf("queued task EffectivePRNumber = %d, want 7 -- inputs did not round trip", got) } + // Review gate response: one guarded requeue records the answer, + // counts a re-review, and refuses past the cap with the sentinel + // intact across the hop (docs/prds/pr-review-operator-response.md, + // Decision 2). The trigger task carries the gate so the main + // battery's task row keeps its own path. + if err := c.Transition(ctx, triggered.ID, "queued", "running", "started"); err != nil { + t.Fatalf("claim trigger task: %v", err) + } + if err := c.Transition(ctx, triggered.ID, "running", "waiting_human", "awaiting review"); err != nil { + t.Fatalf("wait trigger task: %v", err) + } + if err := c.RespondReviewGate(ctx, triggered.ID, "waiting_human", `{"outcome":"approve"}`, false, 2); err != nil { + t.Fatalf("RespondReviewGate(approve): %v", err) + } + gated, err := c.TaskByID(ctx, triggered.ID) + if err != nil || gated == nil { + t.Fatalf("TaskByID after approve: %+v %v", gated, err) + } + if gated.Status != "queued" || gated.ReviewGate != `{"outcome":"approve"}` || gated.RereviewRounds != 0 { + t.Fatalf("approve row = status:%q gate:%q rounds:%d, want queued, the document, 0", gated.Status, gated.ReviewGate, gated.RereviewRounds) + } + // Two re-reviews spend the cap; the third is refused and leaves + // the task waiting with its round count and gate intact. + for round := 1; round <= 2; round++ { + if err := c.Transition(ctx, triggered.ID, "queued", "running", "started"); err != nil { + t.Fatalf("re-claim %d: %v", round, err) + } + if err := c.Transition(ctx, triggered.ID, "running", "waiting_human", "awaiting review"); err != nil { + t.Fatalf("re-wait %d: %v", round, err) + } + if err := c.RespondReviewGate(ctx, triggered.ID, "waiting_human", `{"outcome":"rereview"}`, true, 2); err != nil { + t.Fatalf("RespondReviewGate(rereview %d): %v", round, err) + } + got, err := c.TaskByID(ctx, triggered.ID) + if err != nil || got == nil || got.RereviewRounds != round { + t.Fatalf("rereview %d rounds = %+v %v, want %d across the wire", round, got, err, round) + } + } + if err := c.Transition(ctx, triggered.ID, "queued", "running", "started"); err != nil { + t.Fatalf("final re-claim: %v", err) + } + if err := c.Transition(ctx, triggered.ID, "running", "waiting_human", "awaiting review"); err != nil { + t.Fatalf("final re-wait: %v", err) + } + if err := c.RespondReviewGate(ctx, triggered.ID, "waiting_human", `{"outcome":"rereview"}`, true, 2); !errors.Is(err, storecontract.ErrRereviewCapReached) { + t.Fatalf("RespondReviewGate at cap = %v, want ErrRereviewCapReached across the wire", err) + } + capped, err := c.TaskByID(ctx, triggered.ID) + if err != nil || capped == nil || capped.Status != "waiting_human" || capped.RereviewRounds != 2 { + t.Fatalf("refused re-review row = %+v %v, want waiting_human at 2 rounds", capped, err) + } if err := c.Transition(ctx, task.ID, task.Status, "running", "started"); err != nil { t.Fatalf("Transition: %v", err) } diff --git a/internal/infrastructure/staterpc/error_test.go b/internal/infrastructure/staterpc/error_test.go index 6b1d8ab49..08b2b8d60 100644 --- a/internal/infrastructure/staterpc/error_test.go +++ b/internal/infrastructure/staterpc/error_test.go @@ -77,6 +77,7 @@ func TestUnmapErrorSentinelFidelity(t *testing.T) { rehyd error }{ {name: "harness secret not found", store: storecontract.ErrHarnessSecretNotFound, rehyd: storecontract.ErrHarnessSecretNotFound}, + {name: "re-review cap reached", store: storecontract.ErrRereviewCapReached, rehyd: storecontract.ErrRereviewCapReached}, {name: "stale transition", store: storecontract.ErrStaleTransition, rehyd: storecontract.ErrStaleTransition}, {name: "illegal transition", store: storecontract.ErrIllegalTransition, rehyd: storecontract.ErrIllegalTransition}, {name: "invalid step", store: storecontract.ErrInvalidStep, rehyd: storecontract.ErrInvalidStep}, diff --git a/internal/infrastructure/staterpc/server.go b/internal/infrastructure/staterpc/server.go index 65eca9909..5cfb2f957 100644 --- a/internal/infrastructure/staterpc/server.go +++ b/internal/infrastructure/staterpc/server.go @@ -342,6 +342,13 @@ func (s *server) RetryTask(ctx context.Context, r *pb.RetryTaskRequest) (*pb.Ret return &pb.RetryTaskResponse{}, nil } +func (s *server) RespondReviewGate(ctx context.Context, r *pb.RespondReviewGateRequest) (*pb.RespondReviewGateResponse, error) { + if err := s.deps.Tasks.RespondReviewGate(ctx, r.TaskId, r.FromStatus, r.Gate, r.Rereview, int(r.Cap)); err != nil { + return nil, s.logErr("RespondReviewGate", err) + } + return &pb.RespondReviewGateResponse{}, nil +} + func (s *server) BeginRemediation(ctx context.Context, r *pb.BeginRemediationRequest) (*pb.BeginRemediationResponse, error) { if err := s.deps.Tasks.BeginRemediation(ctx, r.TaskId, r.Payload); err != nil { return nil, s.logErr("BeginRemediation", err) diff --git a/internal/infrastructure/staterpc/values.go b/internal/infrastructure/staterpc/values.go index 739c0f92d..a1d516dc6 100644 --- a/internal/infrastructure/staterpc/values.go +++ b/internal/infrastructure/staterpc/values.go @@ -77,6 +77,8 @@ func taskProto(t *task.Task) *pb.Task { //nolint:dupl // mirror-image field-by-f OutputsJson: outputsJSON(t.Outputs), CreatedAt: timestamp(t.CreatedAt), UpdatedAt: timestamp(t.UpdatedAt), ReviewPayload: t.ReviewPayload, + ReviewGate: t.ReviewGate, + RereviewRounds: int64(t.RereviewRounds), ReviewCursor: t.ReviewCursor, ParkClass: t.ParkClass, RemediationRounds: int32(t.RemediationRounds), @@ -105,6 +107,8 @@ func taskValue(t *pb.Task) *task.Task { //nolint:dupl // see taskProto above Outputs: outputsValue(t.OutputsJson), CreatedAt: timeValue(t.CreatedAt), UpdatedAt: timeValue(t.UpdatedAt), ReviewPayload: t.ReviewPayload, + ReviewGate: t.ReviewGate, + RereviewRounds: int(t.RereviewRounds), ReviewCursor: t.ReviewCursor, ParkClass: t.ParkClass, RemediationRounds: int(t.RemediationRounds), @@ -406,7 +410,11 @@ const ( msgSourcePathTaken = "source path taken" msgSourceSigning = "source signing stale" msgHarnessSecretNotFound = "harness secret not found" - msgInternal = "state store: internal error" + // msgRereviewCapReached is the canonical message of + // storecontract.ErrRereviewCapReached on the wire. Changing it breaks + // errors.Is on the client without changing behaviour visibly. + msgRereviewCapReached = "store: re-review cap reached" + msgInternal = "state store: internal error" // msgTaskLogsUnavailable is the public phrase for "this service has no // task-log reader". It is a wire contract like the sentinels above: the // client rehydrates logging.ErrTaskLogsUnavailable from (Unavailable, this @@ -524,6 +532,7 @@ var wireErrors = []struct { {storecontract.ErrCallDepthExceeded, codes.FailedPrecondition, storecontract.ErrCallDepthExceeded.Error()}, {storecontract.ErrSourcePathTaken, codes.AlreadyExists, msgSourcePathTaken}, {storecontract.ErrHarnessSecretNotFound, codes.NotFound, msgHarnessSecretNotFound}, + {storecontract.ErrRereviewCapReached, codes.FailedPrecondition, msgRereviewCapReached}, {storepkg.ErrNotFound, codes.NotFound, storepkg.ErrNotFound.Error()}, {storepkg.ErrInstalled, codes.AlreadyExists, storepkg.ErrInstalled.Error()}, {storepkg.ErrRequired, codes.FailedPrecondition, storepkg.ErrRequired.Error()}, diff --git a/proto/state/v1/state.proto b/proto/state/v1/state.proto index 78817c7e2..82113e219 100644 --- a/proto/state/v1/state.proto +++ b/proto/state/v1/state.proto @@ -68,6 +68,13 @@ service StateStoreService { // Archive / Retry rpc ArchiveTask(ArchiveTaskRequest) returns (ArchiveTaskResponse); rpc RetryTask(RetryTaskRequest) returns (RetryTaskResponse); + // RespondReviewGate is the operator's answer to the review gate + // (docs/prds/pr-review-operator-response.md, Decision 2): one guarded + // requeue that records the answer, increments rereview_rounds for a + // re-review, and refuses a re-review past cap with the ErrRereviewCapReached + // wire sentinel. Admin-only, like every other operator surface: a + // task-scoped grant never reaches it. + rpc RespondReviewGate(RespondReviewGateRequest) returns (RespondReviewGateResponse); rpc BeginRemediation(BeginRemediationRequest) returns (BeginRemediationResponse); rpc UpdateReviewPayload(UpdateReviewPayloadRequest) returns (UpdateReviewPayloadResponse); rpc SetReviewCursors(SetReviewCursorsRequest) returns (SetReviewCursorsResponse); @@ -341,6 +348,18 @@ message Task { // column that write drops (docs/prds/workflow-call-outputs.md, "Storage and // wire"). string outputs_json = 38; + // review_gate is the operator-approval gate's whole conversation with the + // operator (docs/prds/pr-review-operator-response.md): the offer the gate + // wrote before waiting, and the answer the response path filled in. It is + // opaque here -- internal/domain/workflow/prreview owns the encoding -- but + // it must cross so the dashboard can render the offer and the resumed run + // can read the answer. + string review_gate = 39; + // rereview_rounds counts granted operator re-reviews, capped by + // prreview.MaxRereviewRounds in the guarded response write. It is separate + // from retry_count and remediation_rounds for the same reason those are + // separate from each other. + int64 rereview_rounds = 40; } // Event mirrors internal/events.Event. Data is carried as a JSON object @@ -692,6 +711,22 @@ message RetryTaskRequest { } message RetryTaskResponse {} +message RespondReviewGateRequest { + int64 task_id = 1; + string from_status = 2; + // gate is the whole review_gate document the caller computed: the offer + // with the answer filled in. The store persists it unread. + string gate = 3; + // rereview increments rereview_rounds in the same write; an approve must + // pass false and bumps nothing. + bool rereview = 4; + // cap is the domain's re-review bound (prreview.MaxRereviewRounds). It + // crosses so the guard is enforced where the row is locked rather than by + // the caller's stale read. + int64 cap = 5; +} +message RespondReviewGateResponse {} + message BeginRemediationRequest { int64 task_id = 1; string payload = 2;