From 0ea59bb211d8dba411709760979388b20b836379 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Thu, 24 Sep 2026 14:21:21 +1000 Subject: [PATCH] feat(staterpc): event type RPCs and capture event_type on the wire --- internal/app/archied/state_store.go | 4 + internal/contracts/state/v1/state.pb.go | 2019 +++++++++++------ internal/contracts/state/v1/state_grpc.pb.go | 156 ++ .../infrastructure/staterpc/eventtype_test.go | 116 + .../infrastructure/staterpc/eventtypes.go | 144 ++ internal/infrastructure/staterpc/server.go | 1 + internal/infrastructure/staterpc/values.go | 62 +- proto/state/v1/state.proto | 48 + 8 files changed, 1824 insertions(+), 726 deletions(-) create mode 100644 internal/infrastructure/staterpc/eventtype_test.go create mode 100644 internal/infrastructure/staterpc/eventtypes.go diff --git a/internal/app/archied/state_store.go b/internal/app/archied/state_store.go index 750c027ee..ad8d768a5 100644 --- a/internal/app/archied/state_store.go +++ b/internal/app/archied/state_store.go @@ -258,6 +258,10 @@ func (b *boot) stateStoreDeps(grants *staterpc.TaskGrants) staterpc.Deps { deps.Bindings = b.eda deps.BindingDispatcher = b.eda deps.PlaybookDispatcher = b.eda + // Only the Postgres EDA store holds event types. + if eventTypes, ok := any(b.eda).(storecontract.EventTypeStore); ok { + deps.EventTypes = eventTypes + } } // tool_call events project into the tool_calls collection on the same // event-capture store: this process legitimately owns both, so the diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 5bfe0a038..b163b6fd5 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -1756,6 +1756,9 @@ type CapturedEvent struct { Headers string `protobuf:"bytes,6,opt,name=headers,proto3" json:"headers,omitempty"` Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` Authenticated bool `protobuf:"varint,8,opt,name=authenticated,proto3" json:"authenticated,omitempty"` + // event_type is the ID of the event type the capture was identified as on + // arrival; empty is unidentified. + EventType string `protobuf:"bytes,9,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1846,6 +1849,229 @@ func (x *CapturedEvent) GetAuthenticated() bool { return false } +func (x *CapturedEvent) GetEventType() string { + if x != nil { + return x.EventType + } + return "" +} + +// EventTypeHeaderCondition mirrors internal/domain/eventtype.HeaderCondition. +type EventTypeHeaderCondition struct { + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EventTypeHeaderCondition) Reset() { + *x = EventTypeHeaderCondition{} + mi := &file_state_v1_state_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EventTypeHeaderCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventTypeHeaderCondition) ProtoMessage() {} + +func (x *EventTypeHeaderCondition) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventTypeHeaderCondition.ProtoReflect.Descriptor instead. +func (*EventTypeHeaderCondition) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{27} +} + +func (x *EventTypeHeaderCondition) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *EventTypeHeaderCondition) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +// EventTypePayloadCondition mirrors internal/domain/eventtype.PayloadCondition. +type EventTypePayloadCondition struct { + state protoimpl.MessageState `protogen:"open.v1"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EventTypePayloadCondition) Reset() { + *x = EventTypePayloadCondition{} + mi := &file_state_v1_state_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EventTypePayloadCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventTypePayloadCondition) ProtoMessage() {} + +func (x *EventTypePayloadCondition) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventTypePayloadCondition.ProtoReflect.Descriptor instead. +func (*EventTypePayloadCondition) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{28} +} + +func (x *EventTypePayloadCondition) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *EventTypePayloadCondition) GetOp() string { + if x != nil { + return x.Op + } + return "" +} + +func (x *EventTypePayloadCondition) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +// EventType mirrors internal/domain/eventtype.EventType. header_conditions and +// payload_conditions are its rule; schema maps each payload path to its type. +type EventType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + HeaderConditions []*EventTypeHeaderCondition `protobuf:"bytes,4,rep,name=header_conditions,json=headerConditions,proto3" json:"header_conditions,omitempty"` + PayloadConditions []*EventTypePayloadCondition `protobuf:"bytes,5,rep,name=payload_conditions,json=payloadConditions,proto3" json:"payload_conditions,omitempty"` + Schema map[string]string `protobuf:"bytes,6,rep,name=schema,proto3" json:"schema,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EventType) Reset() { + *x = EventType{} + mi := &file_state_v1_state_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EventType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventType) ProtoMessage() {} + +func (x *EventType) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventType.ProtoReflect.Descriptor instead. +func (*EventType) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{29} +} + +func (x *EventType) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *EventType) GetSource() string { + if x != nil { + return x.Source + } + return "" +} + +func (x *EventType) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *EventType) GetHeaderConditions() []*EventTypeHeaderCondition { + if x != nil { + return x.HeaderConditions + } + return nil +} + +func (x *EventType) GetPayloadConditions() []*EventTypePayloadCondition { + if x != nil { + return x.PayloadConditions + } + return nil +} + +func (x *EventType) GetSchema() map[string]string { + if x != nil { + return x.Schema + } + return nil +} + +func (x *EventType) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt + } + return nil +} + +func (x *EventType) GetUpdatedAt() *timestamppb.Timestamp { + if x != nil { + return x.UpdatedAt + } + return nil +} + // MappingField mirrors internal/domain/mapping.Field. type MappingField struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -1859,7 +2085,7 @@ type MappingField struct { func (x *MappingField) Reset() { *x = MappingField{} - mi := &file_state_v1_state_proto_msgTypes[27] + mi := &file_state_v1_state_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1871,7 +2097,7 @@ func (x *MappingField) String() string { func (*MappingField) ProtoMessage() {} func (x *MappingField) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[27] + mi := &file_state_v1_state_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1884,7 +2110,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{27} + return file_state_v1_state_proto_rawDescGZIP(), []int{30} } func (x *MappingField) GetName() string { @@ -1930,7 +2156,7 @@ type Mapping struct { func (x *Mapping) Reset() { *x = Mapping{} - mi := &file_state_v1_state_proto_msgTypes[28] + mi := &file_state_v1_state_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1942,7 +2168,7 @@ func (x *Mapping) String() string { func (*Mapping) ProtoMessage() {} func (x *Mapping) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[28] + mi := &file_state_v1_state_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1955,7 +2181,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{28} + return file_state_v1_state_proto_rawDescGZIP(), []int{31} } func (x *Mapping) GetId() string { @@ -2010,7 +2236,7 @@ type BindingMatcher struct { func (x *BindingMatcher) Reset() { *x = BindingMatcher{} - mi := &file_state_v1_state_proto_msgTypes[29] + mi := &file_state_v1_state_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2022,7 +2248,7 @@ func (x *BindingMatcher) String() string { func (*BindingMatcher) ProtoMessage() {} func (x *BindingMatcher) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[29] + mi := &file_state_v1_state_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2035,7 +2261,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{29} + return file_state_v1_state_proto_rawDescGZIP(), []int{32} } func (x *BindingMatcher) GetSource() string { @@ -2066,7 +2292,7 @@ type Binding struct { func (x *Binding) Reset() { *x = Binding{} - mi := &file_state_v1_state_proto_msgTypes[30] + mi := &file_state_v1_state_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2078,7 +2304,7 @@ func (x *Binding) String() string { func (*Binding) ProtoMessage() {} func (x *Binding) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[30] + mi := &file_state_v1_state_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2091,7 +2317,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{30} + return file_state_v1_state_proto_rawDescGZIP(), []int{33} } func (x *Binding) GetId() string { @@ -2195,7 +2421,7 @@ type WorkflowStat struct { func (x *WorkflowStat) Reset() { *x = WorkflowStat{} - mi := &file_state_v1_state_proto_msgTypes[31] + mi := &file_state_v1_state_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2207,7 +2433,7 @@ func (x *WorkflowStat) String() string { func (*WorkflowStat) ProtoMessage() {} func (x *WorkflowStat) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[31] + mi := &file_state_v1_state_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2220,7 +2446,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{31} + return file_state_v1_state_proto_rawDescGZIP(), []int{34} } func (x *WorkflowStat) GetWorkflow() string { @@ -2293,7 +2519,7 @@ type StageStat struct { func (x *StageStat) Reset() { *x = StageStat{} - mi := &file_state_v1_state_proto_msgTypes[32] + mi := &file_state_v1_state_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2305,7 +2531,7 @@ func (x *StageStat) String() string { func (*StageStat) ProtoMessage() {} func (x *StageStat) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[32] + mi := &file_state_v1_state_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2318,7 +2544,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{32} + return file_state_v1_state_proto_rawDescGZIP(), []int{35} } func (x *StageStat) GetWorkflow() string { @@ -2367,7 +2593,7 @@ type DayTokens struct { func (x *DayTokens) Reset() { *x = DayTokens{} - mi := &file_state_v1_state_proto_msgTypes[33] + mi := &file_state_v1_state_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2379,7 +2605,7 @@ func (x *DayTokens) String() string { func (*DayTokens) ProtoMessage() {} func (x *DayTokens) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[33] + mi := &file_state_v1_state_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2392,7 +2618,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{33} + return file_state_v1_state_proto_rawDescGZIP(), []int{36} } func (x *DayTokens) GetDay() string { @@ -2424,7 +2650,7 @@ type EnqueueIssueRequest struct { func (x *EnqueueIssueRequest) Reset() { *x = EnqueueIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[34] + mi := &file_state_v1_state_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2436,7 +2662,7 @@ func (x *EnqueueIssueRequest) String() string { func (*EnqueueIssueRequest) ProtoMessage() {} func (x *EnqueueIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[34] + mi := &file_state_v1_state_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2449,7 +2675,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{34} + return file_state_v1_state_proto_rawDescGZIP(), []int{37} } func (x *EnqueueIssueRequest) GetOwner() string { @@ -2510,7 +2736,7 @@ type EnqueueIssueResponse struct { func (x *EnqueueIssueResponse) Reset() { *x = EnqueueIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[35] + mi := &file_state_v1_state_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2522,7 +2748,7 @@ func (x *EnqueueIssueResponse) String() string { func (*EnqueueIssueResponse) ProtoMessage() {} func (x *EnqueueIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[35] + mi := &file_state_v1_state_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2535,7 +2761,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{35} + return file_state_v1_state_proto_rawDescGZIP(), []int{38} } func (x *EnqueueIssueResponse) GetInserted() bool { @@ -2559,7 +2785,7 @@ type EnqueueChatTaskRequest struct { func (x *EnqueueChatTaskRequest) Reset() { *x = EnqueueChatTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[36] + mi := &file_state_v1_state_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2571,7 +2797,7 @@ func (x *EnqueueChatTaskRequest) String() string { func (*EnqueueChatTaskRequest) ProtoMessage() {} func (x *EnqueueChatTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[36] + mi := &file_state_v1_state_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2584,7 +2810,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{36} + return file_state_v1_state_proto_rawDescGZIP(), []int{39} } func (x *EnqueueChatTaskRequest) GetOwner() string { @@ -2638,7 +2864,7 @@ type EnqueueChatTaskResponse struct { func (x *EnqueueChatTaskResponse) Reset() { *x = EnqueueChatTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[37] + mi := &file_state_v1_state_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2650,7 +2876,7 @@ func (x *EnqueueChatTaskResponse) String() string { func (*EnqueueChatTaskResponse) ProtoMessage() {} func (x *EnqueueChatTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[37] + mi := &file_state_v1_state_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2663,7 +2889,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{37} + return file_state_v1_state_proto_rawDescGZIP(), []int{40} } func (x *EnqueueChatTaskResponse) GetTask() *Task { @@ -2681,7 +2907,7 @@ type ClaimNextRequest struct { func (x *ClaimNextRequest) Reset() { *x = ClaimNextRequest{} - mi := &file_state_v1_state_proto_msgTypes[38] + mi := &file_state_v1_state_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2693,7 +2919,7 @@ func (x *ClaimNextRequest) String() string { func (*ClaimNextRequest) ProtoMessage() {} func (x *ClaimNextRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[38] + mi := &file_state_v1_state_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2706,7 +2932,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{38} + return file_state_v1_state_proto_rawDescGZIP(), []int{41} } type ClaimNextResponse struct { @@ -2719,7 +2945,7 @@ type ClaimNextResponse struct { func (x *ClaimNextResponse) Reset() { *x = ClaimNextResponse{} - mi := &file_state_v1_state_proto_msgTypes[39] + mi := &file_state_v1_state_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2731,7 +2957,7 @@ func (x *ClaimNextResponse) String() string { func (*ClaimNextResponse) ProtoMessage() {} func (x *ClaimNextResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[39] + mi := &file_state_v1_state_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2744,7 +2970,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{39} + return file_state_v1_state_proto_rawDescGZIP(), []int{42} } func (x *ClaimNextResponse) GetTask() *Task { @@ -2772,7 +2998,7 @@ type ClaimByIssueRequest struct { func (x *ClaimByIssueRequest) Reset() { *x = ClaimByIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[40] + mi := &file_state_v1_state_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2784,7 +3010,7 @@ func (x *ClaimByIssueRequest) String() string { func (*ClaimByIssueRequest) ProtoMessage() {} func (x *ClaimByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[40] + mi := &file_state_v1_state_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2797,7 +3023,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{40} + return file_state_v1_state_proto_rawDescGZIP(), []int{43} } func (x *ClaimByIssueRequest) GetOwner() string { @@ -2831,7 +3057,7 @@ type ClaimByIssueResponse struct { func (x *ClaimByIssueResponse) Reset() { *x = ClaimByIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[41] + mi := &file_state_v1_state_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2843,7 +3069,7 @@ func (x *ClaimByIssueResponse) String() string { func (*ClaimByIssueResponse) ProtoMessage() {} func (x *ClaimByIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[41] + mi := &file_state_v1_state_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2856,7 +3082,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{41} + return file_state_v1_state_proto_rawDescGZIP(), []int{44} } func (x *ClaimByIssueResponse) GetTask() *Task { @@ -2885,7 +3111,7 @@ type TransitionRequest struct { func (x *TransitionRequest) Reset() { *x = TransitionRequest{} - mi := &file_state_v1_state_proto_msgTypes[42] + mi := &file_state_v1_state_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2897,7 +3123,7 @@ func (x *TransitionRequest) String() string { func (*TransitionRequest) ProtoMessage() {} func (x *TransitionRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[42] + mi := &file_state_v1_state_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2910,7 +3136,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{42} + return file_state_v1_state_proto_rawDescGZIP(), []int{45} } func (x *TransitionRequest) GetTaskId() int64 { @@ -2949,7 +3175,7 @@ type TransitionResponse struct { func (x *TransitionResponse) Reset() { *x = TransitionResponse{} - mi := &file_state_v1_state_proto_msgTypes[43] + mi := &file_state_v1_state_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2961,7 +3187,7 @@ func (x *TransitionResponse) String() string { func (*TransitionResponse) ProtoMessage() {} func (x *TransitionResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[43] + mi := &file_state_v1_state_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2974,7 +3200,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{43} + return file_state_v1_state_proto_rawDescGZIP(), []int{46} } type UpdateRequest struct { @@ -2986,7 +3212,7 @@ type UpdateRequest struct { func (x *UpdateRequest) Reset() { *x = UpdateRequest{} - mi := &file_state_v1_state_proto_msgTypes[44] + mi := &file_state_v1_state_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2998,7 +3224,7 @@ func (x *UpdateRequest) String() string { func (*UpdateRequest) ProtoMessage() {} func (x *UpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[44] + mi := &file_state_v1_state_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3011,7 +3237,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{44} + return file_state_v1_state_proto_rawDescGZIP(), []int{47} } func (x *UpdateRequest) GetTask() *Task { @@ -3029,7 +3255,7 @@ type UpdateResponse struct { func (x *UpdateResponse) Reset() { *x = UpdateResponse{} - mi := &file_state_v1_state_proto_msgTypes[45] + mi := &file_state_v1_state_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3041,7 +3267,7 @@ func (x *UpdateResponse) String() string { func (*UpdateResponse) ProtoMessage() {} func (x *UpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[45] + mi := &file_state_v1_state_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3054,7 +3280,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{45} + return file_state_v1_state_proto_rawDescGZIP(), []int{48} } type RequeueRequest struct { @@ -3068,7 +3294,7 @@ type RequeueRequest struct { func (x *RequeueRequest) Reset() { *x = RequeueRequest{} - mi := &file_state_v1_state_proto_msgTypes[46] + mi := &file_state_v1_state_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3080,7 +3306,7 @@ func (x *RequeueRequest) String() string { func (*RequeueRequest) ProtoMessage() {} func (x *RequeueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[46] + mi := &file_state_v1_state_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3093,7 +3319,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{46} + return file_state_v1_state_proto_rawDescGZIP(), []int{49} } func (x *RequeueRequest) GetTaskId() int64 { @@ -3125,7 +3351,7 @@ type RequeueResponse struct { func (x *RequeueResponse) Reset() { *x = RequeueResponse{} - mi := &file_state_v1_state_proto_msgTypes[47] + mi := &file_state_v1_state_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3137,7 +3363,7 @@ func (x *RequeueResponse) String() string { func (*RequeueResponse) ProtoMessage() {} func (x *RequeueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[47] + mi := &file_state_v1_state_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3150,7 +3376,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{47} + return file_state_v1_state_proto_rawDescGZIP(), []int{50} } type ParkTaskRequest struct { @@ -3165,7 +3391,7 @@ type ParkTaskRequest struct { func (x *ParkTaskRequest) Reset() { *x = ParkTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[48] + mi := &file_state_v1_state_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3177,7 +3403,7 @@ func (x *ParkTaskRequest) String() string { func (*ParkTaskRequest) ProtoMessage() {} func (x *ParkTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[48] + mi := &file_state_v1_state_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3190,7 +3416,7 @@ func (x *ParkTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ParkTaskRequest.ProtoReflect.Descriptor instead. func (*ParkTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{48} + return file_state_v1_state_proto_rawDescGZIP(), []int{51} } func (x *ParkTaskRequest) GetTaskId() int64 { @@ -3229,7 +3455,7 @@ type ParkTaskResponse struct { func (x *ParkTaskResponse) Reset() { *x = ParkTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[49] + mi := &file_state_v1_state_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3241,7 +3467,7 @@ func (x *ParkTaskResponse) String() string { func (*ParkTaskResponse) ProtoMessage() {} func (x *ParkTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[49] + mi := &file_state_v1_state_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3254,7 +3480,7 @@ func (x *ParkTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ParkTaskResponse.ProtoReflect.Descriptor instead. func (*ParkTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{49} + return file_state_v1_state_proto_rawDescGZIP(), []int{52} } type RecoverStaleRequest struct { @@ -3265,7 +3491,7 @@ type RecoverStaleRequest struct { func (x *RecoverStaleRequest) Reset() { *x = RecoverStaleRequest{} - mi := &file_state_v1_state_proto_msgTypes[50] + mi := &file_state_v1_state_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3277,7 +3503,7 @@ func (x *RecoverStaleRequest) String() string { func (*RecoverStaleRequest) ProtoMessage() {} func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[50] + mi := &file_state_v1_state_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3290,7 +3516,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{50} + return file_state_v1_state_proto_rawDescGZIP(), []int{53} } type RecoverStaleResponse struct { @@ -3302,7 +3528,7 @@ type RecoverStaleResponse struct { func (x *RecoverStaleResponse) Reset() { *x = RecoverStaleResponse{} - mi := &file_state_v1_state_proto_msgTypes[51] + mi := &file_state_v1_state_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3314,7 +3540,7 @@ func (x *RecoverStaleResponse) String() string { func (*RecoverStaleResponse) ProtoMessage() {} func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[51] + mi := &file_state_v1_state_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3327,7 +3553,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{51} + return file_state_v1_state_proto_rawDescGZIP(), []int{54} } func (x *RecoverStaleResponse) GetCount() int64 { @@ -3348,7 +3574,7 @@ type ArchiveTaskRequest struct { func (x *ArchiveTaskRequest) Reset() { *x = ArchiveTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3360,7 +3586,7 @@ func (x *ArchiveTaskRequest) String() string { func (*ArchiveTaskRequest) ProtoMessage() {} func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[52] + mi := &file_state_v1_state_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3373,7 +3599,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{52} + return file_state_v1_state_proto_rawDescGZIP(), []int{55} } func (x *ArchiveTaskRequest) GetTaskId() int64 { @@ -3406,7 +3632,7 @@ type ArchiveTaskResponse struct { func (x *ArchiveTaskResponse) Reset() { *x = ArchiveTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3418,7 +3644,7 @@ func (x *ArchiveTaskResponse) String() string { func (*ArchiveTaskResponse) ProtoMessage() {} func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[53] + mi := &file_state_v1_state_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3431,7 +3657,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{53} + return file_state_v1_state_proto_rawDescGZIP(), []int{56} } func (x *ArchiveTaskResponse) GetEventId() int64 { @@ -3452,7 +3678,7 @@ type RetryTaskRequest struct { func (x *RetryTaskRequest) Reset() { *x = RetryTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3464,7 +3690,7 @@ func (x *RetryTaskRequest) String() string { func (*RetryTaskRequest) ProtoMessage() {} func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[54] + mi := &file_state_v1_state_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3477,7 +3703,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{54} + return file_state_v1_state_proto_rawDescGZIP(), []int{57} } func (x *RetryTaskRequest) GetTaskId() int64 { @@ -3509,7 +3735,7 @@ type RetryTaskResponse struct { func (x *RetryTaskResponse) Reset() { *x = RetryTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3521,7 +3747,7 @@ func (x *RetryTaskResponse) String() string { func (*RetryTaskResponse) ProtoMessage() {} func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[55] + mi := &file_state_v1_state_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3534,7 +3760,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{55} + return file_state_v1_state_proto_rawDescGZIP(), []int{58} } type BeginRemediationRequest struct { @@ -3547,7 +3773,7 @@ type BeginRemediationRequest struct { func (x *BeginRemediationRequest) Reset() { *x = BeginRemediationRequest{} - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3559,7 +3785,7 @@ func (x *BeginRemediationRequest) String() string { func (*BeginRemediationRequest) ProtoMessage() {} func (x *BeginRemediationRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[56] + mi := &file_state_v1_state_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3572,7 +3798,7 @@ func (x *BeginRemediationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginRemediationRequest.ProtoReflect.Descriptor instead. func (*BeginRemediationRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{56} + return file_state_v1_state_proto_rawDescGZIP(), []int{59} } func (x *BeginRemediationRequest) GetTaskId() int64 { @@ -3597,7 +3823,7 @@ type BeginRemediationResponse struct { func (x *BeginRemediationResponse) Reset() { *x = BeginRemediationResponse{} - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3609,7 +3835,7 @@ func (x *BeginRemediationResponse) String() string { func (*BeginRemediationResponse) ProtoMessage() {} func (x *BeginRemediationResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[57] + mi := &file_state_v1_state_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3622,7 +3848,7 @@ func (x *BeginRemediationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginRemediationResponse.ProtoReflect.Descriptor instead. func (*BeginRemediationResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{57} + return file_state_v1_state_proto_rawDescGZIP(), []int{60} } type UpdateReviewPayloadRequest struct { @@ -3635,7 +3861,7 @@ type UpdateReviewPayloadRequest struct { func (x *UpdateReviewPayloadRequest) Reset() { *x = UpdateReviewPayloadRequest{} - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3647,7 +3873,7 @@ func (x *UpdateReviewPayloadRequest) String() string { func (*UpdateReviewPayloadRequest) ProtoMessage() {} func (x *UpdateReviewPayloadRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[58] + mi := &file_state_v1_state_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3660,7 +3886,7 @@ func (x *UpdateReviewPayloadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateReviewPayloadRequest.ProtoReflect.Descriptor instead. func (*UpdateReviewPayloadRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{58} + return file_state_v1_state_proto_rawDescGZIP(), []int{61} } func (x *UpdateReviewPayloadRequest) GetTaskId() int64 { @@ -3685,7 +3911,7 @@ type UpdateReviewPayloadResponse struct { func (x *UpdateReviewPayloadResponse) Reset() { *x = UpdateReviewPayloadResponse{} - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3697,7 +3923,7 @@ func (x *UpdateReviewPayloadResponse) String() string { func (*UpdateReviewPayloadResponse) ProtoMessage() {} func (x *UpdateReviewPayloadResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[59] + mi := &file_state_v1_state_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3710,7 +3936,7 @@ func (x *UpdateReviewPayloadResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateReviewPayloadResponse.ProtoReflect.Descriptor instead. func (*UpdateReviewPayloadResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{59} + return file_state_v1_state_proto_rawDescGZIP(), []int{62} } type SetReviewCursorsRequest struct { @@ -3724,7 +3950,7 @@ type SetReviewCursorsRequest struct { func (x *SetReviewCursorsRequest) Reset() { *x = SetReviewCursorsRequest{} - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3736,7 +3962,7 @@ func (x *SetReviewCursorsRequest) String() string { func (*SetReviewCursorsRequest) ProtoMessage() {} func (x *SetReviewCursorsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[60] + mi := &file_state_v1_state_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3749,7 +3975,7 @@ func (x *SetReviewCursorsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReviewCursorsRequest.ProtoReflect.Descriptor instead. func (*SetReviewCursorsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{60} + return file_state_v1_state_proto_rawDescGZIP(), []int{63} } func (x *SetReviewCursorsRequest) GetTaskId() int64 { @@ -3781,7 +4007,7 @@ type SetReviewCursorsResponse struct { func (x *SetReviewCursorsResponse) Reset() { *x = SetReviewCursorsResponse{} - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3793,7 +4019,7 @@ func (x *SetReviewCursorsResponse) String() string { func (*SetReviewCursorsResponse) ProtoMessage() {} func (x *SetReviewCursorsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[61] + mi := &file_state_v1_state_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3806,7 +4032,7 @@ func (x *SetReviewCursorsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReviewCursorsResponse.ProtoReflect.Descriptor instead. func (*SetReviewCursorsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{61} + return file_state_v1_state_proto_rawDescGZIP(), []int{64} } type TaskByIssueRequest struct { @@ -3820,7 +4046,7 @@ type TaskByIssueRequest struct { func (x *TaskByIssueRequest) Reset() { *x = TaskByIssueRequest{} - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3832,7 +4058,7 @@ func (x *TaskByIssueRequest) String() string { func (*TaskByIssueRequest) ProtoMessage() {} func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[62] + mi := &file_state_v1_state_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3845,7 +4071,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{62} + return file_state_v1_state_proto_rawDescGZIP(), []int{65} } func (x *TaskByIssueRequest) GetOwner() string { @@ -3879,7 +4105,7 @@ type TaskByIssueResponse struct { func (x *TaskByIssueResponse) Reset() { *x = TaskByIssueResponse{} - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3891,7 +4117,7 @@ func (x *TaskByIssueResponse) String() string { func (*TaskByIssueResponse) ProtoMessage() {} func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[63] + mi := &file_state_v1_state_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3904,7 +4130,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{63} + return file_state_v1_state_proto_rawDescGZIP(), []int{66} } func (x *TaskByIssueResponse) GetTask() *Task { @@ -3932,7 +4158,7 @@ type OpenTaskByPRRequest struct { func (x *OpenTaskByPRRequest) Reset() { *x = OpenTaskByPRRequest{} - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3944,7 +4170,7 @@ func (x *OpenTaskByPRRequest) String() string { func (*OpenTaskByPRRequest) ProtoMessage() {} func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[64] + mi := &file_state_v1_state_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3957,7 +4183,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{64} + return file_state_v1_state_proto_rawDescGZIP(), []int{67} } func (x *OpenTaskByPRRequest) GetOwner() string { @@ -3991,7 +4217,7 @@ type OpenTaskByPRResponse struct { func (x *OpenTaskByPRResponse) Reset() { *x = OpenTaskByPRResponse{} - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4003,7 +4229,7 @@ func (x *OpenTaskByPRResponse) String() string { func (*OpenTaskByPRResponse) ProtoMessage() {} func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[65] + mi := &file_state_v1_state_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4016,7 +4242,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{65} + return file_state_v1_state_proto_rawDescGZIP(), []int{68} } func (x *OpenTaskByPRResponse) GetTask() *Task { @@ -4042,7 +4268,7 @@ type TaskByIDRequest struct { func (x *TaskByIDRequest) Reset() { *x = TaskByIDRequest{} - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4054,7 +4280,7 @@ func (x *TaskByIDRequest) String() string { func (*TaskByIDRequest) ProtoMessage() {} func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[66] + mi := &file_state_v1_state_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4067,7 +4293,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{66} + return file_state_v1_state_proto_rawDescGZIP(), []int{69} } func (x *TaskByIDRequest) GetTaskId() int64 { @@ -4087,7 +4313,7 @@ type TaskByIDResponse struct { func (x *TaskByIDResponse) Reset() { *x = TaskByIDResponse{} - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4099,7 +4325,7 @@ func (x *TaskByIDResponse) String() string { func (*TaskByIDResponse) ProtoMessage() {} func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[67] + mi := &file_state_v1_state_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4112,7 +4338,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{67} + return file_state_v1_state_proto_rawDescGZIP(), []int{70} } func (x *TaskByIDResponse) GetTask() *Task { @@ -4137,7 +4363,7 @@ type OpenPRsRequest struct { func (x *OpenPRsRequest) Reset() { *x = OpenPRsRequest{} - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4149,7 +4375,7 @@ func (x *OpenPRsRequest) String() string { func (*OpenPRsRequest) ProtoMessage() {} func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[68] + mi := &file_state_v1_state_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4162,7 +4388,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{68} + return file_state_v1_state_proto_rawDescGZIP(), []int{71} } type OpenPRsResponse struct { @@ -4174,7 +4400,7 @@ type OpenPRsResponse struct { func (x *OpenPRsResponse) Reset() { *x = OpenPRsResponse{} - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4186,7 +4412,7 @@ func (x *OpenPRsResponse) String() string { func (*OpenPRsResponse) ProtoMessage() {} func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[69] + mi := &file_state_v1_state_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4199,7 +4425,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{69} + return file_state_v1_state_proto_rawDescGZIP(), []int{72} } func (x *OpenPRsResponse) GetTasks() []*Task { @@ -4217,7 +4443,7 @@ type ClearTerminalTasksRequest struct { func (x *ClearTerminalTasksRequest) Reset() { *x = ClearTerminalTasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4229,7 +4455,7 @@ func (x *ClearTerminalTasksRequest) String() string { func (*ClearTerminalTasksRequest) ProtoMessage() {} func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[70] + mi := &file_state_v1_state_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4242,7 +4468,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{70} + return file_state_v1_state_proto_rawDescGZIP(), []int{73} } type ClearTerminalTasksResponse struct { @@ -4254,7 +4480,7 @@ type ClearTerminalTasksResponse struct { func (x *ClearTerminalTasksResponse) Reset() { *x = ClearTerminalTasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4266,7 +4492,7 @@ func (x *ClearTerminalTasksResponse) String() string { func (*ClearTerminalTasksResponse) ProtoMessage() {} func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[71] + mi := &file_state_v1_state_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4279,7 +4505,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{71} + return file_state_v1_state_proto_rawDescGZIP(), []int{74} } func (x *ClearTerminalTasksResponse) GetCount() int64 { @@ -4298,7 +4524,7 @@ type TasksRequest struct { func (x *TasksRequest) Reset() { *x = TasksRequest{} - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4310,7 +4536,7 @@ func (x *TasksRequest) String() string { func (*TasksRequest) ProtoMessage() {} func (x *TasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[72] + mi := &file_state_v1_state_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4323,7 +4549,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{72} + return file_state_v1_state_proto_rawDescGZIP(), []int{75} } func (x *TasksRequest) GetLimit() int64 { @@ -4342,7 +4568,7 @@ type TasksResponse struct { func (x *TasksResponse) Reset() { *x = TasksResponse{} - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4354,7 +4580,7 @@ func (x *TasksResponse) String() string { func (*TasksResponse) ProtoMessage() {} func (x *TasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[73] + mi := &file_state_v1_state_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4367,7 +4593,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{73} + return file_state_v1_state_proto_rawDescGZIP(), []int{76} } func (x *TasksResponse) GetTasks() []*Task { @@ -4385,7 +4611,7 @@ type StatusCountsRequest struct { func (x *StatusCountsRequest) Reset() { *x = StatusCountsRequest{} - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4397,7 +4623,7 @@ func (x *StatusCountsRequest) String() string { func (*StatusCountsRequest) ProtoMessage() {} func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[74] + mi := &file_state_v1_state_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4410,7 +4636,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{74} + return file_state_v1_state_proto_rawDescGZIP(), []int{77} } type StatusCountsResponse struct { @@ -4422,7 +4648,7 @@ type StatusCountsResponse struct { func (x *StatusCountsResponse) Reset() { *x = StatusCountsResponse{} - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4434,7 +4660,7 @@ func (x *StatusCountsResponse) String() string { func (*StatusCountsResponse) ProtoMessage() {} func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[75] + mi := &file_state_v1_state_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4447,7 +4673,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{75} + return file_state_v1_state_proto_rawDescGZIP(), []int{78} } func (x *StatusCountsResponse) GetCounts() map[string]int64 { @@ -4466,7 +4692,7 @@ type InsertEventRequest struct { func (x *InsertEventRequest) Reset() { *x = InsertEventRequest{} - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4478,7 +4704,7 @@ func (x *InsertEventRequest) String() string { func (*InsertEventRequest) ProtoMessage() {} func (x *InsertEventRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[76] + mi := &file_state_v1_state_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4491,7 +4717,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{76} + return file_state_v1_state_proto_rawDescGZIP(), []int{79} } func (x *InsertEventRequest) GetEvent() *Event { @@ -4510,7 +4736,7 @@ type InsertEventResponse struct { func (x *InsertEventResponse) Reset() { *x = InsertEventResponse{} - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4522,7 +4748,7 @@ func (x *InsertEventResponse) String() string { func (*InsertEventResponse) ProtoMessage() {} func (x *InsertEventResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[77] + mi := &file_state_v1_state_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4535,7 +4761,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{77} + return file_state_v1_state_proto_rawDescGZIP(), []int{80} } func (x *InsertEventResponse) GetId() int64 { @@ -4560,7 +4786,7 @@ type EventsSinceRequest struct { func (x *EventsSinceRequest) Reset() { *x = EventsSinceRequest{} - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4572,7 +4798,7 @@ func (x *EventsSinceRequest) String() string { func (*EventsSinceRequest) ProtoMessage() {} func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[78] + mi := &file_state_v1_state_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4585,7 +4811,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{78} + return file_state_v1_state_proto_rawDescGZIP(), []int{81} } func (x *EventsSinceRequest) GetSinceId() string { @@ -4611,7 +4837,7 @@ type EventsSinceResponse struct { func (x *EventsSinceResponse) Reset() { *x = EventsSinceResponse{} - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4623,7 +4849,7 @@ func (x *EventsSinceResponse) String() string { func (*EventsSinceResponse) ProtoMessage() {} func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[79] + mi := &file_state_v1_state_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4636,7 +4862,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{79} + return file_state_v1_state_proto_rawDescGZIP(), []int{82} } func (x *EventsSinceResponse) GetEvents() []*Event { @@ -4655,7 +4881,7 @@ type TaskEventsRequest struct { func (x *TaskEventsRequest) Reset() { *x = TaskEventsRequest{} - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4667,7 +4893,7 @@ func (x *TaskEventsRequest) String() string { func (*TaskEventsRequest) ProtoMessage() {} func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[80] + mi := &file_state_v1_state_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4680,7 +4906,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{80} + return file_state_v1_state_proto_rawDescGZIP(), []int{83} } func (x *TaskEventsRequest) GetTaskId() int64 { @@ -4699,7 +4925,7 @@ type TaskEventsResponse struct { func (x *TaskEventsResponse) Reset() { *x = TaskEventsResponse{} - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4711,7 +4937,7 @@ func (x *TaskEventsResponse) String() string { func (*TaskEventsResponse) ProtoMessage() {} func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[81] + mi := &file_state_v1_state_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4724,7 +4950,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{81} + return file_state_v1_state_proto_rawDescGZIP(), []int{84} } func (x *TaskEventsResponse) GetEvents() []*Event { @@ -4742,7 +4968,7 @@ type WorkflowStatsRequest struct { func (x *WorkflowStatsRequest) Reset() { *x = WorkflowStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4754,7 +4980,7 @@ func (x *WorkflowStatsRequest) String() string { func (*WorkflowStatsRequest) ProtoMessage() {} func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[82] + mi := &file_state_v1_state_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4767,7 +4993,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{82} + return file_state_v1_state_proto_rawDescGZIP(), []int{85} } type WorkflowStatsResponse struct { @@ -4779,7 +5005,7 @@ type WorkflowStatsResponse struct { func (x *WorkflowStatsResponse) Reset() { *x = WorkflowStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4791,7 +5017,7 @@ func (x *WorkflowStatsResponse) String() string { func (*WorkflowStatsResponse) ProtoMessage() {} func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[83] + mi := &file_state_v1_state_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4804,7 +5030,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{83} + return file_state_v1_state_proto_rawDescGZIP(), []int{86} } func (x *WorkflowStatsResponse) GetStats() []*WorkflowStat { @@ -4822,7 +5048,7 @@ type StageStatsRequest struct { func (x *StageStatsRequest) Reset() { *x = StageStatsRequest{} - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4834,7 +5060,7 @@ func (x *StageStatsRequest) String() string { func (*StageStatsRequest) ProtoMessage() {} func (x *StageStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[84] + mi := &file_state_v1_state_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4847,7 +5073,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{84} + return file_state_v1_state_proto_rawDescGZIP(), []int{87} } type StageStatsResponse struct { @@ -4859,7 +5085,7 @@ type StageStatsResponse struct { func (x *StageStatsResponse) Reset() { *x = StageStatsResponse{} - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4871,7 +5097,7 @@ func (x *StageStatsResponse) String() string { func (*StageStatsResponse) ProtoMessage() {} func (x *StageStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[85] + mi := &file_state_v1_state_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4884,7 +5110,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{85} + return file_state_v1_state_proto_rawDescGZIP(), []int{88} } func (x *StageStatsResponse) GetStats() []*StageStat { @@ -4903,7 +5129,7 @@ type TokensByDayRequest struct { func (x *TokensByDayRequest) Reset() { *x = TokensByDayRequest{} - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4915,7 +5141,7 @@ func (x *TokensByDayRequest) String() string { func (*TokensByDayRequest) ProtoMessage() {} func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[86] + mi := &file_state_v1_state_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4928,7 +5154,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{86} + return file_state_v1_state_proto_rawDescGZIP(), []int{89} } func (x *TokensByDayRequest) GetDays() int64 { @@ -4947,7 +5173,7 @@ type TokensByDayResponse struct { func (x *TokensByDayResponse) Reset() { *x = TokensByDayResponse{} - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4959,7 +5185,7 @@ func (x *TokensByDayResponse) String() string { func (*TokensByDayResponse) ProtoMessage() {} func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[87] + mi := &file_state_v1_state_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4972,7 +5198,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{87} + return file_state_v1_state_proto_rawDescGZIP(), []int{90} } func (x *TokensByDayResponse) GetTokens() []*DayTokens { @@ -4999,7 +5225,7 @@ type ConfigSnapshot struct { func (x *ConfigSnapshot) Reset() { *x = ConfigSnapshot{} - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5011,7 +5237,7 @@ func (x *ConfigSnapshot) String() string { func (*ConfigSnapshot) ProtoMessage() {} func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[88] + mi := &file_state_v1_state_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5024,7 +5250,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{88} + return file_state_v1_state_proto_rawDescGZIP(), []int{91} } func (x *ConfigSnapshot) GetSchema() string { @@ -5057,7 +5283,7 @@ type PutConfigSnapshotRequest struct { func (x *PutConfigSnapshotRequest) Reset() { *x = PutConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5069,7 +5295,7 @@ func (x *PutConfigSnapshotRequest) String() string { func (*PutConfigSnapshotRequest) ProtoMessage() {} func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[89] + mi := &file_state_v1_state_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5082,7 +5308,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{89} + return file_state_v1_state_proto_rawDescGZIP(), []int{92} } func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot { @@ -5100,7 +5326,7 @@ type PutConfigSnapshotResponse struct { func (x *PutConfigSnapshotResponse) Reset() { *x = PutConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5112,7 +5338,7 @@ func (x *PutConfigSnapshotResponse) String() string { func (*PutConfigSnapshotResponse) ProtoMessage() {} func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[90] + mi := &file_state_v1_state_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5125,7 +5351,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{90} + return file_state_v1_state_proto_rawDescGZIP(), []int{93} } type GetConfigSnapshotRequest struct { @@ -5136,7 +5362,7 @@ type GetConfigSnapshotRequest struct { func (x *GetConfigSnapshotRequest) Reset() { *x = GetConfigSnapshotRequest{} - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5148,7 +5374,7 @@ func (x *GetConfigSnapshotRequest) String() string { func (*GetConfigSnapshotRequest) ProtoMessage() {} func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[91] + mi := &file_state_v1_state_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5161,7 +5387,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{91} + return file_state_v1_state_proto_rawDescGZIP(), []int{94} } type GetConfigSnapshotResponse struct { @@ -5174,7 +5400,7 @@ type GetConfigSnapshotResponse struct { func (x *GetConfigSnapshotResponse) Reset() { *x = GetConfigSnapshotResponse{} - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5186,7 +5412,7 @@ func (x *GetConfigSnapshotResponse) String() string { func (*GetConfigSnapshotResponse) ProtoMessage() {} func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[92] + mi := &file_state_v1_state_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5199,7 +5425,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{92} + return file_state_v1_state_proto_rawDescGZIP(), []int{95} } func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot { @@ -5236,7 +5462,7 @@ type ChannelStatus struct { func (x *ChannelStatus) Reset() { *x = ChannelStatus{} - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5248,7 +5474,7 @@ func (x *ChannelStatus) String() string { func (*ChannelStatus) ProtoMessage() {} func (x *ChannelStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[93] + mi := &file_state_v1_state_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5261,7 +5487,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{93} + return file_state_v1_state_proto_rawDescGZIP(), []int{96} } func (x *ChannelStatus) GetId() string { @@ -5322,7 +5548,7 @@ type PutChannelStatusRequest struct { func (x *PutChannelStatusRequest) Reset() { *x = PutChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5334,7 +5560,7 @@ func (x *PutChannelStatusRequest) String() string { func (*PutChannelStatusRequest) ProtoMessage() {} func (x *PutChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[94] + mi := &file_state_v1_state_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5347,7 +5573,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{94} + return file_state_v1_state_proto_rawDescGZIP(), []int{97} } func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus { @@ -5365,7 +5591,7 @@ type PutChannelStatusResponse struct { func (x *PutChannelStatusResponse) Reset() { *x = PutChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5377,7 +5603,7 @@ func (x *PutChannelStatusResponse) String() string { func (*PutChannelStatusResponse) ProtoMessage() {} func (x *PutChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[95] + mi := &file_state_v1_state_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5390,7 +5616,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{95} + return file_state_v1_state_proto_rawDescGZIP(), []int{98} } type ListChannelStatusRequest struct { @@ -5401,7 +5627,7 @@ type ListChannelStatusRequest struct { func (x *ListChannelStatusRequest) Reset() { *x = ListChannelStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5413,7 +5639,7 @@ func (x *ListChannelStatusRequest) String() string { func (*ListChannelStatusRequest) ProtoMessage() {} func (x *ListChannelStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[96] + mi := &file_state_v1_state_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5426,7 +5652,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{96} + return file_state_v1_state_proto_rawDescGZIP(), []int{99} } type ListChannelStatusResponse struct { @@ -5438,7 +5664,7 @@ type ListChannelStatusResponse struct { func (x *ListChannelStatusResponse) Reset() { *x = ListChannelStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5450,7 +5676,7 @@ func (x *ListChannelStatusResponse) String() string { func (*ListChannelStatusResponse) ProtoMessage() {} func (x *ListChannelStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[97] + mi := &file_state_v1_state_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5463,7 +5689,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{97} + return file_state_v1_state_proto_rawDescGZIP(), []int{100} } func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus { @@ -5492,7 +5718,7 @@ type ApplyStatus struct { func (x *ApplyStatus) Reset() { *x = ApplyStatus{} - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5504,7 +5730,7 @@ func (x *ApplyStatus) String() string { func (*ApplyStatus) ProtoMessage() {} func (x *ApplyStatus) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[98] + mi := &file_state_v1_state_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5517,7 +5743,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{98} + return file_state_v1_state_proto_rawDescGZIP(), []int{101} } func (x *ApplyStatus) GetProcess() string { @@ -5564,7 +5790,7 @@ type PutApplyStatusRequest struct { func (x *PutApplyStatusRequest) Reset() { *x = PutApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5576,7 +5802,7 @@ func (x *PutApplyStatusRequest) String() string { func (*PutApplyStatusRequest) ProtoMessage() {} func (x *PutApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[99] + mi := &file_state_v1_state_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5589,7 +5815,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{99} + return file_state_v1_state_proto_rawDescGZIP(), []int{102} } func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus { @@ -5607,7 +5833,7 @@ type PutApplyStatusResponse struct { func (x *PutApplyStatusResponse) Reset() { *x = PutApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5619,7 +5845,7 @@ func (x *PutApplyStatusResponse) String() string { func (*PutApplyStatusResponse) ProtoMessage() {} func (x *PutApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[100] + mi := &file_state_v1_state_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5632,7 +5858,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{100} + return file_state_v1_state_proto_rawDescGZIP(), []int{103} } type ListApplyStatusRequest struct { @@ -5643,7 +5869,7 @@ type ListApplyStatusRequest struct { func (x *ListApplyStatusRequest) Reset() { *x = ListApplyStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5655,7 +5881,7 @@ func (x *ListApplyStatusRequest) String() string { func (*ListApplyStatusRequest) ProtoMessage() {} func (x *ListApplyStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[101] + mi := &file_state_v1_state_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5668,7 +5894,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{101} + return file_state_v1_state_proto_rawDescGZIP(), []int{104} } type ListApplyStatusResponse struct { @@ -5680,7 +5906,7 @@ type ListApplyStatusResponse struct { func (x *ListApplyStatusResponse) Reset() { *x = ListApplyStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5692,7 +5918,7 @@ func (x *ListApplyStatusResponse) String() string { func (*ListApplyStatusResponse) ProtoMessage() {} func (x *ListApplyStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[102] + mi := &file_state_v1_state_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5705,7 +5931,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{102} + return file_state_v1_state_proto_rawDescGZIP(), []int{105} } func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus { @@ -5732,7 +5958,7 @@ type TaskLogEntry struct { func (x *TaskLogEntry) Reset() { *x = TaskLogEntry{} - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5744,7 +5970,7 @@ func (x *TaskLogEntry) String() string { func (*TaskLogEntry) ProtoMessage() {} func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[103] + mi := &file_state_v1_state_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5757,7 +5983,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{103} + return file_state_v1_state_proto_rawDescGZIP(), []int{106} } func (x *TaskLogEntry) GetId() int64 { @@ -5822,7 +6048,7 @@ type ReadTaskLogRequest struct { func (x *ReadTaskLogRequest) Reset() { *x = ReadTaskLogRequest{} - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5834,7 +6060,7 @@ func (x *ReadTaskLogRequest) String() string { func (*ReadTaskLogRequest) ProtoMessage() {} func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[104] + mi := &file_state_v1_state_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5847,7 +6073,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{104} + return file_state_v1_state_proto_rawDescGZIP(), []int{107} } func (x *ReadTaskLogRequest) GetTaskId() int64 { @@ -5933,7 +6159,7 @@ type ReadTaskLogResponse struct { func (x *ReadTaskLogResponse) Reset() { *x = ReadTaskLogResponse{} - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5945,7 +6171,7 @@ func (x *ReadTaskLogResponse) String() string { func (*ReadTaskLogResponse) ProtoMessage() {} func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[105] + mi := &file_state_v1_state_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5958,7 +6184,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{105} + return file_state_v1_state_proto_rawDescGZIP(), []int{108} } func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry { @@ -6017,7 +6243,7 @@ type StreamTaskLogContentRequest struct { func (x *StreamTaskLogContentRequest) Reset() { *x = StreamTaskLogContentRequest{} - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6029,7 +6255,7 @@ func (x *StreamTaskLogContentRequest) String() string { func (*StreamTaskLogContentRequest) ProtoMessage() {} func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[106] + mi := &file_state_v1_state_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6042,7 +6268,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{106} + return file_state_v1_state_proto_rawDescGZIP(), []int{109} } func (x *StreamTaskLogContentRequest) GetTaskId() int64 { @@ -6070,7 +6296,7 @@ type StreamTaskLogContentResponse struct { func (x *StreamTaskLogContentResponse) Reset() { *x = StreamTaskLogContentResponse{} - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6082,7 +6308,7 @@ func (x *StreamTaskLogContentResponse) String() string { func (*StreamTaskLogContentResponse) ProtoMessage() {} func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[107] + mi := &file_state_v1_state_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6095,7 +6321,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{107} + return file_state_v1_state_proto_rawDescGZIP(), []int{110} } func (x *StreamTaskLogContentResponse) GetChunk() []byte { @@ -6130,7 +6356,7 @@ type InsertCaptureRequest struct { func (x *InsertCaptureRequest) Reset() { *x = InsertCaptureRequest{} - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6142,7 +6368,7 @@ func (x *InsertCaptureRequest) String() string { func (*InsertCaptureRequest) ProtoMessage() {} func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[108] + mi := &file_state_v1_state_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6155,7 +6381,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{108} + return file_state_v1_state_proto_rawDescGZIP(), []int{111} } func (x *InsertCaptureRequest) GetCapture() *CapturedEvent { @@ -6188,7 +6414,7 @@ type InsertCaptureResponse struct { func (x *InsertCaptureResponse) Reset() { *x = InsertCaptureResponse{} - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6200,7 +6426,7 @@ func (x *InsertCaptureResponse) String() string { func (*InsertCaptureResponse) ProtoMessage() {} func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[109] + mi := &file_state_v1_state_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6213,7 +6439,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{109} + return file_state_v1_state_proto_rawDescGZIP(), []int{112} } func (x *InsertCaptureResponse) GetId() string { @@ -6232,7 +6458,7 @@ type ListCapturesRequest struct { func (x *ListCapturesRequest) Reset() { *x = ListCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6244,7 +6470,7 @@ func (x *ListCapturesRequest) String() string { func (*ListCapturesRequest) ProtoMessage() {} func (x *ListCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[110] + mi := &file_state_v1_state_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6257,7 +6483,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{110} + return file_state_v1_state_proto_rawDescGZIP(), []int{113} } func (x *ListCapturesRequest) GetLimit() int64 { @@ -6276,7 +6502,7 @@ type ListCapturesResponse struct { func (x *ListCapturesResponse) Reset() { *x = ListCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6288,7 +6514,7 @@ func (x *ListCapturesResponse) String() string { func (*ListCapturesResponse) ProtoMessage() {} func (x *ListCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[111] + mi := &file_state_v1_state_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6301,7 +6527,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{111} + return file_state_v1_state_proto_rawDescGZIP(), []int{114} } func (x *ListCapturesResponse) GetCaptures() []*CapturedEvent { @@ -6320,7 +6546,7 @@ type StreamCapturesRequest struct { func (x *StreamCapturesRequest) Reset() { *x = StreamCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6332,7 +6558,7 @@ func (x *StreamCapturesRequest) String() string { func (*StreamCapturesRequest) ProtoMessage() {} func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[112] + mi := &file_state_v1_state_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6345,7 +6571,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{112} + return file_state_v1_state_proto_rawDescGZIP(), []int{115} } func (x *StreamCapturesRequest) GetLimit() int64 { @@ -6365,7 +6591,7 @@ type StreamCapturesResponse struct { func (x *StreamCapturesResponse) Reset() { *x = StreamCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6377,7 +6603,7 @@ func (x *StreamCapturesResponse) String() string { func (*StreamCapturesResponse) ProtoMessage() {} func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[113] + mi := &file_state_v1_state_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6390,7 +6616,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{113} + return file_state_v1_state_proto_rawDescGZIP(), []int{116} } func (x *StreamCapturesResponse) GetCapture() *CapturedEvent { @@ -6409,7 +6635,7 @@ type InsertMappingRequest struct { func (x *InsertMappingRequest) Reset() { *x = InsertMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6421,7 +6647,7 @@ func (x *InsertMappingRequest) String() string { func (*InsertMappingRequest) ProtoMessage() {} func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[114] + mi := &file_state_v1_state_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6434,7 +6660,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{114} + return file_state_v1_state_proto_rawDescGZIP(), []int{117} } func (x *InsertMappingRequest) GetMapping() *Mapping { @@ -6453,7 +6679,7 @@ type InsertMappingResponse struct { func (x *InsertMappingResponse) Reset() { *x = InsertMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6465,7 +6691,7 @@ func (x *InsertMappingResponse) String() string { func (*InsertMappingResponse) ProtoMessage() {} func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[115] + mi := &file_state_v1_state_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6478,7 +6704,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{115} + return file_state_v1_state_proto_rawDescGZIP(), []int{118} } func (x *InsertMappingResponse) GetId() string { @@ -6497,7 +6723,7 @@ type GetMappingRequest struct { func (x *GetMappingRequest) Reset() { *x = GetMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6509,7 +6735,7 @@ func (x *GetMappingRequest) String() string { func (*GetMappingRequest) ProtoMessage() {} func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[116] + mi := &file_state_v1_state_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6522,7 +6748,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{116} + return file_state_v1_state_proto_rawDescGZIP(), []int{119} } func (x *GetMappingRequest) GetId() string { @@ -6542,7 +6768,7 @@ type GetMappingResponse struct { func (x *GetMappingResponse) Reset() { *x = GetMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6554,7 +6780,7 @@ func (x *GetMappingResponse) String() string { func (*GetMappingResponse) ProtoMessage() {} func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[117] + mi := &file_state_v1_state_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6567,7 +6793,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{117} + return file_state_v1_state_proto_rawDescGZIP(), []int{120} } func (x *GetMappingResponse) GetMapping() *Mapping { @@ -6592,7 +6818,7 @@ type ListMappingsRequest struct { func (x *ListMappingsRequest) Reset() { *x = ListMappingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6604,7 +6830,7 @@ func (x *ListMappingsRequest) String() string { func (*ListMappingsRequest) ProtoMessage() {} func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[118] + mi := &file_state_v1_state_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6617,7 +6843,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{118} + return file_state_v1_state_proto_rawDescGZIP(), []int{121} } type ListMappingsResponse struct { @@ -6629,7 +6855,7 @@ type ListMappingsResponse struct { func (x *ListMappingsResponse) Reset() { *x = ListMappingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6641,7 +6867,7 @@ func (x *ListMappingsResponse) String() string { func (*ListMappingsResponse) ProtoMessage() {} func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[119] + mi := &file_state_v1_state_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6654,7 +6880,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{119} + return file_state_v1_state_proto_rawDescGZIP(), []int{122} } func (x *ListMappingsResponse) GetMappings() []*Mapping { @@ -6673,7 +6899,7 @@ type UpdateMappingRequest struct { func (x *UpdateMappingRequest) Reset() { *x = UpdateMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6685,7 +6911,7 @@ func (x *UpdateMappingRequest) String() string { func (*UpdateMappingRequest) ProtoMessage() {} func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[120] + mi := &file_state_v1_state_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6698,7 +6924,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{120} + return file_state_v1_state_proto_rawDescGZIP(), []int{123} } func (x *UpdateMappingRequest) GetMapping() *Mapping { @@ -6716,7 +6942,7 @@ type UpdateMappingResponse struct { func (x *UpdateMappingResponse) Reset() { *x = UpdateMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6728,7 +6954,7 @@ func (x *UpdateMappingResponse) String() string { func (*UpdateMappingResponse) ProtoMessage() {} func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[121] + mi := &file_state_v1_state_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6741,7 +6967,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{121} + return file_state_v1_state_proto_rawDescGZIP(), []int{124} } type DeleteMappingRequest struct { @@ -6753,7 +6979,7 @@ type DeleteMappingRequest struct { func (x *DeleteMappingRequest) Reset() { *x = DeleteMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6765,7 +6991,7 @@ func (x *DeleteMappingRequest) String() string { func (*DeleteMappingRequest) ProtoMessage() {} func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[122] + mi := &file_state_v1_state_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6778,7 +7004,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{122} + return file_state_v1_state_proto_rawDescGZIP(), []int{125} } func (x *DeleteMappingRequest) GetId() string { @@ -6796,7 +7022,7 @@ type DeleteMappingResponse struct { func (x *DeleteMappingResponse) Reset() { *x = DeleteMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6808,7 +7034,7 @@ func (x *DeleteMappingResponse) String() string { func (*DeleteMappingResponse) ProtoMessage() {} func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6821,7 +7047,335 @@ 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{123} + return file_state_v1_state_proto_rawDescGZIP(), []int{126} +} + +type InsertEventTypeRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + EventType *EventType `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *InsertEventTypeRequest) Reset() { + *x = InsertEventTypeRequest{} + mi := &file_state_v1_state_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *InsertEventTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InsertEventTypeRequest) ProtoMessage() {} + +func (x *InsertEventTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[127] + 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 InsertEventTypeRequest.ProtoReflect.Descriptor instead. +func (*InsertEventTypeRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{127} +} + +func (x *InsertEventTypeRequest) GetEventType() *EventType { + if x != nil { + return x.EventType + } + return nil +} + +type InsertEventTypeResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *InsertEventTypeResponse) Reset() { + *x = InsertEventTypeResponse{} + mi := &file_state_v1_state_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *InsertEventTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InsertEventTypeResponse) ProtoMessage() {} + +func (x *InsertEventTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[128] + 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 InsertEventTypeResponse.ProtoReflect.Descriptor instead. +func (*InsertEventTypeResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{128} +} + +func (x *InsertEventTypeResponse) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type UpdateEventTypeRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + EventType *EventType `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateEventTypeRequest) Reset() { + *x = UpdateEventTypeRequest{} + mi := &file_state_v1_state_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateEventTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateEventTypeRequest) ProtoMessage() {} + +func (x *UpdateEventTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[129] + 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 UpdateEventTypeRequest.ProtoReflect.Descriptor instead. +func (*UpdateEventTypeRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{129} +} + +func (x *UpdateEventTypeRequest) GetEventType() *EventType { + if x != nil { + return x.EventType + } + return nil +} + +type UpdateEventTypeResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateEventTypeResponse) Reset() { + *x = UpdateEventTypeResponse{} + mi := &file_state_v1_state_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateEventTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateEventTypeResponse) ProtoMessage() {} + +func (x *UpdateEventTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[130] + 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 UpdateEventTypeResponse.ProtoReflect.Descriptor instead. +func (*UpdateEventTypeResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{130} +} + +type DeleteEventTypeRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DeleteEventTypeRequest) Reset() { + *x = DeleteEventTypeRequest{} + mi := &file_state_v1_state_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DeleteEventTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteEventTypeRequest) ProtoMessage() {} + +func (x *DeleteEventTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[131] + 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 DeleteEventTypeRequest.ProtoReflect.Descriptor instead. +func (*DeleteEventTypeRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{131} +} + +func (x *DeleteEventTypeRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type DeleteEventTypeResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DeleteEventTypeResponse) Reset() { + *x = DeleteEventTypeResponse{} + mi := &file_state_v1_state_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DeleteEventTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteEventTypeResponse) ProtoMessage() {} + +func (x *DeleteEventTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[132] + 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 DeleteEventTypeResponse.ProtoReflect.Descriptor instead. +func (*DeleteEventTypeResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{132} +} + +type ListEventTypesRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListEventTypesRequest) Reset() { + *x = ListEventTypesRequest{} + mi := &file_state_v1_state_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListEventTypesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListEventTypesRequest) ProtoMessage() {} + +func (x *ListEventTypesRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[133] + 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 ListEventTypesRequest.ProtoReflect.Descriptor instead. +func (*ListEventTypesRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{133} +} + +type ListEventTypesResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + EventTypes []*EventType `protobuf:"bytes,1,rep,name=event_types,json=eventTypes,proto3" json:"event_types,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListEventTypesResponse) Reset() { + *x = ListEventTypesResponse{} + mi := &file_state_v1_state_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListEventTypesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListEventTypesResponse) ProtoMessage() {} + +func (x *ListEventTypesResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[134] + 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 ListEventTypesResponse.ProtoReflect.Descriptor instead. +func (*ListEventTypesResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{134} +} + +func (x *ListEventTypesResponse) GetEventTypes() []*EventType { + if x != nil { + return x.EventTypes + } + return nil } type InsertBindingRequest struct { @@ -6833,7 +7387,7 @@ type InsertBindingRequest struct { func (x *InsertBindingRequest) Reset() { *x = InsertBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6845,7 +7399,7 @@ func (x *InsertBindingRequest) String() string { func (*InsertBindingRequest) ProtoMessage() {} func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6858,7 +7412,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{124} + return file_state_v1_state_proto_rawDescGZIP(), []int{135} } func (x *InsertBindingRequest) GetBinding() *Binding { @@ -6877,7 +7431,7 @@ type InsertBindingResponse struct { func (x *InsertBindingResponse) Reset() { *x = InsertBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6889,7 +7443,7 @@ func (x *InsertBindingResponse) String() string { func (*InsertBindingResponse) ProtoMessage() {} func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6902,7 +7456,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{125} + return file_state_v1_state_proto_rawDescGZIP(), []int{136} } func (x *InsertBindingResponse) GetId() string { @@ -6921,7 +7475,7 @@ type GetBindingRequest struct { func (x *GetBindingRequest) Reset() { *x = GetBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6933,7 +7487,7 @@ func (x *GetBindingRequest) String() string { func (*GetBindingRequest) ProtoMessage() {} func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6946,7 +7500,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{126} + return file_state_v1_state_proto_rawDescGZIP(), []int{137} } func (x *GetBindingRequest) GetId() string { @@ -6966,7 +7520,7 @@ type GetBindingResponse struct { func (x *GetBindingResponse) Reset() { *x = GetBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6978,7 +7532,7 @@ func (x *GetBindingResponse) String() string { func (*GetBindingResponse) ProtoMessage() {} func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6991,7 +7545,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{127} + return file_state_v1_state_proto_rawDescGZIP(), []int{138} } func (x *GetBindingResponse) GetBinding() *Binding { @@ -7016,7 +7570,7 @@ type ListBindingsRequest struct { func (x *ListBindingsRequest) Reset() { *x = ListBindingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7028,7 +7582,7 @@ func (x *ListBindingsRequest) String() string { func (*ListBindingsRequest) ProtoMessage() {} func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7041,7 +7595,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{128} + return file_state_v1_state_proto_rawDescGZIP(), []int{139} } type ListBindingsResponse struct { @@ -7053,7 +7607,7 @@ type ListBindingsResponse struct { func (x *ListBindingsResponse) Reset() { *x = ListBindingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7065,7 +7619,7 @@ func (x *ListBindingsResponse) String() string { func (*ListBindingsResponse) ProtoMessage() {} func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7078,7 +7632,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{129} + return file_state_v1_state_proto_rawDescGZIP(), []int{140} } func (x *ListBindingsResponse) GetBindings() []*Binding { @@ -7097,7 +7651,7 @@ type UpdateBindingRequest struct { func (x *UpdateBindingRequest) Reset() { *x = UpdateBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7109,7 +7663,7 @@ func (x *UpdateBindingRequest) String() string { func (*UpdateBindingRequest) ProtoMessage() {} func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7122,7 +7676,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{130} + return file_state_v1_state_proto_rawDescGZIP(), []int{141} } func (x *UpdateBindingRequest) GetBinding() *Binding { @@ -7140,7 +7694,7 @@ type UpdateBindingResponse struct { func (x *UpdateBindingResponse) Reset() { *x = UpdateBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7152,7 +7706,7 @@ func (x *UpdateBindingResponse) String() string { func (*UpdateBindingResponse) ProtoMessage() {} func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[142] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7165,7 +7719,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{131} + return file_state_v1_state_proto_rawDescGZIP(), []int{142} } type DeleteBindingRequest struct { @@ -7177,7 +7731,7 @@ type DeleteBindingRequest struct { func (x *DeleteBindingRequest) Reset() { *x = DeleteBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7189,7 +7743,7 @@ func (x *DeleteBindingRequest) String() string { func (*DeleteBindingRequest) ProtoMessage() {} func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[143] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7202,7 +7756,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{132} + return file_state_v1_state_proto_rawDescGZIP(), []int{143} } func (x *DeleteBindingRequest) GetId() string { @@ -7220,7 +7774,7 @@ type DeleteBindingResponse struct { func (x *DeleteBindingResponse) Reset() { *x = DeleteBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7232,7 +7786,7 @@ func (x *DeleteBindingResponse) String() string { func (*DeleteBindingResponse) ProtoMessage() {} func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[144] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7245,7 +7799,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{133} + return file_state_v1_state_proto_rawDescGZIP(), []int{144} } type ApproveBindingRequest struct { @@ -7257,7 +7811,7 @@ type ApproveBindingRequest struct { func (x *ApproveBindingRequest) Reset() { *x = ApproveBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7269,7 +7823,7 @@ func (x *ApproveBindingRequest) String() string { func (*ApproveBindingRequest) ProtoMessage() {} func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[145] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7282,7 +7836,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{134} + return file_state_v1_state_proto_rawDescGZIP(), []int{145} } func (x *ApproveBindingRequest) GetId() string { @@ -7300,7 +7854,7 @@ type ApproveBindingResponse struct { func (x *ApproveBindingResponse) Reset() { *x = ApproveBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7312,7 +7866,7 @@ func (x *ApproveBindingResponse) String() string { func (*ApproveBindingResponse) ProtoMessage() {} func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[146] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7325,7 +7879,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{135} + return file_state_v1_state_proto_rawDescGZIP(), []int{146} } type ArmedBindingsForSourceRequest struct { @@ -7337,7 +7891,7 @@ type ArmedBindingsForSourceRequest struct { func (x *ArmedBindingsForSourceRequest) Reset() { *x = ArmedBindingsForSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7349,7 +7903,7 @@ func (x *ArmedBindingsForSourceRequest) String() string { func (*ArmedBindingsForSourceRequest) ProtoMessage() {} func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[147] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7362,7 +7916,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{136} + return file_state_v1_state_proto_rawDescGZIP(), []int{147} } func (x *ArmedBindingsForSourceRequest) GetSource() string { @@ -7381,7 +7935,7 @@ type ArmedBindingsForSourceResponse struct { func (x *ArmedBindingsForSourceResponse) Reset() { *x = ArmedBindingsForSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7393,7 +7947,7 @@ func (x *ArmedBindingsForSourceResponse) String() string { func (*ArmedBindingsForSourceResponse) ProtoMessage() {} func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[148] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7406,7 +7960,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{137} + return file_state_v1_state_proto_rawDescGZIP(), []int{148} } func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding { @@ -7429,7 +7983,7 @@ type RecordDispatchRequest struct { func (x *RecordDispatchRequest) Reset() { *x = RecordDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7441,7 +7995,7 @@ func (x *RecordDispatchRequest) String() string { func (*RecordDispatchRequest) ProtoMessage() {} func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[149] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7454,7 +8008,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{138} + return file_state_v1_state_proto_rawDescGZIP(), []int{149} } func (x *RecordDispatchRequest) GetBindingId() string { @@ -7493,7 +8047,7 @@ type RecordDispatchResponse struct { func (x *RecordDispatchResponse) Reset() { *x = RecordDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7505,7 +8059,7 @@ func (x *RecordDispatchResponse) String() string { func (*RecordDispatchResponse) ProtoMessage() {} func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[150] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7518,7 +8072,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{139} + return file_state_v1_state_proto_rawDescGZIP(), []int{150} } type RecordPlaybookDispatchRequest struct { @@ -7533,7 +8087,7 @@ type RecordPlaybookDispatchRequest struct { func (x *RecordPlaybookDispatchRequest) Reset() { *x = RecordPlaybookDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7545,7 +8099,7 @@ func (x *RecordPlaybookDispatchRequest) String() string { func (*RecordPlaybookDispatchRequest) ProtoMessage() {} func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[151] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7558,7 +8112,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{140} + return file_state_v1_state_proto_rawDescGZIP(), []int{151} } func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string { @@ -7597,7 +8151,7 @@ type RecordPlaybookDispatchResponse struct { func (x *RecordPlaybookDispatchResponse) Reset() { *x = RecordPlaybookDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7609,7 +8163,7 @@ func (x *RecordPlaybookDispatchResponse) String() string { func (*RecordPlaybookDispatchResponse) ProtoMessage() {} func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[152] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7622,7 +8176,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{141} + return file_state_v1_state_proto_rawDescGZIP(), []int{152} } type DeletePlaybookDispatchesRequest struct { @@ -7634,7 +8188,7 @@ type DeletePlaybookDispatchesRequest struct { func (x *DeletePlaybookDispatchesRequest) Reset() { *x = DeletePlaybookDispatchesRequest{} - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7646,7 +8200,7 @@ func (x *DeletePlaybookDispatchesRequest) String() string { func (*DeletePlaybookDispatchesRequest) ProtoMessage() {} func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[153] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7659,7 +8213,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{142} + return file_state_v1_state_proto_rawDescGZIP(), []int{153} } func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string { @@ -7677,7 +8231,7 @@ type DeletePlaybookDispatchesResponse struct { func (x *DeletePlaybookDispatchesResponse) Reset() { *x = DeletePlaybookDispatchesResponse{} - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7689,7 +8243,7 @@ func (x *DeletePlaybookDispatchesResponse) String() string { func (*DeletePlaybookDispatchesResponse) ProtoMessage() {} func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[154] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7702,7 +8256,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{143} + return file_state_v1_state_proto_rawDescGZIP(), []int{154} } type ListUndispatchedCapturesRequest struct { @@ -7715,7 +8269,7 @@ type ListUndispatchedCapturesRequest struct { func (x *ListUndispatchedCapturesRequest) Reset() { *x = ListUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7727,7 +8281,7 @@ func (x *ListUndispatchedCapturesRequest) String() string { func (*ListUndispatchedCapturesRequest) ProtoMessage() {} func (x *ListUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[155] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7740,7 +8294,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{144} + return file_state_v1_state_proto_rawDescGZIP(), []int{155} } func (x *ListUndispatchedCapturesRequest) GetSources() []string { @@ -7766,7 +8320,7 @@ type ListUndispatchedCapturesResponse struct { func (x *ListUndispatchedCapturesResponse) Reset() { *x = ListUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7778,7 +8332,7 @@ func (x *ListUndispatchedCapturesResponse) String() string { func (*ListUndispatchedCapturesResponse) ProtoMessage() {} func (x *ListUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[156] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7791,7 +8345,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{145} + return file_state_v1_state_proto_rawDescGZIP(), []int{156} } func (x *ListUndispatchedCapturesResponse) GetCaptures() []*CapturedEvent { @@ -7811,7 +8365,7 @@ type StreamUndispatchedCapturesRequest struct { func (x *StreamUndispatchedCapturesRequest) Reset() { *x = StreamUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7823,7 +8377,7 @@ func (x *StreamUndispatchedCapturesRequest) String() string { func (*StreamUndispatchedCapturesRequest) ProtoMessage() {} func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[157] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7836,7 +8390,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{146} + return file_state_v1_state_proto_rawDescGZIP(), []int{157} } func (x *StreamUndispatchedCapturesRequest) GetSources() []string { @@ -7863,7 +8417,7 @@ type StreamUndispatchedCapturesResponse struct { func (x *StreamUndispatchedCapturesResponse) Reset() { *x = StreamUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7875,7 +8429,7 @@ func (x *StreamUndispatchedCapturesResponse) String() string { func (*StreamUndispatchedCapturesResponse) ProtoMessage() {} func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[158] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7888,7 +8442,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{147} + return file_state_v1_state_proto_rawDescGZIP(), []int{158} } func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent { @@ -7914,7 +8468,7 @@ type EnqueueBindingTaskRequest struct { func (x *EnqueueBindingTaskRequest) Reset() { *x = EnqueueBindingTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[148] + mi := &file_state_v1_state_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7926,7 +8480,7 @@ func (x *EnqueueBindingTaskRequest) String() string { func (*EnqueueBindingTaskRequest) ProtoMessage() {} func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[148] + mi := &file_state_v1_state_proto_msgTypes[159] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7939,7 +8493,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{148} + return file_state_v1_state_proto_rawDescGZIP(), []int{159} } func (x *EnqueueBindingTaskRequest) GetOwner() string { @@ -8007,7 +8561,7 @@ type EnqueueBindingTaskResponse struct { func (x *EnqueueBindingTaskResponse) Reset() { *x = EnqueueBindingTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[149] + mi := &file_state_v1_state_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8019,7 +8573,7 @@ func (x *EnqueueBindingTaskResponse) String() string { func (*EnqueueBindingTaskResponse) ProtoMessage() {} func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[149] + mi := &file_state_v1_state_proto_msgTypes[160] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8032,7 +8586,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{149} + return file_state_v1_state_proto_rawDescGZIP(), []int{160} } func (x *EnqueueBindingTaskResponse) GetTask() *Task { @@ -8183,7 +8737,7 @@ const file_state_v1_state_proto_rawDesc = "" + "\bactor_id\x18\f \x01(\tR\aactorId\x12\x1d\n" + "\n" + "actor_kind\x18\r \x01(\tR\tactorKind\x12!\n" + - "\fprincipal_id\x18\x0e \x01(\tR\vprincipalId\"\x8c\x02\n" + + "\fprincipal_id\x18\x0e \x01(\tR\vprincipalId\"\xab\x02\n" + "\rCapturedEvent\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\x12;\n" + "\vreceived_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" + @@ -8194,7 +8748,30 @@ const file_state_v1_state_proto_rawDesc = "" + "\fcontent_type\x18\x05 \x01(\tR\vcontentType\x12\x18\n" + "\aheaders\x18\x06 \x01(\tR\aheaders\x12\x12\n" + "\x04body\x18\a \x01(\tR\x04body\x12$\n" + - "\rauthenticated\x18\b \x01(\bR\rauthenticated\"f\n" + + "\rauthenticated\x18\b \x01(\bR\rauthenticated\x12\x1d\n" + + "\n" + + "event_type\x18\t \x01(\tR\teventType\"D\n" + + "\x18EventTypeHeaderCondition\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value\"U\n" + + "\x19EventTypePayloadCondition\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\x12\x0e\n" + + "\x02op\x18\x02 \x01(\tR\x02op\x12\x14\n" + + "\x05value\x18\x03 \x01(\tR\x05value\"\xd6\x03\n" + + "\tEventType\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" + + "\x06source\x18\x02 \x01(\tR\x06source\x12\x12\n" + + "\x04name\x18\x03 \x01(\tR\x04name\x12O\n" + + "\x11header_conditions\x18\x04 \x03(\v2\".state.v1.EventTypeHeaderConditionR\x10headerConditions\x12R\n" + + "\x12payload_conditions\x18\x05 \x03(\v2#.state.v1.EventTypePayloadConditionR\x11payloadConditions\x127\n" + + "\x06schema\x18\x06 \x03(\v2\x1f.state.v1.EventType.SchemaEntryR\x06schema\x129\n" + + "\n" + + "created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" + + "\n" + + "updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1a9\n" + + "\vSchemaEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"f\n" + "\fMappingField\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + "\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" + @@ -8492,7 +9069,23 @@ const file_state_v1_state_proto_rawDesc = "" + "\x15UpdateMappingResponse\"&\n" + "\x14DeleteMappingRequest\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\"\x17\n" + - "\x15DeleteMappingResponse\"C\n" + + "\x15DeleteMappingResponse\"L\n" + + "\x16InsertEventTypeRequest\x122\n" + + "\n" + + "event_type\x18\x01 \x01(\v2\x13.state.v1.EventTypeR\teventType\")\n" + + "\x17InsertEventTypeResponse\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\"L\n" + + "\x16UpdateEventTypeRequest\x122\n" + + "\n" + + "event_type\x18\x01 \x01(\v2\x13.state.v1.EventTypeR\teventType\"\x19\n" + + "\x17UpdateEventTypeResponse\"(\n" + + "\x16DeleteEventTypeRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\"\x19\n" + + "\x17DeleteEventTypeResponse\"\x17\n" + + "\x15ListEventTypesRequest\"N\n" + + "\x16ListEventTypesResponse\x124\n" + + "\vevent_types\x18\x01 \x03(\v2\x13.state.v1.EventTypeR\n" + + "eventTypes\"C\n" + "\x14InsertBindingRequest\x12+\n" + "\abinding\x18\x01 \x01(\v2\x11.state.v1.BindingR\abinding\"'\n" + "\x15InsertBindingResponse\x12\x0e\n" + @@ -8558,7 +9151,7 @@ const file_state_v1_state_proto_rawDesc = "" + "binding_id\x18\a \x01(\tR\tbindingId\x12'\n" + "\x0fbinding_version\x18\b \x01(\x03R\x0ebindingVersion\"@\n" + "\x1aEnqueueBindingTaskResponse\x12\"\n" + - "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\xbe,\n" + + "\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\x9b/\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" + @@ -8617,7 +9210,11 @@ const file_state_v1_state_proto_rawDesc = "" + "GetMapping\x12\x1b.state.v1.GetMappingRequest\x1a\x1c.state.v1.GetMappingResponse\x12M\n" + "\fListMappings\x12\x1d.state.v1.ListMappingsRequest\x1a\x1e.state.v1.ListMappingsResponse\x12P\n" + "\rUpdateMapping\x12\x1e.state.v1.UpdateMappingRequest\x1a\x1f.state.v1.UpdateMappingResponse\x12P\n" + - "\rDeleteMapping\x12\x1e.state.v1.DeleteMappingRequest\x1a\x1f.state.v1.DeleteMappingResponse\x12P\n" + + "\rDeleteMapping\x12\x1e.state.v1.DeleteMappingRequest\x1a\x1f.state.v1.DeleteMappingResponse\x12V\n" + + "\x0fInsertEventType\x12 .state.v1.InsertEventTypeRequest\x1a!.state.v1.InsertEventTypeResponse\x12V\n" + + "\x0fUpdateEventType\x12 .state.v1.UpdateEventTypeRequest\x1a!.state.v1.UpdateEventTypeResponse\x12V\n" + + "\x0fDeleteEventType\x12 .state.v1.DeleteEventTypeRequest\x1a!.state.v1.DeleteEventTypeResponse\x12S\n" + + "\x0eListEventTypes\x12\x1f.state.v1.ListEventTypesRequest\x1a .state.v1.ListEventTypesResponse\x12P\n" + "\rInsertBinding\x12\x1e.state.v1.InsertBindingRequest\x1a\x1f.state.v1.InsertBindingResponse\x12G\n" + "\n" + "GetBinding\x12\x1b.state.v1.GetBindingRequest\x1a\x1c.state.v1.GetBindingResponse\x12M\n" + @@ -8647,7 +9244,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, 151) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 163) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -8676,135 +9273,147 @@ var file_state_v1_state_proto_goTypes = []any{ (*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 - (*ParkTaskRequest)(nil), // 48: state.v1.ParkTaskRequest - (*ParkTaskResponse)(nil), // 49: state.v1.ParkTaskResponse - (*RecoverStaleRequest)(nil), // 50: state.v1.RecoverStaleRequest - (*RecoverStaleResponse)(nil), // 51: state.v1.RecoverStaleResponse - (*ArchiveTaskRequest)(nil), // 52: state.v1.ArchiveTaskRequest - (*ArchiveTaskResponse)(nil), // 53: state.v1.ArchiveTaskResponse - (*RetryTaskRequest)(nil), // 54: state.v1.RetryTaskRequest - (*RetryTaskResponse)(nil), // 55: state.v1.RetryTaskResponse - (*BeginRemediationRequest)(nil), // 56: state.v1.BeginRemediationRequest - (*BeginRemediationResponse)(nil), // 57: state.v1.BeginRemediationResponse - (*UpdateReviewPayloadRequest)(nil), // 58: state.v1.UpdateReviewPayloadRequest - (*UpdateReviewPayloadResponse)(nil), // 59: state.v1.UpdateReviewPayloadResponse - (*SetReviewCursorsRequest)(nil), // 60: state.v1.SetReviewCursorsRequest - (*SetReviewCursorsResponse)(nil), // 61: state.v1.SetReviewCursorsResponse - (*TaskByIssueRequest)(nil), // 62: state.v1.TaskByIssueRequest - (*TaskByIssueResponse)(nil), // 63: state.v1.TaskByIssueResponse - (*OpenTaskByPRRequest)(nil), // 64: state.v1.OpenTaskByPRRequest - (*OpenTaskByPRResponse)(nil), // 65: state.v1.OpenTaskByPRResponse - (*TaskByIDRequest)(nil), // 66: state.v1.TaskByIDRequest - (*TaskByIDResponse)(nil), // 67: state.v1.TaskByIDResponse - (*OpenPRsRequest)(nil), // 68: state.v1.OpenPRsRequest - (*OpenPRsResponse)(nil), // 69: state.v1.OpenPRsResponse - (*ClearTerminalTasksRequest)(nil), // 70: state.v1.ClearTerminalTasksRequest - (*ClearTerminalTasksResponse)(nil), // 71: state.v1.ClearTerminalTasksResponse - (*TasksRequest)(nil), // 72: state.v1.TasksRequest - (*TasksResponse)(nil), // 73: state.v1.TasksResponse - (*StatusCountsRequest)(nil), // 74: state.v1.StatusCountsRequest - (*StatusCountsResponse)(nil), // 75: state.v1.StatusCountsResponse - (*InsertEventRequest)(nil), // 76: state.v1.InsertEventRequest - (*InsertEventResponse)(nil), // 77: state.v1.InsertEventResponse - (*EventsSinceRequest)(nil), // 78: state.v1.EventsSinceRequest - (*EventsSinceResponse)(nil), // 79: state.v1.EventsSinceResponse - (*TaskEventsRequest)(nil), // 80: state.v1.TaskEventsRequest - (*TaskEventsResponse)(nil), // 81: state.v1.TaskEventsResponse - (*WorkflowStatsRequest)(nil), // 82: state.v1.WorkflowStatsRequest - (*WorkflowStatsResponse)(nil), // 83: state.v1.WorkflowStatsResponse - (*StageStatsRequest)(nil), // 84: state.v1.StageStatsRequest - (*StageStatsResponse)(nil), // 85: state.v1.StageStatsResponse - (*TokensByDayRequest)(nil), // 86: state.v1.TokensByDayRequest - (*TokensByDayResponse)(nil), // 87: state.v1.TokensByDayResponse - (*ConfigSnapshot)(nil), // 88: state.v1.ConfigSnapshot - (*PutConfigSnapshotRequest)(nil), // 89: state.v1.PutConfigSnapshotRequest - (*PutConfigSnapshotResponse)(nil), // 90: state.v1.PutConfigSnapshotResponse - (*GetConfigSnapshotRequest)(nil), // 91: state.v1.GetConfigSnapshotRequest - (*GetConfigSnapshotResponse)(nil), // 92: state.v1.GetConfigSnapshotResponse - (*ChannelStatus)(nil), // 93: state.v1.ChannelStatus - (*PutChannelStatusRequest)(nil), // 94: state.v1.PutChannelStatusRequest - (*PutChannelStatusResponse)(nil), // 95: state.v1.PutChannelStatusResponse - (*ListChannelStatusRequest)(nil), // 96: state.v1.ListChannelStatusRequest - (*ListChannelStatusResponse)(nil), // 97: state.v1.ListChannelStatusResponse - (*ApplyStatus)(nil), // 98: state.v1.ApplyStatus - (*PutApplyStatusRequest)(nil), // 99: state.v1.PutApplyStatusRequest - (*PutApplyStatusResponse)(nil), // 100: state.v1.PutApplyStatusResponse - (*ListApplyStatusRequest)(nil), // 101: state.v1.ListApplyStatusRequest - (*ListApplyStatusResponse)(nil), // 102: state.v1.ListApplyStatusResponse - (*TaskLogEntry)(nil), // 103: state.v1.TaskLogEntry - (*ReadTaskLogRequest)(nil), // 104: state.v1.ReadTaskLogRequest - (*ReadTaskLogResponse)(nil), // 105: state.v1.ReadTaskLogResponse - (*StreamTaskLogContentRequest)(nil), // 106: state.v1.StreamTaskLogContentRequest - (*StreamTaskLogContentResponse)(nil), // 107: state.v1.StreamTaskLogContentResponse - (*InsertCaptureRequest)(nil), // 108: state.v1.InsertCaptureRequest - (*InsertCaptureResponse)(nil), // 109: state.v1.InsertCaptureResponse - (*ListCapturesRequest)(nil), // 110: state.v1.ListCapturesRequest - (*ListCapturesResponse)(nil), // 111: state.v1.ListCapturesResponse - (*StreamCapturesRequest)(nil), // 112: state.v1.StreamCapturesRequest - (*StreamCapturesResponse)(nil), // 113: state.v1.StreamCapturesResponse - (*InsertMappingRequest)(nil), // 114: state.v1.InsertMappingRequest - (*InsertMappingResponse)(nil), // 115: state.v1.InsertMappingResponse - (*GetMappingRequest)(nil), // 116: state.v1.GetMappingRequest - (*GetMappingResponse)(nil), // 117: state.v1.GetMappingResponse - (*ListMappingsRequest)(nil), // 118: state.v1.ListMappingsRequest - (*ListMappingsResponse)(nil), // 119: state.v1.ListMappingsResponse - (*UpdateMappingRequest)(nil), // 120: state.v1.UpdateMappingRequest - (*UpdateMappingResponse)(nil), // 121: state.v1.UpdateMappingResponse - (*DeleteMappingRequest)(nil), // 122: state.v1.DeleteMappingRequest - (*DeleteMappingResponse)(nil), // 123: state.v1.DeleteMappingResponse - (*InsertBindingRequest)(nil), // 124: state.v1.InsertBindingRequest - (*InsertBindingResponse)(nil), // 125: state.v1.InsertBindingResponse - (*GetBindingRequest)(nil), // 126: state.v1.GetBindingRequest - (*GetBindingResponse)(nil), // 127: state.v1.GetBindingResponse - (*ListBindingsRequest)(nil), // 128: state.v1.ListBindingsRequest - (*ListBindingsResponse)(nil), // 129: state.v1.ListBindingsResponse - (*UpdateBindingRequest)(nil), // 130: state.v1.UpdateBindingRequest - (*UpdateBindingResponse)(nil), // 131: state.v1.UpdateBindingResponse - (*DeleteBindingRequest)(nil), // 132: state.v1.DeleteBindingRequest - (*DeleteBindingResponse)(nil), // 133: state.v1.DeleteBindingResponse - (*ApproveBindingRequest)(nil), // 134: state.v1.ApproveBindingRequest - (*ApproveBindingResponse)(nil), // 135: state.v1.ApproveBindingResponse - (*ArmedBindingsForSourceRequest)(nil), // 136: state.v1.ArmedBindingsForSourceRequest - (*ArmedBindingsForSourceResponse)(nil), // 137: state.v1.ArmedBindingsForSourceResponse - (*RecordDispatchRequest)(nil), // 138: state.v1.RecordDispatchRequest - (*RecordDispatchResponse)(nil), // 139: state.v1.RecordDispatchResponse - (*RecordPlaybookDispatchRequest)(nil), // 140: state.v1.RecordPlaybookDispatchRequest - (*RecordPlaybookDispatchResponse)(nil), // 141: state.v1.RecordPlaybookDispatchResponse - (*DeletePlaybookDispatchesRequest)(nil), // 142: state.v1.DeletePlaybookDispatchesRequest - (*DeletePlaybookDispatchesResponse)(nil), // 143: state.v1.DeletePlaybookDispatchesResponse - (*ListUndispatchedCapturesRequest)(nil), // 144: state.v1.ListUndispatchedCapturesRequest - (*ListUndispatchedCapturesResponse)(nil), // 145: state.v1.ListUndispatchedCapturesResponse - (*StreamUndispatchedCapturesRequest)(nil), // 146: state.v1.StreamUndispatchedCapturesRequest - (*StreamUndispatchedCapturesResponse)(nil), // 147: state.v1.StreamUndispatchedCapturesResponse - (*EnqueueBindingTaskRequest)(nil), // 148: state.v1.EnqueueBindingTaskRequest - (*EnqueueBindingTaskResponse)(nil), // 149: state.v1.EnqueueBindingTaskResponse - nil, // 150: state.v1.StatusCountsResponse.CountsEntry - (*timestamppb.Timestamp)(nil), // 151: google.protobuf.Timestamp + (*EventTypeHeaderCondition)(nil), // 27: state.v1.EventTypeHeaderCondition + (*EventTypePayloadCondition)(nil), // 28: state.v1.EventTypePayloadCondition + (*EventType)(nil), // 29: state.v1.EventType + (*MappingField)(nil), // 30: state.v1.MappingField + (*Mapping)(nil), // 31: state.v1.Mapping + (*BindingMatcher)(nil), // 32: state.v1.BindingMatcher + (*Binding)(nil), // 33: state.v1.Binding + (*WorkflowStat)(nil), // 34: state.v1.WorkflowStat + (*StageStat)(nil), // 35: state.v1.StageStat + (*DayTokens)(nil), // 36: state.v1.DayTokens + (*EnqueueIssueRequest)(nil), // 37: state.v1.EnqueueIssueRequest + (*EnqueueIssueResponse)(nil), // 38: state.v1.EnqueueIssueResponse + (*EnqueueChatTaskRequest)(nil), // 39: state.v1.EnqueueChatTaskRequest + (*EnqueueChatTaskResponse)(nil), // 40: state.v1.EnqueueChatTaskResponse + (*ClaimNextRequest)(nil), // 41: state.v1.ClaimNextRequest + (*ClaimNextResponse)(nil), // 42: state.v1.ClaimNextResponse + (*ClaimByIssueRequest)(nil), // 43: state.v1.ClaimByIssueRequest + (*ClaimByIssueResponse)(nil), // 44: state.v1.ClaimByIssueResponse + (*TransitionRequest)(nil), // 45: state.v1.TransitionRequest + (*TransitionResponse)(nil), // 46: state.v1.TransitionResponse + (*UpdateRequest)(nil), // 47: state.v1.UpdateRequest + (*UpdateResponse)(nil), // 48: state.v1.UpdateResponse + (*RequeueRequest)(nil), // 49: state.v1.RequeueRequest + (*RequeueResponse)(nil), // 50: state.v1.RequeueResponse + (*ParkTaskRequest)(nil), // 51: state.v1.ParkTaskRequest + (*ParkTaskResponse)(nil), // 52: state.v1.ParkTaskResponse + (*RecoverStaleRequest)(nil), // 53: state.v1.RecoverStaleRequest + (*RecoverStaleResponse)(nil), // 54: state.v1.RecoverStaleResponse + (*ArchiveTaskRequest)(nil), // 55: state.v1.ArchiveTaskRequest + (*ArchiveTaskResponse)(nil), // 56: state.v1.ArchiveTaskResponse + (*RetryTaskRequest)(nil), // 57: state.v1.RetryTaskRequest + (*RetryTaskResponse)(nil), // 58: state.v1.RetryTaskResponse + (*BeginRemediationRequest)(nil), // 59: state.v1.BeginRemediationRequest + (*BeginRemediationResponse)(nil), // 60: state.v1.BeginRemediationResponse + (*UpdateReviewPayloadRequest)(nil), // 61: state.v1.UpdateReviewPayloadRequest + (*UpdateReviewPayloadResponse)(nil), // 62: state.v1.UpdateReviewPayloadResponse + (*SetReviewCursorsRequest)(nil), // 63: state.v1.SetReviewCursorsRequest + (*SetReviewCursorsResponse)(nil), // 64: state.v1.SetReviewCursorsResponse + (*TaskByIssueRequest)(nil), // 65: state.v1.TaskByIssueRequest + (*TaskByIssueResponse)(nil), // 66: state.v1.TaskByIssueResponse + (*OpenTaskByPRRequest)(nil), // 67: state.v1.OpenTaskByPRRequest + (*OpenTaskByPRResponse)(nil), // 68: state.v1.OpenTaskByPRResponse + (*TaskByIDRequest)(nil), // 69: state.v1.TaskByIDRequest + (*TaskByIDResponse)(nil), // 70: state.v1.TaskByIDResponse + (*OpenPRsRequest)(nil), // 71: state.v1.OpenPRsRequest + (*OpenPRsResponse)(nil), // 72: state.v1.OpenPRsResponse + (*ClearTerminalTasksRequest)(nil), // 73: state.v1.ClearTerminalTasksRequest + (*ClearTerminalTasksResponse)(nil), // 74: state.v1.ClearTerminalTasksResponse + (*TasksRequest)(nil), // 75: state.v1.TasksRequest + (*TasksResponse)(nil), // 76: state.v1.TasksResponse + (*StatusCountsRequest)(nil), // 77: state.v1.StatusCountsRequest + (*StatusCountsResponse)(nil), // 78: state.v1.StatusCountsResponse + (*InsertEventRequest)(nil), // 79: state.v1.InsertEventRequest + (*InsertEventResponse)(nil), // 80: state.v1.InsertEventResponse + (*EventsSinceRequest)(nil), // 81: state.v1.EventsSinceRequest + (*EventsSinceResponse)(nil), // 82: state.v1.EventsSinceResponse + (*TaskEventsRequest)(nil), // 83: state.v1.TaskEventsRequest + (*TaskEventsResponse)(nil), // 84: state.v1.TaskEventsResponse + (*WorkflowStatsRequest)(nil), // 85: state.v1.WorkflowStatsRequest + (*WorkflowStatsResponse)(nil), // 86: state.v1.WorkflowStatsResponse + (*StageStatsRequest)(nil), // 87: state.v1.StageStatsRequest + (*StageStatsResponse)(nil), // 88: state.v1.StageStatsResponse + (*TokensByDayRequest)(nil), // 89: state.v1.TokensByDayRequest + (*TokensByDayResponse)(nil), // 90: state.v1.TokensByDayResponse + (*ConfigSnapshot)(nil), // 91: state.v1.ConfigSnapshot + (*PutConfigSnapshotRequest)(nil), // 92: state.v1.PutConfigSnapshotRequest + (*PutConfigSnapshotResponse)(nil), // 93: state.v1.PutConfigSnapshotResponse + (*GetConfigSnapshotRequest)(nil), // 94: state.v1.GetConfigSnapshotRequest + (*GetConfigSnapshotResponse)(nil), // 95: state.v1.GetConfigSnapshotResponse + (*ChannelStatus)(nil), // 96: state.v1.ChannelStatus + (*PutChannelStatusRequest)(nil), // 97: state.v1.PutChannelStatusRequest + (*PutChannelStatusResponse)(nil), // 98: state.v1.PutChannelStatusResponse + (*ListChannelStatusRequest)(nil), // 99: state.v1.ListChannelStatusRequest + (*ListChannelStatusResponse)(nil), // 100: state.v1.ListChannelStatusResponse + (*ApplyStatus)(nil), // 101: state.v1.ApplyStatus + (*PutApplyStatusRequest)(nil), // 102: state.v1.PutApplyStatusRequest + (*PutApplyStatusResponse)(nil), // 103: state.v1.PutApplyStatusResponse + (*ListApplyStatusRequest)(nil), // 104: state.v1.ListApplyStatusRequest + (*ListApplyStatusResponse)(nil), // 105: state.v1.ListApplyStatusResponse + (*TaskLogEntry)(nil), // 106: state.v1.TaskLogEntry + (*ReadTaskLogRequest)(nil), // 107: state.v1.ReadTaskLogRequest + (*ReadTaskLogResponse)(nil), // 108: state.v1.ReadTaskLogResponse + (*StreamTaskLogContentRequest)(nil), // 109: state.v1.StreamTaskLogContentRequest + (*StreamTaskLogContentResponse)(nil), // 110: state.v1.StreamTaskLogContentResponse + (*InsertCaptureRequest)(nil), // 111: state.v1.InsertCaptureRequest + (*InsertCaptureResponse)(nil), // 112: state.v1.InsertCaptureResponse + (*ListCapturesRequest)(nil), // 113: state.v1.ListCapturesRequest + (*ListCapturesResponse)(nil), // 114: state.v1.ListCapturesResponse + (*StreamCapturesRequest)(nil), // 115: state.v1.StreamCapturesRequest + (*StreamCapturesResponse)(nil), // 116: state.v1.StreamCapturesResponse + (*InsertMappingRequest)(nil), // 117: state.v1.InsertMappingRequest + (*InsertMappingResponse)(nil), // 118: state.v1.InsertMappingResponse + (*GetMappingRequest)(nil), // 119: state.v1.GetMappingRequest + (*GetMappingResponse)(nil), // 120: state.v1.GetMappingResponse + (*ListMappingsRequest)(nil), // 121: state.v1.ListMappingsRequest + (*ListMappingsResponse)(nil), // 122: state.v1.ListMappingsResponse + (*UpdateMappingRequest)(nil), // 123: state.v1.UpdateMappingRequest + (*UpdateMappingResponse)(nil), // 124: state.v1.UpdateMappingResponse + (*DeleteMappingRequest)(nil), // 125: state.v1.DeleteMappingRequest + (*DeleteMappingResponse)(nil), // 126: state.v1.DeleteMappingResponse + (*InsertEventTypeRequest)(nil), // 127: state.v1.InsertEventTypeRequest + (*InsertEventTypeResponse)(nil), // 128: state.v1.InsertEventTypeResponse + (*UpdateEventTypeRequest)(nil), // 129: state.v1.UpdateEventTypeRequest + (*UpdateEventTypeResponse)(nil), // 130: state.v1.UpdateEventTypeResponse + (*DeleteEventTypeRequest)(nil), // 131: state.v1.DeleteEventTypeRequest + (*DeleteEventTypeResponse)(nil), // 132: state.v1.DeleteEventTypeResponse + (*ListEventTypesRequest)(nil), // 133: state.v1.ListEventTypesRequest + (*ListEventTypesResponse)(nil), // 134: state.v1.ListEventTypesResponse + (*InsertBindingRequest)(nil), // 135: state.v1.InsertBindingRequest + (*InsertBindingResponse)(nil), // 136: state.v1.InsertBindingResponse + (*GetBindingRequest)(nil), // 137: state.v1.GetBindingRequest + (*GetBindingResponse)(nil), // 138: state.v1.GetBindingResponse + (*ListBindingsRequest)(nil), // 139: state.v1.ListBindingsRequest + (*ListBindingsResponse)(nil), // 140: state.v1.ListBindingsResponse + (*UpdateBindingRequest)(nil), // 141: state.v1.UpdateBindingRequest + (*UpdateBindingResponse)(nil), // 142: state.v1.UpdateBindingResponse + (*DeleteBindingRequest)(nil), // 143: state.v1.DeleteBindingRequest + (*DeleteBindingResponse)(nil), // 144: state.v1.DeleteBindingResponse + (*ApproveBindingRequest)(nil), // 145: state.v1.ApproveBindingRequest + (*ApproveBindingResponse)(nil), // 146: state.v1.ApproveBindingResponse + (*ArmedBindingsForSourceRequest)(nil), // 147: state.v1.ArmedBindingsForSourceRequest + (*ArmedBindingsForSourceResponse)(nil), // 148: state.v1.ArmedBindingsForSourceResponse + (*RecordDispatchRequest)(nil), // 149: state.v1.RecordDispatchRequest + (*RecordDispatchResponse)(nil), // 150: state.v1.RecordDispatchResponse + (*RecordPlaybookDispatchRequest)(nil), // 151: state.v1.RecordPlaybookDispatchRequest + (*RecordPlaybookDispatchResponse)(nil), // 152: state.v1.RecordPlaybookDispatchResponse + (*DeletePlaybookDispatchesRequest)(nil), // 153: state.v1.DeletePlaybookDispatchesRequest + (*DeletePlaybookDispatchesResponse)(nil), // 154: state.v1.DeletePlaybookDispatchesResponse + (*ListUndispatchedCapturesRequest)(nil), // 155: state.v1.ListUndispatchedCapturesRequest + (*ListUndispatchedCapturesResponse)(nil), // 156: state.v1.ListUndispatchedCapturesResponse + (*StreamUndispatchedCapturesRequest)(nil), // 157: state.v1.StreamUndispatchedCapturesRequest + (*StreamUndispatchedCapturesResponse)(nil), // 158: state.v1.StreamUndispatchedCapturesResponse + (*EnqueueBindingTaskRequest)(nil), // 159: state.v1.EnqueueBindingTaskRequest + (*EnqueueBindingTaskResponse)(nil), // 160: state.v1.EnqueueBindingTaskResponse + nil, // 161: state.v1.EventType.SchemaEntry + nil, // 162: state.v1.StatusCountsResponse.CountsEntry + (*timestamppb.Timestamp)(nil), // 163: google.protobuf.Timestamp } var file_state_v1_state_proto_depIdxs = []int32{ - 151, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 151, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 163, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 163, // 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 @@ -8820,200 +9429,216 @@ var file_state_v1_state_proto_depIdxs = []int32{ 4, // 14: state.v1.ResolveIdentitySubjectResponse.identity:type_name -> state.v1.Identity 5, // 15: state.v1.BindIdentitySubjectRequest.audit:type_name -> state.v1.IdentityAudit 4, // 16: state.v1.BindIdentitySubjectResponse.identity:type_name -> state.v1.Identity - 151, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 151, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 151, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 151, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp - 27, // 21: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 151, // 22: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 151, // 23: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp - 29, // 24: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 151, // 25: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 151, // 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 - 150, // 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 - 151, // 44: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp - 88, // 45: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot - 88, // 46: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 151, // 47: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp - 93, // 48: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus - 93, // 49: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 151, // 50: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp - 98, // 51: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus - 98, // 52: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 151, // 53: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 151, // 54: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 151, // 55: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp - 103, // 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.ParkTask:input_type -> state.v1.ParkTaskRequest - 50, // 91: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest - 52, // 92: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest - 54, // 93: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 56, // 94: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest - 58, // 95: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest - 60, // 96: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest - 62, // 97: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 64, // 98: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 66, // 99: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 68, // 100: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 70, // 101: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 72, // 102: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 74, // 103: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 76, // 104: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 78, // 105: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 80, // 106: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 82, // 107: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 84, // 108: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 86, // 109: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 89, // 110: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 91, // 111: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 94, // 112: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 96, // 113: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 99, // 114: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 101, // 115: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 104, // 116: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 106, // 117: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 108, // 118: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 110, // 119: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest - 112, // 120: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 114, // 121: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 116, // 122: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 118, // 123: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 120, // 124: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 122, // 125: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 124, // 126: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 126, // 127: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 128, // 128: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 130, // 129: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 132, // 130: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 134, // 131: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 136, // 132: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 138, // 133: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 140, // 134: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 142, // 135: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 144, // 136: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest - 146, // 137: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 148, // 138: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 1, // 139: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 140: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 7, // 141: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 9, // 142: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 15, // 143: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 16, // 144: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 17, // 145: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 18, // 146: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 19, // 147: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 21, // 148: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse - 23, // 149: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse - 35, // 150: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 37, // 151: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 39, // 152: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 41, // 153: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 43, // 154: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 45, // 155: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 47, // 156: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 49, // 157: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse - 51, // 158: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 53, // 159: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 55, // 160: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 57, // 161: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse - 59, // 162: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse - 61, // 163: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse - 63, // 164: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 65, // 165: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 67, // 166: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 69, // 167: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 71, // 168: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 73, // 169: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 75, // 170: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 77, // 171: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 79, // 172: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 81, // 173: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 83, // 174: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 85, // 175: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 87, // 176: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 90, // 177: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 92, // 178: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 95, // 179: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 97, // 180: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 100, // 181: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 102, // 182: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 105, // 183: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 107, // 184: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 109, // 185: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 111, // 186: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse - 113, // 187: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 115, // 188: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 117, // 189: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 119, // 190: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 121, // 191: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 123, // 192: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 125, // 193: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 127, // 194: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 129, // 195: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 131, // 196: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 133, // 197: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 135, // 198: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 137, // 199: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 139, // 200: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 141, // 201: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 143, // 202: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 145, // 203: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse - 147, // 204: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 149, // 205: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 139, // [139:206] is the sub-list for method output_type - 72, // [72:139] 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 + 163, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 163, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 163, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 163, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 27, // 21: state.v1.EventType.header_conditions:type_name -> state.v1.EventTypeHeaderCondition + 28, // 22: state.v1.EventType.payload_conditions:type_name -> state.v1.EventTypePayloadCondition + 161, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry + 163, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp + 163, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp + 30, // 26: state.v1.Mapping.fields:type_name -> state.v1.MappingField + 163, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 163, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 32, // 29: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher + 163, // 30: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 163, // 31: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 24, // 32: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task + 24, // 33: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task + 24, // 34: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task + 24, // 35: state.v1.UpdateRequest.task:type_name -> state.v1.Task + 25, // 36: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event + 24, // 37: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task + 24, // 38: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task + 24, // 39: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task + 24, // 40: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task + 24, // 41: state.v1.TasksResponse.tasks:type_name -> state.v1.Task + 162, // 42: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 25, // 43: state.v1.InsertEventRequest.event:type_name -> state.v1.Event + 25, // 44: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event + 25, // 45: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event + 34, // 46: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat + 35, // 47: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat + 36, // 48: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens + 163, // 49: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 91, // 50: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot + 91, // 51: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot + 163, // 52: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 96, // 53: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus + 96, // 54: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus + 163, // 55: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 101, // 56: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus + 101, // 57: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus + 163, // 58: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 163, // 59: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 163, // 60: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 106, // 61: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry + 26, // 62: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent + 26, // 63: state.v1.ListCapturesResponse.captures:type_name -> state.v1.CapturedEvent + 26, // 64: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent + 31, // 65: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping + 31, // 66: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping + 31, // 67: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping + 31, // 68: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping + 29, // 69: state.v1.InsertEventTypeRequest.event_type:type_name -> state.v1.EventType + 29, // 70: state.v1.UpdateEventTypeRequest.event_type:type_name -> state.v1.EventType + 29, // 71: state.v1.ListEventTypesResponse.event_types:type_name -> state.v1.EventType + 33, // 72: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding + 33, // 73: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding + 33, // 74: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding + 33, // 75: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding + 33, // 76: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding + 26, // 77: state.v1.ListUndispatchedCapturesResponse.captures:type_name -> state.v1.CapturedEvent + 26, // 78: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent + 24, // 79: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task + 0, // 80: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest + 2, // 81: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest + 6, // 82: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest + 8, // 83: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest + 10, // 84: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest + 11, // 85: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest + 12, // 86: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest + 13, // 87: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest + 14, // 88: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest + 20, // 89: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest + 22, // 90: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest + 37, // 91: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest + 39, // 92: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest + 41, // 93: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest + 43, // 94: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest + 45, // 95: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest + 47, // 96: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest + 49, // 97: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest + 51, // 98: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest + 53, // 99: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest + 55, // 100: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest + 57, // 101: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest + 59, // 102: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest + 61, // 103: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest + 63, // 104: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest + 65, // 105: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 67, // 106: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 69, // 107: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 71, // 108: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 73, // 109: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 75, // 110: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 77, // 111: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 79, // 112: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 81, // 113: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 83, // 114: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 85, // 115: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 87, // 116: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 89, // 117: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 92, // 118: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 94, // 119: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 97, // 120: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 99, // 121: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 102, // 122: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 104, // 123: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 107, // 124: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 109, // 125: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 111, // 126: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 113, // 127: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest + 115, // 128: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 117, // 129: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 119, // 130: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 121, // 131: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 123, // 132: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 125, // 133: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 127, // 134: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest + 129, // 135: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest + 131, // 136: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest + 133, // 137: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest + 135, // 138: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 137, // 139: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 139, // 140: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 141, // 141: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 143, // 142: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 145, // 143: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 147, // 144: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 149, // 145: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 151, // 146: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 153, // 147: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 155, // 148: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest + 157, // 149: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 159, // 150: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 1, // 151: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 152: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 7, // 153: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 9, // 154: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 15, // 155: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 16, // 156: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 17, // 157: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 18, // 158: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 19, // 159: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 21, // 160: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 23, // 161: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 38, // 162: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 40, // 163: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 42, // 164: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 44, // 165: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 46, // 166: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 48, // 167: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 50, // 168: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 52, // 169: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse + 54, // 170: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 56, // 171: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 58, // 172: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 60, // 173: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse + 62, // 174: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse + 64, // 175: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse + 66, // 176: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 68, // 177: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 70, // 178: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 72, // 179: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 74, // 180: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 76, // 181: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 78, // 182: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 80, // 183: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 82, // 184: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 84, // 185: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 86, // 186: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 88, // 187: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 90, // 188: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 93, // 189: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 95, // 190: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 98, // 191: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 100, // 192: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 103, // 193: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 105, // 194: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 108, // 195: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 110, // 196: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 112, // 197: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 114, // 198: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse + 116, // 199: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 118, // 200: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 120, // 201: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 122, // 202: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 124, // 203: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 126, // 204: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 128, // 205: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse + 130, // 206: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse + 132, // 207: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse + 134, // 208: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse + 136, // 209: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 138, // 210: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 140, // 211: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 142, // 212: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 144, // 213: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 146, // 214: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 148, // 215: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 150, // 216: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 152, // 217: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 154, // 218: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 156, // 219: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse + 158, // 220: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 160, // 221: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 151, // [151:222] is the sub-list for method output_type + 80, // [80:151] is the sub-list for method input_type + 80, // [80:80] is the sub-list for extension type_name + 80, // [80:80] is the sub-list for extension extendee + 0, // [0:80] is the sub-list for field type_name } func init() { file_state_v1_state_proto_init() } @@ -9027,7 +9652,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: 151, + NumMessages: 163, 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 f99fd10f0..094bcae61 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -73,6 +73,10 @@ const ( StateStoreService_ListMappings_FullMethodName = "/state.v1.StateStoreService/ListMappings" StateStoreService_UpdateMapping_FullMethodName = "/state.v1.StateStoreService/UpdateMapping" StateStoreService_DeleteMapping_FullMethodName = "/state.v1.StateStoreService/DeleteMapping" + StateStoreService_InsertEventType_FullMethodName = "/state.v1.StateStoreService/InsertEventType" + StateStoreService_UpdateEventType_FullMethodName = "/state.v1.StateStoreService/UpdateEventType" + StateStoreService_DeleteEventType_FullMethodName = "/state.v1.StateStoreService/DeleteEventType" + StateStoreService_ListEventTypes_FullMethodName = "/state.v1.StateStoreService/ListEventTypes" StateStoreService_InsertBinding_FullMethodName = "/state.v1.StateStoreService/InsertBinding" StateStoreService_GetBinding_FullMethodName = "/state.v1.StateStoreService/GetBinding" StateStoreService_ListBindings_FullMethodName = "/state.v1.StateStoreService/ListBindings" @@ -197,6 +201,12 @@ type StateStoreServiceClient interface { ListMappings(ctx context.Context, in *ListMappingsRequest, opts ...grpc.CallOption) (*ListMappingsResponse, error) UpdateMapping(ctx context.Context, in *UpdateMappingRequest, opts ...grpc.CallOption) (*UpdateMappingResponse, error) DeleteMapping(ctx context.Context, in *DeleteMappingRequest, opts ...grpc.CallOption) (*DeleteMappingResponse, error) + // EventType (docs/prds/event-automation.md, "Event types"). Insert and + // Update refuse an overlapping or malformed type. + InsertEventType(ctx context.Context, in *InsertEventTypeRequest, opts ...grpc.CallOption) (*InsertEventTypeResponse, error) + UpdateEventType(ctx context.Context, in *UpdateEventTypeRequest, opts ...grpc.CallOption) (*UpdateEventTypeResponse, error) + DeleteEventType(ctx context.Context, in *DeleteEventTypeRequest, opts ...grpc.CallOption) (*DeleteEventTypeResponse, error) + ListEventTypes(ctx context.Context, in *ListEventTypesRequest, opts ...grpc.CallOption) (*ListEventTypesResponse, error) // Binding InsertBinding(ctx context.Context, in *InsertBindingRequest, opts ...grpc.CallOption) (*InsertBindingResponse, error) GetBinding(ctx context.Context, in *GetBindingRequest, opts ...grpc.CallOption) (*GetBindingResponse, error) @@ -789,6 +799,46 @@ func (c *stateStoreServiceClient) DeleteMapping(ctx context.Context, in *DeleteM return out, nil } +func (c *stateStoreServiceClient) InsertEventType(ctx context.Context, in *InsertEventTypeRequest, opts ...grpc.CallOption) (*InsertEventTypeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(InsertEventTypeResponse) + err := c.cc.Invoke(ctx, StateStoreService_InsertEventType_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *stateStoreServiceClient) UpdateEventType(ctx context.Context, in *UpdateEventTypeRequest, opts ...grpc.CallOption) (*UpdateEventTypeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(UpdateEventTypeResponse) + err := c.cc.Invoke(ctx, StateStoreService_UpdateEventType_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *stateStoreServiceClient) DeleteEventType(ctx context.Context, in *DeleteEventTypeRequest, opts ...grpc.CallOption) (*DeleteEventTypeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(DeleteEventTypeResponse) + err := c.cc.Invoke(ctx, StateStoreService_DeleteEventType_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *stateStoreServiceClient) ListEventTypes(ctx context.Context, in *ListEventTypesRequest, opts ...grpc.CallOption) (*ListEventTypesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ListEventTypesResponse) + err := c.cc.Invoke(ctx, StateStoreService_ListEventTypes_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) InsertBinding(ctx context.Context, in *InsertBindingRequest, opts ...grpc.CallOption) (*InsertBindingResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(InsertBindingResponse) @@ -1038,6 +1088,12 @@ type StateStoreServiceServer interface { ListMappings(context.Context, *ListMappingsRequest) (*ListMappingsResponse, error) UpdateMapping(context.Context, *UpdateMappingRequest) (*UpdateMappingResponse, error) DeleteMapping(context.Context, *DeleteMappingRequest) (*DeleteMappingResponse, error) + // EventType (docs/prds/event-automation.md, "Event types"). Insert and + // Update refuse an overlapping or malformed type. + InsertEventType(context.Context, *InsertEventTypeRequest) (*InsertEventTypeResponse, error) + UpdateEventType(context.Context, *UpdateEventTypeRequest) (*UpdateEventTypeResponse, error) + DeleteEventType(context.Context, *DeleteEventTypeRequest) (*DeleteEventTypeResponse, error) + ListEventTypes(context.Context, *ListEventTypesRequest) (*ListEventTypesResponse, error) // Binding InsertBinding(context.Context, *InsertBindingRequest) (*InsertBindingResponse, error) GetBinding(context.Context, *GetBindingRequest) (*GetBindingResponse, error) @@ -1233,6 +1289,18 @@ func (UnimplementedStateStoreServiceServer) UpdateMapping(context.Context, *Upda func (UnimplementedStateStoreServiceServer) DeleteMapping(context.Context, *DeleteMappingRequest) (*DeleteMappingResponse, error) { return nil, status.Error(codes.Unimplemented, "method DeleteMapping not implemented") } +func (UnimplementedStateStoreServiceServer) InsertEventType(context.Context, *InsertEventTypeRequest) (*InsertEventTypeResponse, error) { + return nil, status.Error(codes.Unimplemented, "method InsertEventType not implemented") +} +func (UnimplementedStateStoreServiceServer) UpdateEventType(context.Context, *UpdateEventTypeRequest) (*UpdateEventTypeResponse, error) { + return nil, status.Error(codes.Unimplemented, "method UpdateEventType not implemented") +} +func (UnimplementedStateStoreServiceServer) DeleteEventType(context.Context, *DeleteEventTypeRequest) (*DeleteEventTypeResponse, error) { + return nil, status.Error(codes.Unimplemented, "method DeleteEventType not implemented") +} +func (UnimplementedStateStoreServiceServer) ListEventTypes(context.Context, *ListEventTypesRequest) (*ListEventTypesResponse, error) { + return nil, status.Error(codes.Unimplemented, "method ListEventTypes not implemented") +} func (UnimplementedStateStoreServiceServer) InsertBinding(context.Context, *InsertBindingRequest) (*InsertBindingResponse, error) { return nil, status.Error(codes.Unimplemented, "method InsertBinding not implemented") } @@ -2251,6 +2319,78 @@ func _StateStoreService_DeleteMapping_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _StateStoreService_InsertEventType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InsertEventTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).InsertEventType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_InsertEventType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).InsertEventType(ctx, req.(*InsertEventTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _StateStoreService_UpdateEventType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateEventTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).UpdateEventType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_UpdateEventType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).UpdateEventType(ctx, req.(*UpdateEventTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _StateStoreService_DeleteEventType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteEventTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).DeleteEventType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_DeleteEventType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).DeleteEventType(ctx, req.(*DeleteEventTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _StateStoreService_ListEventTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListEventTypesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).ListEventTypes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_ListEventTypes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).ListEventTypes(ctx, req.(*ListEventTypesRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_InsertBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(InsertBindingRequest) if err := dec(in); err != nil { @@ -2693,6 +2833,22 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "DeleteMapping", Handler: _StateStoreService_DeleteMapping_Handler, }, + { + MethodName: "InsertEventType", + Handler: _StateStoreService_InsertEventType_Handler, + }, + { + MethodName: "UpdateEventType", + Handler: _StateStoreService_UpdateEventType_Handler, + }, + { + MethodName: "DeleteEventType", + Handler: _StateStoreService_DeleteEventType_Handler, + }, + { + MethodName: "ListEventTypes", + Handler: _StateStoreService_ListEventTypes_Handler, + }, { MethodName: "InsertBinding", Handler: _StateStoreService_InsertBinding_Handler, diff --git a/internal/infrastructure/staterpc/eventtype_test.go b/internal/infrastructure/staterpc/eventtype_test.go new file mode 100644 index 000000000..ce713b93b --- /dev/null +++ b/internal/infrastructure/staterpc/eventtype_test.go @@ -0,0 +1,116 @@ +package staterpc + +import ( + "context" + "errors" + "net" + "reflect" + "testing" + "time" + + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" + "google.golang.org/grpc/test/bufconn" + + "github.com/samcharles93/archie-core/internal/domain/eventtype" + "github.com/samcharles93/archie-core/internal/domain/storecontract" +) + +// fakeEventTypes records what crossed the wire and answers with err. +type fakeEventTypes struct { + saved eventtype.EventType + list []eventtype.EventType + err error +} + +func (f *fakeEventTypes) InsertEventType(_ context.Context, t eventtype.EventType) (string, error) { + f.saved = t + return "et-1", f.err +} + +func (f *fakeEventTypes) UpdateEventType(_ context.Context, t eventtype.EventType) error { + f.saved = t + return f.err +} + +func (f *fakeEventTypes) DeleteEventType(context.Context, string) error { return f.err } + +func (f *fakeEventTypes) ListEventTypes(context.Context) ([]eventtype.EventType, error) { + return f.list, f.err +} + +func remoteEventTypes(t *testing.T, store storecontract.EventTypeStore) *Client { + t.Helper() + listener := bufconn.Listen(1 << 20) + server := grpc.NewServer() + RegisterServer(server, Deps{EventTypes: store}) + go func() { _ = server.Serve(listener) }() + t.Cleanup(func() { server.Stop(); _ = listener.Close() }) + conn, err := grpc.NewClient("passthrough:///state", + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithContextDialer(func(ctx context.Context, _ string) (net.Conn, error) { return listener.DialContext(ctx) })) + if err != nil { + t.Fatal(err) + } + t.Cleanup(func() { _ = conn.Close() }) + return NewClient(conn) +} + +func TestEventTypeRoundTrip(t *testing.T) { + stamp := time.Date(2026, 9, 24, 9, 0, 0, 0, time.UTC) + want := eventtype.EventType{ + ID: "et-1", Source: "gh", Name: "pull_request", + Rule: eventtype.Rule{ + Headers: []eventtype.HeaderCondition{{Name: "x-github-event", Value: "pull_request"}}, + Payload: []eventtype.PayloadCondition{{Path: "action", Op: eventtype.OpEquals, Value: "opened"}}, + }, + Schema: map[string]eventtype.ValueType{"action": eventtype.TypeString}, + CreatedAt: stamp, UpdatedAt: stamp.Add(time.Hour), + } + fake := &fakeEventTypes{list: []eventtype.EventType{want}} + c := remoteEventTypes(t, fake) + + got, err := c.ListEventTypes(t.Context()) + if err != nil || len(got) != 1 || !reflect.DeepEqual(got[0], want) { + t.Fatalf("ListEventTypes() = %+v (err %v), want %+v", got, err, want) + } + id, err := c.InsertEventType(t.Context(), want) + if err != nil || id != "et-1" { + t.Fatalf("InsertEventType() = %q, %v", id, err) + } + if !reflect.DeepEqual(fake.saved, want) { + t.Fatalf("server received %+v, want %+v", fake.saved, want) + } +} + +func TestEventTypeErrorsCrossTheWire(t *testing.T) { + tests := []struct { + name string + err error + }{ + {"overlap", eventtype.ErrOverlap}, + {"invalid", eventtype.ErrInvalid}, + {"not found", storecontract.ErrEventTypeNotFound}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + c := remoteEventTypes(t, &fakeEventTypes{err: tt.err}) + if _, err := c.InsertEventType(t.Context(), eventtype.EventType{}); !errors.Is(err, tt.err) { + t.Errorf("InsertEventType error = %v, want %v", err, tt.err) + } + if err := c.UpdateEventType(t.Context(), eventtype.EventType{}); !errors.Is(err, tt.err) { + t.Errorf("UpdateEventType error = %v, want %v", err, tt.err) + } + if err := c.DeleteEventType(t.Context(), "x"); !errors.Is(err, tt.err) { + t.Errorf("DeleteEventType error = %v, want %v", err, tt.err) + } + }) + } +} + +func TestCapturedEventCarriesEventType(t *testing.T) { + in := storecontract.CapturedEvent{ID: "c", Source: "gh", EventType: "et-1"} + if got := capturedEventValue(capturedEventProto(in)); got.EventType != "et-1" { + t.Fatalf("EventType after round trip = %q, want et-1", got.EventType) + } +} diff --git a/internal/infrastructure/staterpc/eventtypes.go b/internal/infrastructure/staterpc/eventtypes.go new file mode 100644 index 000000000..8dca4f146 --- /dev/null +++ b/internal/infrastructure/staterpc/eventtypes.go @@ -0,0 +1,144 @@ +package staterpc + +import ( + "context" + + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + + pb "github.com/samcharles93/archie-core/internal/contracts/state/v1" + "github.com/samcharles93/archie-core/internal/domain/eventtype" + "github.com/samcharles93/archie-core/internal/domain/storecontract" +) + +var ( + _ storecontract.EventTypeStore = (*Client)(nil) + + errEventTypeUnavailable = status.Error(codes.Unavailable, "event type store unavailable") +) + +func eventTypeProto(t eventtype.EventType) *pb.EventType { + out := &pb.EventType{ + Id: t.ID, Source: t.Source, Name: t.Name, + CreatedAt: timestamp(t.CreatedAt), UpdatedAt: timestamp(t.UpdatedAt), + } + for _, h := range t.Rule.Headers { + out.HeaderConditions = append(out.HeaderConditions, &pb.EventTypeHeaderCondition{Name: h.Name, Value: h.Value}) + } + for _, p := range t.Rule.Payload { + out.PayloadConditions = append(out.PayloadConditions, &pb.EventTypePayloadCondition{Path: p.Path, Op: string(p.Op), Value: p.Value}) + } + if len(t.Schema) > 0 { + out.Schema = make(map[string]string, len(t.Schema)) + for path, vt := range t.Schema { + out.Schema[path] = string(vt) + } + } + return out +} + +func eventTypeValue(t *pb.EventType) eventtype.EventType { + if t == nil { + return eventtype.EventType{} + } + out := eventtype.EventType{ + ID: t.Id, Source: t.Source, Name: t.Name, + CreatedAt: timeValue(t.CreatedAt), UpdatedAt: timeValue(t.UpdatedAt), + } + for _, h := range t.HeaderConditions { + out.Rule.Headers = append(out.Rule.Headers, eventtype.HeaderCondition{Name: h.Name, Value: h.Value}) + } + for _, p := range t.PayloadConditions { + out.Rule.Payload = append(out.Rule.Payload, eventtype.PayloadCondition{Path: p.Path, Op: eventtype.Operator(p.Op), Value: p.Value}) + } + if len(t.Schema) > 0 { + out.Schema = make(map[string]eventtype.ValueType, len(t.Schema)) + for path, vt := range t.Schema { + out.Schema[path] = eventtype.ValueType(vt) + } + } + return out +} + +// Server + +func (s *server) eventTypes() (storecontract.EventTypeStore, error) { + if s.deps.EventTypes == nil { + return nil, errEventTypeUnavailable + } + return s.deps.EventTypes, nil +} + +func (s *server) InsertEventType(ctx context.Context, r *pb.InsertEventTypeRequest) (*pb.InsertEventTypeResponse, error) { + et, err := s.eventTypes() + if err != nil { + return nil, err + } + id, err := et.InsertEventType(ctx, eventTypeValue(r.EventType)) + if err != nil { + return nil, s.logErr("InsertEventType", err) + } + return &pb.InsertEventTypeResponse{Id: id}, nil +} + +func (s *server) UpdateEventType(ctx context.Context, r *pb.UpdateEventTypeRequest) (*pb.UpdateEventTypeResponse, error) { + et, err := s.eventTypes() + if err != nil { + return nil, err + } + if err := et.UpdateEventType(ctx, eventTypeValue(r.EventType)); err != nil { + return nil, s.logErr("UpdateEventType", err) + } + return &pb.UpdateEventTypeResponse{}, nil +} + +func (s *server) DeleteEventType(ctx context.Context, r *pb.DeleteEventTypeRequest) (*pb.DeleteEventTypeResponse, error) { + et, err := s.eventTypes() + if err != nil { + return nil, err + } + if err := et.DeleteEventType(ctx, r.Id); err != nil { + return nil, s.logErr("DeleteEventType", err) + } + return &pb.DeleteEventTypeResponse{}, nil +} + +func (s *server) ListEventTypes(ctx context.Context, _ *pb.ListEventTypesRequest) (*pb.ListEventTypesResponse, error) { + et, err := s.eventTypes() + if err != nil { + return nil, err + } + types, err := et.ListEventTypes(ctx) + if err != nil { + return nil, s.logErr("ListEventTypes", err) + } + return &pb.ListEventTypesResponse{EventTypes: mapValues(types, eventTypeProto)}, nil +} + +// Client + +func (c *Client) InsertEventType(ctx context.Context, t eventtype.EventType) (string, error) { + r, err := c.client.InsertEventType(ctx, &pb.InsertEventTypeRequest{EventType: eventTypeProto(t)}) + if err != nil { + return "", unmapError(err) + } + return r.Id, nil +} + +func (c *Client) UpdateEventType(ctx context.Context, t eventtype.EventType) error { + _, err := c.client.UpdateEventType(ctx, &pb.UpdateEventTypeRequest{EventType: eventTypeProto(t)}) + return unmapError(err) +} + +func (c *Client) DeleteEventType(ctx context.Context, id string) error { + _, err := c.client.DeleteEventType(ctx, &pb.DeleteEventTypeRequest{Id: id}) + return unmapError(err) +} + +func (c *Client) ListEventTypes(ctx context.Context) ([]eventtype.EventType, error) { + r, err := c.client.ListEventTypes(ctx, &pb.ListEventTypesRequest{}) + if err != nil { + return nil, unmapError(err) + } + return mapValues(r.EventTypes, eventTypeValue), nil +} diff --git a/internal/infrastructure/staterpc/server.go b/internal/infrastructure/staterpc/server.go index 808f7252e..27b8f62eb 100644 --- a/internal/infrastructure/staterpc/server.go +++ b/internal/infrastructure/staterpc/server.go @@ -76,6 +76,7 @@ type Deps struct { ChannelStatus storecontract.ChannelStatusStore ApplyStatus storecontract.ApplyStatusStore Mappings storecontract.MappingStore + EventTypes storecontract.EventTypeStore Bindings storecontract.BindingStore BindingDispatcher storecontract.BindingDispatcher BindingTaskCreator storecontract.BindingTaskCreator diff --git a/internal/infrastructure/staterpc/values.go b/internal/infrastructure/staterpc/values.go index c926658b1..dea78e9f6 100644 --- a/internal/infrastructure/staterpc/values.go +++ b/internal/infrastructure/staterpc/values.go @@ -13,6 +13,7 @@ import ( pb "github.com/samcharles93/archie-core/internal/contracts/state/v1" "github.com/samcharles93/archie-core/internal/domain/binding" + "github.com/samcharles93/archie-core/internal/domain/eventtype" "github.com/samcharles93/archie-core/internal/domain/mapping" "github.com/samcharles93/archie-core/internal/domain/storecontract" "github.com/samcharles93/archie-core/internal/domain/workflow/task" @@ -149,7 +150,7 @@ func capturedEventProto(c storecontract.CapturedEvent) *pb.CapturedEvent { return &pb.CapturedEvent{ Id: c.ID, ReceivedAt: timestamp(c.ReceivedAt), Source: c.Source, RemoteAddr: c.RemoteAddr, ContentType: c.ContentType, Headers: c.Headers, - Body: c.Body, Authenticated: c.Authenticated, + Body: c.Body, Authenticated: c.Authenticated, EventType: c.EventType, } } @@ -160,7 +161,7 @@ func capturedEventValue(c *pb.CapturedEvent) storecontract.CapturedEvent { return storecontract.CapturedEvent{ ID: c.Id, ReceivedAt: timeValue(c.ReceivedAt), Source: c.Source, RemoteAddr: c.RemoteAddr, ContentType: c.ContentType, Headers: c.Headers, - Body: c.Body, Authenticated: c.Authenticated, + Body: c.Body, Authenticated: c.Authenticated, EventType: c.EventType, } } @@ -267,6 +268,9 @@ const ( msgStaleTransition = "stale transition" msgBindingNotFound = "binding not found" msgMappingNotFound = "mapping not found" + msgEventTypeNotFound = "event type not found" + msgEventTypeOverlap = "event type overlap" + msgEventTypeInvalid = "event type invalid" msgBindingOverlap = "binding overlap" msgBindingTransition = "binding transition rejected" msgAlreadyDispatched = "already dispatched" @@ -309,6 +313,12 @@ func mapError(err error) error { return status.Error(codes.NotFound, msgBindingNotFound) case errors.Is(err, storecontract.ErrMappingNotFound): return status.Error(codes.NotFound, msgMappingNotFound) + case errors.Is(err, storecontract.ErrEventTypeNotFound): + return status.Error(codes.NotFound, msgEventTypeNotFound) + case errors.Is(err, eventtype.ErrOverlap): + return status.Error(codes.FailedPrecondition, msgEventTypeOverlap) + case errors.Is(err, eventtype.ErrInvalid): + return status.Error(codes.InvalidArgument, msgEventTypeInvalid) case errors.Is(err, storecontract.ErrBindingOverlap): return status.Error(codes.FailedPrecondition, msgBindingOverlap) case errors.Is(err, storecontract.ErrBindingTransition): @@ -364,33 +374,27 @@ func unmapError(err error) error { // are part of the wire contract (ยง4). A code whose message is not one this // package defines returns nil, so the caller falls back to the wrapped form. func sentinelForStatus(st *status.Status) error { - switch st.Code() { - case codes.FailedPrecondition: - switch st.Message() { - case msgStaleTransition: - return storecontract.ErrStaleTransition - case msgBindingOverlap: - return storecontract.ErrBindingOverlap - case msgBindingTransition: - return storecontract.ErrBindingTransition - } - case codes.NotFound: - switch st.Message() { - case msgBindingNotFound: - return storecontract.ErrBindingNotFound - case msgMappingNotFound: - return storecontract.ErrMappingNotFound - } - case codes.AlreadyExists: - if st.Message() == msgAlreadyDispatched { - return storecontract.ErrAlreadyDispatched - } - case codes.Unavailable: - if st.Message() == msgTaskLogsUnavailable { - return logging.ErrTaskLogsUnavailable - } - } - return nil + return wireSentinels[wireStatus{st.Code(), st.Message()}] +} + +type wireStatus struct { + code codes.Code + message string +} + +// wireSentinels is the (code, canonical message) to sentinel table +// sentinelForStatus reads. +var wireSentinels = map[wireStatus]error{ + {codes.FailedPrecondition, msgStaleTransition}: storecontract.ErrStaleTransition, + {codes.FailedPrecondition, msgBindingOverlap}: storecontract.ErrBindingOverlap, + {codes.FailedPrecondition, msgBindingTransition}: storecontract.ErrBindingTransition, + {codes.FailedPrecondition, msgEventTypeOverlap}: eventtype.ErrOverlap, + {codes.InvalidArgument, msgEventTypeInvalid}: eventtype.ErrInvalid, + {codes.NotFound, msgBindingNotFound}: storecontract.ErrBindingNotFound, + {codes.NotFound, msgMappingNotFound}: storecontract.ErrMappingNotFound, + {codes.NotFound, msgEventTypeNotFound}: storecontract.ErrEventTypeNotFound, + {codes.AlreadyExists, msgAlreadyDispatched}: storecontract.ErrAlreadyDispatched, + {codes.Unavailable, msgTaskLogsUnavailable}: logging.ErrTaskLogsUnavailable, } // configSnapshotProto and configSnapshotValue carry the dashboard's diff --git a/proto/state/v1/state.proto b/proto/state/v1/state.proto index a7a67fbd1..546e10fb1 100644 --- a/proto/state/v1/state.proto +++ b/proto/state/v1/state.proto @@ -120,6 +120,13 @@ service StateStoreService { rpc UpdateMapping(UpdateMappingRequest) returns (UpdateMappingResponse); rpc DeleteMapping(DeleteMappingRequest) returns (DeleteMappingResponse); + // EventType (docs/prds/event-automation.md, "Event types"). Insert and + // Update refuse an overlapping or malformed type. + rpc InsertEventType(InsertEventTypeRequest) returns (InsertEventTypeResponse); + rpc UpdateEventType(UpdateEventTypeRequest) returns (UpdateEventTypeResponse); + rpc DeleteEventType(DeleteEventTypeRequest) returns (DeleteEventTypeResponse); + rpc ListEventTypes(ListEventTypesRequest) returns (ListEventTypesResponse); + // Binding rpc InsertBinding(InsertBindingRequest) returns (InsertBindingResponse); rpc GetBinding(GetBindingRequest) returns (GetBindingResponse); @@ -308,6 +315,35 @@ message CapturedEvent { string headers = 6; string body = 7; bool authenticated = 8; + // event_type is the ID of the event type the capture was identified as on + // arrival; empty is unidentified. + string event_type = 9; +} + +// EventTypeHeaderCondition mirrors internal/domain/eventtype.HeaderCondition. +message EventTypeHeaderCondition { + string name = 1; + string value = 2; +} + +// EventTypePayloadCondition mirrors internal/domain/eventtype.PayloadCondition. +message EventTypePayloadCondition { + string path = 1; + string op = 2; + string value = 3; +} + +// EventType mirrors internal/domain/eventtype.EventType. header_conditions and +// payload_conditions are its rule; schema maps each payload path to its type. +message EventType { + string id = 1; + string source = 2; + string name = 3; + repeated EventTypeHeaderCondition header_conditions = 4; + repeated EventTypePayloadCondition payload_conditions = 5; + map schema = 6; + google.protobuf.Timestamp created_at = 7; + google.protobuf.Timestamp updated_at = 8; } // MappingField mirrors internal/domain/mapping.Field. @@ -688,6 +724,18 @@ message UpdateMappingResponse {} message DeleteMappingRequest { string id = 1; } message DeleteMappingResponse {} +message InsertEventTypeRequest { EventType event_type = 1; } +message InsertEventTypeResponse { string id = 1; } + +message UpdateEventTypeRequest { EventType event_type = 1; } +message UpdateEventTypeResponse {} + +message DeleteEventTypeRequest { string id = 1; } +message DeleteEventTypeResponse {} + +message ListEventTypesRequest {} +message ListEventTypesResponse { repeated EventType event_types = 1; } + message InsertBindingRequest { Binding binding = 1; } message InsertBindingResponse { string id = 1; }