diff --git a/internal/app/archied/state_store.go b/internal/app/archied/state_store.go index 60da24e9e..6c3779b97 100644 --- a/internal/app/archied/state_store.go +++ b/internal/app/archied/state_store.go @@ -322,6 +322,13 @@ func (b *boot) stateStoreDeps(grants *staterpc.TaskGrants) staterpc.Deps { if identities, ok := b.st.(identity.Repository); ok { deps.Identities = identities } + // Subject bindings are asserted separately from the repository facade: only + // the authenticating path resolves a verified subject, and a store that + // cannot is one where the dashboard cannot name its caller rather than one + // that fails to boot. + if bindings, ok := b.st.(identity.SubjectBinding); ok { + deps.SubjectBindings = bindings + } // Task logs live in the state directory, which this process owns, and the // dashboard process owns no such directory -- so this is where a task-log // read is served from (docs/prds/ui-service-boundary.md). The reader is diff --git a/internal/app/archieui/compose.go b/internal/app/archieui/compose.go index 37ca0124c..50a3b36ef 100644 --- a/internal/app/archieui/compose.go +++ b/internal/app/archieui/compose.go @@ -27,6 +27,9 @@ type deps struct { Health *health.Registry ControlPlane controlpb.ControlPlaneServiceClient Identities identity.Repository + // Authenticate resolves a presented credential to the identity that may + // act. Nil when no provider is configured, which keeps the shared token. + Authenticate func(context.Context, string) (identity.Identity, error) } // compose builds the dashboard server for the UI process. It sets exactly the @@ -67,6 +70,7 @@ func compose(d deps) *webui.Server { Store: d.Store, Log: d.Log, Token: d.Options.Token, + Authenticate: d.Authenticate, TrustForwardedHeaders: d.Options.trustForwardedHeaders(), Health: d.Health, ControlPlane: d.ControlPlane, diff --git a/internal/config/config.go b/internal/config/config.go index 8fb8ef220..0ae523684 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -514,6 +514,7 @@ type Config struct { Budgets Budgets `toml:"budgets" yaml:"budgets"` Web Web `toml:"web" yaml:"web"` + Oidc Oidc `toml:"oidc" yaml:"oidc"` Health Health `toml:"health" yaml:"health"` Log Log `toml:"log" yaml:"log"` Notify Notify `toml:"notify" yaml:"notify"` @@ -1064,6 +1065,19 @@ type Notify struct { Webhook string `toml:"webhook" json:"webhook" yaml:"webhook"` } +// Oidc configures verification of identity-provider tokens. An empty issuer +// disables it, and the dashboard keeps its shared-token gate -- which attributes +// a request to a credential, not to a person. +type Oidc struct { + // Issuer is the provider's issuer URL. Discovery and the signing keys are + // read from it, so archie holds no key material of its own. + Issuer string `toml:"issuer" yaml:"issuer"` + // Audience is the resource identifier archie accepts tokens for. Required + // when an issuer is set: without it a token the provider minted for another + // service would authenticate here. + Audience string `toml:"audience" yaml:"audience"` +} + // Web configures the observability dashboard. // Health is archied's own liveness surface, always on. It is separate from // the dashboard's /healthz because the process whose restart is being diff --git a/internal/contracts/gateway/v1/chat.pb.go b/internal/contracts/gateway/v1/chat.pb.go index 2ac2e202b..976623572 100644 --- a/internal/contracts/gateway/v1/chat.pb.go +++ b/internal/contracts/gateway/v1/chat.pb.go @@ -1646,9 +1646,20 @@ func (x *ApplyTaskActionResponse) GetMessage() string { // carries no identity to scope against -- the distinction the daemon's task // action service draws with a nil identity (internal/domain/taskactions). type ApplyOperatorTaskActionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` + // actor_id is the identity that performed the action, as asserted by the + // caller that verified the credential the request presented. actor_kind + // travels beside it so the record can say an agent acted without a reader + // resolving the identity. principal_id is the identity whose authority the + // action used; empty means the action is recorded unattributed rather than + // credited to the actor's own authority. All three are empty when the caller + // has no verified identity, which is recorded as an unattributed action and + // never as a human's. + ActorId string `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + ActorKind string `protobuf:"bytes,4,opt,name=actor_kind,json=actorKind,proto3" json:"actor_kind,omitempty"` + PrincipalId string `protobuf:"bytes,5,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1697,6 +1708,27 @@ func (x *ApplyOperatorTaskActionRequest) GetAction() string { return "" } +func (x *ApplyOperatorTaskActionRequest) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *ApplyOperatorTaskActionRequest) GetActorKind() string { + if x != nil { + return x.ActorKind + } + return "" +} + +func (x *ApplyOperatorTaskActionRequest) GetPrincipalId() string { + if x != nil { + return x.PrincipalId + } + return "" +} + type ApplyOperatorTaskActionResponse struct { state protoimpl.MessageState `protogen:"open.v1"` TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` @@ -2924,10 +2956,14 @@ const file_gateway_v1_chat_proto_rawDesc = "" + "\x17ApplyTaskActionResponse\x12\x17\n" + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" + "\x06action\x18\x02 \x01(\tR\x06action\x12\x18\n" + - "\amessage\x18\x03 \x01(\tR\amessage\"Q\n" + + "\amessage\x18\x03 \x01(\tR\amessage\"\xae\x01\n" + "\x1eApplyOperatorTaskActionRequest\x12\x17\n" + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" + - "\x06action\x18\x02 \x01(\tR\x06action\"l\n" + + "\x06action\x18\x02 \x01(\tR\x06action\x12\x19\n" + + "\bactor_id\x18\x03 \x01(\tR\aactorId\x12\x1d\n" + + "\n" + + "actor_kind\x18\x04 \x01(\tR\tactorKind\x12!\n" + + "\fprincipal_id\x18\x05 \x01(\tR\vprincipalId\"l\n" + "\x1fApplyOperatorTaskActionResponse\x12\x17\n" + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" + "\x06action\x18\x02 \x01(\tR\x06action\x12\x18\n" + diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 0029bb2fc..5aecdc632 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -1055,6 +1055,214 @@ func (x *RetireIdentityResponse) GetIdentity() *Identity { return nil } +type ResolveIdentitySubjectRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` + Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ResolveIdentitySubjectRequest) Reset() { + *x = ResolveIdentitySubjectRequest{} + mi := &file_state_v1_state_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ResolveIdentitySubjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveIdentitySubjectRequest) ProtoMessage() {} + +func (x *ResolveIdentitySubjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveIdentitySubjectRequest.ProtoReflect.Descriptor instead. +func (*ResolveIdentitySubjectRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{20} +} + +func (x *ResolveIdentitySubjectRequest) GetIssuer() string { + if x != nil { + return x.Issuer + } + return "" +} + +func (x *ResolveIdentitySubjectRequest) GetSubject() string { + if x != nil { + return x.Subject + } + return "" +} + +type ResolveIdentitySubjectResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ResolveIdentitySubjectResponse) Reset() { + *x = ResolveIdentitySubjectResponse{} + mi := &file_state_v1_state_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ResolveIdentitySubjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveIdentitySubjectResponse) ProtoMessage() {} + +func (x *ResolveIdentitySubjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveIdentitySubjectResponse.ProtoReflect.Descriptor instead. +func (*ResolveIdentitySubjectResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{21} +} + +func (x *ResolveIdentitySubjectResponse) GetIdentity() *Identity { + if x != nil { + return x.Identity + } + return nil +} + +type BindIdentitySubjectRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` + Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` + Audit *IdentityAudit `protobuf:"bytes,4,opt,name=audit,proto3" json:"audit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BindIdentitySubjectRequest) Reset() { + *x = BindIdentitySubjectRequest{} + mi := &file_state_v1_state_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BindIdentitySubjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BindIdentitySubjectRequest) ProtoMessage() {} + +func (x *BindIdentitySubjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BindIdentitySubjectRequest.ProtoReflect.Descriptor instead. +func (*BindIdentitySubjectRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{22} +} + +func (x *BindIdentitySubjectRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *BindIdentitySubjectRequest) GetIssuer() string { + if x != nil { + return x.Issuer + } + return "" +} + +func (x *BindIdentitySubjectRequest) GetSubject() string { + if x != nil { + return x.Subject + } + return "" +} + +func (x *BindIdentitySubjectRequest) GetAudit() *IdentityAudit { + if x != nil { + return x.Audit + } + return nil +} + +type BindIdentitySubjectResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BindIdentitySubjectResponse) Reset() { + *x = BindIdentitySubjectResponse{} + mi := &file_state_v1_state_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BindIdentitySubjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BindIdentitySubjectResponse) ProtoMessage() {} + +func (x *BindIdentitySubjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BindIdentitySubjectResponse.ProtoReflect.Descriptor instead. +func (*BindIdentitySubjectResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{23} +} + +func (x *BindIdentitySubjectResponse) GetIdentity() *Identity { + if x != nil { + return x.Identity + } + return nil +} + // Task mirrors internal/domain/workflow.Task. type Task struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -1100,7 +1308,7 @@ type Task struct { func (x *Task) Reset() { *x = Task{} - mi := &file_state_v1_state_proto_msgTypes[20] + mi := &file_state_v1_state_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1112,7 +1320,7 @@ func (x *Task) String() string { func (*Task) ProtoMessage() {} func (x *Task) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[20] + mi := &file_state_v1_state_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1125,7 +1333,7 @@ func (x *Task) ProtoReflect() protoreflect.Message { // Deprecated: Use Task.ProtoReflect.Descriptor instead. func (*Task) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{20} + return file_state_v1_state_proto_rawDescGZIP(), []int{24} } func (x *Task) GetId() int64 { @@ -1364,7 +1572,7 @@ type Event struct { func (x *Event) Reset() { *x = Event{} - mi := &file_state_v1_state_proto_msgTypes[21] + mi := &file_state_v1_state_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1376,7 +1584,7 @@ func (x *Event) String() string { func (*Event) ProtoMessage() {} func (x *Event) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[21] + mi := &file_state_v1_state_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1389,7 +1597,7 @@ func (x *Event) ProtoReflect() protoreflect.Message { // Deprecated: Use Event.ProtoReflect.Descriptor instead. func (*Event) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{21} + return file_state_v1_state_proto_rawDescGZIP(), []int{25} } func (x *Event) GetId() int64 { @@ -1486,7 +1694,7 @@ type CapturedEvent struct { func (x *CapturedEvent) Reset() { *x = CapturedEvent{} - mi := &file_state_v1_state_proto_msgTypes[22] + mi := &file_state_v1_state_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1498,7 +1706,7 @@ func (x *CapturedEvent) String() string { func (*CapturedEvent) ProtoMessage() {} func (x *CapturedEvent) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[22] + mi := &file_state_v1_state_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1511,7 +1719,7 @@ func (x *CapturedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use CapturedEvent.ProtoReflect.Descriptor instead. func (*CapturedEvent) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{22} + return file_state_v1_state_proto_rawDescGZIP(), []int{26} } func (x *CapturedEvent) GetId() int64 { @@ -1583,7 +1791,7 @@ type MappingField struct { func (x *MappingField) Reset() { *x = MappingField{} - mi := &file_state_v1_state_proto_msgTypes[23] + mi := &file_state_v1_state_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1595,7 +1803,7 @@ func (x *MappingField) String() string { func (*MappingField) ProtoMessage() {} func (x *MappingField) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[23] + mi := &file_state_v1_state_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1608,7 +1816,7 @@ func (x *MappingField) ProtoReflect() protoreflect.Message { // Deprecated: Use MappingField.ProtoReflect.Descriptor instead. func (*MappingField) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{23} + return file_state_v1_state_proto_rawDescGZIP(), []int{27} } func (x *MappingField) GetName() string { @@ -1654,7 +1862,7 @@ type Mapping struct { func (x *Mapping) Reset() { *x = Mapping{} - mi := &file_state_v1_state_proto_msgTypes[24] + mi := &file_state_v1_state_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1666,7 +1874,7 @@ func (x *Mapping) String() string { func (*Mapping) ProtoMessage() {} func (x *Mapping) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[24] + mi := &file_state_v1_state_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1679,7 +1887,7 @@ func (x *Mapping) ProtoReflect() protoreflect.Message { // Deprecated: Use Mapping.ProtoReflect.Descriptor instead. func (*Mapping) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{24} + return file_state_v1_state_proto_rawDescGZIP(), []int{28} } func (x *Mapping) GetId() int64 { @@ -1734,7 +1942,7 @@ type BindingMatcher struct { func (x *BindingMatcher) Reset() { *x = BindingMatcher{} - mi := &file_state_v1_state_proto_msgTypes[25] + mi := &file_state_v1_state_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1746,7 +1954,7 @@ func (x *BindingMatcher) String() string { func (*BindingMatcher) ProtoMessage() {} func (x *BindingMatcher) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[25] + mi := &file_state_v1_state_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1759,7 +1967,7 @@ func (x *BindingMatcher) ProtoReflect() protoreflect.Message { // Deprecated: Use BindingMatcher.ProtoReflect.Descriptor instead. func (*BindingMatcher) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{25} + return file_state_v1_state_proto_rawDescGZIP(), []int{29} } func (x *BindingMatcher) GetSource() string { @@ -1790,7 +1998,7 @@ type Binding struct { func (x *Binding) Reset() { *x = Binding{} - mi := &file_state_v1_state_proto_msgTypes[26] + mi := &file_state_v1_state_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1802,7 +2010,7 @@ func (x *Binding) String() string { func (*Binding) ProtoMessage() {} func (x *Binding) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[26] + mi := &file_state_v1_state_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1815,7 +2023,7 @@ func (x *Binding) ProtoReflect() protoreflect.Message { // Deprecated: Use Binding.ProtoReflect.Descriptor instead. func (*Binding) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{26} + return file_state_v1_state_proto_rawDescGZIP(), []int{30} } func (x *Binding) GetId() int64 { @@ -1919,7 +2127,7 @@ type WorkflowStat struct { func (x *WorkflowStat) Reset() { *x = WorkflowStat{} - mi := &file_state_v1_state_proto_msgTypes[27] + mi := &file_state_v1_state_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1931,7 +2139,7 @@ func (x *WorkflowStat) String() string { func (*WorkflowStat) ProtoMessage() {} func (x *WorkflowStat) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[27] + mi := &file_state_v1_state_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1944,7 +2152,7 @@ func (x *WorkflowStat) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStat.ProtoReflect.Descriptor instead. func (*WorkflowStat) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{27} + return file_state_v1_state_proto_rawDescGZIP(), []int{31} } func (x *WorkflowStat) GetWorkflow() string { @@ -2017,7 +2225,7 @@ type StageStat struct { func (x *StageStat) Reset() { *x = StageStat{} - mi := &file_state_v1_state_proto_msgTypes[28] + mi := &file_state_v1_state_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2029,7 +2237,7 @@ func (x *StageStat) String() string { func (*StageStat) ProtoMessage() {} func (x *StageStat) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[28] + mi := &file_state_v1_state_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2042,7 +2250,7 @@ func (x *StageStat) ProtoReflect() protoreflect.Message { // Deprecated: Use StageStat.ProtoReflect.Descriptor instead. func (*StageStat) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{28} + return file_state_v1_state_proto_rawDescGZIP(), []int{32} } func (x *StageStat) GetWorkflow() string { @@ -2091,7 +2299,7 @@ type DayTokens struct { func (x *DayTokens) Reset() { *x = DayTokens{} - mi := &file_state_v1_state_proto_msgTypes[29] + mi := &file_state_v1_state_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2103,7 +2311,7 @@ func (x *DayTokens) String() string { func (*DayTokens) ProtoMessage() {} func (x *DayTokens) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[29] + mi := &file_state_v1_state_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2116,7 +2324,7 @@ func (x *DayTokens) ProtoReflect() protoreflect.Message { // Deprecated: Use DayTokens.ProtoReflect.Descriptor instead. func (*DayTokens) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{29} + return file_state_v1_state_proto_rawDescGZIP(), []int{33} } func (x *DayTokens) GetDay() string { @@ -2148,7 +2356,7 @@ type EnqueueIssueRequest struct { func (x *EnqueueIssueRequest) Reset() { *x = EnqueueIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[30] + mi := &file_state_v1_state_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2160,7 +2368,7 @@ func (x *EnqueueIssueRequest) String() string { func (*EnqueueIssueRequest) ProtoMessage() {} func (x *EnqueueIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[30] + mi := &file_state_v1_state_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2173,7 +2381,7 @@ func (x *EnqueueIssueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueIssueRequest.ProtoReflect.Descriptor instead. func (*EnqueueIssueRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{30} + return file_state_v1_state_proto_rawDescGZIP(), []int{34} } func (x *EnqueueIssueRequest) GetOwner() string { @@ -2234,7 +2442,7 @@ type EnqueueIssueResponse struct { func (x *EnqueueIssueResponse) Reset() { *x = EnqueueIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[31] + mi := &file_state_v1_state_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2246,7 +2454,7 @@ func (x *EnqueueIssueResponse) String() string { func (*EnqueueIssueResponse) ProtoMessage() {} func (x *EnqueueIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[31] + mi := &file_state_v1_state_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2259,7 +2467,7 @@ func (x *EnqueueIssueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueIssueResponse.ProtoReflect.Descriptor instead. func (*EnqueueIssueResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{31} + return file_state_v1_state_proto_rawDescGZIP(), []int{35} } func (x *EnqueueIssueResponse) GetInserted() bool { @@ -2283,7 +2491,7 @@ type EnqueueChatTaskRequest struct { func (x *EnqueueChatTaskRequest) Reset() { *x = EnqueueChatTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[32] + mi := &file_state_v1_state_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2295,7 +2503,7 @@ func (x *EnqueueChatTaskRequest) String() string { func (*EnqueueChatTaskRequest) ProtoMessage() {} func (x *EnqueueChatTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[32] + mi := &file_state_v1_state_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2308,7 +2516,7 @@ func (x *EnqueueChatTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueChatTaskRequest.ProtoReflect.Descriptor instead. func (*EnqueueChatTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{32} + return file_state_v1_state_proto_rawDescGZIP(), []int{36} } func (x *EnqueueChatTaskRequest) GetOwner() string { @@ -2362,7 +2570,7 @@ type EnqueueChatTaskResponse struct { func (x *EnqueueChatTaskResponse) Reset() { *x = EnqueueChatTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[33] + mi := &file_state_v1_state_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2374,7 +2582,7 @@ func (x *EnqueueChatTaskResponse) String() string { func (*EnqueueChatTaskResponse) ProtoMessage() {} func (x *EnqueueChatTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[33] + mi := &file_state_v1_state_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2387,7 +2595,7 @@ func (x *EnqueueChatTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueChatTaskResponse.ProtoReflect.Descriptor instead. func (*EnqueueChatTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{33} + return file_state_v1_state_proto_rawDescGZIP(), []int{37} } func (x *EnqueueChatTaskResponse) GetTask() *Task { @@ -2405,7 +2613,7 @@ type ClaimNextRequest struct { func (x *ClaimNextRequest) Reset() { *x = ClaimNextRequest{} - mi := &file_state_v1_state_proto_msgTypes[34] + mi := &file_state_v1_state_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2417,7 +2625,7 @@ func (x *ClaimNextRequest) String() string { func (*ClaimNextRequest) ProtoMessage() {} func (x *ClaimNextRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[34] + mi := &file_state_v1_state_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2430,7 +2638,7 @@ func (x *ClaimNextRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimNextRequest.ProtoReflect.Descriptor instead. func (*ClaimNextRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{34} + return file_state_v1_state_proto_rawDescGZIP(), []int{38} } type ClaimNextResponse struct { @@ -2443,7 +2651,7 @@ type ClaimNextResponse struct { func (x *ClaimNextResponse) Reset() { *x = ClaimNextResponse{} - mi := &file_state_v1_state_proto_msgTypes[35] + mi := &file_state_v1_state_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2455,7 +2663,7 @@ func (x *ClaimNextResponse) String() string { func (*ClaimNextResponse) ProtoMessage() {} func (x *ClaimNextResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[35] + mi := &file_state_v1_state_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2468,7 +2676,7 @@ func (x *ClaimNextResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimNextResponse.ProtoReflect.Descriptor instead. func (*ClaimNextResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{35} + return file_state_v1_state_proto_rawDescGZIP(), []int{39} } func (x *ClaimNextResponse) GetTask() *Task { @@ -2496,7 +2704,7 @@ type ClaimByIssueRequest struct { func (x *ClaimByIssueRequest) Reset() { *x = ClaimByIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[36] + mi := &file_state_v1_state_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2508,7 +2716,7 @@ func (x *ClaimByIssueRequest) String() string { func (*ClaimByIssueRequest) ProtoMessage() {} func (x *ClaimByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[36] + mi := &file_state_v1_state_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2521,7 +2729,7 @@ func (x *ClaimByIssueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimByIssueRequest.ProtoReflect.Descriptor instead. func (*ClaimByIssueRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{36} + return file_state_v1_state_proto_rawDescGZIP(), []int{40} } func (x *ClaimByIssueRequest) GetOwner() string { @@ -2555,7 +2763,7 @@ type ClaimByIssueResponse struct { func (x *ClaimByIssueResponse) Reset() { *x = ClaimByIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[37] + mi := &file_state_v1_state_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2567,7 +2775,7 @@ func (x *ClaimByIssueResponse) String() string { func (*ClaimByIssueResponse) ProtoMessage() {} func (x *ClaimByIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[37] + mi := &file_state_v1_state_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2580,7 +2788,7 @@ func (x *ClaimByIssueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimByIssueResponse.ProtoReflect.Descriptor instead. func (*ClaimByIssueResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{37} + return file_state_v1_state_proto_rawDescGZIP(), []int{41} } func (x *ClaimByIssueResponse) GetTask() *Task { @@ -2609,7 +2817,7 @@ type TransitionRequest struct { func (x *TransitionRequest) Reset() { *x = TransitionRequest{} - mi := &file_state_v1_state_proto_msgTypes[38] + mi := &file_state_v1_state_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2621,7 +2829,7 @@ func (x *TransitionRequest) String() string { func (*TransitionRequest) ProtoMessage() {} func (x *TransitionRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[38] + mi := &file_state_v1_state_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2634,7 +2842,7 @@ func (x *TransitionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TransitionRequest.ProtoReflect.Descriptor instead. func (*TransitionRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{38} + return file_state_v1_state_proto_rawDescGZIP(), []int{42} } func (x *TransitionRequest) GetTaskId() int64 { @@ -2673,7 +2881,7 @@ type TransitionResponse struct { func (x *TransitionResponse) Reset() { *x = TransitionResponse{} - mi := &file_state_v1_state_proto_msgTypes[39] + mi := &file_state_v1_state_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2685,7 +2893,7 @@ func (x *TransitionResponse) String() string { func (*TransitionResponse) ProtoMessage() {} func (x *TransitionResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[39] + mi := &file_state_v1_state_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2698,7 +2906,7 @@ func (x *TransitionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TransitionResponse.ProtoReflect.Descriptor instead. func (*TransitionResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{39} + return file_state_v1_state_proto_rawDescGZIP(), []int{43} } type UpdateRequest struct { @@ -2710,7 +2918,7 @@ type UpdateRequest struct { func (x *UpdateRequest) Reset() { *x = UpdateRequest{} - mi := &file_state_v1_state_proto_msgTypes[40] + mi := &file_state_v1_state_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2722,7 +2930,7 @@ func (x *UpdateRequest) String() string { func (*UpdateRequest) ProtoMessage() {} func (x *UpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[40] + mi := &file_state_v1_state_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2735,7 +2943,7 @@ func (x *UpdateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. func (*UpdateRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{40} + return file_state_v1_state_proto_rawDescGZIP(), []int{44} } func (x *UpdateRequest) GetTask() *Task { @@ -2753,7 +2961,7 @@ type UpdateResponse struct { func (x *UpdateResponse) Reset() { *x = UpdateResponse{} - mi := &file_state_v1_state_proto_msgTypes[41] + mi := &file_state_v1_state_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2765,7 +2973,7 @@ func (x *UpdateResponse) String() string { func (*UpdateResponse) ProtoMessage() {} func (x *UpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[41] + mi := &file_state_v1_state_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2778,7 +2986,7 @@ func (x *UpdateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead. func (*UpdateResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{41} + return file_state_v1_state_proto_rawDescGZIP(), []int{45} } type RequeueRequest struct { @@ -2792,7 +3000,7 @@ type RequeueRequest struct { func (x *RequeueRequest) Reset() { *x = RequeueRequest{} - mi := &file_state_v1_state_proto_msgTypes[42] + mi := &file_state_v1_state_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2804,7 +3012,7 @@ func (x *RequeueRequest) String() string { func (*RequeueRequest) ProtoMessage() {} func (x *RequeueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[42] + mi := &file_state_v1_state_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2817,7 +3025,7 @@ func (x *RequeueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RequeueRequest.ProtoReflect.Descriptor instead. func (*RequeueRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{42} + return file_state_v1_state_proto_rawDescGZIP(), []int{46} } func (x *RequeueRequest) GetTaskId() int64 { @@ -2849,7 +3057,7 @@ type RequeueResponse struct { func (x *RequeueResponse) Reset() { *x = RequeueResponse{} - mi := &file_state_v1_state_proto_msgTypes[43] + mi := &file_state_v1_state_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2861,7 +3069,7 @@ func (x *RequeueResponse) String() string { func (*RequeueResponse) ProtoMessage() {} func (x *RequeueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[43] + mi := &file_state_v1_state_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2874,7 +3082,7 @@ func (x *RequeueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RequeueResponse.ProtoReflect.Descriptor instead. func (*RequeueResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{43} + return file_state_v1_state_proto_rawDescGZIP(), []int{47} } type RecoverStaleRequest struct { @@ -2885,7 +3093,7 @@ type RecoverStaleRequest struct { func (x *RecoverStaleRequest) Reset() { *x = RecoverStaleRequest{} - mi := &file_state_v1_state_proto_msgTypes[44] + mi := &file_state_v1_state_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2897,7 +3105,7 @@ func (x *RecoverStaleRequest) String() string { func (*RecoverStaleRequest) ProtoMessage() {} func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[44] + mi := &file_state_v1_state_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2910,7 +3118,7 @@ func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecoverStaleRequest.ProtoReflect.Descriptor instead. func (*RecoverStaleRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{44} + return file_state_v1_state_proto_rawDescGZIP(), []int{48} } type RecoverStaleResponse struct { @@ -2922,7 +3130,7 @@ type RecoverStaleResponse struct { func (x *RecoverStaleResponse) Reset() { *x = RecoverStaleResponse{} - mi := &file_state_v1_state_proto_msgTypes[45] + mi := &file_state_v1_state_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2934,7 +3142,7 @@ func (x *RecoverStaleResponse) String() string { func (*RecoverStaleResponse) ProtoMessage() {} func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[45] + mi := &file_state_v1_state_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2947,7 +3155,7 @@ func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecoverStaleResponse.ProtoReflect.Descriptor instead. func (*RecoverStaleResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{45} + return file_state_v1_state_proto_rawDescGZIP(), []int{49} } func (x *RecoverStaleResponse) GetCount() int64 { @@ -2968,7 +3176,7 @@ type ArchiveTaskRequest struct { func (x *ArchiveTaskRequest) Reset() { *x = ArchiveTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[46] + mi := &file_state_v1_state_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2980,7 +3188,7 @@ func (x *ArchiveTaskRequest) String() string { func (*ArchiveTaskRequest) ProtoMessage() {} func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[46] + mi := &file_state_v1_state_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2993,7 +3201,7 @@ func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveTaskRequest.ProtoReflect.Descriptor instead. func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{46} + return file_state_v1_state_proto_rawDescGZIP(), []int{50} } func (x *ArchiveTaskRequest) GetTaskId() int64 { @@ -3026,7 +3234,7 @@ type ArchiveTaskResponse struct { func (x *ArchiveTaskResponse) Reset() { *x = ArchiveTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[47] + mi := &file_state_v1_state_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3038,7 +3246,7 @@ func (x *ArchiveTaskResponse) String() string { func (*ArchiveTaskResponse) ProtoMessage() {} func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[47] + mi := &file_state_v1_state_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3051,7 +3259,7 @@ func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveTaskResponse.ProtoReflect.Descriptor instead. func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{47} + return file_state_v1_state_proto_rawDescGZIP(), []int{51} } func (x *ArchiveTaskResponse) GetEventId() int64 { @@ -3072,7 +3280,7 @@ type RetryTaskRequest struct { func (x *RetryTaskRequest) Reset() { *x = RetryTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[48] + mi := &file_state_v1_state_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3084,7 +3292,7 @@ func (x *RetryTaskRequest) String() string { func (*RetryTaskRequest) ProtoMessage() {} func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[48] + mi := &file_state_v1_state_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3097,7 +3305,7 @@ func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryTaskRequest.ProtoReflect.Descriptor instead. func (*RetryTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{48} + return file_state_v1_state_proto_rawDescGZIP(), []int{52} } func (x *RetryTaskRequest) GetTaskId() int64 { @@ -3129,7 +3337,7 @@ type RetryTaskResponse struct { func (x *RetryTaskResponse) Reset() { *x = RetryTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[49] + mi := &file_state_v1_state_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3141,7 +3349,7 @@ func (x *RetryTaskResponse) String() string { func (*RetryTaskResponse) ProtoMessage() {} func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[49] + mi := &file_state_v1_state_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3154,7 +3362,7 @@ func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryTaskResponse.ProtoReflect.Descriptor instead. func (*RetryTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{49} + return file_state_v1_state_proto_rawDescGZIP(), []int{53} } type TaskByIssueRequest struct { @@ -3168,7 +3376,7 @@ type TaskByIssueRequest struct { func (x *TaskByIssueRequest) Reset() { *x = TaskByIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[50] + mi := &file_state_v1_state_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3180,7 +3388,7 @@ func (x *TaskByIssueRequest) String() string { func (*TaskByIssueRequest) ProtoMessage() {} func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[50] + mi := &file_state_v1_state_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3193,7 +3401,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{50} + return file_state_v1_state_proto_rawDescGZIP(), []int{54} } func (x *TaskByIssueRequest) GetOwner() string { @@ -3227,7 +3435,7 @@ type TaskByIssueResponse struct { func (x *TaskByIssueResponse) Reset() { *x = TaskByIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[51] + mi := &file_state_v1_state_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3239,7 +3447,7 @@ func (x *TaskByIssueResponse) String() string { func (*TaskByIssueResponse) ProtoMessage() {} func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[51] + mi := &file_state_v1_state_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3252,7 +3460,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{51} + return file_state_v1_state_proto_rawDescGZIP(), []int{55} } func (x *TaskByIssueResponse) GetTask() *Task { @@ -3280,7 +3488,7 @@ type OpenTaskByPRRequest struct { func (x *OpenTaskByPRRequest) Reset() { *x = OpenTaskByPRRequest{} - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3292,7 +3500,7 @@ func (x *OpenTaskByPRRequest) String() string { func (*OpenTaskByPRRequest) ProtoMessage() {} func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3305,7 +3513,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{52} + return file_state_v1_state_proto_rawDescGZIP(), []int{56} } func (x *OpenTaskByPRRequest) GetOwner() string { @@ -3339,7 +3547,7 @@ type OpenTaskByPRResponse struct { func (x *OpenTaskByPRResponse) Reset() { *x = OpenTaskByPRResponse{} - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3351,7 +3559,7 @@ func (x *OpenTaskByPRResponse) String() string { func (*OpenTaskByPRResponse) ProtoMessage() {} func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3364,7 +3572,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{53} + return file_state_v1_state_proto_rawDescGZIP(), []int{57} } func (x *OpenTaskByPRResponse) GetTask() *Task { @@ -3390,7 +3598,7 @@ type TaskByIDRequest struct { func (x *TaskByIDRequest) Reset() { *x = TaskByIDRequest{} - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3402,7 +3610,7 @@ func (x *TaskByIDRequest) String() string { func (*TaskByIDRequest) ProtoMessage() {} func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3415,7 +3623,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{54} + return file_state_v1_state_proto_rawDescGZIP(), []int{58} } func (x *TaskByIDRequest) GetTaskId() int64 { @@ -3435,7 +3643,7 @@ type TaskByIDResponse struct { func (x *TaskByIDResponse) Reset() { *x = TaskByIDResponse{} - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3447,7 +3655,7 @@ func (x *TaskByIDResponse) String() string { func (*TaskByIDResponse) ProtoMessage() {} func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3460,7 +3668,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{55} + return file_state_v1_state_proto_rawDescGZIP(), []int{59} } func (x *TaskByIDResponse) GetTask() *Task { @@ -3485,7 +3693,7 @@ type OpenPRsRequest struct { func (x *OpenPRsRequest) Reset() { *x = OpenPRsRequest{} - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3497,7 +3705,7 @@ func (x *OpenPRsRequest) String() string { func (*OpenPRsRequest) ProtoMessage() {} func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3510,7 +3718,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{56} + return file_state_v1_state_proto_rawDescGZIP(), []int{60} } type OpenPRsResponse struct { @@ -3522,7 +3730,7 @@ type OpenPRsResponse struct { func (x *OpenPRsResponse) Reset() { *x = OpenPRsResponse{} - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3534,7 +3742,7 @@ func (x *OpenPRsResponse) String() string { func (*OpenPRsResponse) ProtoMessage() {} func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3547,7 +3755,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{57} + return file_state_v1_state_proto_rawDescGZIP(), []int{61} } func (x *OpenPRsResponse) GetTasks() []*Task { @@ -3565,7 +3773,7 @@ type ClearTerminalTasksRequest struct { func (x *ClearTerminalTasksRequest) Reset() { *x = ClearTerminalTasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3577,7 +3785,7 @@ func (x *ClearTerminalTasksRequest) String() string { func (*ClearTerminalTasksRequest) ProtoMessage() {} func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3590,7 +3798,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{58} + return file_state_v1_state_proto_rawDescGZIP(), []int{62} } type ClearTerminalTasksResponse struct { @@ -3602,7 +3810,7 @@ type ClearTerminalTasksResponse struct { func (x *ClearTerminalTasksResponse) Reset() { *x = ClearTerminalTasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3614,7 +3822,7 @@ func (x *ClearTerminalTasksResponse) String() string { func (*ClearTerminalTasksResponse) ProtoMessage() {} func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3627,7 +3835,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{59} + return file_state_v1_state_proto_rawDescGZIP(), []int{63} } func (x *ClearTerminalTasksResponse) GetCount() int64 { @@ -3646,7 +3854,7 @@ type TasksRequest struct { func (x *TasksRequest) Reset() { *x = TasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3658,7 +3866,7 @@ func (x *TasksRequest) String() string { func (*TasksRequest) ProtoMessage() {} func (x *TasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3671,7 +3879,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{60} + return file_state_v1_state_proto_rawDescGZIP(), []int{64} } func (x *TasksRequest) GetLimit() int64 { @@ -3690,7 +3898,7 @@ type TasksResponse struct { func (x *TasksResponse) Reset() { *x = TasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3702,7 +3910,7 @@ func (x *TasksResponse) String() string { func (*TasksResponse) ProtoMessage() {} func (x *TasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3715,7 +3923,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{61} + return file_state_v1_state_proto_rawDescGZIP(), []int{65} } func (x *TasksResponse) GetTasks() []*Task { @@ -3733,7 +3941,7 @@ type StatusCountsRequest struct { func (x *StatusCountsRequest) Reset() { *x = StatusCountsRequest{} - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3745,7 +3953,7 @@ func (x *StatusCountsRequest) String() string { func (*StatusCountsRequest) ProtoMessage() {} func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3758,7 +3966,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{62} + return file_state_v1_state_proto_rawDescGZIP(), []int{66} } type StatusCountsResponse struct { @@ -3770,7 +3978,7 @@ type StatusCountsResponse struct { func (x *StatusCountsResponse) Reset() { *x = StatusCountsResponse{} - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3782,7 +3990,7 @@ func (x *StatusCountsResponse) String() string { func (*StatusCountsResponse) ProtoMessage() {} func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3795,7 +4003,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{63} + return file_state_v1_state_proto_rawDescGZIP(), []int{67} } func (x *StatusCountsResponse) GetCounts() map[string]int64 { @@ -3814,7 +4022,7 @@ type InsertEventRequest struct { func (x *InsertEventRequest) Reset() { *x = InsertEventRequest{} - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3826,7 +4034,7 @@ func (x *InsertEventRequest) String() string { func (*InsertEventRequest) ProtoMessage() {} func (x *InsertEventRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3839,7 +4047,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{64} + return file_state_v1_state_proto_rawDescGZIP(), []int{68} } func (x *InsertEventRequest) GetEvent() *Event { @@ -3858,7 +4066,7 @@ type InsertEventResponse struct { func (x *InsertEventResponse) Reset() { *x = InsertEventResponse{} - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3870,7 +4078,7 @@ func (x *InsertEventResponse) String() string { func (*InsertEventResponse) ProtoMessage() {} func (x *InsertEventResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3883,7 +4091,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{65} + return file_state_v1_state_proto_rawDescGZIP(), []int{69} } func (x *InsertEventResponse) GetId() int64 { @@ -3903,7 +4111,7 @@ type EventsSinceRequest struct { func (x *EventsSinceRequest) Reset() { *x = EventsSinceRequest{} - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3915,7 +4123,7 @@ func (x *EventsSinceRequest) String() string { func (*EventsSinceRequest) ProtoMessage() {} func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3928,7 +4136,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{66} + return file_state_v1_state_proto_rawDescGZIP(), []int{70} } func (x *EventsSinceRequest) GetSinceId() int64 { @@ -3954,7 +4162,7 @@ type EventsSinceResponse struct { func (x *EventsSinceResponse) Reset() { *x = EventsSinceResponse{} - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3966,7 +4174,7 @@ func (x *EventsSinceResponse) String() string { func (*EventsSinceResponse) ProtoMessage() {} func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3979,7 +4187,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{67} + return file_state_v1_state_proto_rawDescGZIP(), []int{71} } func (x *EventsSinceResponse) GetEvents() []*Event { @@ -3998,7 +4206,7 @@ type TaskEventsRequest struct { func (x *TaskEventsRequest) Reset() { *x = TaskEventsRequest{} - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4010,7 +4218,7 @@ func (x *TaskEventsRequest) String() string { func (*TaskEventsRequest) ProtoMessage() {} func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4023,7 +4231,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{68} + return file_state_v1_state_proto_rawDescGZIP(), []int{72} } func (x *TaskEventsRequest) GetTaskId() int64 { @@ -4042,7 +4250,7 @@ type TaskEventsResponse struct { func (x *TaskEventsResponse) Reset() { *x = TaskEventsResponse{} - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4054,7 +4262,7 @@ func (x *TaskEventsResponse) String() string { func (*TaskEventsResponse) ProtoMessage() {} func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4067,7 +4275,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{69} + return file_state_v1_state_proto_rawDescGZIP(), []int{73} } func (x *TaskEventsResponse) GetEvents() []*Event { @@ -4085,7 +4293,7 @@ type WorkflowStatsRequest struct { func (x *WorkflowStatsRequest) Reset() { *x = WorkflowStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4097,7 +4305,7 @@ func (x *WorkflowStatsRequest) String() string { func (*WorkflowStatsRequest) ProtoMessage() {} func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4110,7 +4318,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{70} + return file_state_v1_state_proto_rawDescGZIP(), []int{74} } type WorkflowStatsResponse struct { @@ -4122,7 +4330,7 @@ type WorkflowStatsResponse struct { func (x *WorkflowStatsResponse) Reset() { *x = WorkflowStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4134,7 +4342,7 @@ func (x *WorkflowStatsResponse) String() string { func (*WorkflowStatsResponse) ProtoMessage() {} func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4147,7 +4355,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{71} + return file_state_v1_state_proto_rawDescGZIP(), []int{75} } func (x *WorkflowStatsResponse) GetStats() []*WorkflowStat { @@ -4165,7 +4373,7 @@ type StageStatsRequest struct { func (x *StageStatsRequest) Reset() { *x = StageStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4177,7 +4385,7 @@ func (x *StageStatsRequest) String() string { func (*StageStatsRequest) ProtoMessage() {} func (x *StageStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4190,7 +4398,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{72} + return file_state_v1_state_proto_rawDescGZIP(), []int{76} } type StageStatsResponse struct { @@ -4202,7 +4410,7 @@ type StageStatsResponse struct { func (x *StageStatsResponse) Reset() { *x = StageStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4214,7 +4422,7 @@ func (x *StageStatsResponse) String() string { func (*StageStatsResponse) ProtoMessage() {} func (x *StageStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4227,7 +4435,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{73} + return file_state_v1_state_proto_rawDescGZIP(), []int{77} } func (x *StageStatsResponse) GetStats() []*StageStat { @@ -4246,7 +4454,7 @@ type TokensByDayRequest struct { func (x *TokensByDayRequest) Reset() { *x = TokensByDayRequest{} - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4258,7 +4466,7 @@ func (x *TokensByDayRequest) String() string { func (*TokensByDayRequest) ProtoMessage() {} func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4271,7 +4479,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{74} + return file_state_v1_state_proto_rawDescGZIP(), []int{78} } func (x *TokensByDayRequest) GetDays() int64 { @@ -4290,7 +4498,7 @@ type TokensByDayResponse struct { func (x *TokensByDayResponse) Reset() { *x = TokensByDayResponse{} - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4302,7 +4510,7 @@ func (x *TokensByDayResponse) String() string { func (*TokensByDayResponse) ProtoMessage() {} func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4315,7 +4523,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{75} + return file_state_v1_state_proto_rawDescGZIP(), []int{79} } func (x *TokensByDayResponse) GetTokens() []*DayTokens { @@ -4342,7 +4550,7 @@ type ConfigSnapshot struct { func (x *ConfigSnapshot) Reset() { *x = ConfigSnapshot{} - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4354,7 +4562,7 @@ func (x *ConfigSnapshot) String() string { func (*ConfigSnapshot) ProtoMessage() {} func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4367,7 +4575,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{76} + return file_state_v1_state_proto_rawDescGZIP(), []int{80} } func (x *ConfigSnapshot) GetSchema() string { @@ -4400,7 +4608,7 @@ type PutConfigSnapshotRequest struct { func (x *PutConfigSnapshotRequest) Reset() { *x = PutConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4412,7 +4620,7 @@ func (x *PutConfigSnapshotRequest) String() string { func (*PutConfigSnapshotRequest) ProtoMessage() {} func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4425,7 +4633,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{77} + return file_state_v1_state_proto_rawDescGZIP(), []int{81} } func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot { @@ -4443,7 +4651,7 @@ type PutConfigSnapshotResponse struct { func (x *PutConfigSnapshotResponse) Reset() { *x = PutConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4455,7 +4663,7 @@ func (x *PutConfigSnapshotResponse) String() string { func (*PutConfigSnapshotResponse) ProtoMessage() {} func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4468,7 +4676,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{78} + return file_state_v1_state_proto_rawDescGZIP(), []int{82} } type GetConfigSnapshotRequest struct { @@ -4479,7 +4687,7 @@ type GetConfigSnapshotRequest struct { func (x *GetConfigSnapshotRequest) Reset() { *x = GetConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4491,7 +4699,7 @@ func (x *GetConfigSnapshotRequest) String() string { func (*GetConfigSnapshotRequest) ProtoMessage() {} func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4504,7 +4712,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{79} + return file_state_v1_state_proto_rawDescGZIP(), []int{83} } type GetConfigSnapshotResponse struct { @@ -4517,7 +4725,7 @@ type GetConfigSnapshotResponse struct { func (x *GetConfigSnapshotResponse) Reset() { *x = GetConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4529,7 +4737,7 @@ func (x *GetConfigSnapshotResponse) String() string { func (*GetConfigSnapshotResponse) ProtoMessage() {} func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4542,7 +4750,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{80} + return file_state_v1_state_proto_rawDescGZIP(), []int{84} } func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot { @@ -4579,7 +4787,7 @@ type ChannelStatus struct { func (x *ChannelStatus) Reset() { *x = ChannelStatus{} - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4591,7 +4799,7 @@ func (x *ChannelStatus) String() string { func (*ChannelStatus) ProtoMessage() {} func (x *ChannelStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4604,7 +4812,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{81} + return file_state_v1_state_proto_rawDescGZIP(), []int{85} } func (x *ChannelStatus) GetId() string { @@ -4665,7 +4873,7 @@ type PutChannelStatusRequest struct { func (x *PutChannelStatusRequest) Reset() { *x = PutChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4677,7 +4885,7 @@ func (x *PutChannelStatusRequest) String() string { func (*PutChannelStatusRequest) ProtoMessage() {} func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4690,7 +4898,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{82} + return file_state_v1_state_proto_rawDescGZIP(), []int{86} } func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus { @@ -4708,7 +4916,7 @@ type PutChannelStatusResponse struct { func (x *PutChannelStatusResponse) Reset() { *x = PutChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4720,7 +4928,7 @@ func (x *PutChannelStatusResponse) String() string { func (*PutChannelStatusResponse) ProtoMessage() {} func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4733,7 +4941,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{83} + return file_state_v1_state_proto_rawDescGZIP(), []int{87} } type ListChannelStatusRequest struct { @@ -4744,7 +4952,7 @@ type ListChannelStatusRequest struct { func (x *ListChannelStatusRequest) Reset() { *x = ListChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4756,7 +4964,7 @@ func (x *ListChannelStatusRequest) String() string { func (*ListChannelStatusRequest) ProtoMessage() {} func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4769,7 +4977,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{84} + return file_state_v1_state_proto_rawDescGZIP(), []int{88} } type ListChannelStatusResponse struct { @@ -4781,7 +4989,7 @@ type ListChannelStatusResponse struct { func (x *ListChannelStatusResponse) Reset() { *x = ListChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4793,7 +5001,7 @@ func (x *ListChannelStatusResponse) String() string { func (*ListChannelStatusResponse) ProtoMessage() {} func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4806,7 +5014,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{85} + return file_state_v1_state_proto_rawDescGZIP(), []int{89} } func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus { @@ -4835,7 +5043,7 @@ type ApplyStatus struct { func (x *ApplyStatus) Reset() { *x = ApplyStatus{} - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4847,7 +5055,7 @@ func (x *ApplyStatus) String() string { func (*ApplyStatus) ProtoMessage() {} func (x *ApplyStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4860,7 +5068,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{86} + return file_state_v1_state_proto_rawDescGZIP(), []int{90} } func (x *ApplyStatus) GetProcess() string { @@ -4907,7 +5115,7 @@ type PutApplyStatusRequest struct { func (x *PutApplyStatusRequest) Reset() { *x = PutApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4919,7 +5127,7 @@ func (x *PutApplyStatusRequest) String() string { func (*PutApplyStatusRequest) ProtoMessage() {} func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4932,7 +5140,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{87} + return file_state_v1_state_proto_rawDescGZIP(), []int{91} } func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus { @@ -4950,7 +5158,7 @@ type PutApplyStatusResponse struct { func (x *PutApplyStatusResponse) Reset() { *x = PutApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4962,7 +5170,7 @@ func (x *PutApplyStatusResponse) String() string { func (*PutApplyStatusResponse) ProtoMessage() {} func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4975,7 +5183,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{88} + return file_state_v1_state_proto_rawDescGZIP(), []int{92} } type ListApplyStatusRequest struct { @@ -4986,7 +5194,7 @@ type ListApplyStatusRequest struct { func (x *ListApplyStatusRequest) Reset() { *x = ListApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4998,7 +5206,7 @@ func (x *ListApplyStatusRequest) String() string { func (*ListApplyStatusRequest) ProtoMessage() {} func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5011,7 +5219,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{89} + return file_state_v1_state_proto_rawDescGZIP(), []int{93} } type ListApplyStatusResponse struct { @@ -5023,7 +5231,7 @@ type ListApplyStatusResponse struct { func (x *ListApplyStatusResponse) Reset() { *x = ListApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5035,7 +5243,7 @@ func (x *ListApplyStatusResponse) String() string { func (*ListApplyStatusResponse) ProtoMessage() {} func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5048,7 +5256,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{90} + return file_state_v1_state_proto_rawDescGZIP(), []int{94} } func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus { @@ -5075,7 +5283,7 @@ type TaskLogEntry struct { func (x *TaskLogEntry) Reset() { *x = TaskLogEntry{} - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5087,7 +5295,7 @@ func (x *TaskLogEntry) String() string { func (*TaskLogEntry) ProtoMessage() {} func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5100,7 +5308,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{91} + return file_state_v1_state_proto_rawDescGZIP(), []int{95} } func (x *TaskLogEntry) GetId() int64 { @@ -5165,7 +5373,7 @@ type ReadTaskLogRequest struct { func (x *ReadTaskLogRequest) Reset() { *x = ReadTaskLogRequest{} - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5177,7 +5385,7 @@ func (x *ReadTaskLogRequest) String() string { func (*ReadTaskLogRequest) ProtoMessage() {} func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5190,7 +5398,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{92} + return file_state_v1_state_proto_rawDescGZIP(), []int{96} } func (x *ReadTaskLogRequest) GetTaskId() int64 { @@ -5276,7 +5484,7 @@ type ReadTaskLogResponse struct { func (x *ReadTaskLogResponse) Reset() { *x = ReadTaskLogResponse{} - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5288,7 +5496,7 @@ func (x *ReadTaskLogResponse) String() string { func (*ReadTaskLogResponse) ProtoMessage() {} func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5301,7 +5509,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{93} + return file_state_v1_state_proto_rawDescGZIP(), []int{97} } func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry { @@ -5360,7 +5568,7 @@ type StreamTaskLogContentRequest struct { func (x *StreamTaskLogContentRequest) Reset() { *x = StreamTaskLogContentRequest{} - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5372,7 +5580,7 @@ func (x *StreamTaskLogContentRequest) String() string { func (*StreamTaskLogContentRequest) ProtoMessage() {} func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5385,7 +5593,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{94} + return file_state_v1_state_proto_rawDescGZIP(), []int{98} } func (x *StreamTaskLogContentRequest) GetTaskId() int64 { @@ -5413,7 +5621,7 @@ type StreamTaskLogContentResponse struct { func (x *StreamTaskLogContentResponse) Reset() { *x = StreamTaskLogContentResponse{} - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5425,7 +5633,7 @@ func (x *StreamTaskLogContentResponse) String() string { func (*StreamTaskLogContentResponse) ProtoMessage() {} func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5438,7 +5646,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{95} + return file_state_v1_state_proto_rawDescGZIP(), []int{99} } func (x *StreamTaskLogContentResponse) GetChunk() []byte { @@ -5473,7 +5681,7 @@ type InsertCaptureRequest struct { func (x *InsertCaptureRequest) Reset() { *x = InsertCaptureRequest{} - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5485,7 +5693,7 @@ func (x *InsertCaptureRequest) String() string { func (*InsertCaptureRequest) ProtoMessage() {} func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5498,7 +5706,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{96} + return file_state_v1_state_proto_rawDescGZIP(), []int{100} } func (x *InsertCaptureRequest) GetCapture() *CapturedEvent { @@ -5531,7 +5739,7 @@ type InsertCaptureResponse struct { func (x *InsertCaptureResponse) Reset() { *x = InsertCaptureResponse{} - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5543,7 +5751,7 @@ func (x *InsertCaptureResponse) String() string { func (*InsertCaptureResponse) ProtoMessage() {} func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5556,7 +5764,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{97} + return file_state_v1_state_proto_rawDescGZIP(), []int{101} } func (x *InsertCaptureResponse) GetId() int64 { @@ -5575,7 +5783,7 @@ type ListCapturesRequest struct { func (x *ListCapturesRequest) Reset() { *x = ListCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5587,7 +5795,7 @@ func (x *ListCapturesRequest) String() string { func (*ListCapturesRequest) ProtoMessage() {} func (x *ListCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5600,7 +5808,7 @@ func (x *ListCapturesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListCapturesRequest.ProtoReflect.Descriptor instead. func (*ListCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{98} + return file_state_v1_state_proto_rawDescGZIP(), []int{102} } func (x *ListCapturesRequest) GetLimit() int64 { @@ -5619,7 +5827,7 @@ type ListCapturesResponse struct { func (x *ListCapturesResponse) Reset() { *x = ListCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5631,7 +5839,7 @@ func (x *ListCapturesResponse) String() string { func (*ListCapturesResponse) ProtoMessage() {} func (x *ListCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5644,7 +5852,7 @@ func (x *ListCapturesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListCapturesResponse.ProtoReflect.Descriptor instead. func (*ListCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{99} + return file_state_v1_state_proto_rawDescGZIP(), []int{103} } func (x *ListCapturesResponse) GetCaptures() []*CapturedEvent { @@ -5663,7 +5871,7 @@ type StreamCapturesRequest struct { func (x *StreamCapturesRequest) Reset() { *x = StreamCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5675,7 +5883,7 @@ func (x *StreamCapturesRequest) String() string { func (*StreamCapturesRequest) ProtoMessage() {} func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5688,7 +5896,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{100} + return file_state_v1_state_proto_rawDescGZIP(), []int{104} } func (x *StreamCapturesRequest) GetLimit() int64 { @@ -5708,7 +5916,7 @@ type StreamCapturesResponse struct { func (x *StreamCapturesResponse) Reset() { *x = StreamCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5720,7 +5928,7 @@ func (x *StreamCapturesResponse) String() string { func (*StreamCapturesResponse) ProtoMessage() {} func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5733,7 +5941,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{101} + return file_state_v1_state_proto_rawDescGZIP(), []int{105} } func (x *StreamCapturesResponse) GetCapture() *CapturedEvent { @@ -5752,7 +5960,7 @@ type InsertMappingRequest struct { func (x *InsertMappingRequest) Reset() { *x = InsertMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5764,7 +5972,7 @@ func (x *InsertMappingRequest) String() string { func (*InsertMappingRequest) ProtoMessage() {} func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5777,7 +5985,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{102} + return file_state_v1_state_proto_rawDescGZIP(), []int{106} } func (x *InsertMappingRequest) GetMapping() *Mapping { @@ -5796,7 +6004,7 @@ type InsertMappingResponse struct { func (x *InsertMappingResponse) Reset() { *x = InsertMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5808,7 +6016,7 @@ func (x *InsertMappingResponse) String() string { func (*InsertMappingResponse) ProtoMessage() {} func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5821,7 +6029,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{103} + return file_state_v1_state_proto_rawDescGZIP(), []int{107} } func (x *InsertMappingResponse) GetId() int64 { @@ -5840,7 +6048,7 @@ type GetMappingRequest struct { func (x *GetMappingRequest) Reset() { *x = GetMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5852,7 +6060,7 @@ func (x *GetMappingRequest) String() string { func (*GetMappingRequest) ProtoMessage() {} func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5865,7 +6073,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{104} + return file_state_v1_state_proto_rawDescGZIP(), []int{108} } func (x *GetMappingRequest) GetId() int64 { @@ -5885,7 +6093,7 @@ type GetMappingResponse struct { func (x *GetMappingResponse) Reset() { *x = GetMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5897,7 +6105,7 @@ func (x *GetMappingResponse) String() string { func (*GetMappingResponse) ProtoMessage() {} func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5910,7 +6118,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{105} + return file_state_v1_state_proto_rawDescGZIP(), []int{109} } func (x *GetMappingResponse) GetMapping() *Mapping { @@ -5935,7 +6143,7 @@ type ListMappingsRequest struct { func (x *ListMappingsRequest) Reset() { *x = ListMappingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5947,7 +6155,7 @@ func (x *ListMappingsRequest) String() string { func (*ListMappingsRequest) ProtoMessage() {} func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5960,7 +6168,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{106} + return file_state_v1_state_proto_rawDescGZIP(), []int{110} } type ListMappingsResponse struct { @@ -5972,7 +6180,7 @@ type ListMappingsResponse struct { func (x *ListMappingsResponse) Reset() { *x = ListMappingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5984,7 +6192,7 @@ func (x *ListMappingsResponse) String() string { func (*ListMappingsResponse) ProtoMessage() {} func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5997,7 +6205,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{107} + return file_state_v1_state_proto_rawDescGZIP(), []int{111} } func (x *ListMappingsResponse) GetMappings() []*Mapping { @@ -6016,7 +6224,7 @@ type UpdateMappingRequest struct { func (x *UpdateMappingRequest) Reset() { *x = UpdateMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6028,7 +6236,7 @@ func (x *UpdateMappingRequest) String() string { func (*UpdateMappingRequest) ProtoMessage() {} func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6041,7 +6249,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{108} + return file_state_v1_state_proto_rawDescGZIP(), []int{112} } func (x *UpdateMappingRequest) GetMapping() *Mapping { @@ -6059,7 +6267,7 @@ type UpdateMappingResponse struct { func (x *UpdateMappingResponse) Reset() { *x = UpdateMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6071,7 +6279,7 @@ func (x *UpdateMappingResponse) String() string { func (*UpdateMappingResponse) ProtoMessage() {} func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6084,7 +6292,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{109} + return file_state_v1_state_proto_rawDescGZIP(), []int{113} } type DeleteMappingRequest struct { @@ -6096,7 +6304,7 @@ type DeleteMappingRequest struct { func (x *DeleteMappingRequest) Reset() { *x = DeleteMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6108,7 +6316,7 @@ func (x *DeleteMappingRequest) String() string { func (*DeleteMappingRequest) ProtoMessage() {} func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6121,7 +6329,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{110} + return file_state_v1_state_proto_rawDescGZIP(), []int{114} } func (x *DeleteMappingRequest) GetId() int64 { @@ -6139,7 +6347,7 @@ type DeleteMappingResponse struct { func (x *DeleteMappingResponse) Reset() { *x = DeleteMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6151,7 +6359,7 @@ func (x *DeleteMappingResponse) String() string { func (*DeleteMappingResponse) ProtoMessage() {} func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6164,7 +6372,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{111} + return file_state_v1_state_proto_rawDescGZIP(), []int{115} } type InsertBindingRequest struct { @@ -6176,7 +6384,7 @@ type InsertBindingRequest struct { func (x *InsertBindingRequest) Reset() { *x = InsertBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6188,7 +6396,7 @@ func (x *InsertBindingRequest) String() string { func (*InsertBindingRequest) ProtoMessage() {} func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6201,7 +6409,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{112} + return file_state_v1_state_proto_rawDescGZIP(), []int{116} } func (x *InsertBindingRequest) GetBinding() *Binding { @@ -6220,7 +6428,7 @@ type InsertBindingResponse struct { func (x *InsertBindingResponse) Reset() { *x = InsertBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6232,7 +6440,7 @@ func (x *InsertBindingResponse) String() string { func (*InsertBindingResponse) ProtoMessage() {} func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6245,7 +6453,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{113} + return file_state_v1_state_proto_rawDescGZIP(), []int{117} } func (x *InsertBindingResponse) GetId() int64 { @@ -6264,7 +6472,7 @@ type GetBindingRequest struct { func (x *GetBindingRequest) Reset() { *x = GetBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6276,7 +6484,7 @@ func (x *GetBindingRequest) String() string { func (*GetBindingRequest) ProtoMessage() {} func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6289,7 +6497,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{114} + return file_state_v1_state_proto_rawDescGZIP(), []int{118} } func (x *GetBindingRequest) GetId() int64 { @@ -6309,7 +6517,7 @@ type GetBindingResponse struct { func (x *GetBindingResponse) Reset() { *x = GetBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6321,7 +6529,7 @@ func (x *GetBindingResponse) String() string { func (*GetBindingResponse) ProtoMessage() {} func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6334,7 +6542,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{115} + return file_state_v1_state_proto_rawDescGZIP(), []int{119} } func (x *GetBindingResponse) GetBinding() *Binding { @@ -6359,7 +6567,7 @@ type ListBindingsRequest struct { func (x *ListBindingsRequest) Reset() { *x = ListBindingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6371,7 +6579,7 @@ func (x *ListBindingsRequest) String() string { func (*ListBindingsRequest) ProtoMessage() {} func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6384,7 +6592,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{116} + return file_state_v1_state_proto_rawDescGZIP(), []int{120} } type ListBindingsResponse struct { @@ -6396,7 +6604,7 @@ type ListBindingsResponse struct { func (x *ListBindingsResponse) Reset() { *x = ListBindingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6408,7 +6616,7 @@ func (x *ListBindingsResponse) String() string { func (*ListBindingsResponse) ProtoMessage() {} func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6421,7 +6629,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{117} + return file_state_v1_state_proto_rawDescGZIP(), []int{121} } func (x *ListBindingsResponse) GetBindings() []*Binding { @@ -6440,7 +6648,7 @@ type UpdateBindingRequest struct { func (x *UpdateBindingRequest) Reset() { *x = UpdateBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6452,7 +6660,7 @@ func (x *UpdateBindingRequest) String() string { func (*UpdateBindingRequest) ProtoMessage() {} func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6465,7 +6673,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{118} + return file_state_v1_state_proto_rawDescGZIP(), []int{122} } func (x *UpdateBindingRequest) GetBinding() *Binding { @@ -6483,7 +6691,7 @@ type UpdateBindingResponse struct { func (x *UpdateBindingResponse) Reset() { *x = UpdateBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6495,7 +6703,7 @@ func (x *UpdateBindingResponse) String() string { func (*UpdateBindingResponse) ProtoMessage() {} func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6508,7 +6716,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{119} + return file_state_v1_state_proto_rawDescGZIP(), []int{123} } type DeleteBindingRequest struct { @@ -6520,7 +6728,7 @@ type DeleteBindingRequest struct { func (x *DeleteBindingRequest) Reset() { *x = DeleteBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6532,7 +6740,7 @@ func (x *DeleteBindingRequest) String() string { func (*DeleteBindingRequest) ProtoMessage() {} func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6545,7 +6753,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{120} + return file_state_v1_state_proto_rawDescGZIP(), []int{124} } func (x *DeleteBindingRequest) GetId() int64 { @@ -6563,7 +6771,7 @@ type DeleteBindingResponse struct { func (x *DeleteBindingResponse) Reset() { *x = DeleteBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6575,7 +6783,7 @@ func (x *DeleteBindingResponse) String() string { func (*DeleteBindingResponse) ProtoMessage() {} func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6588,7 +6796,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{121} + return file_state_v1_state_proto_rawDescGZIP(), []int{125} } type ApproveBindingRequest struct { @@ -6600,7 +6808,7 @@ type ApproveBindingRequest struct { func (x *ApproveBindingRequest) Reset() { *x = ApproveBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6612,7 +6820,7 @@ func (x *ApproveBindingRequest) String() string { func (*ApproveBindingRequest) ProtoMessage() {} func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6625,7 +6833,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{122} + return file_state_v1_state_proto_rawDescGZIP(), []int{126} } func (x *ApproveBindingRequest) GetId() int64 { @@ -6643,7 +6851,7 @@ type ApproveBindingResponse struct { func (x *ApproveBindingResponse) Reset() { *x = ApproveBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6655,7 +6863,7 @@ func (x *ApproveBindingResponse) String() string { func (*ApproveBindingResponse) ProtoMessage() {} func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6668,7 +6876,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{123} + return file_state_v1_state_proto_rawDescGZIP(), []int{127} } type ArmedBindingsForSourceRequest struct { @@ -6680,7 +6888,7 @@ type ArmedBindingsForSourceRequest struct { func (x *ArmedBindingsForSourceRequest) Reset() { *x = ArmedBindingsForSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6692,7 +6900,7 @@ func (x *ArmedBindingsForSourceRequest) String() string { func (*ArmedBindingsForSourceRequest) ProtoMessage() {} func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6705,7 +6913,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{124} + return file_state_v1_state_proto_rawDescGZIP(), []int{128} } func (x *ArmedBindingsForSourceRequest) GetSource() string { @@ -6724,7 +6932,7 @@ type ArmedBindingsForSourceResponse struct { func (x *ArmedBindingsForSourceResponse) Reset() { *x = ArmedBindingsForSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6736,7 +6944,7 @@ func (x *ArmedBindingsForSourceResponse) String() string { func (*ArmedBindingsForSourceResponse) ProtoMessage() {} func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6749,7 +6957,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{125} + return file_state_v1_state_proto_rawDescGZIP(), []int{129} } func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding { @@ -6771,7 +6979,7 @@ type RecordDispatchRequest struct { func (x *RecordDispatchRequest) Reset() { *x = RecordDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6783,7 +6991,7 @@ func (x *RecordDispatchRequest) String() string { func (*RecordDispatchRequest) ProtoMessage() {} func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6796,7 +7004,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{126} + return file_state_v1_state_proto_rawDescGZIP(), []int{130} } func (x *RecordDispatchRequest) GetBindingId() int64 { @@ -6835,7 +7043,7 @@ type RecordDispatchResponse struct { func (x *RecordDispatchResponse) Reset() { *x = RecordDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6847,7 +7055,7 @@ func (x *RecordDispatchResponse) String() string { func (*RecordDispatchResponse) ProtoMessage() {} func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6860,7 +7068,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{127} + return file_state_v1_state_proto_rawDescGZIP(), []int{131} } type RecordPlaybookDispatchRequest struct { @@ -6875,7 +7083,7 @@ type RecordPlaybookDispatchRequest struct { func (x *RecordPlaybookDispatchRequest) Reset() { *x = RecordPlaybookDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6887,7 +7095,7 @@ func (x *RecordPlaybookDispatchRequest) String() string { func (*RecordPlaybookDispatchRequest) ProtoMessage() {} func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6900,7 +7108,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{128} + return file_state_v1_state_proto_rawDescGZIP(), []int{132} } func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string { @@ -6939,7 +7147,7 @@ type RecordPlaybookDispatchResponse struct { func (x *RecordPlaybookDispatchResponse) Reset() { *x = RecordPlaybookDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6951,7 +7159,7 @@ func (x *RecordPlaybookDispatchResponse) String() string { func (*RecordPlaybookDispatchResponse) ProtoMessage() {} func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6964,7 +7172,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{129} + return file_state_v1_state_proto_rawDescGZIP(), []int{133} } type DeletePlaybookDispatchesRequest struct { @@ -6976,7 +7184,7 @@ type DeletePlaybookDispatchesRequest struct { func (x *DeletePlaybookDispatchesRequest) Reset() { *x = DeletePlaybookDispatchesRequest{} - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6988,7 +7196,7 @@ func (x *DeletePlaybookDispatchesRequest) String() string { func (*DeletePlaybookDispatchesRequest) ProtoMessage() {} func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7001,7 +7209,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{130} + return file_state_v1_state_proto_rawDescGZIP(), []int{134} } func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string { @@ -7019,7 +7227,7 @@ type DeletePlaybookDispatchesResponse struct { func (x *DeletePlaybookDispatchesResponse) Reset() { *x = DeletePlaybookDispatchesResponse{} - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7031,7 +7239,7 @@ func (x *DeletePlaybookDispatchesResponse) String() string { func (*DeletePlaybookDispatchesResponse) ProtoMessage() {} func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7044,7 +7252,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{131} + return file_state_v1_state_proto_rawDescGZIP(), []int{135} } type ListUndispatchedCapturesRequest struct { @@ -7057,7 +7265,7 @@ type ListUndispatchedCapturesRequest struct { func (x *ListUndispatchedCapturesRequest) Reset() { *x = ListUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7069,7 +7277,7 @@ func (x *ListUndispatchedCapturesRequest) String() string { func (*ListUndispatchedCapturesRequest) ProtoMessage() {} func (x *ListUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7082,7 +7290,7 @@ func (x *ListUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUndispatchedCapturesRequest.ProtoReflect.Descriptor instead. func (*ListUndispatchedCapturesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{132} + return file_state_v1_state_proto_rawDescGZIP(), []int{136} } func (x *ListUndispatchedCapturesRequest) GetSources() []string { @@ -7108,7 +7316,7 @@ type ListUndispatchedCapturesResponse struct { func (x *ListUndispatchedCapturesResponse) Reset() { *x = ListUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7120,7 +7328,7 @@ func (x *ListUndispatchedCapturesResponse) String() string { func (*ListUndispatchedCapturesResponse) ProtoMessage() {} func (x *ListUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7133,7 +7341,7 @@ func (x *ListUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUndispatchedCapturesResponse.ProtoReflect.Descriptor instead. func (*ListUndispatchedCapturesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{133} + return file_state_v1_state_proto_rawDescGZIP(), []int{137} } func (x *ListUndispatchedCapturesResponse) GetCaptures() []*CapturedEvent { @@ -7153,7 +7361,7 @@ type StreamUndispatchedCapturesRequest struct { func (x *StreamUndispatchedCapturesRequest) Reset() { *x = StreamUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7165,7 +7373,7 @@ func (x *StreamUndispatchedCapturesRequest) String() string { func (*StreamUndispatchedCapturesRequest) ProtoMessage() {} func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7178,7 +7386,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{134} + return file_state_v1_state_proto_rawDescGZIP(), []int{138} } func (x *StreamUndispatchedCapturesRequest) GetSources() []string { @@ -7205,7 +7413,7 @@ type StreamUndispatchedCapturesResponse struct { func (x *StreamUndispatchedCapturesResponse) Reset() { *x = StreamUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7217,7 +7425,7 @@ func (x *StreamUndispatchedCapturesResponse) String() string { func (*StreamUndispatchedCapturesResponse) ProtoMessage() {} func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7230,7 +7438,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{135} + return file_state_v1_state_proto_rawDescGZIP(), []int{139} } func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent { @@ -7256,7 +7464,7 @@ type EnqueueBindingTaskRequest struct { func (x *EnqueueBindingTaskRequest) Reset() { *x = EnqueueBindingTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7268,7 +7476,7 @@ func (x *EnqueueBindingTaskRequest) String() string { func (*EnqueueBindingTaskRequest) ProtoMessage() {} func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7281,7 +7489,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{136} + return file_state_v1_state_proto_rawDescGZIP(), []int{140} } func (x *EnqueueBindingTaskRequest) GetOwner() string { @@ -7349,7 +7557,7 @@ type EnqueueBindingTaskResponse struct { func (x *EnqueueBindingTaskResponse) Reset() { *x = EnqueueBindingTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7361,7 +7569,7 @@ func (x *EnqueueBindingTaskResponse) String() string { func (*EnqueueBindingTaskResponse) ProtoMessage() {} func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7374,7 +7582,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{137} + return file_state_v1_state_proto_rawDescGZIP(), []int{141} } func (x *EnqueueBindingTaskResponse) GetTask() *Task { @@ -7452,6 +7660,18 @@ const file_state_v1_state_proto_rawDesc = "" + "\x1aReactivateIdentityResponse\x12.\n" + "\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"H\n" + "\x16RetireIdentityResponse\x12.\n" + + "\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"Q\n" + + "\x1dResolveIdentitySubjectRequest\x12\x16\n" + + "\x06issuer\x18\x01 \x01(\tR\x06issuer\x12\x18\n" + + "\asubject\x18\x02 \x01(\tR\asubject\"P\n" + + "\x1eResolveIdentitySubjectResponse\x12.\n" + + "\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\x8d\x01\n" + + "\x1aBindIdentitySubjectRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" + + "\x06issuer\x18\x02 \x01(\tR\x06issuer\x12\x18\n" + + "\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\"\xe6\a\n" + "\x04Task\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" + @@ -7861,7 +8081,7 @@ const file_state_v1_state_proto_rawDesc = "" + "binding_id\x18\a \x01(\x03R\tbindingId\x12'\n" + "\x0fbinding_version\x18\b \x01(\x03R\x0ebindingVersion\"@\n" + "\x1aEnqueueBindingTaskResponse\x12\"\n" + - "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\x90(\n" + + "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\xe1)\n" + "\x11StateStoreService\x12\\\n" + "\x11RegisterTaskGrant\x12\".state.v1.RegisterTaskGrantRequest\x1a#.state.v1.RegisterTaskGrantResponse\x12V\n" + "\x0fRevokeTaskGrant\x12 .state.v1.RevokeTaskGrantRequest\x1a!.state.v1.RevokeTaskGrantResponse\x12S\n" + @@ -7871,7 +8091,9 @@ const file_state_v1_state_proto_rawDesc = "" + "\x0eRenameIdentity\x12\x1f.state.v1.RenameIdentityRequest\x1a .state.v1.RenameIdentityResponse\x12V\n" + "\x0fSuspendIdentity\x12 .state.v1.SuspendIdentityRequest\x1a!.state.v1.SuspendIdentityResponse\x12_\n" + "\x12ReactivateIdentity\x12#.state.v1.ReactivateIdentityRequest\x1a$.state.v1.ReactivateIdentityResponse\x12S\n" + - "\x0eRetireIdentity\x12\x1f.state.v1.RetireIdentityRequest\x1a .state.v1.RetireIdentityResponse\x12M\n" + + "\x0eRetireIdentity\x12\x1f.state.v1.RetireIdentityRequest\x1a .state.v1.RetireIdentityResponse\x12k\n" + + "\x16ResolveIdentitySubject\x12'.state.v1.ResolveIdentitySubjectRequest\x1a(.state.v1.ResolveIdentitySubjectResponse\x12b\n" + + "\x13BindIdentitySubject\x12$.state.v1.BindIdentitySubjectRequest\x1a%.state.v1.BindIdentitySubjectResponse\x12M\n" + "\fEnqueueIssue\x12\x1d.state.v1.EnqueueIssueRequest\x1a\x1e.state.v1.EnqueueIssueResponse\x12V\n" + "\x0fEnqueueChatTask\x12 .state.v1.EnqueueChatTaskRequest\x1a!.state.v1.EnqueueChatTaskResponse\x12D\n" + "\tClaimNext\x12\x1a.state.v1.ClaimNextRequest\x1a\x1b.state.v1.ClaimNextResponse\x12M\n" + @@ -7944,7 +8166,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, 139) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 143) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -7966,130 +8188,134 @@ var file_state_v1_state_proto_goTypes = []any{ (*SuspendIdentityResponse)(nil), // 17: state.v1.SuspendIdentityResponse (*ReactivateIdentityResponse)(nil), // 18: state.v1.ReactivateIdentityResponse (*RetireIdentityResponse)(nil), // 19: state.v1.RetireIdentityResponse - (*Task)(nil), // 20: state.v1.Task - (*Event)(nil), // 21: state.v1.Event - (*CapturedEvent)(nil), // 22: state.v1.CapturedEvent - (*MappingField)(nil), // 23: state.v1.MappingField - (*Mapping)(nil), // 24: state.v1.Mapping - (*BindingMatcher)(nil), // 25: state.v1.BindingMatcher - (*Binding)(nil), // 26: state.v1.Binding - (*WorkflowStat)(nil), // 27: state.v1.WorkflowStat - (*StageStat)(nil), // 28: state.v1.StageStat - (*DayTokens)(nil), // 29: state.v1.DayTokens - (*EnqueueIssueRequest)(nil), // 30: state.v1.EnqueueIssueRequest - (*EnqueueIssueResponse)(nil), // 31: state.v1.EnqueueIssueResponse - (*EnqueueChatTaskRequest)(nil), // 32: state.v1.EnqueueChatTaskRequest - (*EnqueueChatTaskResponse)(nil), // 33: state.v1.EnqueueChatTaskResponse - (*ClaimNextRequest)(nil), // 34: state.v1.ClaimNextRequest - (*ClaimNextResponse)(nil), // 35: state.v1.ClaimNextResponse - (*ClaimByIssueRequest)(nil), // 36: state.v1.ClaimByIssueRequest - (*ClaimByIssueResponse)(nil), // 37: state.v1.ClaimByIssueResponse - (*TransitionRequest)(nil), // 38: state.v1.TransitionRequest - (*TransitionResponse)(nil), // 39: state.v1.TransitionResponse - (*UpdateRequest)(nil), // 40: state.v1.UpdateRequest - (*UpdateResponse)(nil), // 41: state.v1.UpdateResponse - (*RequeueRequest)(nil), // 42: state.v1.RequeueRequest - (*RequeueResponse)(nil), // 43: state.v1.RequeueResponse - (*RecoverStaleRequest)(nil), // 44: state.v1.RecoverStaleRequest - (*RecoverStaleResponse)(nil), // 45: state.v1.RecoverStaleResponse - (*ArchiveTaskRequest)(nil), // 46: state.v1.ArchiveTaskRequest - (*ArchiveTaskResponse)(nil), // 47: state.v1.ArchiveTaskResponse - (*RetryTaskRequest)(nil), // 48: state.v1.RetryTaskRequest - (*RetryTaskResponse)(nil), // 49: state.v1.RetryTaskResponse - (*TaskByIssueRequest)(nil), // 50: state.v1.TaskByIssueRequest - (*TaskByIssueResponse)(nil), // 51: state.v1.TaskByIssueResponse - (*OpenTaskByPRRequest)(nil), // 52: state.v1.OpenTaskByPRRequest - (*OpenTaskByPRResponse)(nil), // 53: state.v1.OpenTaskByPRResponse - (*TaskByIDRequest)(nil), // 54: state.v1.TaskByIDRequest - (*TaskByIDResponse)(nil), // 55: state.v1.TaskByIDResponse - (*OpenPRsRequest)(nil), // 56: state.v1.OpenPRsRequest - (*OpenPRsResponse)(nil), // 57: state.v1.OpenPRsResponse - (*ClearTerminalTasksRequest)(nil), // 58: state.v1.ClearTerminalTasksRequest - (*ClearTerminalTasksResponse)(nil), // 59: state.v1.ClearTerminalTasksResponse - (*TasksRequest)(nil), // 60: state.v1.TasksRequest - (*TasksResponse)(nil), // 61: state.v1.TasksResponse - (*StatusCountsRequest)(nil), // 62: state.v1.StatusCountsRequest - (*StatusCountsResponse)(nil), // 63: state.v1.StatusCountsResponse - (*InsertEventRequest)(nil), // 64: state.v1.InsertEventRequest - (*InsertEventResponse)(nil), // 65: state.v1.InsertEventResponse - (*EventsSinceRequest)(nil), // 66: state.v1.EventsSinceRequest - (*EventsSinceResponse)(nil), // 67: state.v1.EventsSinceResponse - (*TaskEventsRequest)(nil), // 68: state.v1.TaskEventsRequest - (*TaskEventsResponse)(nil), // 69: state.v1.TaskEventsResponse - (*WorkflowStatsRequest)(nil), // 70: state.v1.WorkflowStatsRequest - (*WorkflowStatsResponse)(nil), // 71: state.v1.WorkflowStatsResponse - (*StageStatsRequest)(nil), // 72: state.v1.StageStatsRequest - (*StageStatsResponse)(nil), // 73: state.v1.StageStatsResponse - (*TokensByDayRequest)(nil), // 74: state.v1.TokensByDayRequest - (*TokensByDayResponse)(nil), // 75: state.v1.TokensByDayResponse - (*ConfigSnapshot)(nil), // 76: state.v1.ConfigSnapshot - (*PutConfigSnapshotRequest)(nil), // 77: state.v1.PutConfigSnapshotRequest - (*PutConfigSnapshotResponse)(nil), // 78: state.v1.PutConfigSnapshotResponse - (*GetConfigSnapshotRequest)(nil), // 79: state.v1.GetConfigSnapshotRequest - (*GetConfigSnapshotResponse)(nil), // 80: state.v1.GetConfigSnapshotResponse - (*ChannelStatus)(nil), // 81: state.v1.ChannelStatus - (*PutChannelStatusRequest)(nil), // 82: state.v1.PutChannelStatusRequest - (*PutChannelStatusResponse)(nil), // 83: state.v1.PutChannelStatusResponse - (*ListChannelStatusRequest)(nil), // 84: state.v1.ListChannelStatusRequest - (*ListChannelStatusResponse)(nil), // 85: state.v1.ListChannelStatusResponse - (*ApplyStatus)(nil), // 86: state.v1.ApplyStatus - (*PutApplyStatusRequest)(nil), // 87: state.v1.PutApplyStatusRequest - (*PutApplyStatusResponse)(nil), // 88: state.v1.PutApplyStatusResponse - (*ListApplyStatusRequest)(nil), // 89: state.v1.ListApplyStatusRequest - (*ListApplyStatusResponse)(nil), // 90: state.v1.ListApplyStatusResponse - (*TaskLogEntry)(nil), // 91: state.v1.TaskLogEntry - (*ReadTaskLogRequest)(nil), // 92: state.v1.ReadTaskLogRequest - (*ReadTaskLogResponse)(nil), // 93: state.v1.ReadTaskLogResponse - (*StreamTaskLogContentRequest)(nil), // 94: state.v1.StreamTaskLogContentRequest - (*StreamTaskLogContentResponse)(nil), // 95: state.v1.StreamTaskLogContentResponse - (*InsertCaptureRequest)(nil), // 96: state.v1.InsertCaptureRequest - (*InsertCaptureResponse)(nil), // 97: state.v1.InsertCaptureResponse - (*ListCapturesRequest)(nil), // 98: state.v1.ListCapturesRequest - (*ListCapturesResponse)(nil), // 99: state.v1.ListCapturesResponse - (*StreamCapturesRequest)(nil), // 100: state.v1.StreamCapturesRequest - (*StreamCapturesResponse)(nil), // 101: state.v1.StreamCapturesResponse - (*InsertMappingRequest)(nil), // 102: state.v1.InsertMappingRequest - (*InsertMappingResponse)(nil), // 103: state.v1.InsertMappingResponse - (*GetMappingRequest)(nil), // 104: state.v1.GetMappingRequest - (*GetMappingResponse)(nil), // 105: state.v1.GetMappingResponse - (*ListMappingsRequest)(nil), // 106: state.v1.ListMappingsRequest - (*ListMappingsResponse)(nil), // 107: state.v1.ListMappingsResponse - (*UpdateMappingRequest)(nil), // 108: state.v1.UpdateMappingRequest - (*UpdateMappingResponse)(nil), // 109: state.v1.UpdateMappingResponse - (*DeleteMappingRequest)(nil), // 110: state.v1.DeleteMappingRequest - (*DeleteMappingResponse)(nil), // 111: state.v1.DeleteMappingResponse - (*InsertBindingRequest)(nil), // 112: state.v1.InsertBindingRequest - (*InsertBindingResponse)(nil), // 113: state.v1.InsertBindingResponse - (*GetBindingRequest)(nil), // 114: state.v1.GetBindingRequest - (*GetBindingResponse)(nil), // 115: state.v1.GetBindingResponse - (*ListBindingsRequest)(nil), // 116: state.v1.ListBindingsRequest - (*ListBindingsResponse)(nil), // 117: state.v1.ListBindingsResponse - (*UpdateBindingRequest)(nil), // 118: state.v1.UpdateBindingRequest - (*UpdateBindingResponse)(nil), // 119: state.v1.UpdateBindingResponse - (*DeleteBindingRequest)(nil), // 120: state.v1.DeleteBindingRequest - (*DeleteBindingResponse)(nil), // 121: state.v1.DeleteBindingResponse - (*ApproveBindingRequest)(nil), // 122: state.v1.ApproveBindingRequest - (*ApproveBindingResponse)(nil), // 123: state.v1.ApproveBindingResponse - (*ArmedBindingsForSourceRequest)(nil), // 124: state.v1.ArmedBindingsForSourceRequest - (*ArmedBindingsForSourceResponse)(nil), // 125: state.v1.ArmedBindingsForSourceResponse - (*RecordDispatchRequest)(nil), // 126: state.v1.RecordDispatchRequest - (*RecordDispatchResponse)(nil), // 127: state.v1.RecordDispatchResponse - (*RecordPlaybookDispatchRequest)(nil), // 128: state.v1.RecordPlaybookDispatchRequest - (*RecordPlaybookDispatchResponse)(nil), // 129: state.v1.RecordPlaybookDispatchResponse - (*DeletePlaybookDispatchesRequest)(nil), // 130: state.v1.DeletePlaybookDispatchesRequest - (*DeletePlaybookDispatchesResponse)(nil), // 131: state.v1.DeletePlaybookDispatchesResponse - (*ListUndispatchedCapturesRequest)(nil), // 132: state.v1.ListUndispatchedCapturesRequest - (*ListUndispatchedCapturesResponse)(nil), // 133: state.v1.ListUndispatchedCapturesResponse - (*StreamUndispatchedCapturesRequest)(nil), // 134: state.v1.StreamUndispatchedCapturesRequest - (*StreamUndispatchedCapturesResponse)(nil), // 135: state.v1.StreamUndispatchedCapturesResponse - (*EnqueueBindingTaskRequest)(nil), // 136: state.v1.EnqueueBindingTaskRequest - (*EnqueueBindingTaskResponse)(nil), // 137: state.v1.EnqueueBindingTaskResponse - nil, // 138: state.v1.StatusCountsResponse.CountsEntry - (*timestamppb.Timestamp)(nil), // 139: google.protobuf.Timestamp + (*ResolveIdentitySubjectRequest)(nil), // 20: state.v1.ResolveIdentitySubjectRequest + (*ResolveIdentitySubjectResponse)(nil), // 21: state.v1.ResolveIdentitySubjectResponse + (*BindIdentitySubjectRequest)(nil), // 22: state.v1.BindIdentitySubjectRequest + (*BindIdentitySubjectResponse)(nil), // 23: state.v1.BindIdentitySubjectResponse + (*Task)(nil), // 24: state.v1.Task + (*Event)(nil), // 25: state.v1.Event + (*CapturedEvent)(nil), // 26: state.v1.CapturedEvent + (*MappingField)(nil), // 27: state.v1.MappingField + (*Mapping)(nil), // 28: state.v1.Mapping + (*BindingMatcher)(nil), // 29: state.v1.BindingMatcher + (*Binding)(nil), // 30: state.v1.Binding + (*WorkflowStat)(nil), // 31: state.v1.WorkflowStat + (*StageStat)(nil), // 32: state.v1.StageStat + (*DayTokens)(nil), // 33: state.v1.DayTokens + (*EnqueueIssueRequest)(nil), // 34: state.v1.EnqueueIssueRequest + (*EnqueueIssueResponse)(nil), // 35: state.v1.EnqueueIssueResponse + (*EnqueueChatTaskRequest)(nil), // 36: state.v1.EnqueueChatTaskRequest + (*EnqueueChatTaskResponse)(nil), // 37: state.v1.EnqueueChatTaskResponse + (*ClaimNextRequest)(nil), // 38: state.v1.ClaimNextRequest + (*ClaimNextResponse)(nil), // 39: state.v1.ClaimNextResponse + (*ClaimByIssueRequest)(nil), // 40: state.v1.ClaimByIssueRequest + (*ClaimByIssueResponse)(nil), // 41: state.v1.ClaimByIssueResponse + (*TransitionRequest)(nil), // 42: state.v1.TransitionRequest + (*TransitionResponse)(nil), // 43: state.v1.TransitionResponse + (*UpdateRequest)(nil), // 44: state.v1.UpdateRequest + (*UpdateResponse)(nil), // 45: state.v1.UpdateResponse + (*RequeueRequest)(nil), // 46: state.v1.RequeueRequest + (*RequeueResponse)(nil), // 47: state.v1.RequeueResponse + (*RecoverStaleRequest)(nil), // 48: state.v1.RecoverStaleRequest + (*RecoverStaleResponse)(nil), // 49: state.v1.RecoverStaleResponse + (*ArchiveTaskRequest)(nil), // 50: state.v1.ArchiveTaskRequest + (*ArchiveTaskResponse)(nil), // 51: state.v1.ArchiveTaskResponse + (*RetryTaskRequest)(nil), // 52: state.v1.RetryTaskRequest + (*RetryTaskResponse)(nil), // 53: state.v1.RetryTaskResponse + (*TaskByIssueRequest)(nil), // 54: state.v1.TaskByIssueRequest + (*TaskByIssueResponse)(nil), // 55: state.v1.TaskByIssueResponse + (*OpenTaskByPRRequest)(nil), // 56: state.v1.OpenTaskByPRRequest + (*OpenTaskByPRResponse)(nil), // 57: state.v1.OpenTaskByPRResponse + (*TaskByIDRequest)(nil), // 58: state.v1.TaskByIDRequest + (*TaskByIDResponse)(nil), // 59: state.v1.TaskByIDResponse + (*OpenPRsRequest)(nil), // 60: state.v1.OpenPRsRequest + (*OpenPRsResponse)(nil), // 61: state.v1.OpenPRsResponse + (*ClearTerminalTasksRequest)(nil), // 62: state.v1.ClearTerminalTasksRequest + (*ClearTerminalTasksResponse)(nil), // 63: state.v1.ClearTerminalTasksResponse + (*TasksRequest)(nil), // 64: state.v1.TasksRequest + (*TasksResponse)(nil), // 65: state.v1.TasksResponse + (*StatusCountsRequest)(nil), // 66: state.v1.StatusCountsRequest + (*StatusCountsResponse)(nil), // 67: state.v1.StatusCountsResponse + (*InsertEventRequest)(nil), // 68: state.v1.InsertEventRequest + (*InsertEventResponse)(nil), // 69: state.v1.InsertEventResponse + (*EventsSinceRequest)(nil), // 70: state.v1.EventsSinceRequest + (*EventsSinceResponse)(nil), // 71: state.v1.EventsSinceResponse + (*TaskEventsRequest)(nil), // 72: state.v1.TaskEventsRequest + (*TaskEventsResponse)(nil), // 73: state.v1.TaskEventsResponse + (*WorkflowStatsRequest)(nil), // 74: state.v1.WorkflowStatsRequest + (*WorkflowStatsResponse)(nil), // 75: state.v1.WorkflowStatsResponse + (*StageStatsRequest)(nil), // 76: state.v1.StageStatsRequest + (*StageStatsResponse)(nil), // 77: state.v1.StageStatsResponse + (*TokensByDayRequest)(nil), // 78: state.v1.TokensByDayRequest + (*TokensByDayResponse)(nil), // 79: state.v1.TokensByDayResponse + (*ConfigSnapshot)(nil), // 80: state.v1.ConfigSnapshot + (*PutConfigSnapshotRequest)(nil), // 81: state.v1.PutConfigSnapshotRequest + (*PutConfigSnapshotResponse)(nil), // 82: state.v1.PutConfigSnapshotResponse + (*GetConfigSnapshotRequest)(nil), // 83: state.v1.GetConfigSnapshotRequest + (*GetConfigSnapshotResponse)(nil), // 84: state.v1.GetConfigSnapshotResponse + (*ChannelStatus)(nil), // 85: state.v1.ChannelStatus + (*PutChannelStatusRequest)(nil), // 86: state.v1.PutChannelStatusRequest + (*PutChannelStatusResponse)(nil), // 87: state.v1.PutChannelStatusResponse + (*ListChannelStatusRequest)(nil), // 88: state.v1.ListChannelStatusRequest + (*ListChannelStatusResponse)(nil), // 89: state.v1.ListChannelStatusResponse + (*ApplyStatus)(nil), // 90: state.v1.ApplyStatus + (*PutApplyStatusRequest)(nil), // 91: state.v1.PutApplyStatusRequest + (*PutApplyStatusResponse)(nil), // 92: state.v1.PutApplyStatusResponse + (*ListApplyStatusRequest)(nil), // 93: state.v1.ListApplyStatusRequest + (*ListApplyStatusResponse)(nil), // 94: state.v1.ListApplyStatusResponse + (*TaskLogEntry)(nil), // 95: state.v1.TaskLogEntry + (*ReadTaskLogRequest)(nil), // 96: state.v1.ReadTaskLogRequest + (*ReadTaskLogResponse)(nil), // 97: state.v1.ReadTaskLogResponse + (*StreamTaskLogContentRequest)(nil), // 98: state.v1.StreamTaskLogContentRequest + (*StreamTaskLogContentResponse)(nil), // 99: state.v1.StreamTaskLogContentResponse + (*InsertCaptureRequest)(nil), // 100: state.v1.InsertCaptureRequest + (*InsertCaptureResponse)(nil), // 101: state.v1.InsertCaptureResponse + (*ListCapturesRequest)(nil), // 102: state.v1.ListCapturesRequest + (*ListCapturesResponse)(nil), // 103: state.v1.ListCapturesResponse + (*StreamCapturesRequest)(nil), // 104: state.v1.StreamCapturesRequest + (*StreamCapturesResponse)(nil), // 105: state.v1.StreamCapturesResponse + (*InsertMappingRequest)(nil), // 106: state.v1.InsertMappingRequest + (*InsertMappingResponse)(nil), // 107: state.v1.InsertMappingResponse + (*GetMappingRequest)(nil), // 108: state.v1.GetMappingRequest + (*GetMappingResponse)(nil), // 109: state.v1.GetMappingResponse + (*ListMappingsRequest)(nil), // 110: state.v1.ListMappingsRequest + (*ListMappingsResponse)(nil), // 111: state.v1.ListMappingsResponse + (*UpdateMappingRequest)(nil), // 112: state.v1.UpdateMappingRequest + (*UpdateMappingResponse)(nil), // 113: state.v1.UpdateMappingResponse + (*DeleteMappingRequest)(nil), // 114: state.v1.DeleteMappingRequest + (*DeleteMappingResponse)(nil), // 115: state.v1.DeleteMappingResponse + (*InsertBindingRequest)(nil), // 116: state.v1.InsertBindingRequest + (*InsertBindingResponse)(nil), // 117: state.v1.InsertBindingResponse + (*GetBindingRequest)(nil), // 118: state.v1.GetBindingRequest + (*GetBindingResponse)(nil), // 119: state.v1.GetBindingResponse + (*ListBindingsRequest)(nil), // 120: state.v1.ListBindingsRequest + (*ListBindingsResponse)(nil), // 121: state.v1.ListBindingsResponse + (*UpdateBindingRequest)(nil), // 122: state.v1.UpdateBindingRequest + (*UpdateBindingResponse)(nil), // 123: state.v1.UpdateBindingResponse + (*DeleteBindingRequest)(nil), // 124: state.v1.DeleteBindingRequest + (*DeleteBindingResponse)(nil), // 125: state.v1.DeleteBindingResponse + (*ApproveBindingRequest)(nil), // 126: state.v1.ApproveBindingRequest + (*ApproveBindingResponse)(nil), // 127: state.v1.ApproveBindingResponse + (*ArmedBindingsForSourceRequest)(nil), // 128: state.v1.ArmedBindingsForSourceRequest + (*ArmedBindingsForSourceResponse)(nil), // 129: state.v1.ArmedBindingsForSourceResponse + (*RecordDispatchRequest)(nil), // 130: state.v1.RecordDispatchRequest + (*RecordDispatchResponse)(nil), // 131: state.v1.RecordDispatchResponse + (*RecordPlaybookDispatchRequest)(nil), // 132: state.v1.RecordPlaybookDispatchRequest + (*RecordPlaybookDispatchResponse)(nil), // 133: state.v1.RecordPlaybookDispatchResponse + (*DeletePlaybookDispatchesRequest)(nil), // 134: state.v1.DeletePlaybookDispatchesRequest + (*DeletePlaybookDispatchesResponse)(nil), // 135: state.v1.DeletePlaybookDispatchesResponse + (*ListUndispatchedCapturesRequest)(nil), // 136: state.v1.ListUndispatchedCapturesRequest + (*ListUndispatchedCapturesResponse)(nil), // 137: state.v1.ListUndispatchedCapturesResponse + (*StreamUndispatchedCapturesRequest)(nil), // 138: state.v1.StreamUndispatchedCapturesRequest + (*StreamUndispatchedCapturesResponse)(nil), // 139: state.v1.StreamUndispatchedCapturesResponse + (*EnqueueBindingTaskRequest)(nil), // 140: state.v1.EnqueueBindingTaskRequest + (*EnqueueBindingTaskResponse)(nil), // 141: state.v1.EnqueueBindingTaskResponse + nil, // 142: state.v1.StatusCountsResponse.CountsEntry + (*timestamppb.Timestamp)(nil), // 143: google.protobuf.Timestamp } var file_state_v1_state_proto_depIdxs = []int32{ - 139, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 139, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 143, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 143, // 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 @@ -8102,188 +8328,195 @@ var file_state_v1_state_proto_depIdxs = []int32{ 4, // 11: state.v1.SuspendIdentityResponse.identity:type_name -> state.v1.Identity 4, // 12: state.v1.ReactivateIdentityResponse.identity:type_name -> state.v1.Identity 4, // 13: state.v1.RetireIdentityResponse.identity:type_name -> state.v1.Identity - 139, // 14: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 139, // 15: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 139, // 16: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 139, // 17: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp - 23, // 18: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 139, // 19: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 139, // 20: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp - 25, // 21: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 139, // 22: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 139, // 23: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp - 20, // 24: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task - 20, // 25: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task - 20, // 26: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task - 20, // 27: state.v1.UpdateRequest.task:type_name -> state.v1.Task - 21, // 28: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event - 20, // 29: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task - 20, // 30: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task - 20, // 31: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task - 20, // 32: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task - 20, // 33: state.v1.TasksResponse.tasks:type_name -> state.v1.Task - 138, // 34: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry - 21, // 35: state.v1.InsertEventRequest.event:type_name -> state.v1.Event - 21, // 36: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event - 21, // 37: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event - 27, // 38: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat - 28, // 39: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat - 29, // 40: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens - 139, // 41: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp - 76, // 42: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot - 76, // 43: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 139, // 44: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp - 81, // 45: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus - 81, // 46: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 139, // 47: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp - 86, // 48: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus - 86, // 49: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 139, // 50: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 139, // 51: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 139, // 52: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp - 91, // 53: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry - 22, // 54: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent - 22, // 55: state.v1.ListCapturesResponse.captures:type_name -> state.v1.CapturedEvent - 22, // 56: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent - 24, // 57: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping - 24, // 58: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping - 24, // 59: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping - 24, // 60: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping - 26, // 61: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding - 26, // 62: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding - 26, // 63: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding - 26, // 64: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding - 26, // 65: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding - 22, // 66: state.v1.ListUndispatchedCapturesResponse.captures:type_name -> state.v1.CapturedEvent - 22, // 67: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent - 20, // 68: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task - 0, // 69: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest - 2, // 70: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest - 6, // 71: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest - 8, // 72: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest - 10, // 73: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest - 11, // 74: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest - 12, // 75: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest - 13, // 76: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest - 14, // 77: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest - 30, // 78: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest - 32, // 79: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest - 34, // 80: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest - 36, // 81: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest - 38, // 82: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest - 40, // 83: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest - 42, // 84: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest - 44, // 85: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest - 46, // 86: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest - 48, // 87: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 50, // 88: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 52, // 89: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 54, // 90: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 56, // 91: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 58, // 92: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 60, // 93: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 62, // 94: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 64, // 95: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 66, // 96: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 68, // 97: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 70, // 98: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 72, // 99: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 74, // 100: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 77, // 101: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 79, // 102: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 82, // 103: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 84, // 104: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 87, // 105: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 89, // 106: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 92, // 107: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 94, // 108: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 96, // 109: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 98, // 110: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest - 100, // 111: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 102, // 112: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 104, // 113: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 106, // 114: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 108, // 115: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 110, // 116: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 112, // 117: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 114, // 118: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 116, // 119: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 118, // 120: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 120, // 121: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 122, // 122: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 124, // 123: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 126, // 124: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 128, // 125: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 130, // 126: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 132, // 127: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest - 134, // 128: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 136, // 129: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 1, // 130: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 131: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 7, // 132: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 9, // 133: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 15, // 134: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 16, // 135: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 17, // 136: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 18, // 137: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 19, // 138: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 31, // 139: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 33, // 140: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 35, // 141: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 37, // 142: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 39, // 143: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 41, // 144: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 43, // 145: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 45, // 146: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 47, // 147: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 49, // 148: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 51, // 149: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 53, // 150: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 55, // 151: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 57, // 152: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 59, // 153: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 61, // 154: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 63, // 155: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 65, // 156: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 67, // 157: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 69, // 158: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 71, // 159: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 73, // 160: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 75, // 161: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 78, // 162: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 80, // 163: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 83, // 164: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 85, // 165: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 88, // 166: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 90, // 167: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 93, // 168: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 95, // 169: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 97, // 170: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 99, // 171: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse - 101, // 172: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 103, // 173: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 105, // 174: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 107, // 175: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 109, // 176: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 111, // 177: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 113, // 178: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 115, // 179: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 117, // 180: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 119, // 181: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 121, // 182: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 123, // 183: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 125, // 184: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 127, // 185: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 129, // 186: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 131, // 187: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 133, // 188: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse - 135, // 189: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 137, // 190: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 130, // [130:191] is the sub-list for method output_type - 69, // [69:130] is the sub-list for method input_type - 69, // [69:69] is the sub-list for extension type_name - 69, // [69:69] is the sub-list for extension extendee - 0, // [0:69] is the sub-list for field type_name + 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 + 143, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 143, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 143, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 143, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 27, // 21: state.v1.Mapping.fields:type_name -> state.v1.MappingField + 143, // 22: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 143, // 23: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 29, // 24: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher + 143, // 25: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 143, // 26: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 24, // 27: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task + 24, // 28: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task + 24, // 29: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task + 24, // 30: state.v1.UpdateRequest.task:type_name -> state.v1.Task + 25, // 31: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event + 24, // 32: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task + 24, // 33: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task + 24, // 34: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task + 24, // 35: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task + 24, // 36: state.v1.TasksResponse.tasks:type_name -> state.v1.Task + 142, // 37: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 25, // 38: state.v1.InsertEventRequest.event:type_name -> state.v1.Event + 25, // 39: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event + 25, // 40: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event + 31, // 41: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat + 32, // 42: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat + 33, // 43: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens + 143, // 44: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 80, // 45: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot + 80, // 46: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot + 143, // 47: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 85, // 48: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus + 85, // 49: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus + 143, // 50: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 90, // 51: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus + 90, // 52: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus + 143, // 53: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 143, // 54: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 143, // 55: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 95, // 56: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry + 26, // 57: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent + 26, // 58: state.v1.ListCapturesResponse.captures:type_name -> state.v1.CapturedEvent + 26, // 59: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent + 28, // 60: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping + 28, // 61: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping + 28, // 62: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping + 28, // 63: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping + 30, // 64: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding + 30, // 65: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding + 30, // 66: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding + 30, // 67: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding + 30, // 68: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding + 26, // 69: state.v1.ListUndispatchedCapturesResponse.captures:type_name -> state.v1.CapturedEvent + 26, // 70: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent + 24, // 71: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task + 0, // 72: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest + 2, // 73: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest + 6, // 74: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest + 8, // 75: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest + 10, // 76: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest + 11, // 77: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest + 12, // 78: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest + 13, // 79: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest + 14, // 80: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest + 20, // 81: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest + 22, // 82: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest + 34, // 83: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest + 36, // 84: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest + 38, // 85: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest + 40, // 86: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest + 42, // 87: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest + 44, // 88: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest + 46, // 89: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest + 48, // 90: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest + 50, // 91: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest + 52, // 92: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest + 54, // 93: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 56, // 94: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 58, // 95: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 60, // 96: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 62, // 97: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 64, // 98: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 66, // 99: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 68, // 100: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 70, // 101: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 72, // 102: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 74, // 103: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 76, // 104: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 78, // 105: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 81, // 106: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 83, // 107: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 86, // 108: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 88, // 109: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 91, // 110: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 93, // 111: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 96, // 112: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 98, // 113: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 100, // 114: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 102, // 115: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest + 104, // 116: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 106, // 117: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 108, // 118: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 110, // 119: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 112, // 120: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 114, // 121: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 116, // 122: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 118, // 123: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 120, // 124: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 122, // 125: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 124, // 126: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 126, // 127: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 128, // 128: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 130, // 129: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 132, // 130: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 134, // 131: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 136, // 132: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest + 138, // 133: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 140, // 134: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 1, // 135: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 136: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 7, // 137: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 9, // 138: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 15, // 139: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 16, // 140: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 17, // 141: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 18, // 142: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 19, // 143: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 21, // 144: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 23, // 145: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 35, // 146: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 37, // 147: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 39, // 148: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 41, // 149: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 43, // 150: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 45, // 151: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 47, // 152: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 49, // 153: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 51, // 154: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 53, // 155: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 55, // 156: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 57, // 157: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 59, // 158: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 61, // 159: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 63, // 160: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 65, // 161: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 67, // 162: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 69, // 163: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 71, // 164: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 73, // 165: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 75, // 166: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 77, // 167: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 79, // 168: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 82, // 169: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 84, // 170: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 87, // 171: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 89, // 172: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 92, // 173: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 94, // 174: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 97, // 175: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 99, // 176: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 101, // 177: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 103, // 178: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse + 105, // 179: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 107, // 180: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 109, // 181: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 111, // 182: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 113, // 183: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 115, // 184: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 117, // 185: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 119, // 186: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 121, // 187: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 123, // 188: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 125, // 189: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 127, // 190: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 129, // 191: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 131, // 192: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 133, // 193: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 135, // 194: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 137, // 195: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse + 139, // 196: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 141, // 197: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 135, // [135:198] is the sub-list for method output_type + 72, // [72:135] is the sub-list for method input_type + 72, // [72:72] is the sub-list for extension type_name + 72, // [72:72] is the sub-list for extension extendee + 0, // [0:72] is the sub-list for field type_name } func init() { file_state_v1_state_proto_init() } @@ -8297,7 +8530,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: 139, + NumMessages: 143, 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 0b2e4b138..553316a11 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -28,6 +28,8 @@ const ( StateStoreService_SuspendIdentity_FullMethodName = "/state.v1.StateStoreService/SuspendIdentity" StateStoreService_ReactivateIdentity_FullMethodName = "/state.v1.StateStoreService/ReactivateIdentity" StateStoreService_RetireIdentity_FullMethodName = "/state.v1.StateStoreService/RetireIdentity" + StateStoreService_ResolveIdentitySubject_FullMethodName = "/state.v1.StateStoreService/ResolveIdentitySubject" + StateStoreService_BindIdentitySubject_FullMethodName = "/state.v1.StateStoreService/BindIdentitySubject" StateStoreService_EnqueueIssue_FullMethodName = "/state.v1.StateStoreService/EnqueueIssue" StateStoreService_EnqueueChatTask_FullMethodName = "/state.v1.StateStoreService/EnqueueChatTask" StateStoreService_ClaimNext_FullMethodName = "/state.v1.StateStoreService/ClaimNext" @@ -105,6 +107,11 @@ type StateStoreServiceClient interface { SuspendIdentity(ctx context.Context, in *SuspendIdentityRequest, opts ...grpc.CallOption) (*SuspendIdentityResponse, error) ReactivateIdentity(ctx context.Context, in *ReactivateIdentityRequest, opts ...grpc.CallOption) (*ReactivateIdentityResponse, error) RetireIdentity(ctx context.Context, in *RetireIdentityRequest, opts ...grpc.CallOption) (*RetireIdentityResponse, error) + // Subject bindings. A verified provider subject is resolved to the identity it + // is bound to; the authenticating process calls these rather than owning the + // identity store. + ResolveIdentitySubject(ctx context.Context, in *ResolveIdentitySubjectRequest, opts ...grpc.CallOption) (*ResolveIdentitySubjectResponse, error) + BindIdentitySubject(ctx context.Context, in *BindIdentitySubjectRequest, opts ...grpc.CallOption) (*BindIdentitySubjectResponse, error) // Lifecycle EnqueueIssue(ctx context.Context, in *EnqueueIssueRequest, opts ...grpc.CallOption) (*EnqueueIssueResponse, error) EnqueueChatTask(ctx context.Context, in *EnqueueChatTaskRequest, opts ...grpc.CallOption) (*EnqueueChatTaskResponse, error) @@ -305,6 +312,26 @@ func (c *stateStoreServiceClient) RetireIdentity(ctx context.Context, in *Retire return out, nil } +func (c *stateStoreServiceClient) ResolveIdentitySubject(ctx context.Context, in *ResolveIdentitySubjectRequest, opts ...grpc.CallOption) (*ResolveIdentitySubjectResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ResolveIdentitySubjectResponse) + err := c.cc.Invoke(ctx, StateStoreService_ResolveIdentitySubject_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *stateStoreServiceClient) BindIdentitySubject(ctx context.Context, in *BindIdentitySubjectRequest, opts ...grpc.CallOption) (*BindIdentitySubjectResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BindIdentitySubjectResponse) + err := c.cc.Invoke(ctx, StateStoreService_BindIdentitySubject_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) EnqueueIssue(ctx context.Context, in *EnqueueIssueRequest, opts ...grpc.CallOption) (*EnqueueIssueResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EnqueueIssueResponse) @@ -877,6 +904,11 @@ type StateStoreServiceServer interface { SuspendIdentity(context.Context, *SuspendIdentityRequest) (*SuspendIdentityResponse, error) ReactivateIdentity(context.Context, *ReactivateIdentityRequest) (*ReactivateIdentityResponse, error) RetireIdentity(context.Context, *RetireIdentityRequest) (*RetireIdentityResponse, error) + // Subject bindings. A verified provider subject is resolved to the identity it + // is bound to; the authenticating process calls these rather than owning the + // identity store. + ResolveIdentitySubject(context.Context, *ResolveIdentitySubjectRequest) (*ResolveIdentitySubjectResponse, error) + BindIdentitySubject(context.Context, *BindIdentitySubjectRequest) (*BindIdentitySubjectResponse, error) // Lifecycle EnqueueIssue(context.Context, *EnqueueIssueRequest) (*EnqueueIssueResponse, error) EnqueueChatTask(context.Context, *EnqueueChatTaskRequest) (*EnqueueChatTaskResponse, error) @@ -1014,6 +1046,12 @@ func (UnimplementedStateStoreServiceServer) ReactivateIdentity(context.Context, func (UnimplementedStateStoreServiceServer) RetireIdentity(context.Context, *RetireIdentityRequest) (*RetireIdentityResponse, error) { return nil, status.Error(codes.Unimplemented, "method RetireIdentity not implemented") } +func (UnimplementedStateStoreServiceServer) ResolveIdentitySubject(context.Context, *ResolveIdentitySubjectRequest) (*ResolveIdentitySubjectResponse, error) { + return nil, status.Error(codes.Unimplemented, "method ResolveIdentitySubject not implemented") +} +func (UnimplementedStateStoreServiceServer) BindIdentitySubject(context.Context, *BindIdentitySubjectRequest) (*BindIdentitySubjectResponse, error) { + return nil, status.Error(codes.Unimplemented, "method BindIdentitySubject not implemented") +} func (UnimplementedStateStoreServiceServer) EnqueueIssue(context.Context, *EnqueueIssueRequest) (*EnqueueIssueResponse, error) { return nil, status.Error(codes.Unimplemented, "method EnqueueIssue not implemented") } @@ -1353,6 +1391,42 @@ func _StateStoreService_RetireIdentity_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _StateStoreService_ResolveIdentitySubject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResolveIdentitySubjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).ResolveIdentitySubject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_ResolveIdentitySubject_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).ResolveIdentitySubject(ctx, req.(*ResolveIdentitySubjectRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _StateStoreService_BindIdentitySubject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BindIdentitySubjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).BindIdentitySubject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_BindIdentitySubject_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).BindIdentitySubject(ctx, req.(*BindIdentitySubjectRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_EnqueueIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EnqueueIssueRequest) if err := dec(in); err != nil { @@ -2311,6 +2385,14 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "RetireIdentity", Handler: _StateStoreService_RetireIdentity_Handler, }, + { + MethodName: "ResolveIdentitySubject", + Handler: _StateStoreService_ResolveIdentitySubject_Handler, + }, + { + MethodName: "BindIdentitySubject", + Handler: _StateStoreService_BindIdentitySubject_Handler, + }, { MethodName: "EnqueueIssue", Handler: _StateStoreService_EnqueueIssue_Handler, diff --git a/internal/domain/identity/credential.go b/internal/domain/identity/credential.go index e3d138489..fcd50a8e7 100644 --- a/internal/domain/identity/credential.go +++ b/internal/domain/identity/credential.go @@ -39,6 +39,15 @@ type Verifier interface { Verify(ctx context.Context, rawToken string) (Credential, error) } +// SubjectBinding resolves a verified provider subject and binds one to an +// identity. It is the pair a store implements to support authentication, kept +// separate from Repository so the administrative facade keeps its shape and a +// consumer that only authenticates takes a narrower dependency. +type SubjectBinding interface { + SubjectResolver + BindSubject(context.Context, IdentityID, Subject, Audit) error +} + // SubjectResolver resolves a verified provider subject to the identity bound to // it. It is deliberately narrower than Repository: authenticating a request // needs to resolve a subject, not to administer identities, so a consumer that diff --git a/internal/infrastructure/staterpc/identities.go b/internal/infrastructure/staterpc/identities.go index dffd6d72f..caa1d6198 100644 --- a/internal/infrastructure/staterpc/identities.go +++ b/internal/infrastructure/staterpc/identities.go @@ -69,6 +69,46 @@ func (s *server) RetireIdentity(ctx context.Context, request *pb.RetireIdentityR return &pb.RetireIdentityResponse{Identity: identityProto(value)}, err } +func (s *server) ResolveIdentitySubject(ctx context.Context, request *pb.ResolveIdentitySubjectRequest) (*pb.ResolveIdentitySubjectResponse, error) { + if s.deps.SubjectBindings == nil { + return nil, status.Error(codes.Unavailable, "identity subject bindings unavailable") + } + value, err := s.deps.SubjectBindings.ResolveSubject(ctx, identity.Subject{Issuer: request.Issuer, Subject: request.Subject}) + if err != nil { + return nil, identityStatus(err) + } + return &pb.ResolveIdentitySubjectResponse{Identity: identityProto(value)}, nil +} + +func (s *server) BindIdentitySubject(ctx context.Context, request *pb.BindIdentitySubjectRequest) (*pb.BindIdentitySubjectResponse, error) { + if s.deps.SubjectBindings == nil { + return nil, status.Error(codes.Unavailable, "identity subject bindings unavailable") + } + subject := identity.Subject{Issuer: request.Issuer, Subject: request.Subject} + if err := s.deps.SubjectBindings.BindSubject(ctx, identity.IdentityID(request.Id), subject, identityAudit(request.Audit)); err != nil { + return nil, identityStatus(err) + } + value, err := s.deps.Identities.Get(ctx, identity.IdentityID(request.Id)) + if err != nil { + return nil, identityStatus(err) + } + return &pb.BindIdentitySubjectResponse{Identity: identityProto(value)}, nil +} + +func (c *Client) ResolveSubject(ctx context.Context, subject identity.Subject) (identity.Identity, error) { + response, err := c.client.ResolveIdentitySubject(ctx, &pb.ResolveIdentitySubjectRequest{Issuer: subject.Issuer, Subject: subject.Subject}) + if err != nil { + return identity.Identity{}, identityClientError(err) + } + return identityValue(response.Identity), nil +} + +func (c *Client) BindSubject(ctx context.Context, id identity.IdentityID, subject identity.Subject, audit identity.Audit) error { + _, err := c.client.BindIdentitySubject(ctx, &pb.BindIdentitySubjectRequest{Id: string(id), Issuer: subject.Issuer, Subject: subject.Subject, Audit: auditProto(audit)}) + return identityClientError(err) +} + +// applyIdentityCommand applies one lifecycle command through the store facade. func (s *server) applyIdentityCommand(ctx context.Context, id string, version int64, audit *pb.IdentityAudit, command identity.Command) (identity.Identity, error) { value, err := s.deps.Identities.Apply(ctx, identity.IdentityID(id), version, command, identityAudit(audit)) if err != nil { diff --git a/internal/infrastructure/staterpc/server.go b/internal/infrastructure/staterpc/server.go index 8de0358f7..68b93a3c3 100644 --- a/internal/infrastructure/staterpc/server.go +++ b/internal/infrastructure/staterpc/server.go @@ -60,8 +60,12 @@ const taskLogChunkBytes = 256 << 10 // codes.Unavailable) exactly as their daemon-side consumers already treat a // nil Mappings/Bindings/BindingDispatcher/BindingTaskCreator as "disabled". type Deps struct { - ControlPlane controlpb.ControlPlaneServiceServer - Identities identity.Repository + ControlPlane controlpb.ControlPlaneServiceServer + Identities identity.Repository + // SubjectBindings fronts the subject-binding surface, which only the + // authenticating path needs. Unset means this process cannot resolve a + // verified subject, and the RPCs answer Unavailable rather than pretending. + SubjectBindings identity.SubjectBinding Grants *TaskGrants Tasks storecontract.TaskStore Captures storecontract.CaptureStore diff --git a/internal/webui/auth.go b/internal/webui/auth.go index 63b896155..c6a467135 100644 --- a/internal/webui/auth.go +++ b/internal/webui/auth.go @@ -1,9 +1,11 @@ package webui import ( + "context" "crypto/rand" "crypto/subtle" "encoding/base64" + "errors" "fmt" "io" "net" @@ -12,6 +14,8 @@ import ( "os" "path/filepath" "strings" + + "github.com/samcharles93/archie-core/internal/domain/identity" ) // tokenCookie carries the dashboard token once it has been exchanged from the @@ -89,8 +93,12 @@ func LoadOrCreateToken(path string) (string, error) { return tok, nil } -// requireToken wraps h with token authentication. A zero token disables the -// check entirely, which is how loopback binds stay frictionless. +// requireToken wraps h with the credential check this process is configured for. +// +// With an identity provider configured, the check is a provider-issued bearer +// token that resolves to a named identity, and a request that cannot produce one +// is refused. With no provider, the shared token is the gate, which is the +// frictionless loopback behaviour a single-operator instance wants. // // The token may arrive as ?t=... once; it is then moved into a // SameSite=Strict, HttpOnly cookie and the caller redirected to the clean URL. @@ -98,6 +106,9 @@ func LoadOrCreateToken(path string) (string, error) { // The token is read per request rather than captured when the handler is // built, so a Server whose Token is set after Handler() is still protected. func (s *Server) requireToken(h http.Handler) http.Handler { + if s.Authenticate != nil { + return s.requireIdentity(h) + } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if s.Token == "" { h.ServeHTTP(w, r) @@ -149,6 +160,83 @@ func (s *Server) requireToken(h http.Handler) http.Handler { }) } +// requireIdentity authenticates a request from a provider-issued bearer token and +// attaches the identity that token resolved to. +// +// Nothing about the caller is read from the request body, a header or a query +// parameter: the subject comes from the credential the provider signed, and the +// identity is the record that subject is bound to. That is why an agent's action +// can be attributed at all -- a caller cannot assert who it is, it can only +// present what the provider gave it. +func (s *Server) requireIdentity(h http.Handler) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + credential, ok := bearerCredential(r) + if !ok { + s.refuseUnidentified(w, r, identity.ErrNoCredential) + return + } + value, err := s.Authenticate(r.Context(), credential) + if err != nil { + s.refuseUnidentified(w, r, err) + return + } + h.ServeHTTP(w, r.WithContext(WithActingIdentity(r.Context(), value))) + }) +} + +// bearerCredential reads the credential a request presented. An empty token is +// reported as absent rather than as a rejected one: there is nothing to verify. +func bearerCredential(r *http.Request) (string, bool) { + const prefix = "Bearer " + header := r.Header.Get("Authorization") + if len(header) <= len(prefix) || !strings.EqualFold(header[:len(prefix)], prefix) { + return "", false + } + token := strings.TrimSpace(header[len(prefix):]) + return token, token != "" +} + +// refuseUnidentified answers a request archie could not attribute to an identity. +// +// The status is HTTP's own distinction: absent or unverifiable credentials are +// 401 and name the scheme, while a credential that verified for an identity that +// may not act is 403 -- the caller proved who it is and is still not allowed. +func (s *Server) refuseUnidentified(w http.ResponseWriter, r *http.Request, err error) { + w.Header().Set("Cache-Control", "no-store") + allowed := errors.Is(err, identity.ErrIdentityInactive) || errors.Is(err, identity.ErrSubjectUnbound) + status := http.StatusUnauthorized + reason := "That credential was not accepted." + switch { + case errors.Is(err, identity.ErrIdentityInactive): + status, reason = http.StatusForbidden, "That identity may not act." + case errors.Is(err, identity.ErrSubjectUnbound): + status, reason = http.StatusForbidden, "That credential is not bound to an identity here." + default: + w.Header().Set("WWW-Authenticate", `Bearer realm="archie"`) + } + if !allowed && wantsDocument(r) { + s.authPage(w, reason) + return + } + http.Error(w, reason, status) +} + +type actingIdentityContextKey struct{} + +// WithActingIdentity returns a context carrying the identity a request resolved +// to, so a handler can attribute what it does without re-verifying anything. +func WithActingIdentity(ctx context.Context, value identity.Identity) context.Context { + return context.WithValue(ctx, actingIdentityContextKey{}, value) +} + +// ActingIdentity returns the identity a request resolved to, if it resolved to +// one. A false result means the request was not authenticated, which is a +// different fact from an authenticated request whose actor is unrecorded. +func ActingIdentity(ctx context.Context) (identity.Identity, bool) { + value, ok := ctx.Value(actingIdentityContextKey{}).(identity.Identity) + return value, ok +} + // wantsDocument reports whether a request is a browser navigation rather than an // API or stream call. A navigation sends text/html in Accept; fetch() sends */* // or a JSON type, and EventSource sends text/event-stream. diff --git a/internal/webui/auth_identity_test.go b/internal/webui/auth_identity_test.go new file mode 100644 index 000000000..56c30cbc4 --- /dev/null +++ b/internal/webui/auth_identity_test.go @@ -0,0 +1,164 @@ +package webui + +import ( + "context" + "net/http" + "net/http/httptest" + "strings" + "testing" + + "github.com/samcharles93/archie-core/internal/domain/identity" +) + +var testActingIdentity = identity.Identity{ + ID: "40000000-0000-5000-8000-000000000001", + Kind: identity.KindUser, + DisplayName: "sam", + Lifecycle: identity.LifecycleActive, + Version: 1, +} + +// withIdentityCheck builds the middleware over a stub provider, which is the +// seam the dashboard sees: verification and binding are proved in +// internal/infrastructure/oidc and internal/domain/identity, and what is proved +// here is that a request either resolves or is refused. +func withIdentityCheck(t *testing.T, authenticate func(context.Context, string) (identity.Identity, error)) http.Handler { + t.Helper() + s := &Server{Authenticate: authenticate} + return s.requireToken(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + value, ok := ActingIdentity(r.Context()) + if !ok { + t.Error("handler ran without a resolved identity") + return + } + _, _ = w.Write([]byte(string(value.ID))) + })) +} + +func TestIdentityRequestResolvesToTheCredentialSubject(t *testing.T) { + seen := "" + handler := withIdentityCheck(t, func(_ context.Context, raw string) (identity.Identity, error) { + seen = raw + return testActingIdentity, nil + }) + + request := httptest.NewRequest(http.MethodPost, "/api/tasks/7/action", strings.NewReader(`{"actor":"someone-else"}`)) + request.Header.Set("Authorization", "Bearer "+"a-provider-token") + // A caller-supplied identity must not be consulted: the only source of the + // acting identity is the credential the provider signed. + request.Header.Set("X-Archie-Identity", "attacker-chosen") + request.Header.Set("X-Archie-Actor", "attacker-chosen") + + recorder := httptest.NewRecorder() + handler.ServeHTTP(recorder, request) + + if recorder.Code != http.StatusOK { + t.Fatalf("status = %d, want %d", recorder.Code, http.StatusOK) + } + if seen != "a-provider-token" { + t.Fatalf("verifier saw %q, want the presented credential", seen) + } + if got := recorder.Body.String(); got != string(testActingIdentity.ID) { + t.Fatalf("resolved identity = %q, want %q", got, testActingIdentity.ID) + } +} + +func TestIdentityRequestRefusesEveryCallerItCannotAttribute(t *testing.T) { + tests := []struct { + name string + credential string + authErr error + wantStatus int + }{ + { + name: "no credential presented", + credential: "", + wantStatus: http.StatusUnauthorized, + }, + { + name: "credential rejected", + credential: "Bearer expired-or-foreign", + authErr: identity.ErrCredentialRejected, + wantStatus: http.StatusUnauthorized, + }, + { + name: "subject not bound to an identity", + credential: "Bearer valid-but-unknown", + authErr: identity.ErrSubjectUnbound, + wantStatus: http.StatusForbidden, + }, + { + name: "identity may not act", + credential: "Bearer valid-but-suspended", + authErr: identity.ErrIdentityInactive, + wantStatus: http.StatusForbidden, + }, + } + + for _, tc := range tests { + t.Run(tc.name, func(t *testing.T) { + handler := withIdentityCheck(t, func(_ context.Context, _ string) (identity.Identity, error) { + if tc.authErr == nil { + t.Fatal("the verifier was called with no credential to verify") + } + return identity.Identity{}, tc.authErr + }) + + request := httptest.NewRequest(http.MethodGet, "/api/tasks", nil) + if tc.credential != "" { + request.Header.Set("Authorization", tc.credential) + } + recorder := httptest.NewRecorder() + handler.ServeHTTP(recorder, request) + + if recorder.Code != tc.wantStatus { + t.Fatalf("status = %d, want %d", recorder.Code, tc.wantStatus) + } + if tc.wantStatus == http.StatusUnauthorized && + recorder.Header().Get("WWW-Authenticate") == "" { + t.Fatal("a 401 must name the scheme it accepts") + } + }) + } +} + +// TestIdentityCheckReplacesTheSharedToken: with a provider configured the shared +// token is no longer a way in, because a credential that names nobody cannot +// attribute what it does. +func TestIdentityCheckReplacesTheSharedToken(t *testing.T) { + handler := withIdentityCheck(t, func(_ context.Context, raw string) (identity.Identity, error) { + if raw == "" { + return identity.Identity{}, identity.ErrNoCredential + } + return testActingIdentity, nil + }) + + request := httptest.NewRequest(http.MethodGet, "/", nil) + request.AddCookie(&http.Cookie{Name: tokenCookie, Value: "the-shared-token"}) + recorder := httptest.NewRecorder() + handler.ServeHTTP(recorder, request) + + if recorder.Code != http.StatusUnauthorized { + t.Fatalf("status = %d, want %d", recorder.Code, http.StatusUnauthorized) + } +} + +// TestSharedTokenStillGatesAnInstanceWithNoProvider: with no provider configured +// the shared token remains the gate, which is the loopback-friendly behaviour a +// single-operator instance relies on. +func TestSharedTokenStillGatesAnInstanceWithNoProvider(t *testing.T) { + s := &Server{Token: ""} + reached := false + handler := s.requireToken(http.HandlerFunc(func(http.ResponseWriter, *http.Request) { reached = true })) + + request := httptest.NewRequest(http.MethodGet, "/", nil) + recorder := httptest.NewRecorder() + handler.ServeHTTP(recorder, request) + + if !reached { + t.Fatal("a token-less loopback server refused a request") + } + if recorder.Code != http.StatusOK { + t.Fatalf("status = %d, want %d", recorder.Code, http.StatusOK) + } +} diff --git a/internal/webui/server.go b/internal/webui/server.go index 21bf5d1a2..2fe058297 100644 --- a/internal/webui/server.go +++ b/internal/webui/server.go @@ -100,6 +100,13 @@ type Server struct { // stay frictionless -- see IsLoopback. Token string + // Authenticate resolves a credential a request presented to the identity + // that may act, and is the whole of the provider integration: verification + // and binding both live behind it. Non-nil replaces the shared token, so + // every request resolves to a named identity or is refused; nil keeps the + // shared-token gate for an instance with no provider configured. + Authenticate func(context.Context, string) (identity.Identity, error) + // Events publishes operator actions so they reach the task timeline and // the live activity stream. Optional: nil means the action is recorded // in the store but invisible to anyone watching. diff --git a/proto/gateway/v1/chat.proto b/proto/gateway/v1/chat.proto index cc7406a1f..1db6c92f3 100644 --- a/proto/gateway/v1/chat.proto +++ b/proto/gateway/v1/chat.proto @@ -141,7 +141,21 @@ message ApplyTaskActionResponse { int64 task_id = 1; string action = 2; string m // An authenticated dashboard operator acts across identities, so this request // carries no identity to scope against -- the distinction the daemon's task // action service draws with a nil identity (internal/domain/taskactions). -message ApplyOperatorTaskActionRequest { int64 task_id = 1; string action = 2; } +message ApplyOperatorTaskActionRequest { + int64 task_id = 1; + string action = 2; + // actor_id is the identity that performed the action, as asserted by the + // caller that verified the credential the request presented. actor_kind + // travels beside it so the record can say an agent acted without a reader + // resolving the identity. principal_id is the identity whose authority the + // action used; empty means the action is recorded unattributed rather than + // credited to the actor's own authority. All three are empty when the caller + // has no verified identity, which is recorded as an unattributed action and + // never as a human's. + string actor_id = 3; + string actor_kind = 4; + string principal_id = 5; +} message ApplyOperatorTaskActionResponse { int64 task_id = 1; string action = 2; string message = 3; } message SaveSessionResponse {} message SaveSessionRequest { Session session = 1; } diff --git a/proto/state/v1/state.proto b/proto/state/v1/state.proto index 38cfe04a9..26dc602da 100644 --- a/proto/state/v1/state.proto +++ b/proto/state/v1/state.proto @@ -23,6 +23,11 @@ service StateStoreService { rpc SuspendIdentity(SuspendIdentityRequest) returns (SuspendIdentityResponse); rpc ReactivateIdentity(ReactivateIdentityRequest) returns (ReactivateIdentityResponse); rpc RetireIdentity(RetireIdentityRequest) returns (RetireIdentityResponse); + // Subject bindings. A verified provider subject is resolved to the identity it + // is bound to; the authenticating process calls these rather than owning the + // identity store. + rpc ResolveIdentitySubject(ResolveIdentitySubjectRequest) returns (ResolveIdentitySubjectResponse); + rpc BindIdentitySubject(BindIdentitySubjectRequest) returns (BindIdentitySubjectResponse); // Lifecycle rpc EnqueueIssue(EnqueueIssueRequest) returns (EnqueueIssueResponse); rpc EnqueueChatTask(EnqueueChatTaskRequest) returns (EnqueueChatTaskResponse); @@ -189,6 +194,18 @@ message RenameIdentityResponse { Identity identity = 1; } message SuspendIdentityResponse { Identity identity = 1; } message ReactivateIdentityResponse { Identity identity = 1; } message RetireIdentityResponse { Identity identity = 1; } +message ResolveIdentitySubjectRequest { + string issuer = 1; + string subject = 2; +} +message ResolveIdentitySubjectResponse { Identity identity = 1; } +message BindIdentitySubjectRequest { + string id = 1; + string issuer = 2; + string subject = 3; + IdentityAudit audit = 4; +} +message BindIdentitySubjectResponse { Identity identity = 1; } // Task mirrors internal/domain/workflow.Task. message Task {