diff --git a/internal/app/archied/main.go b/internal/app/archied/main.go index 2525a34d7..918c87c7b 100644 --- a/internal/app/archied/main.go +++ b/internal/app/archied/main.go @@ -23,11 +23,13 @@ import ( natsio "github.com/nats-io/nats.go" "github.com/samcharles93/archie-core/internal/agentexec" + "github.com/samcharles93/archie-core/internal/app/servicekit" "github.com/samcharles93/archie-core/internal/buildinfo" "github.com/samcharles93/archie-core/internal/config" "github.com/samcharles93/archie-core/internal/container" "github.com/samcharles93/archie-core/internal/daemon" "github.com/samcharles93/archie-core/internal/domain/applystatus" + "github.com/samcharles93/archie-core/internal/domain/presence" "github.com/samcharles93/archie-core/internal/domain/storecontract" "github.com/samcharles93/archie-core/internal/domain/workflow" "github.com/samcharles93/archie-core/internal/events" @@ -178,6 +180,9 @@ func Run() int { //nolint:cyclop,funlen // the composition root's setup sequence if err := b.setupGatewayClient(); err != nil { return 1 } + if ps, ok := b.stateStore.(storecontract.PresenceStore); ok { + go presence.Run(ctx, b.processName, servicekit.Build(), ps, b.healthRegistry, b.log) + } // The daemon publishes the configuration view, which carries the catalog's // model limits. b.startModelCatalogRefresh(ctx) diff --git a/internal/app/archiegateway/server.go b/internal/app/archiegateway/server.go index ceecf6c84..c8e0c3586 100644 --- a/internal/app/archiegateway/server.go +++ b/internal/app/archiegateway/server.go @@ -22,6 +22,7 @@ import ( "github.com/samcharles93/archie-core/internal/domain/curator" domainmemory "github.com/samcharles93/archie-core/internal/domain/memory" "github.com/samcharles93/archie-core/internal/domain/messaging" + "github.com/samcharles93/archie-core/internal/domain/presence" "github.com/samcharles93/archie-core/internal/events" "github.com/samcharles93/archie-core/internal/gateway" "github.com/samcharles93/archie-core/internal/infrastructure/controlplanerpc" @@ -189,6 +190,7 @@ func (b *server) openState(ctx context.Context) error { b.cfg, b.runtimeVersions = cfg, versions b.cfgHolder.Set(cfg) go b.applyStatus.Run(ctx) + go presence.Run(ctx, presence.Gateway, servicekit.Build(), client, nil, b.log) return nil } diff --git a/internal/app/archiemessaging/run.go b/internal/app/archiemessaging/run.go index 46ab13fb8..10d4f22cb 100644 --- a/internal/app/archiemessaging/run.go +++ b/internal/app/archiemessaging/run.go @@ -5,9 +5,11 @@ import ( "fmt" "log/slog" + "github.com/samcharles93/archie-core/internal/app/servicekit" "github.com/samcharles93/archie-core/internal/config" "github.com/samcharles93/archie-core/internal/domain/applystatus" "github.com/samcharles93/archie-core/internal/domain/messaging" + "github.com/samcharles93/archie-core/internal/domain/presence" "github.com/samcharles93/archie-core/internal/domain/storecontract" "github.com/samcharles93/archie-core/internal/infrastructure/controlplanerpc" "github.com/samcharles93/archie-core/internal/infrastructure/gatewayrpc" @@ -65,6 +67,7 @@ func Run(ctx context.Context, o Options) error { } reporter.Report(ctx, controlplanerpc.ChannelSettingsKind, channelVersion, nil) go reporter.Run(ctx) + go presence.Run(ctx, presence.Messaging, servicekit.Build(), stateStore, health, log) cfg.Telegram, cfg.Email, cfg.Webhook, cfg.WebhookAddr, cfg.ShowToolCalls = chatSettings.Telegram, chatSettings.Email, chatSettings.Webhook, chatSettings.WebhookAddr, chatSettings.ShowToolCalls cfg.TelegramToken, settingsErr = resolveTelegramToken(chatSettings.Telegram, secrets) if settingsErr != nil { diff --git a/internal/app/archieui/run.go b/internal/app/archieui/run.go index 32ac6ec97..58aa33c93 100644 --- a/internal/app/archieui/run.go +++ b/internal/app/archieui/run.go @@ -9,11 +9,14 @@ import ( "net/http" "os" "slices" + "time" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + "github.com/samcharles93/archie-core/internal/app/servicekit" "github.com/samcharles93/archie-core/internal/domain/access" + "github.com/samcharles93/archie-core/internal/domain/presence" infraaccess "github.com/samcharles93/archie-core/internal/infrastructure/access" "github.com/samcharles93/archie-core/internal/infrastructure/gatewayrpc" "github.com/samcharles93/archie-core/internal/infrastructure/staterpc" @@ -108,11 +111,8 @@ func Run(ctx context.Context, options Options) error { // events back out of the State Store over the same cursor SSE catch-up // uses. Backgrounded so priming past a large events table cannot delay the // listener. - go func() { - if err := srv.PumpEvents(ctx, opts.EventPollInterval); err != nil { - log.Error("event pump stopped; the activity feed will only show history", "err", err) - } - }() + go pumpEvents(ctx, srv, opts.EventPollInterval, log) + go presence.Run(ctx, presence.UI, servicekit.Build(), tasks, srv.Health, log) liveCtx, stopLive := context.WithCancel(ctx) defer stopLive() go srv.RunLive(liveCtx) @@ -158,3 +158,9 @@ func serve(ctx context.Context, listener net.Listener, handler http.Handler, opt return err } } + +func pumpEvents(ctx context.Context, srv *webui.Server, interval time.Duration, log *slog.Logger) { + if err := srv.PumpEvents(ctx, interval); err != nil { + log.Error("event pump stopped; the activity feed will only show history", "err", err) + } +} diff --git a/internal/app/servicekit/presence.go b/internal/app/servicekit/presence.go new file mode 100644 index 000000000..14a3f5796 --- /dev/null +++ b/internal/app/servicekit/presence.go @@ -0,0 +1,12 @@ +package servicekit + +import ( + "github.com/samcharles93/archie-core/internal/buildinfo" + "github.com/samcharles93/archie-core/internal/domain/presence" + "github.com/samcharles93/archie-core/internal/installtype" +) + +// Build is what this binary was compiled as, for its presence record. +func Build() presence.Build { + return presence.Build{Version: buildinfo.Version, InstallType: installtype.Type()} +} diff --git a/internal/app/statestore/server.go b/internal/app/statestore/server.go index 4306e7c0a..9427ea788 100644 --- a/internal/app/statestore/server.go +++ b/internal/app/statestore/server.go @@ -23,6 +23,7 @@ import ( "github.com/samcharles93/archie-core/internal/domain/health" "github.com/samcharles93/archie-core/internal/domain/identity" "github.com/samcharles93/archie-core/internal/domain/org" + "github.com/samcharles93/archie-core/internal/domain/presence" "github.com/samcharles93/archie-core/internal/domain/storecontract" "github.com/samcharles93/archie-core/internal/domain/storepkg" infraaccess "github.com/samcharles93/archie-core/internal/infrastructure/access" @@ -338,6 +339,9 @@ func (b *server) stateStoreDeps(grants *staterpc.TaskGrants) staterpc.Deps { if css, ok := b.st.(storecontract.ConfigSnapshotStore); ok { deps.ConfigSnapshots = css } + if ps, ok := b.st.(storecontract.PresenceStore); ok { + deps.Presence = ps + } if as, ok := b.st.(storecontract.ApplyStatusStore); ok { deps.ApplyStatus = as } @@ -406,7 +410,7 @@ func serveStateStore(ctx context.Context, listener net.Listener, deps staterpc.D // and answers 503 when the store is degraded. It is the standalone process's // counterpart to the daemon's /healthz + /health/detailed (internal/webui). func (b *server) startStateStoreReadiness(ctx context.Context, readyAddr string) error { - registry := health.NewRegistry(readiness.NewStoreProbe(b.st)) + registry := b.readinessRegistry() mux := http.NewServeMux() mux.HandleFunc("GET /healthz", func(w http.ResponseWriter, _ *http.Request) { w.WriteHeader(http.StatusOK) @@ -427,6 +431,10 @@ func (b *server) startStateStoreReadiness(ctx context.Context, readyAddr string) return b.serveHealth(ctx, readyAddr, mux, "state store readiness") } +func (b *server) readinessRegistry() *health.Registry { + return health.NewRegistry(readiness.NewStoreProbe(b.st)) +} + // startOptionalSurfaces starts the HTTP surfaces this process serves beside // the gRPC contract, each enabled only by its own flag. // @@ -435,6 +443,9 @@ func (b *server) startStateStoreReadiness(ctx context.Context, readyAddr string) // own decision, not to the boot sequence that triggers it -- the same reason // reportUnseededResources is a method. func (b *server) startOptionalSurfaces(ctx context.Context, options Options) error { + if ps, ok := b.st.(storecontract.PresenceStore); ok { + go presence.Run(ctx, presence.StateStore, servicekit.Build(), ps, b.readinessRegistry(), b.log) + } if options.ReadyAddr != "" { if err := b.startStateStoreReadiness(ctx, options.ReadyAddr); err != nil { return err diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 9fae3ecd6..af10a8be5 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -7226,6 +7226,268 @@ func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus { return nil } +// Presence is one running service instance. ready and detail summarise its +// readiness probes; detail names the degraded ones. +type Presence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + InstallType string `protobuf:"bytes,4,opt,name=install_type,json=installType,proto3" json:"install_type,omitempty"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + ReportedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` + Ready bool `protobuf:"varint,7,opt,name=ready,proto3" json:"ready,omitempty"` + Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Presence) Reset() { + *x = Presence{} + mi := &file_state_v1_state_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Presence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Presence) ProtoMessage() {} + +func (x *Presence) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[123] + 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 Presence.ProtoReflect.Descriptor instead. +func (*Presence) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{123} +} + +func (x *Presence) GetService() string { + if x != nil { + return x.Service + } + return "" +} + +func (x *Presence) GetInstanceId() string { + if x != nil { + return x.InstanceId + } + return "" +} + +func (x *Presence) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *Presence) GetInstallType() string { + if x != nil { + return x.InstallType + } + return "" +} + +func (x *Presence) GetStartedAt() *timestamppb.Timestamp { + if x != nil { + return x.StartedAt + } + return nil +} + +func (x *Presence) GetReportedAt() *timestamppb.Timestamp { + if x != nil { + return x.ReportedAt + } + return nil +} + +func (x *Presence) GetReady() bool { + if x != nil { + return x.Ready + } + return false +} + +func (x *Presence) GetDetail() string { + if x != nil { + return x.Detail + } + return "" +} + +type PutPresenceRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Presence *Presence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PutPresenceRequest) Reset() { + *x = PutPresenceRequest{} + mi := &file_state_v1_state_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PutPresenceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutPresenceRequest) ProtoMessage() {} + +func (x *PutPresenceRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[124] + 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 PutPresenceRequest.ProtoReflect.Descriptor instead. +func (*PutPresenceRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{124} +} + +func (x *PutPresenceRequest) GetPresence() *Presence { + if x != nil { + return x.Presence + } + return nil +} + +type PutPresenceResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PutPresenceResponse) Reset() { + *x = PutPresenceResponse{} + mi := &file_state_v1_state_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PutPresenceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutPresenceResponse) ProtoMessage() {} + +func (x *PutPresenceResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[125] + 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 PutPresenceResponse.ProtoReflect.Descriptor instead. +func (*PutPresenceResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{125} +} + +type ListPresenceRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListPresenceRequest) Reset() { + *x = ListPresenceRequest{} + mi := &file_state_v1_state_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListPresenceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListPresenceRequest) ProtoMessage() {} + +func (x *ListPresenceRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[126] + 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 ListPresenceRequest.ProtoReflect.Descriptor instead. +func (*ListPresenceRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{126} +} + +type ListPresenceResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Presences []*Presence `protobuf:"bytes,1,rep,name=presences,proto3" json:"presences,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListPresenceResponse) Reset() { + *x = ListPresenceResponse{} + mi := &file_state_v1_state_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListPresenceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListPresenceResponse) ProtoMessage() {} + +func (x *ListPresenceResponse) 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 ListPresenceResponse.ProtoReflect.Descriptor instead. +func (*ListPresenceResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{127} +} + +func (x *ListPresenceResponse) GetPresences() []*Presence { + if x != nil { + return x.Presences + } + return nil +} + // TaskLogEntry mirrors internal/logging.Entry: one decoded log line. fields // carries every remaining key as a JSON object string, the same way Event // carries its data, so structured context survives the hop without this @@ -7243,7 +7505,7 @@ type TaskLogEntry struct { func (x *TaskLogEntry) Reset() { *x = TaskLogEntry{} - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7255,7 +7517,7 @@ func (x *TaskLogEntry) String() string { func (*TaskLogEntry) ProtoMessage() {} func (x *TaskLogEntry) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[123] + mi := &file_state_v1_state_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7268,7 +7530,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{123} + return file_state_v1_state_proto_rawDescGZIP(), []int{128} } func (x *TaskLogEntry) GetId() int64 { @@ -7333,7 +7595,7 @@ type ReadTaskLogRequest struct { func (x *ReadTaskLogRequest) Reset() { *x = ReadTaskLogRequest{} - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7345,7 +7607,7 @@ func (x *ReadTaskLogRequest) String() string { func (*ReadTaskLogRequest) ProtoMessage() {} func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[124] + mi := &file_state_v1_state_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7358,7 +7620,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{124} + return file_state_v1_state_proto_rawDescGZIP(), []int{129} } func (x *ReadTaskLogRequest) GetTaskId() int64 { @@ -7444,7 +7706,7 @@ type ReadTaskLogResponse struct { func (x *ReadTaskLogResponse) Reset() { *x = ReadTaskLogResponse{} - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7456,7 +7718,7 @@ func (x *ReadTaskLogResponse) String() string { func (*ReadTaskLogResponse) ProtoMessage() {} func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[125] + mi := &file_state_v1_state_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7469,7 +7731,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{125} + return file_state_v1_state_proto_rawDescGZIP(), []int{130} } func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry { @@ -7528,7 +7790,7 @@ type StreamTaskLogContentRequest struct { func (x *StreamTaskLogContentRequest) Reset() { *x = StreamTaskLogContentRequest{} - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7540,7 +7802,7 @@ func (x *StreamTaskLogContentRequest) String() string { func (*StreamTaskLogContentRequest) ProtoMessage() {} func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[126] + mi := &file_state_v1_state_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7553,7 +7815,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{126} + return file_state_v1_state_proto_rawDescGZIP(), []int{131} } func (x *StreamTaskLogContentRequest) GetTaskId() int64 { @@ -7581,7 +7843,7 @@ type StreamTaskLogContentResponse struct { func (x *StreamTaskLogContentResponse) Reset() { *x = StreamTaskLogContentResponse{} - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7593,7 +7855,7 @@ func (x *StreamTaskLogContentResponse) String() string { func (*StreamTaskLogContentResponse) ProtoMessage() {} func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[127] + mi := &file_state_v1_state_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7606,7 +7868,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{127} + return file_state_v1_state_proto_rawDescGZIP(), []int{132} } func (x *StreamTaskLogContentResponse) GetChunk() []byte { @@ -7641,7 +7903,7 @@ type InsertCaptureRequest struct { func (x *InsertCaptureRequest) Reset() { *x = InsertCaptureRequest{} - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7653,7 +7915,7 @@ func (x *InsertCaptureRequest) String() string { func (*InsertCaptureRequest) ProtoMessage() {} func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[128] + mi := &file_state_v1_state_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7666,7 +7928,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{128} + return file_state_v1_state_proto_rawDescGZIP(), []int{133} } func (x *InsertCaptureRequest) GetCapture() *CapturedEvent { @@ -7699,7 +7961,7 @@ type InsertCaptureResponse struct { func (x *InsertCaptureResponse) Reset() { *x = InsertCaptureResponse{} - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7711,7 +7973,7 @@ func (x *InsertCaptureResponse) String() string { func (*InsertCaptureResponse) ProtoMessage() {} func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[129] + mi := &file_state_v1_state_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7724,7 +7986,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{129} + return file_state_v1_state_proto_rawDescGZIP(), []int{134} } func (x *InsertCaptureResponse) GetId() string { @@ -7743,7 +8005,7 @@ type StreamCapturesRequest struct { func (x *StreamCapturesRequest) Reset() { *x = StreamCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7755,7 +8017,7 @@ func (x *StreamCapturesRequest) String() string { func (*StreamCapturesRequest) ProtoMessage() {} func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[130] + mi := &file_state_v1_state_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7768,7 +8030,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{130} + return file_state_v1_state_proto_rawDescGZIP(), []int{135} } func (x *StreamCapturesRequest) GetLimit() int64 { @@ -7788,7 +8050,7 @@ type StreamCapturesResponse struct { func (x *StreamCapturesResponse) Reset() { *x = StreamCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7800,7 +8062,7 @@ func (x *StreamCapturesResponse) String() string { func (*StreamCapturesResponse) ProtoMessage() {} func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[131] + mi := &file_state_v1_state_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7813,7 +8075,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{131} + return file_state_v1_state_proto_rawDescGZIP(), []int{136} } func (x *StreamCapturesResponse) GetCapture() *CapturedEvent { @@ -7832,7 +8094,7 @@ type InsertMappingRequest struct { func (x *InsertMappingRequest) Reset() { *x = InsertMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7844,7 +8106,7 @@ func (x *InsertMappingRequest) String() string { func (*InsertMappingRequest) ProtoMessage() {} func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[132] + mi := &file_state_v1_state_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7857,7 +8119,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{132} + return file_state_v1_state_proto_rawDescGZIP(), []int{137} } func (x *InsertMappingRequest) GetMapping() *Mapping { @@ -7876,7 +8138,7 @@ type InsertMappingResponse struct { func (x *InsertMappingResponse) Reset() { *x = InsertMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7888,7 +8150,7 @@ func (x *InsertMappingResponse) String() string { func (*InsertMappingResponse) ProtoMessage() {} func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[133] + mi := &file_state_v1_state_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7901,7 +8163,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{133} + return file_state_v1_state_proto_rawDescGZIP(), []int{138} } func (x *InsertMappingResponse) GetId() string { @@ -7920,7 +8182,7 @@ type GetMappingRequest struct { func (x *GetMappingRequest) Reset() { *x = GetMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7932,7 +8194,7 @@ func (x *GetMappingRequest) String() string { func (*GetMappingRequest) ProtoMessage() {} func (x *GetMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[134] + mi := &file_state_v1_state_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7945,7 +8207,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{134} + return file_state_v1_state_proto_rawDescGZIP(), []int{139} } func (x *GetMappingRequest) GetId() string { @@ -7965,7 +8227,7 @@ type GetMappingResponse struct { func (x *GetMappingResponse) Reset() { *x = GetMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7977,7 +8239,7 @@ func (x *GetMappingResponse) String() string { func (*GetMappingResponse) ProtoMessage() {} func (x *GetMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[135] + mi := &file_state_v1_state_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7990,7 +8252,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{135} + return file_state_v1_state_proto_rawDescGZIP(), []int{140} } func (x *GetMappingResponse) GetMapping() *Mapping { @@ -8015,7 +8277,7 @@ type ListMappingsRequest struct { func (x *ListMappingsRequest) Reset() { *x = ListMappingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8027,7 +8289,7 @@ func (x *ListMappingsRequest) String() string { func (*ListMappingsRequest) ProtoMessage() {} func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[136] + mi := &file_state_v1_state_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8040,7 +8302,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{136} + return file_state_v1_state_proto_rawDescGZIP(), []int{141} } type ListMappingsResponse struct { @@ -8052,7 +8314,7 @@ type ListMappingsResponse struct { func (x *ListMappingsResponse) Reset() { *x = ListMappingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8064,7 +8326,7 @@ func (x *ListMappingsResponse) String() string { func (*ListMappingsResponse) ProtoMessage() {} func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[137] + mi := &file_state_v1_state_proto_msgTypes[142] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8077,7 +8339,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{137} + return file_state_v1_state_proto_rawDescGZIP(), []int{142} } func (x *ListMappingsResponse) GetMappings() []*Mapping { @@ -8096,7 +8358,7 @@ type UpdateMappingRequest struct { func (x *UpdateMappingRequest) Reset() { *x = UpdateMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8108,7 +8370,7 @@ func (x *UpdateMappingRequest) String() string { func (*UpdateMappingRequest) ProtoMessage() {} func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[138] + mi := &file_state_v1_state_proto_msgTypes[143] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8121,7 +8383,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{138} + return file_state_v1_state_proto_rawDescGZIP(), []int{143} } func (x *UpdateMappingRequest) GetMapping() *Mapping { @@ -8139,7 +8401,7 @@ type UpdateMappingResponse struct { func (x *UpdateMappingResponse) Reset() { *x = UpdateMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8151,7 +8413,7 @@ func (x *UpdateMappingResponse) String() string { func (*UpdateMappingResponse) ProtoMessage() {} func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[139] + mi := &file_state_v1_state_proto_msgTypes[144] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8164,7 +8426,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{139} + return file_state_v1_state_proto_rawDescGZIP(), []int{144} } type DeleteMappingRequest struct { @@ -8176,7 +8438,7 @@ type DeleteMappingRequest struct { func (x *DeleteMappingRequest) Reset() { *x = DeleteMappingRequest{} - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8188,7 +8450,7 @@ func (x *DeleteMappingRequest) String() string { func (*DeleteMappingRequest) ProtoMessage() {} func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[140] + mi := &file_state_v1_state_proto_msgTypes[145] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8201,7 +8463,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{140} + return file_state_v1_state_proto_rawDescGZIP(), []int{145} } func (x *DeleteMappingRequest) GetId() string { @@ -8219,7 +8481,7 @@ type DeleteMappingResponse struct { func (x *DeleteMappingResponse) Reset() { *x = DeleteMappingResponse{} - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8231,7 +8493,7 @@ func (x *DeleteMappingResponse) String() string { func (*DeleteMappingResponse) ProtoMessage() {} func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[141] + mi := &file_state_v1_state_proto_msgTypes[146] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8244,7 +8506,7 @@ func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMappingResponse.ProtoReflect.Descriptor instead. func (*DeleteMappingResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{141} + return file_state_v1_state_proto_rawDescGZIP(), []int{146} } type RecordMappingMatchRequest struct { @@ -8257,7 +8519,7 @@ type RecordMappingMatchRequest struct { func (x *RecordMappingMatchRequest) Reset() { *x = RecordMappingMatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8269,7 +8531,7 @@ func (x *RecordMappingMatchRequest) String() string { func (*RecordMappingMatchRequest) ProtoMessage() {} func (x *RecordMappingMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[142] + mi := &file_state_v1_state_proto_msgTypes[147] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8282,7 +8544,7 @@ func (x *RecordMappingMatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordMappingMatchRequest.ProtoReflect.Descriptor instead. func (*RecordMappingMatchRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{142} + return file_state_v1_state_proto_rawDescGZIP(), []int{147} } func (x *RecordMappingMatchRequest) GetMappingId() string { @@ -8307,7 +8569,7 @@ type RecordMappingMatchResponse struct { func (x *RecordMappingMatchResponse) Reset() { *x = RecordMappingMatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8319,7 +8581,7 @@ func (x *RecordMappingMatchResponse) String() string { func (*RecordMappingMatchResponse) ProtoMessage() {} func (x *RecordMappingMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[143] + mi := &file_state_v1_state_proto_msgTypes[148] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8332,7 +8594,7 @@ func (x *RecordMappingMatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordMappingMatchResponse.ProtoReflect.Descriptor instead. func (*RecordMappingMatchResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{143} + return file_state_v1_state_proto_rawDescGZIP(), []int{148} } type InsertEventTypeRequest struct { @@ -8344,7 +8606,7 @@ type InsertEventTypeRequest struct { func (x *InsertEventTypeRequest) Reset() { *x = InsertEventTypeRequest{} - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8356,7 +8618,7 @@ func (x *InsertEventTypeRequest) String() string { func (*InsertEventTypeRequest) ProtoMessage() {} func (x *InsertEventTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[144] + mi := &file_state_v1_state_proto_msgTypes[149] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8369,7 +8631,7 @@ func (x *InsertEventTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventTypeRequest.ProtoReflect.Descriptor instead. func (*InsertEventTypeRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{144} + return file_state_v1_state_proto_rawDescGZIP(), []int{149} } func (x *InsertEventTypeRequest) GetEventType() *EventType { @@ -8388,7 +8650,7 @@ type InsertEventTypeResponse struct { func (x *InsertEventTypeResponse) Reset() { *x = InsertEventTypeResponse{} - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8400,7 +8662,7 @@ func (x *InsertEventTypeResponse) String() string { func (*InsertEventTypeResponse) ProtoMessage() {} func (x *InsertEventTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[145] + mi := &file_state_v1_state_proto_msgTypes[150] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8413,7 +8675,7 @@ func (x *InsertEventTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertEventTypeResponse.ProtoReflect.Descriptor instead. func (*InsertEventTypeResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{145} + return file_state_v1_state_proto_rawDescGZIP(), []int{150} } func (x *InsertEventTypeResponse) GetId() string { @@ -8432,7 +8694,7 @@ type UpdateEventTypeRequest struct { func (x *UpdateEventTypeRequest) Reset() { *x = UpdateEventTypeRequest{} - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8444,7 +8706,7 @@ func (x *UpdateEventTypeRequest) String() string { func (*UpdateEventTypeRequest) ProtoMessage() {} func (x *UpdateEventTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[146] + mi := &file_state_v1_state_proto_msgTypes[151] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8457,7 +8719,7 @@ func (x *UpdateEventTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEventTypeRequest.ProtoReflect.Descriptor instead. func (*UpdateEventTypeRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{146} + return file_state_v1_state_proto_rawDescGZIP(), []int{151} } func (x *UpdateEventTypeRequest) GetEventType() *EventType { @@ -8475,7 +8737,7 @@ type UpdateEventTypeResponse struct { func (x *UpdateEventTypeResponse) Reset() { *x = UpdateEventTypeResponse{} - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8487,7 +8749,7 @@ func (x *UpdateEventTypeResponse) String() string { func (*UpdateEventTypeResponse) ProtoMessage() {} func (x *UpdateEventTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[147] + mi := &file_state_v1_state_proto_msgTypes[152] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8500,7 +8762,7 @@ func (x *UpdateEventTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEventTypeResponse.ProtoReflect.Descriptor instead. func (*UpdateEventTypeResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{147} + return file_state_v1_state_proto_rawDescGZIP(), []int{152} } type DeleteEventTypeRequest struct { @@ -8512,7 +8774,7 @@ type DeleteEventTypeRequest struct { func (x *DeleteEventTypeRequest) Reset() { *x = DeleteEventTypeRequest{} - mi := &file_state_v1_state_proto_msgTypes[148] + mi := &file_state_v1_state_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8524,7 +8786,7 @@ func (x *DeleteEventTypeRequest) String() string { func (*DeleteEventTypeRequest) ProtoMessage() {} func (x *DeleteEventTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[148] + mi := &file_state_v1_state_proto_msgTypes[153] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8537,7 +8799,7 @@ func (x *DeleteEventTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteEventTypeRequest.ProtoReflect.Descriptor instead. func (*DeleteEventTypeRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{148} + return file_state_v1_state_proto_rawDescGZIP(), []int{153} } func (x *DeleteEventTypeRequest) GetId() string { @@ -8555,7 +8817,7 @@ type DeleteEventTypeResponse struct { func (x *DeleteEventTypeResponse) Reset() { *x = DeleteEventTypeResponse{} - mi := &file_state_v1_state_proto_msgTypes[149] + mi := &file_state_v1_state_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8567,7 +8829,7 @@ func (x *DeleteEventTypeResponse) String() string { func (*DeleteEventTypeResponse) ProtoMessage() {} func (x *DeleteEventTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[149] + mi := &file_state_v1_state_proto_msgTypes[154] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8580,7 +8842,7 @@ func (x *DeleteEventTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteEventTypeResponse.ProtoReflect.Descriptor instead. func (*DeleteEventTypeResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{149} + return file_state_v1_state_proto_rawDescGZIP(), []int{154} } type ListEventTypesRequest struct { @@ -8591,7 +8853,7 @@ type ListEventTypesRequest struct { func (x *ListEventTypesRequest) Reset() { *x = ListEventTypesRequest{} - mi := &file_state_v1_state_proto_msgTypes[150] + mi := &file_state_v1_state_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8603,7 +8865,7 @@ func (x *ListEventTypesRequest) String() string { func (*ListEventTypesRequest) ProtoMessage() {} func (x *ListEventTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[150] + mi := &file_state_v1_state_proto_msgTypes[155] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8616,7 +8878,7 @@ func (x *ListEventTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEventTypesRequest.ProtoReflect.Descriptor instead. func (*ListEventTypesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{150} + return file_state_v1_state_proto_rawDescGZIP(), []int{155} } type ListEventTypesResponse struct { @@ -8628,7 +8890,7 @@ type ListEventTypesResponse struct { func (x *ListEventTypesResponse) Reset() { *x = ListEventTypesResponse{} - mi := &file_state_v1_state_proto_msgTypes[151] + mi := &file_state_v1_state_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8640,7 +8902,7 @@ func (x *ListEventTypesResponse) String() string { func (*ListEventTypesResponse) ProtoMessage() {} func (x *ListEventTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[151] + mi := &file_state_v1_state_proto_msgTypes[156] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8653,7 +8915,7 @@ func (x *ListEventTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEventTypesResponse.ProtoReflect.Descriptor instead. func (*ListEventTypesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{151} + return file_state_v1_state_proto_rawDescGZIP(), []int{156} } func (x *ListEventTypesResponse) GetEventTypes() []*EventType { @@ -8672,7 +8934,7 @@ type InsertBindingRequest struct { func (x *InsertBindingRequest) Reset() { *x = InsertBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[152] + mi := &file_state_v1_state_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8684,7 +8946,7 @@ func (x *InsertBindingRequest) String() string { func (*InsertBindingRequest) ProtoMessage() {} func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[152] + mi := &file_state_v1_state_proto_msgTypes[157] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8697,7 +8959,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{152} + return file_state_v1_state_proto_rawDescGZIP(), []int{157} } func (x *InsertBindingRequest) GetBinding() *Binding { @@ -8716,7 +8978,7 @@ type InsertBindingResponse struct { func (x *InsertBindingResponse) Reset() { *x = InsertBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[153] + mi := &file_state_v1_state_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8728,7 +8990,7 @@ func (x *InsertBindingResponse) String() string { func (*InsertBindingResponse) ProtoMessage() {} func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[153] + mi := &file_state_v1_state_proto_msgTypes[158] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8741,7 +9003,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{153} + return file_state_v1_state_proto_rawDescGZIP(), []int{158} } func (x *InsertBindingResponse) GetId() string { @@ -8760,7 +9022,7 @@ type GetBindingRequest struct { func (x *GetBindingRequest) Reset() { *x = GetBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[154] + mi := &file_state_v1_state_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8772,7 +9034,7 @@ func (x *GetBindingRequest) String() string { func (*GetBindingRequest) ProtoMessage() {} func (x *GetBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[154] + mi := &file_state_v1_state_proto_msgTypes[159] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8785,7 +9047,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{154} + return file_state_v1_state_proto_rawDescGZIP(), []int{159} } func (x *GetBindingRequest) GetId() string { @@ -8805,7 +9067,7 @@ type GetBindingResponse struct { func (x *GetBindingResponse) Reset() { *x = GetBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[155] + mi := &file_state_v1_state_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8817,7 +9079,7 @@ func (x *GetBindingResponse) String() string { func (*GetBindingResponse) ProtoMessage() {} func (x *GetBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[155] + mi := &file_state_v1_state_proto_msgTypes[160] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8830,7 +9092,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{155} + return file_state_v1_state_proto_rawDescGZIP(), []int{160} } func (x *GetBindingResponse) GetBinding() *Binding { @@ -8855,7 +9117,7 @@ type ListBindingsRequest struct { func (x *ListBindingsRequest) Reset() { *x = ListBindingsRequest{} - mi := &file_state_v1_state_proto_msgTypes[156] + mi := &file_state_v1_state_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8867,7 +9129,7 @@ func (x *ListBindingsRequest) String() string { func (*ListBindingsRequest) ProtoMessage() {} func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[156] + mi := &file_state_v1_state_proto_msgTypes[161] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8880,7 +9142,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{156} + return file_state_v1_state_proto_rawDescGZIP(), []int{161} } type ListBindingsResponse struct { @@ -8892,7 +9154,7 @@ type ListBindingsResponse struct { func (x *ListBindingsResponse) Reset() { *x = ListBindingsResponse{} - mi := &file_state_v1_state_proto_msgTypes[157] + mi := &file_state_v1_state_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8904,7 +9166,7 @@ func (x *ListBindingsResponse) String() string { func (*ListBindingsResponse) ProtoMessage() {} func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[157] + mi := &file_state_v1_state_proto_msgTypes[162] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8917,7 +9179,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{157} + return file_state_v1_state_proto_rawDescGZIP(), []int{162} } func (x *ListBindingsResponse) GetBindings() []*Binding { @@ -8936,7 +9198,7 @@ type UpdateBindingRequest struct { func (x *UpdateBindingRequest) Reset() { *x = UpdateBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[158] + mi := &file_state_v1_state_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8948,7 +9210,7 @@ func (x *UpdateBindingRequest) String() string { func (*UpdateBindingRequest) ProtoMessage() {} func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[158] + mi := &file_state_v1_state_proto_msgTypes[163] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8961,7 +9223,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{158} + return file_state_v1_state_proto_rawDescGZIP(), []int{163} } func (x *UpdateBindingRequest) GetBinding() *Binding { @@ -8979,7 +9241,7 @@ type UpdateBindingResponse struct { func (x *UpdateBindingResponse) Reset() { *x = UpdateBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[159] + mi := &file_state_v1_state_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8991,7 +9253,7 @@ func (x *UpdateBindingResponse) String() string { func (*UpdateBindingResponse) ProtoMessage() {} func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[159] + mi := &file_state_v1_state_proto_msgTypes[164] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9004,7 +9266,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{159} + return file_state_v1_state_proto_rawDescGZIP(), []int{164} } type DeleteBindingRequest struct { @@ -9016,7 +9278,7 @@ type DeleteBindingRequest struct { func (x *DeleteBindingRequest) Reset() { *x = DeleteBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[160] + mi := &file_state_v1_state_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9028,7 +9290,7 @@ func (x *DeleteBindingRequest) String() string { func (*DeleteBindingRequest) ProtoMessage() {} func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[160] + mi := &file_state_v1_state_proto_msgTypes[165] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9041,7 +9303,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{160} + return file_state_v1_state_proto_rawDescGZIP(), []int{165} } func (x *DeleteBindingRequest) GetId() string { @@ -9059,7 +9321,7 @@ type DeleteBindingResponse struct { func (x *DeleteBindingResponse) Reset() { *x = DeleteBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[161] + mi := &file_state_v1_state_proto_msgTypes[166] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9071,7 +9333,7 @@ func (x *DeleteBindingResponse) String() string { func (*DeleteBindingResponse) ProtoMessage() {} func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[161] + mi := &file_state_v1_state_proto_msgTypes[166] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9084,7 +9346,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{161} + return file_state_v1_state_proto_rawDescGZIP(), []int{166} } type ApproveBindingRequest struct { @@ -9096,7 +9358,7 @@ type ApproveBindingRequest struct { func (x *ApproveBindingRequest) Reset() { *x = ApproveBindingRequest{} - mi := &file_state_v1_state_proto_msgTypes[162] + mi := &file_state_v1_state_proto_msgTypes[167] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9108,7 +9370,7 @@ func (x *ApproveBindingRequest) String() string { func (*ApproveBindingRequest) ProtoMessage() {} func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[162] + mi := &file_state_v1_state_proto_msgTypes[167] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9121,7 +9383,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{162} + return file_state_v1_state_proto_rawDescGZIP(), []int{167} } func (x *ApproveBindingRequest) GetId() string { @@ -9139,7 +9401,7 @@ type ApproveBindingResponse struct { func (x *ApproveBindingResponse) Reset() { *x = ApproveBindingResponse{} - mi := &file_state_v1_state_proto_msgTypes[163] + mi := &file_state_v1_state_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9151,7 +9413,7 @@ func (x *ApproveBindingResponse) String() string { func (*ApproveBindingResponse) ProtoMessage() {} func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[163] + mi := &file_state_v1_state_proto_msgTypes[168] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9164,7 +9426,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{163} + return file_state_v1_state_proto_rawDescGZIP(), []int{168} } type InsertSourceRequest struct { @@ -9176,7 +9438,7 @@ type InsertSourceRequest struct { func (x *InsertSourceRequest) Reset() { *x = InsertSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[164] + mi := &file_state_v1_state_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9188,7 +9450,7 @@ func (x *InsertSourceRequest) String() string { func (*InsertSourceRequest) ProtoMessage() {} func (x *InsertSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[164] + mi := &file_state_v1_state_proto_msgTypes[169] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9201,7 +9463,7 @@ func (x *InsertSourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertSourceRequest.ProtoReflect.Descriptor instead. func (*InsertSourceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{164} + return file_state_v1_state_proto_rawDescGZIP(), []int{169} } func (x *InsertSourceRequest) GetSource() *Source { @@ -9219,7 +9481,7 @@ type InsertSourceResponse struct { func (x *InsertSourceResponse) Reset() { *x = InsertSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[165] + mi := &file_state_v1_state_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9231,7 +9493,7 @@ func (x *InsertSourceResponse) String() string { func (*InsertSourceResponse) ProtoMessage() {} func (x *InsertSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[165] + mi := &file_state_v1_state_proto_msgTypes[170] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9244,7 +9506,7 @@ func (x *InsertSourceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InsertSourceResponse.ProtoReflect.Descriptor instead. func (*InsertSourceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{165} + return file_state_v1_state_proto_rawDescGZIP(), []int{170} } type GetSourceRequest struct { @@ -9256,7 +9518,7 @@ type GetSourceRequest struct { func (x *GetSourceRequest) Reset() { *x = GetSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[166] + mi := &file_state_v1_state_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9268,7 +9530,7 @@ func (x *GetSourceRequest) String() string { func (*GetSourceRequest) ProtoMessage() {} func (x *GetSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[166] + mi := &file_state_v1_state_proto_msgTypes[171] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9281,7 +9543,7 @@ func (x *GetSourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSourceRequest.ProtoReflect.Descriptor instead. func (*GetSourceRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{166} + return file_state_v1_state_proto_rawDescGZIP(), []int{171} } func (x *GetSourceRequest) GetPath() string { @@ -9301,7 +9563,7 @@ type GetSourceResponse struct { func (x *GetSourceResponse) Reset() { *x = GetSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[167] + mi := &file_state_v1_state_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9313,7 +9575,7 @@ func (x *GetSourceResponse) String() string { func (*GetSourceResponse) ProtoMessage() {} func (x *GetSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[167] + mi := &file_state_v1_state_proto_msgTypes[172] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9326,7 +9588,7 @@ func (x *GetSourceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSourceResponse.ProtoReflect.Descriptor instead. func (*GetSourceResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{167} + return file_state_v1_state_proto_rawDescGZIP(), []int{172} } func (x *GetSourceResponse) GetSource() *Source { @@ -9351,7 +9613,7 @@ type ListSourcesRequest struct { func (x *ListSourcesRequest) Reset() { *x = ListSourcesRequest{} - mi := &file_state_v1_state_proto_msgTypes[168] + mi := &file_state_v1_state_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9363,7 +9625,7 @@ func (x *ListSourcesRequest) String() string { func (*ListSourcesRequest) ProtoMessage() {} func (x *ListSourcesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[168] + mi := &file_state_v1_state_proto_msgTypes[173] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9376,7 +9638,7 @@ func (x *ListSourcesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListSourcesRequest.ProtoReflect.Descriptor instead. func (*ListSourcesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{168} + return file_state_v1_state_proto_rawDescGZIP(), []int{173} } type ListSourcesResponse struct { @@ -9388,7 +9650,7 @@ type ListSourcesResponse struct { func (x *ListSourcesResponse) Reset() { *x = ListSourcesResponse{} - mi := &file_state_v1_state_proto_msgTypes[169] + mi := &file_state_v1_state_proto_msgTypes[174] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9400,7 +9662,7 @@ func (x *ListSourcesResponse) String() string { func (*ListSourcesResponse) ProtoMessage() {} func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[169] + mi := &file_state_v1_state_proto_msgTypes[174] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9413,7 +9675,7 @@ func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead. func (*ListSourcesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{169} + return file_state_v1_state_proto_rawDescGZIP(), []int{174} } func (x *ListSourcesResponse) GetSources() []*Source { @@ -9434,7 +9696,7 @@ type SetSourceSigningRequest struct { func (x *SetSourceSigningRequest) Reset() { *x = SetSourceSigningRequest{} - mi := &file_state_v1_state_proto_msgTypes[170] + mi := &file_state_v1_state_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9446,7 +9708,7 @@ func (x *SetSourceSigningRequest) String() string { func (*SetSourceSigningRequest) ProtoMessage() {} func (x *SetSourceSigningRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[170] + mi := &file_state_v1_state_proto_msgTypes[175] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9459,7 +9721,7 @@ func (x *SetSourceSigningRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSigningRequest.ProtoReflect.Descriptor instead. func (*SetSourceSigningRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{170} + return file_state_v1_state_proto_rawDescGZIP(), []int{175} } func (x *SetSourceSigningRequest) GetPath() string { @@ -9491,7 +9753,7 @@ type SetSourceSigningResponse struct { func (x *SetSourceSigningResponse) Reset() { *x = SetSourceSigningResponse{} - mi := &file_state_v1_state_proto_msgTypes[171] + mi := &file_state_v1_state_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9503,7 +9765,7 @@ func (x *SetSourceSigningResponse) String() string { func (*SetSourceSigningResponse) ProtoMessage() {} func (x *SetSourceSigningResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[171] + mi := &file_state_v1_state_proto_msgTypes[176] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9516,7 +9778,7 @@ func (x *SetSourceSigningResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSigningResponse.ProtoReflect.Descriptor instead. func (*SetSourceSigningResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{171} + return file_state_v1_state_proto_rawDescGZIP(), []int{176} } type SetSourceSecretRequest struct { @@ -9529,7 +9791,7 @@ type SetSourceSecretRequest struct { func (x *SetSourceSecretRequest) Reset() { *x = SetSourceSecretRequest{} - mi := &file_state_v1_state_proto_msgTypes[172] + mi := &file_state_v1_state_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9541,7 +9803,7 @@ func (x *SetSourceSecretRequest) String() string { func (*SetSourceSecretRequest) ProtoMessage() {} func (x *SetSourceSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[172] + mi := &file_state_v1_state_proto_msgTypes[177] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9554,7 +9816,7 @@ func (x *SetSourceSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSecretRequest.ProtoReflect.Descriptor instead. func (*SetSourceSecretRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{172} + return file_state_v1_state_proto_rawDescGZIP(), []int{177} } func (x *SetSourceSecretRequest) GetPath() string { @@ -9579,7 +9841,7 @@ type SetSourceSecretResponse struct { func (x *SetSourceSecretResponse) Reset() { *x = SetSourceSecretResponse{} - mi := &file_state_v1_state_proto_msgTypes[173] + mi := &file_state_v1_state_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9591,7 +9853,7 @@ func (x *SetSourceSecretResponse) String() string { func (*SetSourceSecretResponse) ProtoMessage() {} func (x *SetSourceSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[173] + mi := &file_state_v1_state_proto_msgTypes[178] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9604,7 +9866,7 @@ func (x *SetSourceSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSourceSecretResponse.ProtoReflect.Descriptor instead. func (*SetSourceSecretResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{173} + return file_state_v1_state_proto_rawDescGZIP(), []int{178} } type ArmedBindingsForSourceRequest struct { @@ -9616,7 +9878,7 @@ type ArmedBindingsForSourceRequest struct { func (x *ArmedBindingsForSourceRequest) Reset() { *x = ArmedBindingsForSourceRequest{} - mi := &file_state_v1_state_proto_msgTypes[174] + mi := &file_state_v1_state_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9628,7 +9890,7 @@ func (x *ArmedBindingsForSourceRequest) String() string { func (*ArmedBindingsForSourceRequest) ProtoMessage() {} func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[174] + mi := &file_state_v1_state_proto_msgTypes[179] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9641,7 +9903,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{174} + return file_state_v1_state_proto_rawDescGZIP(), []int{179} } func (x *ArmedBindingsForSourceRequest) GetSource() string { @@ -9660,7 +9922,7 @@ type ArmedBindingsForSourceResponse struct { func (x *ArmedBindingsForSourceResponse) Reset() { *x = ArmedBindingsForSourceResponse{} - mi := &file_state_v1_state_proto_msgTypes[175] + mi := &file_state_v1_state_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9672,7 +9934,7 @@ func (x *ArmedBindingsForSourceResponse) String() string { func (*ArmedBindingsForSourceResponse) ProtoMessage() {} func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[175] + mi := &file_state_v1_state_proto_msgTypes[180] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9685,7 +9947,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{175} + return file_state_v1_state_proto_rawDescGZIP(), []int{180} } func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding { @@ -9708,7 +9970,7 @@ type RecordDispatchRequest struct { func (x *RecordDispatchRequest) Reset() { *x = RecordDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[176] + mi := &file_state_v1_state_proto_msgTypes[181] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9720,7 +9982,7 @@ func (x *RecordDispatchRequest) String() string { func (*RecordDispatchRequest) ProtoMessage() {} func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[176] + mi := &file_state_v1_state_proto_msgTypes[181] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9733,7 +9995,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{176} + return file_state_v1_state_proto_rawDescGZIP(), []int{181} } func (x *RecordDispatchRequest) GetBindingId() string { @@ -9772,7 +10034,7 @@ type RecordDispatchResponse struct { func (x *RecordDispatchResponse) Reset() { *x = RecordDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[177] + mi := &file_state_v1_state_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9784,7 +10046,7 @@ func (x *RecordDispatchResponse) String() string { func (*RecordDispatchResponse) ProtoMessage() {} func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[177] + mi := &file_state_v1_state_proto_msgTypes[182] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9797,7 +10059,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{177} + return file_state_v1_state_proto_rawDescGZIP(), []int{182} } type RecordPlaybookDispatchRequest struct { @@ -9812,7 +10074,7 @@ type RecordPlaybookDispatchRequest struct { func (x *RecordPlaybookDispatchRequest) Reset() { *x = RecordPlaybookDispatchRequest{} - mi := &file_state_v1_state_proto_msgTypes[178] + mi := &file_state_v1_state_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9824,7 +10086,7 @@ func (x *RecordPlaybookDispatchRequest) String() string { func (*RecordPlaybookDispatchRequest) ProtoMessage() {} func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[178] + mi := &file_state_v1_state_proto_msgTypes[183] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9837,7 +10099,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{178} + return file_state_v1_state_proto_rawDescGZIP(), []int{183} } func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string { @@ -9876,7 +10138,7 @@ type RecordPlaybookDispatchResponse struct { func (x *RecordPlaybookDispatchResponse) Reset() { *x = RecordPlaybookDispatchResponse{} - mi := &file_state_v1_state_proto_msgTypes[179] + mi := &file_state_v1_state_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9888,7 +10150,7 @@ func (x *RecordPlaybookDispatchResponse) String() string { func (*RecordPlaybookDispatchResponse) ProtoMessage() {} func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[179] + mi := &file_state_v1_state_proto_msgTypes[184] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9901,7 +10163,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{179} + return file_state_v1_state_proto_rawDescGZIP(), []int{184} } type DeletePlaybookDispatchesRequest struct { @@ -9913,7 +10175,7 @@ type DeletePlaybookDispatchesRequest struct { func (x *DeletePlaybookDispatchesRequest) Reset() { *x = DeletePlaybookDispatchesRequest{} - mi := &file_state_v1_state_proto_msgTypes[180] + mi := &file_state_v1_state_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9925,7 +10187,7 @@ func (x *DeletePlaybookDispatchesRequest) String() string { func (*DeletePlaybookDispatchesRequest) ProtoMessage() {} func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[180] + mi := &file_state_v1_state_proto_msgTypes[185] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9938,7 +10200,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{180} + return file_state_v1_state_proto_rawDescGZIP(), []int{185} } func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string { @@ -9956,7 +10218,7 @@ type DeletePlaybookDispatchesResponse struct { func (x *DeletePlaybookDispatchesResponse) Reset() { *x = DeletePlaybookDispatchesResponse{} - mi := &file_state_v1_state_proto_msgTypes[181] + mi := &file_state_v1_state_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9968,7 +10230,7 @@ func (x *DeletePlaybookDispatchesResponse) String() string { func (*DeletePlaybookDispatchesResponse) ProtoMessage() {} func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[181] + mi := &file_state_v1_state_proto_msgTypes[186] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9981,7 +10243,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{181} + return file_state_v1_state_proto_rawDescGZIP(), []int{186} } type StreamUndispatchedCapturesRequest struct { @@ -9994,7 +10256,7 @@ type StreamUndispatchedCapturesRequest struct { func (x *StreamUndispatchedCapturesRequest) Reset() { *x = StreamUndispatchedCapturesRequest{} - mi := &file_state_v1_state_proto_msgTypes[182] + mi := &file_state_v1_state_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10006,7 +10268,7 @@ func (x *StreamUndispatchedCapturesRequest) String() string { func (*StreamUndispatchedCapturesRequest) ProtoMessage() {} func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[182] + mi := &file_state_v1_state_proto_msgTypes[187] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10019,7 +10281,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{182} + return file_state_v1_state_proto_rawDescGZIP(), []int{187} } func (x *StreamUndispatchedCapturesRequest) GetSources() []string { @@ -10046,7 +10308,7 @@ type StreamUndispatchedCapturesResponse struct { func (x *StreamUndispatchedCapturesResponse) Reset() { *x = StreamUndispatchedCapturesResponse{} - mi := &file_state_v1_state_proto_msgTypes[183] + mi := &file_state_v1_state_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10058,7 +10320,7 @@ func (x *StreamUndispatchedCapturesResponse) String() string { func (*StreamUndispatchedCapturesResponse) ProtoMessage() {} func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[183] + mi := &file_state_v1_state_proto_msgTypes[188] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10071,7 +10333,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{183} + return file_state_v1_state_proto_rawDescGZIP(), []int{188} } func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent { @@ -10098,7 +10360,7 @@ type EnqueueBindingTaskRequest struct { func (x *EnqueueBindingTaskRequest) Reset() { *x = EnqueueBindingTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[184] + mi := &file_state_v1_state_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10110,7 +10372,7 @@ func (x *EnqueueBindingTaskRequest) String() string { func (*EnqueueBindingTaskRequest) ProtoMessage() {} func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[184] + mi := &file_state_v1_state_proto_msgTypes[189] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10123,7 +10385,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{184} + return file_state_v1_state_proto_rawDescGZIP(), []int{189} } func (x *EnqueueBindingTaskRequest) GetOwner() string { @@ -10198,7 +10460,7 @@ type EnqueueBindingTaskResponse struct { func (x *EnqueueBindingTaskResponse) Reset() { *x = EnqueueBindingTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[185] + mi := &file_state_v1_state_proto_msgTypes[190] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10210,7 +10472,7 @@ func (x *EnqueueBindingTaskResponse) String() string { func (*EnqueueBindingTaskResponse) ProtoMessage() {} func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[185] + mi := &file_state_v1_state_proto_msgTypes[190] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10223,7 +10485,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{185} + return file_state_v1_state_proto_rawDescGZIP(), []int{190} } func (x *EnqueueBindingTaskResponse) GetTask() *Task { @@ -10246,7 +10508,7 @@ type EnqueueCallTaskRequest struct { func (x *EnqueueCallTaskRequest) Reset() { *x = EnqueueCallTaskRequest{} - mi := &file_state_v1_state_proto_msgTypes[186] + mi := &file_state_v1_state_proto_msgTypes[191] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10258,7 +10520,7 @@ func (x *EnqueueCallTaskRequest) String() string { func (*EnqueueCallTaskRequest) ProtoMessage() {} func (x *EnqueueCallTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[186] + mi := &file_state_v1_state_proto_msgTypes[191] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10271,7 +10533,7 @@ func (x *EnqueueCallTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueCallTaskRequest.ProtoReflect.Descriptor instead. func (*EnqueueCallTaskRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{186} + return file_state_v1_state_proto_rawDescGZIP(), []int{191} } func (x *EnqueueCallTaskRequest) GetCallerTaskId() int64 { @@ -10305,7 +10567,7 @@ type EnqueueCallTaskResponse struct { func (x *EnqueueCallTaskResponse) Reset() { *x = EnqueueCallTaskResponse{} - mi := &file_state_v1_state_proto_msgTypes[187] + mi := &file_state_v1_state_proto_msgTypes[192] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10317,7 +10579,7 @@ func (x *EnqueueCallTaskResponse) String() string { func (*EnqueueCallTaskResponse) ProtoMessage() {} func (x *EnqueueCallTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[187] + mi := &file_state_v1_state_proto_msgTypes[192] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10330,7 +10592,7 @@ func (x *EnqueueCallTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnqueueCallTaskResponse.ProtoReflect.Descriptor instead. func (*EnqueueCallTaskResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{187} + return file_state_v1_state_proto_rawDescGZIP(), []int{192} } func (x *EnqueueCallTaskResponse) GetTask() *Task { @@ -10357,7 +10619,7 @@ type WorkflowCallStatusRequest struct { func (x *WorkflowCallStatusRequest) Reset() { *x = WorkflowCallStatusRequest{} - mi := &file_state_v1_state_proto_msgTypes[188] + mi := &file_state_v1_state_proto_msgTypes[193] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10369,7 +10631,7 @@ func (x *WorkflowCallStatusRequest) String() string { func (*WorkflowCallStatusRequest) ProtoMessage() {} func (x *WorkflowCallStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[188] + mi := &file_state_v1_state_proto_msgTypes[193] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10382,7 +10644,7 @@ func (x *WorkflowCallStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowCallStatusRequest.ProtoReflect.Descriptor instead. func (*WorkflowCallStatusRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{188} + return file_state_v1_state_proto_rawDescGZIP(), []int{193} } func (x *WorkflowCallStatusRequest) GetCallerTaskId() int64 { @@ -10415,7 +10677,7 @@ type WorkflowCallStatusResponse struct { func (x *WorkflowCallStatusResponse) Reset() { *x = WorkflowCallStatusResponse{} - mi := &file_state_v1_state_proto_msgTypes[189] + mi := &file_state_v1_state_proto_msgTypes[194] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10427,7 +10689,7 @@ func (x *WorkflowCallStatusResponse) String() string { func (*WorkflowCallStatusResponse) ProtoMessage() {} func (x *WorkflowCallStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[189] + mi := &file_state_v1_state_proto_msgTypes[194] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10440,7 +10702,7 @@ func (x *WorkflowCallStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowCallStatusResponse.ProtoReflect.Descriptor instead. func (*WorkflowCallStatusResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{189} + return file_state_v1_state_proto_rawDescGZIP(), []int{194} } func (x *WorkflowCallStatusResponse) GetStatus() string { @@ -10482,7 +10744,7 @@ type InstalledPackage struct { func (x *InstalledPackage) Reset() { *x = InstalledPackage{} - mi := &file_state_v1_state_proto_msgTypes[190] + mi := &file_state_v1_state_proto_msgTypes[195] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10494,7 +10756,7 @@ func (x *InstalledPackage) String() string { func (*InstalledPackage) ProtoMessage() {} func (x *InstalledPackage) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[190] + mi := &file_state_v1_state_proto_msgTypes[195] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10507,7 +10769,7 @@ func (x *InstalledPackage) ProtoReflect() protoreflect.Message { // Deprecated: Use InstalledPackage.ProtoReflect.Descriptor instead. func (*InstalledPackage) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{190} + return file_state_v1_state_proto_rawDescGZIP(), []int{195} } func (x *InstalledPackage) GetOrgId() string { @@ -10582,7 +10844,7 @@ type PackageAuthority struct { func (x *PackageAuthority) Reset() { *x = PackageAuthority{} - mi := &file_state_v1_state_proto_msgTypes[191] + mi := &file_state_v1_state_proto_msgTypes[196] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10594,7 +10856,7 @@ func (x *PackageAuthority) String() string { func (*PackageAuthority) ProtoMessage() {} func (x *PackageAuthority) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[191] + mi := &file_state_v1_state_proto_msgTypes[196] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10607,7 +10869,7 @@ func (x *PackageAuthority) ProtoReflect() protoreflect.Message { // Deprecated: Use PackageAuthority.ProtoReflect.Descriptor instead. func (*PackageAuthority) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{191} + return file_state_v1_state_proto_rawDescGZIP(), []int{196} } func (x *PackageAuthority) GetCredentialServices() []string { @@ -10664,7 +10926,7 @@ type InstallPackageRequest struct { func (x *InstallPackageRequest) Reset() { *x = InstallPackageRequest{} - mi := &file_state_v1_state_proto_msgTypes[192] + mi := &file_state_v1_state_proto_msgTypes[197] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10676,7 +10938,7 @@ func (x *InstallPackageRequest) String() string { func (*InstallPackageRequest) ProtoMessage() {} func (x *InstallPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[192] + mi := &file_state_v1_state_proto_msgTypes[197] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10689,7 +10951,7 @@ func (x *InstallPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InstallPackageRequest.ProtoReflect.Descriptor instead. func (*InstallPackageRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{192} + return file_state_v1_state_proto_rawDescGZIP(), []int{197} } func (x *InstallPackageRequest) GetOrgId() string { @@ -10729,7 +10991,7 @@ type InstallPackageResponse struct { func (x *InstallPackageResponse) Reset() { *x = InstallPackageResponse{} - mi := &file_state_v1_state_proto_msgTypes[193] + mi := &file_state_v1_state_proto_msgTypes[198] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10741,7 +11003,7 @@ func (x *InstallPackageResponse) String() string { func (*InstallPackageResponse) ProtoMessage() {} func (x *InstallPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[193] + mi := &file_state_v1_state_proto_msgTypes[198] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10754,7 +11016,7 @@ func (x *InstallPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InstallPackageResponse.ProtoReflect.Descriptor instead. func (*InstallPackageResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{193} + return file_state_v1_state_proto_rawDescGZIP(), []int{198} } func (x *InstallPackageResponse) GetPackage() *InstalledPackage { @@ -10774,7 +11036,7 @@ type GetInstalledPackageRequest struct { func (x *GetInstalledPackageRequest) Reset() { *x = GetInstalledPackageRequest{} - mi := &file_state_v1_state_proto_msgTypes[194] + mi := &file_state_v1_state_proto_msgTypes[199] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10786,7 +11048,7 @@ func (x *GetInstalledPackageRequest) String() string { func (*GetInstalledPackageRequest) ProtoMessage() {} func (x *GetInstalledPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[194] + mi := &file_state_v1_state_proto_msgTypes[199] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10799,7 +11061,7 @@ func (x *GetInstalledPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInstalledPackageRequest.ProtoReflect.Descriptor instead. func (*GetInstalledPackageRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{194} + return file_state_v1_state_proto_rawDescGZIP(), []int{199} } func (x *GetInstalledPackageRequest) GetOrgId() string { @@ -10825,7 +11087,7 @@ type GetInstalledPackageResponse struct { func (x *GetInstalledPackageResponse) Reset() { *x = GetInstalledPackageResponse{} - mi := &file_state_v1_state_proto_msgTypes[195] + mi := &file_state_v1_state_proto_msgTypes[200] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10837,7 +11099,7 @@ func (x *GetInstalledPackageResponse) String() string { func (*GetInstalledPackageResponse) ProtoMessage() {} func (x *GetInstalledPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[195] + mi := &file_state_v1_state_proto_msgTypes[200] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10850,7 +11112,7 @@ func (x *GetInstalledPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInstalledPackageResponse.ProtoReflect.Descriptor instead. func (*GetInstalledPackageResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{195} + return file_state_v1_state_proto_rawDescGZIP(), []int{200} } func (x *GetInstalledPackageResponse) GetPackage() *InstalledPackage { @@ -10869,7 +11131,7 @@ type ListInstalledPackagesRequest struct { func (x *ListInstalledPackagesRequest) Reset() { *x = ListInstalledPackagesRequest{} - mi := &file_state_v1_state_proto_msgTypes[196] + mi := &file_state_v1_state_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10881,7 +11143,7 @@ func (x *ListInstalledPackagesRequest) String() string { func (*ListInstalledPackagesRequest) ProtoMessage() {} func (x *ListInstalledPackagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[196] + mi := &file_state_v1_state_proto_msgTypes[201] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10894,7 +11156,7 @@ func (x *ListInstalledPackagesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListInstalledPackagesRequest.ProtoReflect.Descriptor instead. func (*ListInstalledPackagesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{196} + return file_state_v1_state_proto_rawDescGZIP(), []int{201} } func (x *ListInstalledPackagesRequest) GetOrgId() string { @@ -10913,7 +11175,7 @@ type ListInstalledPackagesResponse struct { func (x *ListInstalledPackagesResponse) Reset() { *x = ListInstalledPackagesResponse{} - mi := &file_state_v1_state_proto_msgTypes[197] + mi := &file_state_v1_state_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10925,7 +11187,7 @@ func (x *ListInstalledPackagesResponse) String() string { func (*ListInstalledPackagesResponse) ProtoMessage() {} func (x *ListInstalledPackagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[197] + mi := &file_state_v1_state_proto_msgTypes[202] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10938,7 +11200,7 @@ func (x *ListInstalledPackagesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListInstalledPackagesResponse.ProtoReflect.Descriptor instead. func (*ListInstalledPackagesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{197} + return file_state_v1_state_proto_rawDescGZIP(), []int{202} } func (x *ListInstalledPackagesResponse) GetPackages() []*InstalledPackage { @@ -10959,7 +11221,7 @@ type AcceptPackageAuthorityRequest struct { func (x *AcceptPackageAuthorityRequest) Reset() { *x = AcceptPackageAuthorityRequest{} - mi := &file_state_v1_state_proto_msgTypes[198] + mi := &file_state_v1_state_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10971,7 +11233,7 @@ func (x *AcceptPackageAuthorityRequest) String() string { func (*AcceptPackageAuthorityRequest) ProtoMessage() {} func (x *AcceptPackageAuthorityRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[198] + mi := &file_state_v1_state_proto_msgTypes[203] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10984,7 +11246,7 @@ func (x *AcceptPackageAuthorityRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AcceptPackageAuthorityRequest.ProtoReflect.Descriptor instead. func (*AcceptPackageAuthorityRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{198} + return file_state_v1_state_proto_rawDescGZIP(), []int{203} } func (x *AcceptPackageAuthorityRequest) GetOrgId() string { @@ -11017,7 +11279,7 @@ type AcceptPackageAuthorityResponse struct { func (x *AcceptPackageAuthorityResponse) Reset() { *x = AcceptPackageAuthorityResponse{} - mi := &file_state_v1_state_proto_msgTypes[199] + mi := &file_state_v1_state_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11029,7 +11291,7 @@ func (x *AcceptPackageAuthorityResponse) String() string { func (*AcceptPackageAuthorityResponse) ProtoMessage() {} func (x *AcceptPackageAuthorityResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[199] + mi := &file_state_v1_state_proto_msgTypes[204] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11042,7 +11304,7 @@ func (x *AcceptPackageAuthorityResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AcceptPackageAuthorityResponse.ProtoReflect.Descriptor instead. func (*AcceptPackageAuthorityResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{199} + return file_state_v1_state_proto_rawDescGZIP(), []int{204} } func (x *AcceptPackageAuthorityResponse) GetPackage() *InstalledPackage { @@ -11062,7 +11324,7 @@ type RemoveInstalledPackageRequest struct { func (x *RemoveInstalledPackageRequest) Reset() { *x = RemoveInstalledPackageRequest{} - mi := &file_state_v1_state_proto_msgTypes[200] + mi := &file_state_v1_state_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11074,7 +11336,7 @@ func (x *RemoveInstalledPackageRequest) String() string { func (*RemoveInstalledPackageRequest) ProtoMessage() {} func (x *RemoveInstalledPackageRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[200] + mi := &file_state_v1_state_proto_msgTypes[205] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11087,7 +11349,7 @@ func (x *RemoveInstalledPackageRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveInstalledPackageRequest.ProtoReflect.Descriptor instead. func (*RemoveInstalledPackageRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{200} + return file_state_v1_state_proto_rawDescGZIP(), []int{205} } func (x *RemoveInstalledPackageRequest) GetOrgId() string { @@ -11112,7 +11374,7 @@ type RemoveInstalledPackageResponse struct { func (x *RemoveInstalledPackageResponse) Reset() { *x = RemoveInstalledPackageResponse{} - mi := &file_state_v1_state_proto_msgTypes[201] + mi := &file_state_v1_state_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11124,7 +11386,7 @@ func (x *RemoveInstalledPackageResponse) String() string { func (*RemoveInstalledPackageResponse) ProtoMessage() {} func (x *RemoveInstalledPackageResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[201] + mi := &file_state_v1_state_proto_msgTypes[206] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11137,7 +11399,7 @@ func (x *RemoveInstalledPackageResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveInstalledPackageResponse.ProtoReflect.Descriptor instead. func (*RemoveInstalledPackageResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{201} + return file_state_v1_state_proto_rawDescGZIP(), []int{206} } type GetPrincipalRequest struct { @@ -11149,7 +11411,7 @@ type GetPrincipalRequest struct { func (x *GetPrincipalRequest) Reset() { *x = GetPrincipalRequest{} - mi := &file_state_v1_state_proto_msgTypes[202] + mi := &file_state_v1_state_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11161,7 +11423,7 @@ func (x *GetPrincipalRequest) String() string { func (*GetPrincipalRequest) ProtoMessage() {} func (x *GetPrincipalRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[202] + mi := &file_state_v1_state_proto_msgTypes[207] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11174,7 +11436,7 @@ func (x *GetPrincipalRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPrincipalRequest.ProtoReflect.Descriptor instead. func (*GetPrincipalRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{202} + return file_state_v1_state_proto_rawDescGZIP(), []int{207} } func (x *GetPrincipalRequest) GetIdentityId() string { @@ -11197,7 +11459,7 @@ type PrincipalMembership struct { func (x *PrincipalMembership) Reset() { *x = PrincipalMembership{} - mi := &file_state_v1_state_proto_msgTypes[203] + mi := &file_state_v1_state_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11209,7 +11471,7 @@ func (x *PrincipalMembership) String() string { func (*PrincipalMembership) ProtoMessage() {} func (x *PrincipalMembership) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[203] + mi := &file_state_v1_state_proto_msgTypes[208] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11222,7 +11484,7 @@ func (x *PrincipalMembership) ProtoReflect() protoreflect.Message { // Deprecated: Use PrincipalMembership.ProtoReflect.Descriptor instead. func (*PrincipalMembership) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{203} + return file_state_v1_state_proto_rawDescGZIP(), []int{208} } func (x *PrincipalMembership) GetOrgId() string { @@ -11257,7 +11519,7 @@ type AccessPrincipal struct { func (x *AccessPrincipal) Reset() { *x = AccessPrincipal{} - mi := &file_state_v1_state_proto_msgTypes[204] + mi := &file_state_v1_state_proto_msgTypes[209] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11269,7 +11531,7 @@ func (x *AccessPrincipal) String() string { func (*AccessPrincipal) ProtoMessage() {} func (x *AccessPrincipal) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[204] + mi := &file_state_v1_state_proto_msgTypes[209] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11282,7 +11544,7 @@ func (x *AccessPrincipal) ProtoReflect() protoreflect.Message { // Deprecated: Use AccessPrincipal.ProtoReflect.Descriptor instead. func (*AccessPrincipal) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{204} + return file_state_v1_state_proto_rawDescGZIP(), []int{209} } func (x *AccessPrincipal) GetIdentityId() string { @@ -11315,7 +11577,7 @@ type GetPrincipalResponse struct { func (x *GetPrincipalResponse) Reset() { *x = GetPrincipalResponse{} - mi := &file_state_v1_state_proto_msgTypes[205] + mi := &file_state_v1_state_proto_msgTypes[210] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11327,7 +11589,7 @@ func (x *GetPrincipalResponse) String() string { func (*GetPrincipalResponse) ProtoMessage() {} func (x *GetPrincipalResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[205] + mi := &file_state_v1_state_proto_msgTypes[210] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11340,7 +11602,7 @@ func (x *GetPrincipalResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPrincipalResponse.ProtoReflect.Descriptor instead. func (*GetPrincipalResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{205} + return file_state_v1_state_proto_rawDescGZIP(), []int{210} } func (x *GetPrincipalResponse) GetPrincipal() *AccessPrincipal { @@ -11367,7 +11629,7 @@ type AccessPolicy struct { func (x *AccessPolicy) Reset() { *x = AccessPolicy{} - mi := &file_state_v1_state_proto_msgTypes[206] + mi := &file_state_v1_state_proto_msgTypes[211] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11379,7 +11641,7 @@ func (x *AccessPolicy) String() string { func (*AccessPolicy) ProtoMessage() {} func (x *AccessPolicy) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[206] + mi := &file_state_v1_state_proto_msgTypes[211] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11392,7 +11654,7 @@ func (x *AccessPolicy) ProtoReflect() protoreflect.Message { // Deprecated: Use AccessPolicy.ProtoReflect.Descriptor instead. func (*AccessPolicy) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{206} + return file_state_v1_state_proto_rawDescGZIP(), []int{211} } func (x *AccessPolicy) GetPolicyId() string { @@ -11452,7 +11714,7 @@ type ListPoliciesRequest struct { func (x *ListPoliciesRequest) Reset() { *x = ListPoliciesRequest{} - mi := &file_state_v1_state_proto_msgTypes[207] + mi := &file_state_v1_state_proto_msgTypes[212] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11464,7 +11726,7 @@ func (x *ListPoliciesRequest) String() string { func (*ListPoliciesRequest) ProtoMessage() {} func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[207] + mi := &file_state_v1_state_proto_msgTypes[212] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11477,7 +11739,7 @@ func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead. func (*ListPoliciesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{207} + return file_state_v1_state_proto_rawDescGZIP(), []int{212} } type ListPoliciesResponse struct { @@ -11489,7 +11751,7 @@ type ListPoliciesResponse struct { func (x *ListPoliciesResponse) Reset() { *x = ListPoliciesResponse{} - mi := &file_state_v1_state_proto_msgTypes[208] + mi := &file_state_v1_state_proto_msgTypes[213] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11501,7 +11763,7 @@ func (x *ListPoliciesResponse) String() string { func (*ListPoliciesResponse) ProtoMessage() {} func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[208] + mi := &file_state_v1_state_proto_msgTypes[213] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11514,7 +11776,7 @@ func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead. func (*ListPoliciesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{208} + return file_state_v1_state_proto_rawDescGZIP(), []int{213} } func (x *ListPoliciesResponse) GetPolicies() []*AccessPolicy { @@ -11533,7 +11795,7 @@ type PutPolicyRequest struct { func (x *PutPolicyRequest) Reset() { *x = PutPolicyRequest{} - mi := &file_state_v1_state_proto_msgTypes[209] + mi := &file_state_v1_state_proto_msgTypes[214] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11545,7 +11807,7 @@ func (x *PutPolicyRequest) String() string { func (*PutPolicyRequest) ProtoMessage() {} func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[209] + mi := &file_state_v1_state_proto_msgTypes[214] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11558,7 +11820,7 @@ func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutPolicyRequest.ProtoReflect.Descriptor instead. func (*PutPolicyRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{209} + return file_state_v1_state_proto_rawDescGZIP(), []int{214} } func (x *PutPolicyRequest) GetPolicy() *AccessPolicy { @@ -11577,7 +11839,7 @@ type PutPolicyResponse struct { func (x *PutPolicyResponse) Reset() { *x = PutPolicyResponse{} - mi := &file_state_v1_state_proto_msgTypes[210] + mi := &file_state_v1_state_proto_msgTypes[215] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11589,7 +11851,7 @@ func (x *PutPolicyResponse) String() string { func (*PutPolicyResponse) ProtoMessage() {} func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[210] + mi := &file_state_v1_state_proto_msgTypes[215] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11602,7 +11864,7 @@ func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutPolicyResponse.ProtoReflect.Descriptor instead. func (*PutPolicyResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{210} + return file_state_v1_state_proto_rawDescGZIP(), []int{215} } func (x *PutPolicyResponse) GetVersion() int64 { @@ -11621,7 +11883,7 @@ type DeletePolicyRequest struct { func (x *DeletePolicyRequest) Reset() { *x = DeletePolicyRequest{} - mi := &file_state_v1_state_proto_msgTypes[211] + mi := &file_state_v1_state_proto_msgTypes[216] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11633,7 +11895,7 @@ func (x *DeletePolicyRequest) String() string { func (*DeletePolicyRequest) ProtoMessage() {} func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[211] + mi := &file_state_v1_state_proto_msgTypes[216] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11646,7 +11908,7 @@ func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead. func (*DeletePolicyRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{211} + return file_state_v1_state_proto_rawDescGZIP(), []int{216} } func (x *DeletePolicyRequest) GetPolicy() *AccessPolicy { @@ -11664,7 +11926,7 @@ type DeletePolicyResponse struct { func (x *DeletePolicyResponse) Reset() { *x = DeletePolicyResponse{} - mi := &file_state_v1_state_proto_msgTypes[212] + mi := &file_state_v1_state_proto_msgTypes[217] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11676,7 +11938,7 @@ func (x *DeletePolicyResponse) String() string { func (*DeletePolicyResponse) ProtoMessage() {} func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[212] + mi := &file_state_v1_state_proto_msgTypes[217] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11689,7 +11951,7 @@ func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead. func (*DeletePolicyResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{212} + return file_state_v1_state_proto_rawDescGZIP(), []int{217} } type EnsureShippedOrgPoliciesRequest struct { @@ -11701,7 +11963,7 @@ type EnsureShippedOrgPoliciesRequest struct { func (x *EnsureShippedOrgPoliciesRequest) Reset() { *x = EnsureShippedOrgPoliciesRequest{} - mi := &file_state_v1_state_proto_msgTypes[213] + mi := &file_state_v1_state_proto_msgTypes[218] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11713,7 +11975,7 @@ func (x *EnsureShippedOrgPoliciesRequest) String() string { func (*EnsureShippedOrgPoliciesRequest) ProtoMessage() {} func (x *EnsureShippedOrgPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[213] + mi := &file_state_v1_state_proto_msgTypes[218] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11726,7 +11988,7 @@ func (x *EnsureShippedOrgPoliciesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnsureShippedOrgPoliciesRequest.ProtoReflect.Descriptor instead. func (*EnsureShippedOrgPoliciesRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{213} + return file_state_v1_state_proto_rawDescGZIP(), []int{218} } func (x *EnsureShippedOrgPoliciesRequest) GetOrgId() string { @@ -11744,7 +12006,7 @@ type EnsureShippedOrgPoliciesResponse struct { func (x *EnsureShippedOrgPoliciesResponse) Reset() { *x = EnsureShippedOrgPoliciesResponse{} - mi := &file_state_v1_state_proto_msgTypes[214] + mi := &file_state_v1_state_proto_msgTypes[219] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11756,7 +12018,7 @@ func (x *EnsureShippedOrgPoliciesResponse) String() string { func (*EnsureShippedOrgPoliciesResponse) ProtoMessage() {} func (x *EnsureShippedOrgPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[214] + mi := &file_state_v1_state_proto_msgTypes[219] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11769,7 +12031,7 @@ func (x *EnsureShippedOrgPoliciesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnsureShippedOrgPoliciesResponse.ProtoReflect.Descriptor instead. func (*EnsureShippedOrgPoliciesResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{214} + return file_state_v1_state_proto_rawDescGZIP(), []int{219} } // AccessDenial mirrors internal/domain/access.Denial: one refusal with the @@ -11792,7 +12054,7 @@ type AccessDenial struct { func (x *AccessDenial) Reset() { *x = AccessDenial{} - mi := &file_state_v1_state_proto_msgTypes[215] + mi := &file_state_v1_state_proto_msgTypes[220] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11804,7 +12066,7 @@ func (x *AccessDenial) String() string { func (*AccessDenial) ProtoMessage() {} func (x *AccessDenial) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[215] + mi := &file_state_v1_state_proto_msgTypes[220] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11817,7 +12079,7 @@ func (x *AccessDenial) ProtoReflect() protoreflect.Message { // Deprecated: Use AccessDenial.ProtoReflect.Descriptor instead. func (*AccessDenial) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{215} + return file_state_v1_state_proto_rawDescGZIP(), []int{220} } func (x *AccessDenial) GetOrgId() string { @@ -11892,7 +12154,7 @@ type RecordDenialRequest struct { func (x *RecordDenialRequest) Reset() { *x = RecordDenialRequest{} - mi := &file_state_v1_state_proto_msgTypes[216] + mi := &file_state_v1_state_proto_msgTypes[221] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11904,7 +12166,7 @@ func (x *RecordDenialRequest) String() string { func (*RecordDenialRequest) ProtoMessage() {} func (x *RecordDenialRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[216] + mi := &file_state_v1_state_proto_msgTypes[221] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11917,7 +12179,7 @@ func (x *RecordDenialRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDenialRequest.ProtoReflect.Descriptor instead. func (*RecordDenialRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{216} + return file_state_v1_state_proto_rawDescGZIP(), []int{221} } func (x *RecordDenialRequest) GetDenial() *AccessDenial { @@ -11935,7 +12197,7 @@ type RecordDenialResponse struct { func (x *RecordDenialResponse) Reset() { *x = RecordDenialResponse{} - mi := &file_state_v1_state_proto_msgTypes[217] + mi := &file_state_v1_state_proto_msgTypes[222] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11947,7 +12209,7 @@ func (x *RecordDenialResponse) String() string { func (*RecordDenialResponse) ProtoMessage() {} func (x *RecordDenialResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[217] + mi := &file_state_v1_state_proto_msgTypes[222] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11960,7 +12222,7 @@ func (x *RecordDenialResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordDenialResponse.ProtoReflect.Descriptor instead. func (*RecordDenialResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{217} + return file_state_v1_state_proto_rawDescGZIP(), []int{222} } type ListDenialsRequest struct { @@ -11973,7 +12235,7 @@ type ListDenialsRequest struct { func (x *ListDenialsRequest) Reset() { *x = ListDenialsRequest{} - mi := &file_state_v1_state_proto_msgTypes[218] + mi := &file_state_v1_state_proto_msgTypes[223] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11985,7 +12247,7 @@ func (x *ListDenialsRequest) String() string { func (*ListDenialsRequest) ProtoMessage() {} func (x *ListDenialsRequest) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[218] + mi := &file_state_v1_state_proto_msgTypes[223] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11998,7 +12260,7 @@ func (x *ListDenialsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDenialsRequest.ProtoReflect.Descriptor instead. func (*ListDenialsRequest) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{218} + return file_state_v1_state_proto_rawDescGZIP(), []int{223} } func (x *ListDenialsRequest) GetOrgId() string { @@ -12024,7 +12286,7 @@ type ListDenialsResponse struct { func (x *ListDenialsResponse) Reset() { *x = ListDenialsResponse{} - mi := &file_state_v1_state_proto_msgTypes[219] + mi := &file_state_v1_state_proto_msgTypes[224] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12036,7 +12298,7 @@ func (x *ListDenialsResponse) String() string { func (*ListDenialsResponse) ProtoMessage() {} func (x *ListDenialsResponse) ProtoReflect() protoreflect.Message { - mi := &file_state_v1_state_proto_msgTypes[219] + mi := &file_state_v1_state_proto_msgTypes[224] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12049,7 +12311,7 @@ func (x *ListDenialsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDenialsResponse.ProtoReflect.Descriptor instead. func (*ListDenialsResponse) Descriptor() ([]byte, []int) { - return file_state_v1_state_proto_rawDescGZIP(), []int{219} + return file_state_v1_state_proto_rawDescGZIP(), []int{224} } func (x *ListDenialsResponse) GetDenials() []*AccessDenial { @@ -12579,7 +12841,25 @@ const file_state_v1_state_proto_rawDesc = "" + "\x16PutApplyStatusResponse\"\x18\n" + "\x16ListApplyStatusRequest\"L\n" + "\x17ListApplyStatusResponse\x121\n" + - "\bstatuses\x18\x01 \x03(\v2\x15.state.v1.ApplyStatusR\bstatuses\"\x97\x01\n" + + "\bstatuses\x18\x01 \x03(\v2\x15.state.v1.ApplyStatusR\bstatuses\"\xa8\x02\n" + + "\bPresence\x12\x18\n" + + "\aservice\x18\x01 \x01(\tR\aservice\x12\x1f\n" + + "\vinstance_id\x18\x02 \x01(\tR\n" + + "instanceId\x12\x18\n" + + "\aversion\x18\x03 \x01(\tR\aversion\x12!\n" + + "\finstall_type\x18\x04 \x01(\tR\vinstallType\x129\n" + + "\n" + + "started_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x12;\n" + + "\vreported_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" + + "reportedAt\x12\x14\n" + + "\x05ready\x18\a \x01(\bR\x05ready\x12\x16\n" + + "\x06detail\x18\b \x01(\tR\x06detail\"D\n" + + "\x12PutPresenceRequest\x12.\n" + + "\bpresence\x18\x01 \x01(\v2\x12.state.v1.PresenceR\bpresence\"\x15\n" + + "\x13PutPresenceResponse\"\x15\n" + + "\x13ListPresenceRequest\"H\n" + + "\x14ListPresenceResponse\x120\n" + + "\tpresences\x18\x01 \x03(\v2\x12.state.v1.PresenceR\tpresences\"\x97\x01\n" + "\fTaskLogEntry\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12.\n" + "\x04time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x04time\x12\x14\n" + @@ -12859,7 +13139,7 @@ const file_state_v1_state_proto_rawDesc = "" + "\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x14\n" + "\x05limit\x18\x02 \x01(\x05R\x05limit\"G\n" + "\x13ListDenialsResponse\x120\n" + - "\adenials\x18\x01 \x03(\v2\x16.state.v1.AccessDenialR\adenials2\xfc?\n" + + "\adenials\x18\x01 \x03(\v2\x16.state.v1.AccessDenialR\adenials2\x97A\n" + "\x11StateStoreService\x12S\n" + "\x0eInstallPackage\x12\x1f.state.v1.InstallPackageRequest\x1a .state.v1.InstallPackageResponse\x12b\n" + "\x13GetInstalledPackage\x12$.state.v1.GetInstalledPackageRequest\x1a%.state.v1.GetInstalledPackageResponse\x12h\n" + @@ -12921,6 +13201,8 @@ const file_state_v1_state_proto_rawDesc = "" + "\x11ListChannelStatus\x12\".state.v1.ListChannelStatusRequest\x1a#.state.v1.ListChannelStatusResponse\x12S\n" + "\x0ePutApplyStatus\x12\x1f.state.v1.PutApplyStatusRequest\x1a .state.v1.PutApplyStatusResponse\x12V\n" + "\x0fListApplyStatus\x12 .state.v1.ListApplyStatusRequest\x1a!.state.v1.ListApplyStatusResponse\x12J\n" + + "\vPutPresence\x12\x1c.state.v1.PutPresenceRequest\x1a\x1d.state.v1.PutPresenceResponse\x12M\n" + + "\fListPresence\x12\x1d.state.v1.ListPresenceRequest\x1a\x1e.state.v1.ListPresenceResponse\x12J\n" + "\vReadTaskLog\x12\x1c.state.v1.ReadTaskLogRequest\x1a\x1d.state.v1.ReadTaskLogResponse\x12g\n" + "\x14StreamTaskLogContent\x12%.state.v1.StreamTaskLogContentRequest\x1a&.state.v1.StreamTaskLogContentResponse0\x01\x12P\n" + "\rInsertCapture\x12\x1e.state.v1.InsertCaptureRequest\x1a\x1f.state.v1.InsertCaptureResponse\x12U\n" + @@ -12978,7 +13260,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, 222) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 227) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -13103,110 +13385,115 @@ var file_state_v1_state_proto_goTypes = []any{ (*PutApplyStatusResponse)(nil), // 120: state.v1.PutApplyStatusResponse (*ListApplyStatusRequest)(nil), // 121: state.v1.ListApplyStatusRequest (*ListApplyStatusResponse)(nil), // 122: state.v1.ListApplyStatusResponse - (*TaskLogEntry)(nil), // 123: state.v1.TaskLogEntry - (*ReadTaskLogRequest)(nil), // 124: state.v1.ReadTaskLogRequest - (*ReadTaskLogResponse)(nil), // 125: state.v1.ReadTaskLogResponse - (*StreamTaskLogContentRequest)(nil), // 126: state.v1.StreamTaskLogContentRequest - (*StreamTaskLogContentResponse)(nil), // 127: state.v1.StreamTaskLogContentResponse - (*InsertCaptureRequest)(nil), // 128: state.v1.InsertCaptureRequest - (*InsertCaptureResponse)(nil), // 129: state.v1.InsertCaptureResponse - (*StreamCapturesRequest)(nil), // 130: state.v1.StreamCapturesRequest - (*StreamCapturesResponse)(nil), // 131: state.v1.StreamCapturesResponse - (*InsertMappingRequest)(nil), // 132: state.v1.InsertMappingRequest - (*InsertMappingResponse)(nil), // 133: state.v1.InsertMappingResponse - (*GetMappingRequest)(nil), // 134: state.v1.GetMappingRequest - (*GetMappingResponse)(nil), // 135: state.v1.GetMappingResponse - (*ListMappingsRequest)(nil), // 136: state.v1.ListMappingsRequest - (*ListMappingsResponse)(nil), // 137: state.v1.ListMappingsResponse - (*UpdateMappingRequest)(nil), // 138: state.v1.UpdateMappingRequest - (*UpdateMappingResponse)(nil), // 139: state.v1.UpdateMappingResponse - (*DeleteMappingRequest)(nil), // 140: state.v1.DeleteMappingRequest - (*DeleteMappingResponse)(nil), // 141: state.v1.DeleteMappingResponse - (*RecordMappingMatchRequest)(nil), // 142: state.v1.RecordMappingMatchRequest - (*RecordMappingMatchResponse)(nil), // 143: state.v1.RecordMappingMatchResponse - (*InsertEventTypeRequest)(nil), // 144: state.v1.InsertEventTypeRequest - (*InsertEventTypeResponse)(nil), // 145: state.v1.InsertEventTypeResponse - (*UpdateEventTypeRequest)(nil), // 146: state.v1.UpdateEventTypeRequest - (*UpdateEventTypeResponse)(nil), // 147: state.v1.UpdateEventTypeResponse - (*DeleteEventTypeRequest)(nil), // 148: state.v1.DeleteEventTypeRequest - (*DeleteEventTypeResponse)(nil), // 149: state.v1.DeleteEventTypeResponse - (*ListEventTypesRequest)(nil), // 150: state.v1.ListEventTypesRequest - (*ListEventTypesResponse)(nil), // 151: state.v1.ListEventTypesResponse - (*InsertBindingRequest)(nil), // 152: state.v1.InsertBindingRequest - (*InsertBindingResponse)(nil), // 153: state.v1.InsertBindingResponse - (*GetBindingRequest)(nil), // 154: state.v1.GetBindingRequest - (*GetBindingResponse)(nil), // 155: state.v1.GetBindingResponse - (*ListBindingsRequest)(nil), // 156: state.v1.ListBindingsRequest - (*ListBindingsResponse)(nil), // 157: state.v1.ListBindingsResponse - (*UpdateBindingRequest)(nil), // 158: state.v1.UpdateBindingRequest - (*UpdateBindingResponse)(nil), // 159: state.v1.UpdateBindingResponse - (*DeleteBindingRequest)(nil), // 160: state.v1.DeleteBindingRequest - (*DeleteBindingResponse)(nil), // 161: state.v1.DeleteBindingResponse - (*ApproveBindingRequest)(nil), // 162: state.v1.ApproveBindingRequest - (*ApproveBindingResponse)(nil), // 163: state.v1.ApproveBindingResponse - (*InsertSourceRequest)(nil), // 164: state.v1.InsertSourceRequest - (*InsertSourceResponse)(nil), // 165: state.v1.InsertSourceResponse - (*GetSourceRequest)(nil), // 166: state.v1.GetSourceRequest - (*GetSourceResponse)(nil), // 167: state.v1.GetSourceResponse - (*ListSourcesRequest)(nil), // 168: state.v1.ListSourcesRequest - (*ListSourcesResponse)(nil), // 169: state.v1.ListSourcesResponse - (*SetSourceSigningRequest)(nil), // 170: state.v1.SetSourceSigningRequest - (*SetSourceSigningResponse)(nil), // 171: state.v1.SetSourceSigningResponse - (*SetSourceSecretRequest)(nil), // 172: state.v1.SetSourceSecretRequest - (*SetSourceSecretResponse)(nil), // 173: state.v1.SetSourceSecretResponse - (*ArmedBindingsForSourceRequest)(nil), // 174: state.v1.ArmedBindingsForSourceRequest - (*ArmedBindingsForSourceResponse)(nil), // 175: state.v1.ArmedBindingsForSourceResponse - (*RecordDispatchRequest)(nil), // 176: state.v1.RecordDispatchRequest - (*RecordDispatchResponse)(nil), // 177: state.v1.RecordDispatchResponse - (*RecordPlaybookDispatchRequest)(nil), // 178: state.v1.RecordPlaybookDispatchRequest - (*RecordPlaybookDispatchResponse)(nil), // 179: state.v1.RecordPlaybookDispatchResponse - (*DeletePlaybookDispatchesRequest)(nil), // 180: state.v1.DeletePlaybookDispatchesRequest - (*DeletePlaybookDispatchesResponse)(nil), // 181: state.v1.DeletePlaybookDispatchesResponse - (*StreamUndispatchedCapturesRequest)(nil), // 182: state.v1.StreamUndispatchedCapturesRequest - (*StreamUndispatchedCapturesResponse)(nil), // 183: state.v1.StreamUndispatchedCapturesResponse - (*EnqueueBindingTaskRequest)(nil), // 184: state.v1.EnqueueBindingTaskRequest - (*EnqueueBindingTaskResponse)(nil), // 185: state.v1.EnqueueBindingTaskResponse - (*EnqueueCallTaskRequest)(nil), // 186: state.v1.EnqueueCallTaskRequest - (*EnqueueCallTaskResponse)(nil), // 187: state.v1.EnqueueCallTaskResponse - (*WorkflowCallStatusRequest)(nil), // 188: state.v1.WorkflowCallStatusRequest - (*WorkflowCallStatusResponse)(nil), // 189: state.v1.WorkflowCallStatusResponse - (*InstalledPackage)(nil), // 190: state.v1.InstalledPackage - (*PackageAuthority)(nil), // 191: state.v1.PackageAuthority - (*InstallPackageRequest)(nil), // 192: state.v1.InstallPackageRequest - (*InstallPackageResponse)(nil), // 193: state.v1.InstallPackageResponse - (*GetInstalledPackageRequest)(nil), // 194: state.v1.GetInstalledPackageRequest - (*GetInstalledPackageResponse)(nil), // 195: state.v1.GetInstalledPackageResponse - (*ListInstalledPackagesRequest)(nil), // 196: state.v1.ListInstalledPackagesRequest - (*ListInstalledPackagesResponse)(nil), // 197: state.v1.ListInstalledPackagesResponse - (*AcceptPackageAuthorityRequest)(nil), // 198: state.v1.AcceptPackageAuthorityRequest - (*AcceptPackageAuthorityResponse)(nil), // 199: state.v1.AcceptPackageAuthorityResponse - (*RemoveInstalledPackageRequest)(nil), // 200: state.v1.RemoveInstalledPackageRequest - (*RemoveInstalledPackageResponse)(nil), // 201: state.v1.RemoveInstalledPackageResponse - (*GetPrincipalRequest)(nil), // 202: state.v1.GetPrincipalRequest - (*PrincipalMembership)(nil), // 203: state.v1.PrincipalMembership - (*AccessPrincipal)(nil), // 204: state.v1.AccessPrincipal - (*GetPrincipalResponse)(nil), // 205: state.v1.GetPrincipalResponse - (*AccessPolicy)(nil), // 206: state.v1.AccessPolicy - (*ListPoliciesRequest)(nil), // 207: state.v1.ListPoliciesRequest - (*ListPoliciesResponse)(nil), // 208: state.v1.ListPoliciesResponse - (*PutPolicyRequest)(nil), // 209: state.v1.PutPolicyRequest - (*PutPolicyResponse)(nil), // 210: state.v1.PutPolicyResponse - (*DeletePolicyRequest)(nil), // 211: state.v1.DeletePolicyRequest - (*DeletePolicyResponse)(nil), // 212: state.v1.DeletePolicyResponse - (*EnsureShippedOrgPoliciesRequest)(nil), // 213: state.v1.EnsureShippedOrgPoliciesRequest - (*EnsureShippedOrgPoliciesResponse)(nil), // 214: state.v1.EnsureShippedOrgPoliciesResponse - (*AccessDenial)(nil), // 215: state.v1.AccessDenial - (*RecordDenialRequest)(nil), // 216: state.v1.RecordDenialRequest - (*RecordDenialResponse)(nil), // 217: state.v1.RecordDenialResponse - (*ListDenialsRequest)(nil), // 218: state.v1.ListDenialsRequest - (*ListDenialsResponse)(nil), // 219: state.v1.ListDenialsResponse - nil, // 220: state.v1.EventType.SchemaEntry - nil, // 221: state.v1.StatusCountsResponse.CountsEntry - (*timestamppb.Timestamp)(nil), // 222: google.protobuf.Timestamp + (*Presence)(nil), // 123: state.v1.Presence + (*PutPresenceRequest)(nil), // 124: state.v1.PutPresenceRequest + (*PutPresenceResponse)(nil), // 125: state.v1.PutPresenceResponse + (*ListPresenceRequest)(nil), // 126: state.v1.ListPresenceRequest + (*ListPresenceResponse)(nil), // 127: state.v1.ListPresenceResponse + (*TaskLogEntry)(nil), // 128: state.v1.TaskLogEntry + (*ReadTaskLogRequest)(nil), // 129: state.v1.ReadTaskLogRequest + (*ReadTaskLogResponse)(nil), // 130: state.v1.ReadTaskLogResponse + (*StreamTaskLogContentRequest)(nil), // 131: state.v1.StreamTaskLogContentRequest + (*StreamTaskLogContentResponse)(nil), // 132: state.v1.StreamTaskLogContentResponse + (*InsertCaptureRequest)(nil), // 133: state.v1.InsertCaptureRequest + (*InsertCaptureResponse)(nil), // 134: state.v1.InsertCaptureResponse + (*StreamCapturesRequest)(nil), // 135: state.v1.StreamCapturesRequest + (*StreamCapturesResponse)(nil), // 136: state.v1.StreamCapturesResponse + (*InsertMappingRequest)(nil), // 137: state.v1.InsertMappingRequest + (*InsertMappingResponse)(nil), // 138: state.v1.InsertMappingResponse + (*GetMappingRequest)(nil), // 139: state.v1.GetMappingRequest + (*GetMappingResponse)(nil), // 140: state.v1.GetMappingResponse + (*ListMappingsRequest)(nil), // 141: state.v1.ListMappingsRequest + (*ListMappingsResponse)(nil), // 142: state.v1.ListMappingsResponse + (*UpdateMappingRequest)(nil), // 143: state.v1.UpdateMappingRequest + (*UpdateMappingResponse)(nil), // 144: state.v1.UpdateMappingResponse + (*DeleteMappingRequest)(nil), // 145: state.v1.DeleteMappingRequest + (*DeleteMappingResponse)(nil), // 146: state.v1.DeleteMappingResponse + (*RecordMappingMatchRequest)(nil), // 147: state.v1.RecordMappingMatchRequest + (*RecordMappingMatchResponse)(nil), // 148: state.v1.RecordMappingMatchResponse + (*InsertEventTypeRequest)(nil), // 149: state.v1.InsertEventTypeRequest + (*InsertEventTypeResponse)(nil), // 150: state.v1.InsertEventTypeResponse + (*UpdateEventTypeRequest)(nil), // 151: state.v1.UpdateEventTypeRequest + (*UpdateEventTypeResponse)(nil), // 152: state.v1.UpdateEventTypeResponse + (*DeleteEventTypeRequest)(nil), // 153: state.v1.DeleteEventTypeRequest + (*DeleteEventTypeResponse)(nil), // 154: state.v1.DeleteEventTypeResponse + (*ListEventTypesRequest)(nil), // 155: state.v1.ListEventTypesRequest + (*ListEventTypesResponse)(nil), // 156: state.v1.ListEventTypesResponse + (*InsertBindingRequest)(nil), // 157: state.v1.InsertBindingRequest + (*InsertBindingResponse)(nil), // 158: state.v1.InsertBindingResponse + (*GetBindingRequest)(nil), // 159: state.v1.GetBindingRequest + (*GetBindingResponse)(nil), // 160: state.v1.GetBindingResponse + (*ListBindingsRequest)(nil), // 161: state.v1.ListBindingsRequest + (*ListBindingsResponse)(nil), // 162: state.v1.ListBindingsResponse + (*UpdateBindingRequest)(nil), // 163: state.v1.UpdateBindingRequest + (*UpdateBindingResponse)(nil), // 164: state.v1.UpdateBindingResponse + (*DeleteBindingRequest)(nil), // 165: state.v1.DeleteBindingRequest + (*DeleteBindingResponse)(nil), // 166: state.v1.DeleteBindingResponse + (*ApproveBindingRequest)(nil), // 167: state.v1.ApproveBindingRequest + (*ApproveBindingResponse)(nil), // 168: state.v1.ApproveBindingResponse + (*InsertSourceRequest)(nil), // 169: state.v1.InsertSourceRequest + (*InsertSourceResponse)(nil), // 170: state.v1.InsertSourceResponse + (*GetSourceRequest)(nil), // 171: state.v1.GetSourceRequest + (*GetSourceResponse)(nil), // 172: state.v1.GetSourceResponse + (*ListSourcesRequest)(nil), // 173: state.v1.ListSourcesRequest + (*ListSourcesResponse)(nil), // 174: state.v1.ListSourcesResponse + (*SetSourceSigningRequest)(nil), // 175: state.v1.SetSourceSigningRequest + (*SetSourceSigningResponse)(nil), // 176: state.v1.SetSourceSigningResponse + (*SetSourceSecretRequest)(nil), // 177: state.v1.SetSourceSecretRequest + (*SetSourceSecretResponse)(nil), // 178: state.v1.SetSourceSecretResponse + (*ArmedBindingsForSourceRequest)(nil), // 179: state.v1.ArmedBindingsForSourceRequest + (*ArmedBindingsForSourceResponse)(nil), // 180: state.v1.ArmedBindingsForSourceResponse + (*RecordDispatchRequest)(nil), // 181: state.v1.RecordDispatchRequest + (*RecordDispatchResponse)(nil), // 182: state.v1.RecordDispatchResponse + (*RecordPlaybookDispatchRequest)(nil), // 183: state.v1.RecordPlaybookDispatchRequest + (*RecordPlaybookDispatchResponse)(nil), // 184: state.v1.RecordPlaybookDispatchResponse + (*DeletePlaybookDispatchesRequest)(nil), // 185: state.v1.DeletePlaybookDispatchesRequest + (*DeletePlaybookDispatchesResponse)(nil), // 186: state.v1.DeletePlaybookDispatchesResponse + (*StreamUndispatchedCapturesRequest)(nil), // 187: state.v1.StreamUndispatchedCapturesRequest + (*StreamUndispatchedCapturesResponse)(nil), // 188: state.v1.StreamUndispatchedCapturesResponse + (*EnqueueBindingTaskRequest)(nil), // 189: state.v1.EnqueueBindingTaskRequest + (*EnqueueBindingTaskResponse)(nil), // 190: state.v1.EnqueueBindingTaskResponse + (*EnqueueCallTaskRequest)(nil), // 191: state.v1.EnqueueCallTaskRequest + (*EnqueueCallTaskResponse)(nil), // 192: state.v1.EnqueueCallTaskResponse + (*WorkflowCallStatusRequest)(nil), // 193: state.v1.WorkflowCallStatusRequest + (*WorkflowCallStatusResponse)(nil), // 194: state.v1.WorkflowCallStatusResponse + (*InstalledPackage)(nil), // 195: state.v1.InstalledPackage + (*PackageAuthority)(nil), // 196: state.v1.PackageAuthority + (*InstallPackageRequest)(nil), // 197: state.v1.InstallPackageRequest + (*InstallPackageResponse)(nil), // 198: state.v1.InstallPackageResponse + (*GetInstalledPackageRequest)(nil), // 199: state.v1.GetInstalledPackageRequest + (*GetInstalledPackageResponse)(nil), // 200: state.v1.GetInstalledPackageResponse + (*ListInstalledPackagesRequest)(nil), // 201: state.v1.ListInstalledPackagesRequest + (*ListInstalledPackagesResponse)(nil), // 202: state.v1.ListInstalledPackagesResponse + (*AcceptPackageAuthorityRequest)(nil), // 203: state.v1.AcceptPackageAuthorityRequest + (*AcceptPackageAuthorityResponse)(nil), // 204: state.v1.AcceptPackageAuthorityResponse + (*RemoveInstalledPackageRequest)(nil), // 205: state.v1.RemoveInstalledPackageRequest + (*RemoveInstalledPackageResponse)(nil), // 206: state.v1.RemoveInstalledPackageResponse + (*GetPrincipalRequest)(nil), // 207: state.v1.GetPrincipalRequest + (*PrincipalMembership)(nil), // 208: state.v1.PrincipalMembership + (*AccessPrincipal)(nil), // 209: state.v1.AccessPrincipal + (*GetPrincipalResponse)(nil), // 210: state.v1.GetPrincipalResponse + (*AccessPolicy)(nil), // 211: state.v1.AccessPolicy + (*ListPoliciesRequest)(nil), // 212: state.v1.ListPoliciesRequest + (*ListPoliciesResponse)(nil), // 213: state.v1.ListPoliciesResponse + (*PutPolicyRequest)(nil), // 214: state.v1.PutPolicyRequest + (*PutPolicyResponse)(nil), // 215: state.v1.PutPolicyResponse + (*DeletePolicyRequest)(nil), // 216: state.v1.DeletePolicyRequest + (*DeletePolicyResponse)(nil), // 217: state.v1.DeletePolicyResponse + (*EnsureShippedOrgPoliciesRequest)(nil), // 218: state.v1.EnsureShippedOrgPoliciesRequest + (*EnsureShippedOrgPoliciesResponse)(nil), // 219: state.v1.EnsureShippedOrgPoliciesResponse + (*AccessDenial)(nil), // 220: state.v1.AccessDenial + (*RecordDenialRequest)(nil), // 221: state.v1.RecordDenialRequest + (*RecordDenialResponse)(nil), // 222: state.v1.RecordDenialResponse + (*ListDenialsRequest)(nil), // 223: state.v1.ListDenialsRequest + (*ListDenialsResponse)(nil), // 224: state.v1.ListDenialsResponse + nil, // 225: state.v1.EventType.SchemaEntry + nil, // 226: state.v1.StatusCountsResponse.CountsEntry + (*timestamppb.Timestamp)(nil), // 227: google.protobuf.Timestamp } var file_state_v1_state_proto_depIdxs = []int32{ - 222, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 222, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 227, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 227, // 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 @@ -13222,34 +13509,34 @@ var file_state_v1_state_proto_depIdxs = []int32{ 4, // 14: state.v1.ResolveIdentitySubjectResponse.identity:type_name -> state.v1.Identity 5, // 15: state.v1.BindIdentitySubjectRequest.audit:type_name -> state.v1.IdentityAudit 4, // 16: state.v1.BindIdentitySubjectResponse.identity:type_name -> state.v1.Identity - 222, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 222, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 222, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 222, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 227, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 227, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 227, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 227, // 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 - 220, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry - 222, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp - 222, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp + 225, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry + 227, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp + 227, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp 30, // 26: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 222, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 222, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp - 222, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp + 227, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 227, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 227, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp 32, // 30: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 222, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 222, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp - 222, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp - 222, // 34: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp + 227, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 227, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 227, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp + 227, // 34: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp 24, // 35: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task 24, // 36: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task 24, // 37: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task 25, // 38: state.v1.StartStepResponse.event:type_name -> state.v1.Event 25, // 39: state.v1.FinishStepResponse.event:type_name -> state.v1.Event - 222, // 40: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp - 222, // 41: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp + 227, // 40: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp + 227, // 41: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp 54, // 42: state.v1.ListStepsResponse.steps:type_name -> state.v1.StepExecution - 222, // 43: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp - 222, // 44: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp + 227, // 43: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp + 227, // 44: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp 57, // 45: state.v1.GetHarnessSecretResponse.secret:type_name -> state.v1.HarnessSecret 57, // 46: state.v1.PutHarnessSecretRequest.secret:type_name -> state.v1.HarnessSecret 24, // 47: state.v1.UpdateRequest.task:type_name -> state.v1.Task @@ -13259,257 +13546,265 @@ var file_state_v1_state_proto_depIdxs = []int32{ 24, // 51: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task 24, // 52: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task 24, // 53: state.v1.TasksResponse.tasks:type_name -> state.v1.Task - 221, // 54: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 226, // 54: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry 25, // 55: state.v1.InsertEventRequest.event:type_name -> state.v1.Event 25, // 56: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event 25, // 57: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event 35, // 58: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat 36, // 59: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat 37, // 60: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens - 222, // 61: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 227, // 61: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp 108, // 62: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot 108, // 63: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 222, // 64: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 227, // 64: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp 113, // 65: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus 113, // 66: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 222, // 67: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 227, // 67: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp 118, // 68: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus 118, // 69: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 222, // 70: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 222, // 71: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 222, // 72: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp - 123, // 73: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry - 26, // 74: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent - 26, // 75: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent - 31, // 76: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping - 31, // 77: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping - 31, // 78: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping - 31, // 79: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping - 29, // 80: state.v1.InsertEventTypeRequest.event_type:type_name -> state.v1.EventType - 29, // 81: state.v1.UpdateEventTypeRequest.event_type:type_name -> state.v1.EventType - 29, // 82: state.v1.ListEventTypesResponse.event_types:type_name -> state.v1.EventType - 33, // 83: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding - 33, // 84: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding - 33, // 85: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding - 33, // 86: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding - 34, // 87: state.v1.InsertSourceRequest.source:type_name -> state.v1.Source - 34, // 88: state.v1.GetSourceResponse.source:type_name -> state.v1.Source - 34, // 89: state.v1.ListSourcesResponse.sources:type_name -> state.v1.Source - 33, // 90: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding - 26, // 91: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent - 24, // 92: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task - 24, // 93: state.v1.EnqueueCallTaskResponse.task:type_name -> state.v1.Task - 191, // 94: state.v1.InstalledPackage.accepted_authority:type_name -> state.v1.PackageAuthority - 190, // 95: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage - 190, // 96: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage - 190, // 97: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage - 191, // 98: state.v1.AcceptPackageAuthorityRequest.accepted:type_name -> state.v1.PackageAuthority - 190, // 99: state.v1.AcceptPackageAuthorityResponse.package:type_name -> state.v1.InstalledPackage - 203, // 100: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership - 204, // 101: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal - 206, // 102: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy - 206, // 103: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy - 206, // 104: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy - 222, // 105: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp - 215, // 106: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial - 215, // 107: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial - 192, // 108: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest - 194, // 109: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest - 196, // 110: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest - 198, // 111: state.v1.StateStoreService.AcceptPackageAuthority:input_type -> state.v1.AcceptPackageAuthorityRequest - 200, // 112: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest - 0, // 113: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest - 2, // 114: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest - 6, // 115: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest - 8, // 116: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest - 10, // 117: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest - 11, // 118: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest - 12, // 119: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest - 13, // 120: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest - 14, // 121: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest - 20, // 122: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest - 22, // 123: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest - 38, // 124: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest - 40, // 125: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest - 42, // 126: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest - 44, // 127: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest - 46, // 128: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest - 62, // 129: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest - 48, // 130: state.v1.StateStoreService.StartStep:input_type -> state.v1.StartStepRequest - 50, // 131: state.v1.StateStoreService.FinishStep:input_type -> state.v1.FinishStepRequest - 52, // 132: state.v1.StateStoreService.CancelExecution:input_type -> state.v1.CancelExecutionRequest - 55, // 133: state.v1.StateStoreService.ListSteps:input_type -> state.v1.ListStepsRequest - 58, // 134: state.v1.StateStoreService.GetHarnessSecret:input_type -> state.v1.GetHarnessSecretRequest - 60, // 135: state.v1.StateStoreService.PutHarnessSecret:input_type -> state.v1.PutHarnessSecretRequest - 64, // 136: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest - 66, // 137: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest - 68, // 138: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest - 70, // 139: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest - 72, // 140: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 74, // 141: state.v1.StateStoreService.RespondReviewGate:input_type -> state.v1.RespondReviewGateRequest - 76, // 142: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest - 78, // 143: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest - 80, // 144: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest - 82, // 145: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 84, // 146: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 86, // 147: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 88, // 148: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 90, // 149: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 92, // 150: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 94, // 151: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 96, // 152: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 98, // 153: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 100, // 154: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 102, // 155: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 104, // 156: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 106, // 157: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 109, // 158: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 111, // 159: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 114, // 160: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 116, // 161: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 119, // 162: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 121, // 163: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 124, // 164: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 126, // 165: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 128, // 166: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 130, // 167: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 132, // 168: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 134, // 169: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 136, // 170: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 138, // 171: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 140, // 172: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 142, // 173: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest - 144, // 174: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest - 146, // 175: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest - 148, // 176: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest - 150, // 177: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest - 152, // 178: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 154, // 179: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 156, // 180: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 158, // 181: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 160, // 182: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 162, // 183: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 164, // 184: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest - 166, // 185: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest - 168, // 186: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest - 170, // 187: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest - 172, // 188: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest - 174, // 189: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 176, // 190: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 178, // 191: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 180, // 192: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 182, // 193: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 184, // 194: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 186, // 195: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest - 188, // 196: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest - 202, // 197: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest - 207, // 198: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest - 209, // 199: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest - 211, // 200: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest - 213, // 201: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest - 216, // 202: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest - 218, // 203: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest - 193, // 204: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse - 195, // 205: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse - 197, // 206: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse - 199, // 207: state.v1.StateStoreService.AcceptPackageAuthority:output_type -> state.v1.AcceptPackageAuthorityResponse - 201, // 208: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse - 1, // 209: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 210: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 7, // 211: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 9, // 212: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 15, // 213: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 16, // 214: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 17, // 215: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 18, // 216: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 19, // 217: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 21, // 218: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse - 23, // 219: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse - 39, // 220: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 41, // 221: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 43, // 222: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 45, // 223: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 47, // 224: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 63, // 225: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 49, // 226: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse - 51, // 227: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse - 53, // 228: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse - 56, // 229: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse - 59, // 230: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse - 61, // 231: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse - 65, // 232: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 67, // 233: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse - 69, // 234: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 71, // 235: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 73, // 236: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 75, // 237: state.v1.StateStoreService.RespondReviewGate:output_type -> state.v1.RespondReviewGateResponse - 77, // 238: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse - 79, // 239: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse - 81, // 240: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse - 83, // 241: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 85, // 242: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 87, // 243: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 89, // 244: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 91, // 245: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 93, // 246: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 95, // 247: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 97, // 248: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 99, // 249: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 101, // 250: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 103, // 251: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 105, // 252: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 107, // 253: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 110, // 254: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 112, // 255: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 115, // 256: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 117, // 257: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 120, // 258: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 122, // 259: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 125, // 260: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 127, // 261: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 129, // 262: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 131, // 263: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 133, // 264: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 135, // 265: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 137, // 266: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 139, // 267: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 141, // 268: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 143, // 269: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse - 145, // 270: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse - 147, // 271: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse - 149, // 272: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse - 151, // 273: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse - 153, // 274: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 155, // 275: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 157, // 276: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 159, // 277: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 161, // 278: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 163, // 279: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 165, // 280: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse - 167, // 281: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse - 169, // 282: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse - 171, // 283: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse - 173, // 284: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse - 175, // 285: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 177, // 286: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 179, // 287: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 181, // 288: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 183, // 289: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 185, // 290: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 187, // 291: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse - 189, // 292: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse - 205, // 293: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse - 208, // 294: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse - 210, // 295: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse - 212, // 296: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse - 214, // 297: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse - 217, // 298: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse - 219, // 299: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse - 204, // [204:300] is the sub-list for method output_type - 108, // [108:204] is the sub-list for method input_type - 108, // [108:108] is the sub-list for extension type_name - 108, // [108:108] is the sub-list for extension extendee - 0, // [0:108] is the sub-list for field type_name + 227, // 70: state.v1.Presence.started_at:type_name -> google.protobuf.Timestamp + 227, // 71: state.v1.Presence.reported_at:type_name -> google.protobuf.Timestamp + 123, // 72: state.v1.PutPresenceRequest.presence:type_name -> state.v1.Presence + 123, // 73: state.v1.ListPresenceResponse.presences:type_name -> state.v1.Presence + 227, // 74: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 227, // 75: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 227, // 76: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 128, // 77: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry + 26, // 78: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent + 26, // 79: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent + 31, // 80: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping + 31, // 81: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping + 31, // 82: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping + 31, // 83: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping + 29, // 84: state.v1.InsertEventTypeRequest.event_type:type_name -> state.v1.EventType + 29, // 85: state.v1.UpdateEventTypeRequest.event_type:type_name -> state.v1.EventType + 29, // 86: state.v1.ListEventTypesResponse.event_types:type_name -> state.v1.EventType + 33, // 87: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding + 33, // 88: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding + 33, // 89: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding + 33, // 90: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding + 34, // 91: state.v1.InsertSourceRequest.source:type_name -> state.v1.Source + 34, // 92: state.v1.GetSourceResponse.source:type_name -> state.v1.Source + 34, // 93: state.v1.ListSourcesResponse.sources:type_name -> state.v1.Source + 33, // 94: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding + 26, // 95: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent + 24, // 96: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task + 24, // 97: state.v1.EnqueueCallTaskResponse.task:type_name -> state.v1.Task + 196, // 98: state.v1.InstalledPackage.accepted_authority:type_name -> state.v1.PackageAuthority + 195, // 99: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage + 195, // 100: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage + 195, // 101: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage + 196, // 102: state.v1.AcceptPackageAuthorityRequest.accepted:type_name -> state.v1.PackageAuthority + 195, // 103: state.v1.AcceptPackageAuthorityResponse.package:type_name -> state.v1.InstalledPackage + 208, // 104: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership + 209, // 105: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal + 211, // 106: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy + 211, // 107: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy + 211, // 108: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy + 227, // 109: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp + 220, // 110: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial + 220, // 111: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial + 197, // 112: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest + 199, // 113: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest + 201, // 114: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest + 203, // 115: state.v1.StateStoreService.AcceptPackageAuthority:input_type -> state.v1.AcceptPackageAuthorityRequest + 205, // 116: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest + 0, // 117: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest + 2, // 118: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest + 6, // 119: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest + 8, // 120: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest + 10, // 121: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest + 11, // 122: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest + 12, // 123: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest + 13, // 124: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest + 14, // 125: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest + 20, // 126: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest + 22, // 127: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest + 38, // 128: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest + 40, // 129: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest + 42, // 130: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest + 44, // 131: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest + 46, // 132: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest + 62, // 133: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest + 48, // 134: state.v1.StateStoreService.StartStep:input_type -> state.v1.StartStepRequest + 50, // 135: state.v1.StateStoreService.FinishStep:input_type -> state.v1.FinishStepRequest + 52, // 136: state.v1.StateStoreService.CancelExecution:input_type -> state.v1.CancelExecutionRequest + 55, // 137: state.v1.StateStoreService.ListSteps:input_type -> state.v1.ListStepsRequest + 58, // 138: state.v1.StateStoreService.GetHarnessSecret:input_type -> state.v1.GetHarnessSecretRequest + 60, // 139: state.v1.StateStoreService.PutHarnessSecret:input_type -> state.v1.PutHarnessSecretRequest + 64, // 140: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest + 66, // 141: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest + 68, // 142: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest + 70, // 143: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest + 72, // 144: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest + 74, // 145: state.v1.StateStoreService.RespondReviewGate:input_type -> state.v1.RespondReviewGateRequest + 76, // 146: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest + 78, // 147: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest + 80, // 148: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest + 82, // 149: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 84, // 150: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 86, // 151: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 88, // 152: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 90, // 153: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 92, // 154: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 94, // 155: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 96, // 156: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 98, // 157: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 100, // 158: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 102, // 159: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 104, // 160: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 106, // 161: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 109, // 162: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 111, // 163: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 114, // 164: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 116, // 165: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 119, // 166: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 121, // 167: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 124, // 168: state.v1.StateStoreService.PutPresence:input_type -> state.v1.PutPresenceRequest + 126, // 169: state.v1.StateStoreService.ListPresence:input_type -> state.v1.ListPresenceRequest + 129, // 170: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 131, // 171: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 133, // 172: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 135, // 173: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 137, // 174: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 139, // 175: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 141, // 176: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 143, // 177: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 145, // 178: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 147, // 179: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest + 149, // 180: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest + 151, // 181: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest + 153, // 182: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest + 155, // 183: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest + 157, // 184: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 159, // 185: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 161, // 186: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 163, // 187: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 165, // 188: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 167, // 189: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 169, // 190: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest + 171, // 191: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest + 173, // 192: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest + 175, // 193: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest + 177, // 194: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest + 179, // 195: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 181, // 196: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 183, // 197: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 185, // 198: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 187, // 199: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 189, // 200: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 191, // 201: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest + 193, // 202: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest + 207, // 203: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest + 212, // 204: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest + 214, // 205: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest + 216, // 206: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest + 218, // 207: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest + 221, // 208: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest + 223, // 209: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest + 198, // 210: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse + 200, // 211: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse + 202, // 212: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse + 204, // 213: state.v1.StateStoreService.AcceptPackageAuthority:output_type -> state.v1.AcceptPackageAuthorityResponse + 206, // 214: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse + 1, // 215: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 216: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 7, // 217: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 9, // 218: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 15, // 219: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 16, // 220: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 17, // 221: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 18, // 222: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 19, // 223: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 21, // 224: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 23, // 225: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 39, // 226: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 41, // 227: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 43, // 228: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 45, // 229: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 47, // 230: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 63, // 231: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 49, // 232: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse + 51, // 233: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse + 53, // 234: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse + 56, // 235: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse + 59, // 236: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse + 61, // 237: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse + 65, // 238: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 67, // 239: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse + 69, // 240: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 71, // 241: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 73, // 242: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 75, // 243: state.v1.StateStoreService.RespondReviewGate:output_type -> state.v1.RespondReviewGateResponse + 77, // 244: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse + 79, // 245: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse + 81, // 246: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse + 83, // 247: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 85, // 248: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 87, // 249: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 89, // 250: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 91, // 251: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 93, // 252: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 95, // 253: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 97, // 254: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 99, // 255: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 101, // 256: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 103, // 257: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 105, // 258: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 107, // 259: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 110, // 260: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 112, // 261: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 115, // 262: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 117, // 263: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 120, // 264: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 122, // 265: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 125, // 266: state.v1.StateStoreService.PutPresence:output_type -> state.v1.PutPresenceResponse + 127, // 267: state.v1.StateStoreService.ListPresence:output_type -> state.v1.ListPresenceResponse + 130, // 268: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 132, // 269: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 134, // 270: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 136, // 271: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 138, // 272: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 140, // 273: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 142, // 274: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 144, // 275: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 146, // 276: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 148, // 277: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse + 150, // 278: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse + 152, // 279: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse + 154, // 280: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse + 156, // 281: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse + 158, // 282: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 160, // 283: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 162, // 284: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 164, // 285: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 166, // 286: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 168, // 287: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 170, // 288: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse + 172, // 289: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse + 174, // 290: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse + 176, // 291: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse + 178, // 292: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse + 180, // 293: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 182, // 294: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 184, // 295: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 186, // 296: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 188, // 297: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 190, // 298: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 192, // 299: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse + 194, // 300: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse + 210, // 301: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse + 213, // 302: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse + 215, // 303: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse + 217, // 304: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse + 219, // 305: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse + 222, // 306: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse + 224, // 307: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse + 210, // [210:308] is the sub-list for method output_type + 112, // [112:210] is the sub-list for method input_type + 112, // [112:112] is the sub-list for extension type_name + 112, // [112:112] is the sub-list for extension extendee + 0, // [0:112] is the sub-list for field type_name } func init() { file_state_v1_state_proto_init() } @@ -13523,7 +13818,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: 222, + NumMessages: 227, 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 ec010ca56..14d7f4742 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -75,6 +75,8 @@ const ( StateStoreService_ListChannelStatus_FullMethodName = "/state.v1.StateStoreService/ListChannelStatus" StateStoreService_PutApplyStatus_FullMethodName = "/state.v1.StateStoreService/PutApplyStatus" StateStoreService_ListApplyStatus_FullMethodName = "/state.v1.StateStoreService/ListApplyStatus" + StateStoreService_PutPresence_FullMethodName = "/state.v1.StateStoreService/PutPresence" + StateStoreService_ListPresence_FullMethodName = "/state.v1.StateStoreService/ListPresence" StateStoreService_ReadTaskLog_FullMethodName = "/state.v1.StateStoreService/ReadTaskLog" StateStoreService_StreamTaskLogContent_FullMethodName = "/state.v1.StateStoreService/StreamTaskLogContent" StateStoreService_InsertCapture_FullMethodName = "/state.v1.StateStoreService/InsertCapture" @@ -230,6 +232,11 @@ type StateStoreServiceClient interface { // Both are administrative. PutApplyStatus(ctx context.Context, in *PutApplyStatusRequest, opts ...grpc.CallOption) (*PutApplyStatusResponse, error) ListApplyStatus(ctx context.Context, in *ListApplyStatusRequest, opts ...grpc.CallOption) (*ListApplyStatusResponse, error) + // Presence: every running service instance re-stamps one record, so a + // record past the staleness window means that instance is down. + // Administrative. + PutPresence(ctx context.Context, in *PutPresenceRequest, opts ...grpc.CallOption) (*PutPresenceResponse, error) + ListPresence(ctx context.Context, in *ListPresenceRequest, opts ...grpc.CallOption) (*ListPresenceResponse, error) // Task log: one task attempt's persisted log. Task log files live in the // state directory this process owns, so the dashboard reads them over this // contract rather than opening them itself @@ -878,6 +885,26 @@ func (c *stateStoreServiceClient) ListApplyStatus(ctx context.Context, in *ListA return out, nil } +func (c *stateStoreServiceClient) PutPresence(ctx context.Context, in *PutPresenceRequest, opts ...grpc.CallOption) (*PutPresenceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(PutPresenceResponse) + err := c.cc.Invoke(ctx, StateStoreService_PutPresence_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *stateStoreServiceClient) ListPresence(ctx context.Context, in *ListPresenceRequest, opts ...grpc.CallOption) (*ListPresenceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ListPresenceResponse) + err := c.cc.Invoke(ctx, StateStoreService_ListPresence_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) ReadTaskLog(ctx context.Context, in *ReadTaskLogRequest, opts ...grpc.CallOption) (*ReadTaskLogResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ReadTaskLogResponse) @@ -1418,6 +1445,11 @@ type StateStoreServiceServer interface { // Both are administrative. PutApplyStatus(context.Context, *PutApplyStatusRequest) (*PutApplyStatusResponse, error) ListApplyStatus(context.Context, *ListApplyStatusRequest) (*ListApplyStatusResponse, error) + // Presence: every running service instance re-stamps one record, so a + // record past the staleness window means that instance is down. + // Administrative. + PutPresence(context.Context, *PutPresenceRequest) (*PutPresenceResponse, error) + ListPresence(context.Context, *ListPresenceRequest) (*ListPresenceResponse, error) // Task log: one task attempt's persisted log. Task log files live in the // state directory this process owns, so the dashboard reads them over this // contract rather than opening them itself @@ -1674,6 +1706,12 @@ func (UnimplementedStateStoreServiceServer) PutApplyStatus(context.Context, *Put func (UnimplementedStateStoreServiceServer) ListApplyStatus(context.Context, *ListApplyStatusRequest) (*ListApplyStatusResponse, error) { return nil, status.Error(codes.Unimplemented, "method ListApplyStatus not implemented") } +func (UnimplementedStateStoreServiceServer) PutPresence(context.Context, *PutPresenceRequest) (*PutPresenceResponse, error) { + return nil, status.Error(codes.Unimplemented, "method PutPresence not implemented") +} +func (UnimplementedStateStoreServiceServer) ListPresence(context.Context, *ListPresenceRequest) (*ListPresenceResponse, error) { + return nil, status.Error(codes.Unimplemented, "method ListPresence not implemented") +} func (UnimplementedStateStoreServiceServer) ReadTaskLog(context.Context, *ReadTaskLogRequest) (*ReadTaskLogResponse, error) { return nil, status.Error(codes.Unimplemented, "method ReadTaskLog not implemented") } @@ -2823,6 +2861,42 @@ func _StateStoreService_ListApplyStatus_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _StateStoreService_PutPresence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PutPresenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).PutPresence(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_PutPresence_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).PutPresence(ctx, req.(*PutPresenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _StateStoreService_ListPresence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListPresenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).ListPresence(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_ListPresence_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).ListPresence(ctx, req.(*ListPresenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_ReadTaskLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReadTaskLogRequest) if err := dec(in); err != nil { @@ -3753,6 +3827,14 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "ListApplyStatus", Handler: _StateStoreService_ListApplyStatus_Handler, }, + { + MethodName: "PutPresence", + Handler: _StateStoreService_PutPresence_Handler, + }, + { + MethodName: "ListPresence", + Handler: _StateStoreService_ListPresence_Handler, + }, { MethodName: "ReadTaskLog", Handler: _StateStoreService_ReadTaskLog_Handler, diff --git a/internal/domain/presence/presence.go b/internal/domain/presence/presence.go new file mode 100644 index 000000000..e0be502b6 --- /dev/null +++ b/internal/domain/presence/presence.go @@ -0,0 +1,85 @@ +// Package presence keeps one record per running service instance in the State +// Store, so the control plane can tell which services are up. +package presence + +import ( + "context" + "crypto/rand" + "encoding/hex" + "log/slog" + "strings" + "time" + + "github.com/samcharles93/archie-core/internal/domain/applystatus" + "github.com/samcharles93/archie-core/internal/domain/health" + "github.com/samcharles93/archie-core/internal/domain/storecontract" +) + +// Service names. Writer and reader share them so a record is never orphaned +// by a spelling. +const ( + Daemon = applystatus.Daemon + Gateway = applystatus.Gateway + Messaging = applystatus.Messaging + UI = "archie-ui" + StateStore = "archie-state-store" +) + +// Services is every service expected to report. +func Services() []string { return []string{Daemon, Gateway, Messaging, UI, StateStore} } + +// Stale reports whether a record's instance has stopped re-stamping it. +func Stale(reportedAt, now time.Time) bool { return applystatus.Stale(reportedAt, now) } + +// Build is what the binary was compiled as. +type Build struct { + Version string + InstallType string +} + +// Run publishes this instance's record immediately and then on every restamp +// interval until ctx ends. A nil registry reports ready with no probes. +// Write failures are logged: the next tick retries. +func Run(ctx context.Context, service string, build Build, store storecontract.PresenceStore, registry *health.Registry, log *slog.Logger) { + if store == nil { + return + } + record := storecontract.Presence{ + Service: service, InstanceID: instanceID(), Version: build.Version, + InstallType: build.InstallType, StartedAt: time.Now().UTC(), + } + ticker := time.NewTicker(applystatus.RestampInterval) + defer ticker.Stop() + for { + record.Ready, record.Detail = summarise(ctx, registry) + record.ReportedAt = time.Now().UTC() + if err := store.PutPresence(ctx, record); err != nil && ctx.Err() == nil { + log.Warn("presence not reported", "service", service, "err", err) + } + select { + case <-ctx.Done(): + return + case <-ticker.C: + } + } +} + +func summarise(ctx context.Context, registry *health.Registry) (bool, string) { + if registry == nil { + return true, "" + } + report := registry.Run(ctx) + var degraded []string + for _, c := range report.Components { + if !c.Ready { + degraded = append(degraded, c.Name) + } + } + return report.Status == health.StatusOK, strings.Join(degraded, ", ") +} + +func instanceID() string { + b := make([]byte, 8) + _, _ = rand.Read(b) + return hex.EncodeToString(b) +} diff --git a/internal/domain/storecontract/storecontract.go b/internal/domain/storecontract/storecontract.go index ef606efa2..aae0660d6 100644 --- a/internal/domain/storecontract/storecontract.go +++ b/internal/domain/storecontract/storecontract.go @@ -165,6 +165,13 @@ type ApplyStatusStore interface { ListApplyStatus(ctx context.Context) ([]ApplyStatus, error) } +// PresenceStore holds one record per running service instance. Writers are +// the services themselves; readers are the UI and archied status. +type PresenceStore interface { + PutPresence(ctx context.Context, presence Presence) error + ListPresence(ctx context.Context) ([]Presence, error) +} + // MappingStore persists payload field mappings. Deliberately separate from // TaskStore and CaptureStore for the same reason those are split: the // dashboard's mapping editor should only acquire the mapping surface, not the @@ -323,6 +330,19 @@ type ApplyStatus struct { ReportedAt time.Time `json:"reported_at"` } +// Presence is one running service instance. Ready and Detail summarise its +// readiness probes; Detail names the degraded ones. +type Presence struct { + Service string `json:"service"` + InstanceID string `json:"instance_id"` + Version string `json:"version"` + InstallType string `json:"install_type"` + StartedAt time.Time `json:"started_at"` + ReportedAt time.Time `json:"reported_at"` + Ready bool `json:"ready"` + Detail string `json:"detail,omitempty"` +} + // WorkflowStat is one row of the per-workflow metrics table. type WorkflowStat struct { Workflow string `json:"workflow"` diff --git a/internal/infrastructure/postgres/migrations/0027_presence.sql b/internal/infrastructure/postgres/migrations/0027_presence.sql new file mode 100644 index 000000000..4ac238651 --- /dev/null +++ b/internal/infrastructure/postgres/migrations/0027_presence.sql @@ -0,0 +1,19 @@ +-- One row per running service instance, re-stamped on the restamp interval. + +-- +goose Up + +CREATE TABLE presence ( + service text NOT NULL, + instance_id text NOT NULL, + version text NOT NULL, + install_type text NOT NULL, + started_at timestamptz NOT NULL, + reported_at timestamptz NOT NULL, + ready boolean NOT NULL, + detail text NOT NULL DEFAULT '', + PRIMARY KEY (service, instance_id) +); + +-- +goose Down + +DROP TABLE presence; diff --git a/internal/infrastructure/postgres/postgresdb/models.go b/internal/infrastructure/postgres/postgresdb/models.go index 8af402991..03499ddb8 100644 --- a/internal/infrastructure/postgres/postgresdb/models.go +++ b/internal/infrastructure/postgres/postgresdb/models.go @@ -277,6 +277,17 @@ type PlaybookDispatch struct { DispatchedAt time.Time } +type Presence struct { + Service string + InstanceID string + Version string + InstallType string + StartedAt time.Time + ReportedAt time.Time + Ready bool + Detail string +} + type Resource struct { Kind string Value []byte diff --git a/internal/infrastructure/postgres/postgresdb/status.sql.go b/internal/infrastructure/postgres/postgresdb/status.sql.go index f31c62f68..c2e6a116f 100644 --- a/internal/infrastructure/postgres/postgresdb/status.sql.go +++ b/internal/infrastructure/postgres/postgresdb/status.sql.go @@ -36,6 +36,15 @@ func (q *Queries) DeleteChannelStatusNotIn(ctx context.Context, dollar_1 []strin return err } +const deletePresenceBefore = `-- name: DeletePresenceBefore :exec +DELETE FROM presence WHERE reported_at < $1 +` + +func (q *Queries) DeletePresenceBefore(ctx context.Context, reportedAt time.Time) error { + _, err := q.db.Exec(ctx, deletePresenceBefore, reportedAt) + return err +} + const listApplyStatus = `-- name: ListApplyStatus :many SELECT process, kind, applied_version, error, reported_at FROM apply_status ORDER BY process, kind @@ -100,6 +109,40 @@ func (q *Queries) ListChannelStatus(ctx context.Context) ([]ChannelStatus, error return items, nil } +const listPresence = `-- name: ListPresence :many +SELECT service, instance_id, version, install_type, started_at, reported_at, ready, detail +FROM presence ORDER BY service, instance_id +` + +func (q *Queries) ListPresence(ctx context.Context) ([]Presence, error) { + rows, err := q.db.Query(ctx, listPresence) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Presence + for rows.Next() { + var i Presence + if err := rows.Scan( + &i.Service, + &i.InstanceID, + &i.Version, + &i.InstallType, + &i.StartedAt, + &i.ReportedAt, + &i.Ready, + &i.Detail, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + const upsertApplyStatus = `-- name: UpsertApplyStatus :exec INSERT INTO apply_status (process, kind, applied_version, error, reported_at) VALUES ($1, $2, $3, $4, $5) @@ -186,3 +229,40 @@ func (q *Queries) UpsertConfigSnapshot(ctx context.Context, arg UpsertConfigSnap _, err := q.db.Exec(ctx, upsertConfigSnapshot, arg.Schema, arg.Document, arg.PublishedAt) return err } + +const upsertPresence = `-- name: UpsertPresence :exec +INSERT INTO presence (service, instance_id, version, install_type, started_at, reported_at, ready, detail) +VALUES ($1, $2, $3, $4, $5, $6, $7, $8) +ON CONFLICT (service, instance_id) DO UPDATE SET + version = excluded.version, + install_type = excluded.install_type, + started_at = excluded.started_at, + reported_at = excluded.reported_at, + ready = excluded.ready, + detail = excluded.detail +` + +type UpsertPresenceParams struct { + Service string + InstanceID string + Version string + InstallType string + StartedAt time.Time + ReportedAt time.Time + Ready bool + Detail string +} + +func (q *Queries) UpsertPresence(ctx context.Context, arg UpsertPresenceParams) error { + _, err := q.db.Exec(ctx, upsertPresence, + arg.Service, + arg.InstanceID, + arg.Version, + arg.InstallType, + arg.StartedAt, + arg.ReportedAt, + arg.Ready, + arg.Detail, + ) + return err +} diff --git a/internal/infrastructure/postgres/queries/status.sql b/internal/infrastructure/postgres/queries/status.sql index a2346dde7..effad2d30 100644 --- a/internal/infrastructure/postgres/queries/status.sql +++ b/internal/infrastructure/postgres/queries/status.sql @@ -42,3 +42,21 @@ ON CONFLICT (process, kind) DO UPDATE SET -- name: ListApplyStatus :many SELECT process, kind, applied_version, error, reported_at FROM apply_status ORDER BY process, kind; + +-- name: UpsertPresence :exec +INSERT INTO presence (service, instance_id, version, install_type, started_at, reported_at, ready, detail) +VALUES ($1, $2, $3, $4, $5, $6, $7, $8) +ON CONFLICT (service, instance_id) DO UPDATE SET + version = excluded.version, + install_type = excluded.install_type, + started_at = excluded.started_at, + reported_at = excluded.reported_at, + ready = excluded.ready, + detail = excluded.detail; + +-- name: DeletePresenceBefore :exec +DELETE FROM presence WHERE reported_at < $1; + +-- name: ListPresence :many +SELECT service, instance_id, version, install_type, started_at, reported_at, ready, detail +FROM presence ORDER BY service, instance_id; diff --git a/internal/infrastructure/postgres/status.go b/internal/infrastructure/postgres/status.go index a9882bcae..1b545910e 100644 --- a/internal/infrastructure/postgres/status.go +++ b/internal/infrastructure/postgres/status.go @@ -123,3 +123,43 @@ func (s *Store) ListApplyStatus(ctx context.Context) ([]storecontract.ApplyStatu } return out, nil } + +// PutPresence replaces one instance's record and drops records whose +// instance stopped re-stamping long ago, so restarts do not accumulate rows. +func (s *Store) PutPresence(ctx context.Context, presence storecontract.Presence) error { + reported := presence.ReportedAt + if reported.IsZero() { + reported = time.Now() + } + q := s.queries() + if err := q.UpsertPresence(ctx, postgresdb.UpsertPresenceParams{ + Service: presence.Service, InstanceID: presence.InstanceID, Version: presence.Version, + InstallType: presence.InstallType, StartedAt: presence.StartedAt.UTC(), ReportedAt: reported.UTC(), + Ready: presence.Ready, Detail: presence.Detail, + }); err != nil { + return fmt.Errorf("store: put presence: %w", err) + } + if err := q.DeletePresenceBefore(ctx, reported.Add(-presenceRetention).UTC()); err != nil { + return fmt.Errorf("store: prune presence: %w", err) + } + return nil +} + +// presenceRetention is how long a stopped instance stays listed as down. +const presenceRetention = 24 * time.Hour + +// ListPresence returns every instance's record, ordered by (service, instance). +func (s *Store) ListPresence(ctx context.Context) ([]storecontract.Presence, error) { + rows, err := s.queries().ListPresence(ctx) + if err != nil { + return nil, fmt.Errorf("store: list presence: %w", err) + } + out := make([]storecontract.Presence, 0, len(rows)) + for _, r := range rows { + out = append(out, storecontract.Presence{ + Service: r.Service, InstanceID: r.InstanceID, Version: r.Version, InstallType: r.InstallType, + StartedAt: r.StartedAt, ReportedAt: r.ReportedAt, Ready: r.Ready, Detail: r.Detail, + }) + } + return out, nil +} diff --git a/internal/infrastructure/postgres/store.go b/internal/infrastructure/postgres/store.go index 6db381c04..b8967e94a 100644 --- a/internal/infrastructure/postgres/store.go +++ b/internal/infrastructure/postgres/store.go @@ -129,6 +129,7 @@ var ( _ storecontract.ConfigSnapshotStore = (*Store)(nil) _ storecontract.ChannelStatusStore = (*Store)(nil) _ storecontract.ApplyStatusStore = (*Store)(nil) + _ storecontract.PresenceStore = (*Store)(nil) _ task.Caller = (*Store)(nil) _ workflow.Store = (*Store)(nil) ) diff --git a/internal/infrastructure/staterpc/client.go b/internal/infrastructure/staterpc/client.go index eb0436fc2..347de6147 100644 --- a/internal/infrastructure/staterpc/client.go +++ b/internal/infrastructure/staterpc/client.go @@ -60,6 +60,7 @@ var ( _ storecontract.ConfigSnapshotStore = (*Client)(nil) _ storecontract.ChannelStatusStore = (*Client)(nil) _ storecontract.ApplyStatusStore = (*Client)(nil) + _ storecontract.PresenceStore = (*Client)(nil) _ storecontract.ExecutionCanceller = (*Client)(nil) _ identity.Repository = (*Client)(nil) _ storepkg.Manager = (*Client)(nil) @@ -431,6 +432,28 @@ func (c *Client) ListApplyStatus(ctx context.Context) ([]storecontract.ApplyStat return statuses, nil } +// PutPresence re-stamps this service instance's record. Administrative. +func (c *Client) PutPresence(ctx context.Context, presence storecontract.Presence) error { + _, err := c.client.PutPresence(ctx, &pb.PutPresenceRequest{Presence: presenceProto(presence)}) + if err != nil { + return unmapError(err) + } + return nil +} + +// ListPresence reads every service instance's record. +func (c *Client) ListPresence(ctx context.Context) ([]storecontract.Presence, error) { + reply, err := c.client.ListPresence(ctx, &pb.ListPresenceRequest{}) + if err != nil { + return nil, unmapError(err) + } + out := make([]storecontract.Presence, 0, len(reply.Presences)) + for _, presence := range reply.Presences { + out = append(out, presenceValue(presence)) + } + return out, nil +} + // ListCaptures streams one capture per message; see StreamCaptures in // server.go. func (c *Client) ListCaptures(ctx context.Context, limit int) ([]storecontract.CapturedEvent, error) { diff --git a/internal/infrastructure/staterpc/server.go b/internal/infrastructure/staterpc/server.go index 4f723a8be..5571933eb 100644 --- a/internal/infrastructure/staterpc/server.go +++ b/internal/infrastructure/staterpc/server.go @@ -36,6 +36,7 @@ var ( errConfigSnapshotsUnavailable = status.Error(codes.Unavailable, "config snapshot store unavailable") errChannelStatusUnavailable = status.Error(codes.Unavailable, "channel status store unavailable") errApplyStatusUnavailable = status.Error(codes.Unavailable, "apply status store unavailable") + errPresenceUnavailable = status.Error(codes.Unavailable, "presence store unavailable") errMappingUnavailable = status.Error(codes.Unavailable, "mapping store unavailable") errBindingUnavailable = status.Error(codes.Unavailable, "binding store unavailable") errSourceUnavailable = status.Error(codes.Unavailable, "source store unavailable") @@ -76,6 +77,7 @@ type Deps struct { // the honest answer for a store service no messaging process is writing to. ChannelStatus storecontract.ChannelStatusStore ApplyStatus storecontract.ApplyStatusStore + Presence storecontract.PresenceStore Mappings storecontract.MappingStore EventTypes storecontract.EventTypeStore // MappingMatches counts the events each mapping resolved. Optional: nil @@ -556,6 +558,40 @@ func (s *server) GetConfigSnapshot(ctx context.Context, _ *pb.GetConfigSnapshotR return &pb.GetConfigSnapshotResponse{Snapshot: configSnapshotProto(snapshot), Found: true}, nil } +func (s *server) presence() (storecontract.PresenceStore, error) { + if s.deps.Presence == nil { + return nil, errPresenceUnavailable + } + return s.deps.Presence, nil +} + +func (s *server) PutPresence(ctx context.Context, r *pb.PutPresenceRequest) (*pb.PutPresenceResponse, error) { + ps, err := s.presence() + if err != nil { + return nil, err + } + if err := ps.PutPresence(ctx, presenceValue(r.Presence)); err != nil { + return nil, s.logErr("PutPresence", err) + } + return &pb.PutPresenceResponse{}, nil +} + +func (s *server) ListPresence(ctx context.Context, _ *pb.ListPresenceRequest) (*pb.ListPresenceResponse, error) { + ps, err := s.presence() + if err != nil { + return nil, err + } + presences, err := ps.ListPresence(ctx) + if err != nil { + return nil, s.logErr("ListPresence", err) + } + out := make([]*pb.Presence, 0, len(presences)) + for _, presence := range presences { + out = append(out, presenceProto(presence)) + } + return &pb.ListPresenceResponse{Presences: out}, nil +} + func (s *server) channelStatuses() (storecontract.ChannelStatusStore, error) { if s.deps.ChannelStatus == nil { return nil, errChannelStatusUnavailable diff --git a/internal/infrastructure/staterpc/values.go b/internal/infrastructure/staterpc/values.go index 26ed67f80..58d1c82cd 100644 --- a/internal/infrastructure/staterpc/values.go +++ b/internal/infrastructure/staterpc/values.go @@ -597,6 +597,35 @@ func applyStatusValue(status *pb.ApplyStatus) storecontract.ApplyStatus { } } +func presenceProto(presence storecontract.Presence) *pb.Presence { + return &pb.Presence{ + Service: presence.Service, + InstanceId: presence.InstanceID, + Version: presence.Version, + InstallType: presence.InstallType, + StartedAt: timestamp(presence.StartedAt), + ReportedAt: timestamp(presence.ReportedAt), + Ready: presence.Ready, + Detail: presence.Detail, + } +} + +func presenceValue(presence *pb.Presence) storecontract.Presence { + if presence == nil { + return storecontract.Presence{} + } + return storecontract.Presence{ + Service: presence.Service, + InstanceID: presence.InstanceId, + Version: presence.Version, + InstallType: presence.InstallType, + StartedAt: timeValue(presence.StartedAt), + ReportedAt: timeValue(presence.ReportedAt), + Ready: presence.Ready, + Detail: presence.Detail, + } +} + // taskLogEntryProto and taskLogEntryValue mirror internal/logging.Entry, whose // Fields map crosses as a JSON object string exactly as events.Event.Data does // (see eventDataJSON above). The logging package owns that format end to end; diff --git a/proto/state/v1/state.proto b/proto/state/v1/state.proto index 51f8b18ab..9b2c922db 100644 --- a/proto/state/v1/state.proto +++ b/proto/state/v1/state.proto @@ -120,6 +120,12 @@ service StateStoreService { rpc PutApplyStatus(PutApplyStatusRequest) returns (PutApplyStatusResponse); rpc ListApplyStatus(ListApplyStatusRequest) returns (ListApplyStatusResponse); + // Presence: every running service instance re-stamps one record, so a + // record past the staleness window means that instance is down. + // Administrative. + rpc PutPresence(PutPresenceRequest) returns (PutPresenceResponse); + rpc ListPresence(ListPresenceRequest) returns (ListPresenceResponse); + // Task log: one task attempt's persisted log. Task log files live in the // state directory this process owns, so the dashboard reads them over this // contract rather than opening them itself @@ -875,6 +881,23 @@ message PutApplyStatusResponse {} message ListApplyStatusRequest {} message ListApplyStatusResponse { repeated ApplyStatus statuses = 1; } +// Presence is one running service instance. ready and detail summarise its +// readiness probes; detail names the degraded ones. +message Presence { + string service = 1; + string instance_id = 2; + string version = 3; + string install_type = 4; + google.protobuf.Timestamp started_at = 5; + google.protobuf.Timestamp reported_at = 6; + bool ready = 7; + string detail = 8; +} +message PutPresenceRequest { Presence presence = 1; } +message PutPresenceResponse {} +message ListPresenceRequest {} +message ListPresenceResponse { repeated Presence presences = 1; } + // TaskLogEntry mirrors internal/logging.Entry: one decoded log line. fields // carries every remaining key as a JSON object string, the same way Event // carries its data, so structured context survives the hop without this