Files
archie/internal/contracts/state/v1/state.pb.go
T
sam e0b6aa6105 feat(workflow): post line-anchored review comments with suggested fixes (#891)
* feat(workflow): post line-anchored review comments with suggested fixes

Bead archie-core-q9au (docs/prds/inline-review.md). A review's findings reached
the operator only as a flat list in the PR body, so the author had to map every
finding back to its line by hand and apply mechanical fixes by hand. Now the
line-anchored findings are also posted as inline review comments, carrying a
one-click suggestion when the reviewer could state the fix.

Domain (internal/domain/workflow):
- ReviewFinding gains Suggestion; Validate rejects one on anything but a
  confirmed finding, so the agent's record_finding call is refused with
  something it can act on. Validate splits into validateAnchor /
  validateClassification / validateDisposition, which also brings it back under
  the cyclop limit the gate enforces.
- StagePostReviewComments runs after StageOpenPR in the implement workflow. It
  posts only line-anchored findings (Line > 0); a whole-file finding has no line
  to attach to and stays in the body list, which remains the complete record.
  It is best-effort: the PR is open and the body already lists every finding, so
  a failed comment is logged, never a park -- the same reasoning as OpenPR's
  existing best-effort LinkBranch call.
- The suggestion fence is gated on Verdict == confirmed where the fence is
  written, because it is a one-click apply: a wrong suggestion breaks the code
  and the author has to notice.

Forge (internal/forge): ReviewCommentWriter + GitHub/Gitea implementations,
type-asserted like PullRequestReader so a forge that cannot is skipped rather
than faked (NoopForge is pinned as not satisfying it). GitHub loops one
CreateComment per comment and joins the failures, so one refused anchor cannot
drop the rest; Gitea carries them on a single COMMENT-state review.

Two deliberate departures from the PRD's sketch, both recorded in it:
- The interface is batch (CreateReviewComments), not one call per comment:
  Gitea's only inline shape is one submitted review, and the set then crosses
  NATS once instead of once per finding.
- The head SHA is resolved inside each forge implementation rather than by the
  caller. The stage runs in archie-agent, which holds no forge credentials and
  has no PullRequestReader; the daemon-side forgerpc handler is the only place
  that does.

Transport (internal/forgerpc): workflow.Forger gains the method, so the agent
reaches the daemon over the new create_review_comments subject; the server
type-asserts the writer and answers an incapable forge with an error the stage
logs. This is the one proxied method whose absence on an image skew does not
park a task.

The reviewer prompt and record_finding schema ask for a suggestion on a
confirmed, mechanically fixable defect only.

Regenerating the wfextract symbol table -- the documented way a new exported
workflow symbol reaches interpreted stage plugins -- also picked up symbols that
were missing from the committed table (the Status* and Source* constants,
ReviewCheck, Store, Task, and the _Store wrapper). Nil-guards were re-applied to
every wrapper afterwards, as that file's header requires.

Evidence: task check exit 0 (incl. 229 UI tests). Three mutations of the new
stage logic each fail a test that names the behaviour -- dropping the
confirmed-only gate, dropping the Line > 0 filter, and letting a posting failure
escape -- so the tests discriminate rather than passing vacuously.

* fix(build): drop the Dockerfile pin assertion

The guard fetched golangci-lint's go.mod at image build time to fail the build
when GOLANGCI_LINT_VERSION and GOFUMPT_VERSION disagreed. It only ever tripped
on self-inflicted pin drift, but it added a network fetch and a new failure
mode to the release build, which is not where that belongs.

The pins stay correct (golangci-lint 2.13.2, whose vendored gofumpt v0.11.0
equals GOFUMPT_VERSION) and the comment above them still states the invariant,
so the reasoning survives without the build-time machinery. The pin change
itself reaches the agent image through the normal release path: CI rebuilds
and pushes archie-agent on an archie/vX.Y.Z release, and a gateway-only
release deliberately does not.

* feat(workflow): add the remediate workflow for PR review remediation

Implements step 5 of docs/prds/pr-review-remediation.md: a remediate
workflow that resumes the task's existing worktree onto its PR branch
(worktree.Manager.Resume, not Prepare's refresh), runs a builder agent
against the review's actionable comments, commits and pushes to the
same branch, and replies via the forge's ReplyToReview. Task.RetryCount
doubles as the remediation round counter, capped by the repo's
max_retries; the round-cap stage parks the task and posts one comment
when it's hit.

Task gains a ReviewPayload field (JSON-encoded review unit) with full
store/proto/staterpc plumbing. workflow.Forger gains Comment and
ReplyToReview, proxied to archie-agent via a new forgerpc RPC. Resume
and its Dir lookup are added as an unexported optional Trees capability
rather than widening the exported interface, which is already at
golangci-lint's interfacebloat cap and is projected into wfextract's
Yaegi symbol table for repository-authored stage plugins.

The daemon-side reaction consumer that dispatches into this workflow
(subscribing ARCHIE_REACTIONS, grouping comments by review, enforcing
per-task serialization) is tracked separately in archie-core-8li9.4.

* feat(messaging): extract standalone messaging service binary and process composition

* feat(messaging): adapt channel frontends to consume Gateway ChatContract

* feat(messaging): remove in-process channels and Router from daemon bootstrap

Telegram, email and webhook now run only in the Messaging Service, which
reaches this process through the Gateway's ChatContract. The daemon builds
no channel and no gateway.Router, so the wiring that existed only to serve
them goes with it: setupGateways, setupEmailGateway, setupWebhookGateway,
setupTelegramGateway, buildTelegramRouter, makeTelegramReload and the
release-announcement path helper.

The seams those paths owned move to where they can still be honoured:

- Channel ValidateConfig runs in archiemessaging.compose, which now returns
  an error, so a configured-but-invalid front-end fails the service rather
  than being dropped silently.
- The inbound rate limiter moves to the Gateway process, which owns the only
  Router and therefore the only place a per-sender budget applies to every
  channel's turns.
- The daemon's gateway readiness probe becomes a ContractProbe against the
  Gateway. It cannot observe a channel lifecycle it no longer runs, and a
  channel-count probe would have reported every daemon degraded.
- telegramSetup is now chatSetup (in chat_setup.go), trimmed to the fields a
  chat turn runner actually reads.

Telegram operator features that were wired only in the daemon (/update,
release announcements, version reporting, SIGHUP reload) are not yet wired
in the Messaging Service: archie-core-8cda.6.6. Channel lifecycle reporting:
archie-core-8cda.6.8. The Gateway process builds no worktree manager, so
review_pr is unadvertised on every channel: archie-core-8cda.6.7.

* feat(messaging): re-wire the Telegram operator surface in the Messaging Service

setupTelegramGateway satisfied eight telegram.Gateway seams from the daemon's
own process. Each is resolved by where the fact it needs is owned, not by
where it used to be built; the decision table is in
docs/architecture/migration-decisions.md.

Wired here: /update (built from this service's own [chat.telegram] check and
install commands), the update-report relay (same sha256(bot_user)[:8] path the
daemon wrote, so a pending report is found rather than written afresh),
show_tool_calls, and /restart's config reload, which re-resolves the token and
allowlist from this service's own file and refuses a reload that resolves to
an empty token.

/version is sourced from the Gateway: ChatSnapshot gains a Version field
carrying the Gateway's rendered build block, read per call and bounded by the
dependency timeout. cmd/archie-messaging deliberately takes no version
ldflags, so it cannot report a partial upgrade as a matched one.

RunningVersions and ReleaseAnnouncements stay nil. Both need a component's
real running version, and the only versions this process can obtain are a
different binary's stamps -- reporting them would manufacture exactly the
false success the update check exists to catch, and the announcer without
parseable versions is a no-op that reads as configured. archie-core-8cda.6.9
carries the contract that unblocks them. Dangerous stays nil: no composition
has ever supplied a command authority.

Enrich is dropped from the update service: componentInstallTypeEnricher read
[nats], which this service must not decode, so the check command's own
reported install type stands.

* fix(workflow): guard inline review comments against head drift

Two findings from the review of q9au.

A comment's line numbers describe exactly one revision of the branch, but the
forge resolved the pull request's head at posting time -- after the review had
already read the worktree. A push in that window (a collaborator, a retry) meant
the findings were anchored to whatever now occupied those lines, mislabelling
instead of failing. The revision the review measured now travels with the
comment set: OpenPR records it from the same worktree read it already performs
(TaskContext.ReviewedHeadSHA), StagePostReviewComments threads it through
Forger to forgerpc, and the forge refuses the whole set once the head it reads
has moved off it -- which the best-effort stage logs, the PR body remaining the
record. An unmeasured revision posts unverified rather than dropping every
finding, so a worktree that cannot report one degrades instead of regressing.

Suggestion was documented single-line only, because GitHub applies a suggestion
fence up to its first line and a multi-line replacement would silently corrupt
the file. Only the verdict was validated, so a multi-line suggestion reached the
renderer and posted as that truncated fence. Validate now rejects an embedded
newline, which makes record_finding refuse it with feedback the model can act on
instead of the reviewer discovering the corruption later.
2026-09-19 23:37:23 +10:00

6556 lines
203 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: state/v1/state.proto
package statev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Task mirrors internal/domain/workflow.Task.
type RegisterTaskGrantRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
LifetimeSeconds int64 `protobuf:"varint,3,opt,name=lifetime_seconds,json=lifetimeSeconds,proto3" json:"lifetime_seconds,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterTaskGrantRequest) Reset() {
*x = RegisterTaskGrantRequest{}
mi := &file_state_v1_state_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterTaskGrantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterTaskGrantRequest) ProtoMessage() {}
func (x *RegisterTaskGrantRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[0]
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 RegisterTaskGrantRequest.ProtoReflect.Descriptor instead.
func (*RegisterTaskGrantRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{0}
}
func (x *RegisterTaskGrantRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *RegisterTaskGrantRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *RegisterTaskGrantRequest) GetLifetimeSeconds() int64 {
if x != nil {
return x.LifetimeSeconds
}
return 0
}
type RegisterTaskGrantResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterTaskGrantResponse) Reset() {
*x = RegisterTaskGrantResponse{}
mi := &file_state_v1_state_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterTaskGrantResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterTaskGrantResponse) ProtoMessage() {}
func (x *RegisterTaskGrantResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[1]
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 RegisterTaskGrantResponse.ProtoReflect.Descriptor instead.
func (*RegisterTaskGrantResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{1}
}
type RevokeTaskGrantRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevokeTaskGrantRequest) Reset() {
*x = RevokeTaskGrantRequest{}
mi := &file_state_v1_state_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevokeTaskGrantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevokeTaskGrantRequest) ProtoMessage() {}
func (x *RevokeTaskGrantRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[2]
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 RevokeTaskGrantRequest.ProtoReflect.Descriptor instead.
func (*RevokeTaskGrantRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{2}
}
func (x *RevokeTaskGrantRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type RevokeTaskGrantResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevokeTaskGrantResponse) Reset() {
*x = RevokeTaskGrantResponse{}
mi := &file_state_v1_state_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevokeTaskGrantResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevokeTaskGrantResponse) ProtoMessage() {}
func (x *RevokeTaskGrantResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[3]
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 RevokeTaskGrantResponse.ProtoReflect.Descriptor instead.
func (*RevokeTaskGrantResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{3}
}
// Task mirrors internal/domain/workflow.Task.
type Task struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,3,opt,name=repo,proto3" json:"repo,omitempty"`
IssueNumber int64 `protobuf:"varint,4,opt,name=issue_number,json=issueNumber,proto3" json:"issue_number,omitempty"`
Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
Labels string `protobuf:"bytes,7,opt,name=labels,proto3" json:"labels,omitempty"`
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
Workflow string `protobuf:"bytes,9,opt,name=workflow,proto3" json:"workflow,omitempty"`
Stage string `protobuf:"bytes,10,opt,name=stage,proto3" json:"stage,omitempty"`
Branch string `protobuf:"bytes,11,opt,name=branch,proto3" json:"branch,omitempty"`
Plan string `protobuf:"bytes,12,opt,name=plan,proto3" json:"plan,omitempty"`
Notes string `protobuf:"bytes,13,opt,name=notes,proto3" json:"notes,omitempty"`
PrNumber int64 `protobuf:"varint,14,opt,name=pr_number,json=prNumber,proto3" json:"pr_number,omitempty"`
TokensUsed int64 `protobuf:"varint,15,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
Iterations int64 `protobuf:"varint,16,opt,name=iterations,proto3" json:"iterations,omitempty"`
Attempt int64 `protobuf:"varint,17,opt,name=attempt,proto3" json:"attempt,omitempty"`
ParkReason string `protobuf:"bytes,18,opt,name=park_reason,json=parkReason,proto3" json:"park_reason,omitempty"`
RetryCount int64 `protobuf:"varint,19,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"`
WatchCommentId int64 `protobuf:"varint,20,opt,name=watch_comment_id,json=watchCommentId,proto3" json:"watch_comment_id,omitempty"`
Source string `protobuf:"bytes,21,opt,name=source,proto3" json:"source,omitempty"`
Identity string `protobuf:"bytes,22,opt,name=identity,proto3" json:"identity,omitempty"`
BindingId int64 `protobuf:"varint,23,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
BindingVersion int64 `protobuf:"varint,24,opt,name=binding_version,json=bindingVersion,proto3" json:"binding_version,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// review_payload is the JSON-encoded review unit the remediate workflow's
// current run must address (docs/prds/pr-review-remediation.md decision 4).
ReviewPayload string `protobuf:"bytes,27,opt,name=review_payload,json=reviewPayload,proto3" json:"review_payload,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Task) Reset() {
*x = Task{}
mi := &file_state_v1_state_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Task) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Task) ProtoMessage() {}
func (x *Task) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[4]
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 Task.ProtoReflect.Descriptor instead.
func (*Task) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{4}
}
func (x *Task) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Task) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *Task) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *Task) GetIssueNumber() int64 {
if x != nil {
return x.IssueNumber
}
return 0
}
func (x *Task) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *Task) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *Task) GetLabels() string {
if x != nil {
return x.Labels
}
return ""
}
func (x *Task) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *Task) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *Task) GetStage() string {
if x != nil {
return x.Stage
}
return ""
}
func (x *Task) GetBranch() string {
if x != nil {
return x.Branch
}
return ""
}
func (x *Task) GetPlan() string {
if x != nil {
return x.Plan
}
return ""
}
func (x *Task) GetNotes() string {
if x != nil {
return x.Notes
}
return ""
}
func (x *Task) GetPrNumber() int64 {
if x != nil {
return x.PrNumber
}
return 0
}
func (x *Task) GetTokensUsed() int64 {
if x != nil {
return x.TokensUsed
}
return 0
}
func (x *Task) GetIterations() int64 {
if x != nil {
return x.Iterations
}
return 0
}
func (x *Task) GetAttempt() int64 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *Task) GetParkReason() string {
if x != nil {
return x.ParkReason
}
return ""
}
func (x *Task) GetRetryCount() int64 {
if x != nil {
return x.RetryCount
}
return 0
}
func (x *Task) GetWatchCommentId() int64 {
if x != nil {
return x.WatchCommentId
}
return 0
}
func (x *Task) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *Task) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *Task) GetBindingId() int64 {
if x != nil {
return x.BindingId
}
return 0
}
func (x *Task) GetBindingVersion() int64 {
if x != nil {
return x.BindingVersion
}
return 0
}
func (x *Task) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *Task) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
func (x *Task) GetReviewPayload() string {
if x != nil {
return x.ReviewPayload
}
return ""
}
// Event mirrors internal/events.Event. Data is carried as a JSON object
// string (matching the store's own on-disk representation) rather than
// google.protobuf.Struct, to stay a direct mirror of the existing column.
type Event struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
At *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"`
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
TaskId int64 `protobuf:"varint,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Repo string `protobuf:"bytes,5,opt,name=repo,proto3" json:"repo,omitempty"`
Issue int64 `protobuf:"varint,6,opt,name=issue,proto3" json:"issue,omitempty"`
Workflow string `protobuf:"bytes,7,opt,name=workflow,proto3" json:"workflow,omitempty"`
Stage string `protobuf:"bytes,8,opt,name=stage,proto3" json:"stage,omitempty"`
// attempt is the run this event belongs to. Zero means UNATTRIBUTED, not a
// first attempt: rows written before the field existed, and the deliberately
// task-agnostic producers, all carry zero. A reader must report those as
// unattributable rather than presenting them as one run.
Attempt int64 `protobuf:"varint,11,opt,name=attempt,proto3" json:"attempt,omitempty"`
Detail string `protobuf:"bytes,9,opt,name=detail,proto3" json:"detail,omitempty"`
DataJson string `protobuf:"bytes,10,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Event) Reset() {
*x = Event{}
mi := &file_state_v1_state_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Event) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Event) ProtoMessage() {}
func (x *Event) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[5]
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 Event.ProtoReflect.Descriptor instead.
func (*Event) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{5}
}
func (x *Event) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Event) GetAt() *timestamppb.Timestamp {
if x != nil {
return x.At
}
return nil
}
func (x *Event) GetKind() string {
if x != nil {
return x.Kind
}
return ""
}
func (x *Event) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *Event) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *Event) GetIssue() int64 {
if x != nil {
return x.Issue
}
return 0
}
func (x *Event) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *Event) GetStage() string {
if x != nil {
return x.Stage
}
return ""
}
func (x *Event) GetAttempt() int64 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *Event) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
func (x *Event) GetDataJson() string {
if x != nil {
return x.DataJson
}
return ""
}
// CapturedEvent mirrors internal/store.CapturedEvent.
type CapturedEvent struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ReceivedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=received_at,json=receivedAt,proto3" json:"received_at,omitempty"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
RemoteAddr string `protobuf:"bytes,4,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
Headers string `protobuf:"bytes,6,opt,name=headers,proto3" json:"headers,omitempty"`
Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
Authenticated bool `protobuf:"varint,8,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CapturedEvent) Reset() {
*x = CapturedEvent{}
mi := &file_state_v1_state_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CapturedEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CapturedEvent) ProtoMessage() {}
func (x *CapturedEvent) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[6]
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 CapturedEvent.ProtoReflect.Descriptor instead.
func (*CapturedEvent) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{6}
}
func (x *CapturedEvent) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *CapturedEvent) GetReceivedAt() *timestamppb.Timestamp {
if x != nil {
return x.ReceivedAt
}
return nil
}
func (x *CapturedEvent) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *CapturedEvent) GetRemoteAddr() string {
if x != nil {
return x.RemoteAddr
}
return ""
}
func (x *CapturedEvent) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
func (x *CapturedEvent) GetHeaders() string {
if x != nil {
return x.Headers
}
return ""
}
func (x *CapturedEvent) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *CapturedEvent) GetAuthenticated() bool {
if x != nil {
return x.Authenticated
}
return false
}
// MappingField mirrors internal/domain/mapping.Field.
type MappingField struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MappingField) Reset() {
*x = MappingField{}
mi := &file_state_v1_state_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MappingField) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MappingField) ProtoMessage() {}
func (x *MappingField) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[7]
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 MappingField.ProtoReflect.Descriptor instead.
func (*MappingField) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{7}
}
func (x *MappingField) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *MappingField) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *MappingField) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *MappingField) GetRequired() bool {
if x != nil {
return x.Required
}
return false
}
// Mapping mirrors internal/domain/mapping.Mapping.
type Mapping struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
SourceHint string `protobuf:"bytes,3,opt,name=source_hint,json=sourceHint,proto3" json:"source_hint,omitempty"`
Fields []*MappingField `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Mapping) Reset() {
*x = Mapping{}
mi := &file_state_v1_state_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Mapping) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Mapping) ProtoMessage() {}
func (x *Mapping) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[8]
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 Mapping.ProtoReflect.Descriptor instead.
func (*Mapping) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{8}
}
func (x *Mapping) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Mapping) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Mapping) GetSourceHint() string {
if x != nil {
return x.SourceHint
}
return ""
}
func (x *Mapping) GetFields() []*MappingField {
if x != nil {
return x.Fields
}
return nil
}
func (x *Mapping) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *Mapping) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
// BindingMatcher mirrors internal/domain/binding.Matcher.
type BindingMatcher struct {
state protoimpl.MessageState `protogen:"open.v1"`
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BindingMatcher) Reset() {
*x = BindingMatcher{}
mi := &file_state_v1_state_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BindingMatcher) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BindingMatcher) ProtoMessage() {}
func (x *BindingMatcher) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[9]
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 BindingMatcher.ProtoReflect.Descriptor instead.
func (*BindingMatcher) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{9}
}
func (x *BindingMatcher) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
// Binding mirrors internal/domain/binding.Binding.
type Binding struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Matcher *BindingMatcher `protobuf:"bytes,3,opt,name=matcher,proto3" json:"matcher,omitempty"`
MappingId int64 `protobuf:"varint,4,opt,name=mapping_id,json=mappingId,proto3" json:"mapping_id,omitempty"`
Workflow string `protobuf:"bytes,5,opt,name=workflow,proto3" json:"workflow,omitempty"`
Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,7,opt,name=repo,proto3" json:"repo,omitempty"`
Version int64 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
Secret string `protobuf:"bytes,10,opt,name=secret,proto3" json:"secret,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Binding) Reset() {
*x = Binding{}
mi := &file_state_v1_state_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Binding) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Binding) ProtoMessage() {}
func (x *Binding) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[10]
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 Binding.ProtoReflect.Descriptor instead.
func (*Binding) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{10}
}
func (x *Binding) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Binding) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Binding) GetMatcher() *BindingMatcher {
if x != nil {
return x.Matcher
}
return nil
}
func (x *Binding) GetMappingId() int64 {
if x != nil {
return x.MappingId
}
return 0
}
func (x *Binding) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *Binding) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *Binding) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *Binding) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *Binding) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *Binding) GetSecret() string {
if x != nil {
return x.Secret
}
return ""
}
func (x *Binding) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *Binding) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
// WorkflowStat mirrors internal/store.WorkflowStat.
type WorkflowStat struct {
state protoimpl.MessageState `protogen:"open.v1"`
Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"`
Runs int64 `protobuf:"varint,2,opt,name=runs,proto3" json:"runs,omitempty"`
Merged int64 `protobuf:"varint,3,opt,name=merged,proto3" json:"merged,omitempty"`
PrOpen int64 `protobuf:"varint,4,opt,name=pr_open,json=prOpen,proto3" json:"pr_open,omitempty"`
Parked int64 `protobuf:"varint,5,opt,name=parked,proto3" json:"parked,omitempty"`
AvgTokens int64 `protobuf:"varint,6,opt,name=avg_tokens,json=avgTokens,proto3" json:"avg_tokens,omitempty"`
AvgSteps float64 `protobuf:"fixed64,7,opt,name=avg_steps,json=avgSteps,proto3" json:"avg_steps,omitempty"`
TotalTokens int64 `protobuf:"varint,8,opt,name=total_tokens,json=totalTokens,proto3" json:"total_tokens,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkflowStat) Reset() {
*x = WorkflowStat{}
mi := &file_state_v1_state_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkflowStat) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkflowStat) ProtoMessage() {}
func (x *WorkflowStat) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[11]
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 WorkflowStat.ProtoReflect.Descriptor instead.
func (*WorkflowStat) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{11}
}
func (x *WorkflowStat) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *WorkflowStat) GetRuns() int64 {
if x != nil {
return x.Runs
}
return 0
}
func (x *WorkflowStat) GetMerged() int64 {
if x != nil {
return x.Merged
}
return 0
}
func (x *WorkflowStat) GetPrOpen() int64 {
if x != nil {
return x.PrOpen
}
return 0
}
func (x *WorkflowStat) GetParked() int64 {
if x != nil {
return x.Parked
}
return 0
}
func (x *WorkflowStat) GetAvgTokens() int64 {
if x != nil {
return x.AvgTokens
}
return 0
}
func (x *WorkflowStat) GetAvgSteps() float64 {
if x != nil {
return x.AvgSteps
}
return 0
}
func (x *WorkflowStat) GetTotalTokens() int64 {
if x != nil {
return x.TotalTokens
}
return 0
}
// StageStat mirrors internal/store.StageStat.
type StageStat struct {
state protoimpl.MessageState `protogen:"open.v1"`
Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"`
Stage string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"`
Runs int64 `protobuf:"varint,3,opt,name=runs,proto3" json:"runs,omitempty"`
AvgMs int64 `protobuf:"varint,4,opt,name=avg_ms,json=avgMs,proto3" json:"avg_ms,omitempty"`
Errors int64 `protobuf:"varint,5,opt,name=errors,proto3" json:"errors,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StageStat) Reset() {
*x = StageStat{}
mi := &file_state_v1_state_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StageStat) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StageStat) ProtoMessage() {}
func (x *StageStat) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[12]
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 StageStat.ProtoReflect.Descriptor instead.
func (*StageStat) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{12}
}
func (x *StageStat) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *StageStat) GetStage() string {
if x != nil {
return x.Stage
}
return ""
}
func (x *StageStat) GetRuns() int64 {
if x != nil {
return x.Runs
}
return 0
}
func (x *StageStat) GetAvgMs() int64 {
if x != nil {
return x.AvgMs
}
return 0
}
func (x *StageStat) GetErrors() int64 {
if x != nil {
return x.Errors
}
return 0
}
// DayTokens mirrors internal/store.DayTokens.
type DayTokens struct {
state protoimpl.MessageState `protogen:"open.v1"`
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
Tokens int64 `protobuf:"varint,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DayTokens) Reset() {
*x = DayTokens{}
mi := &file_state_v1_state_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DayTokens) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DayTokens) ProtoMessage() {}
func (x *DayTokens) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[13]
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 DayTokens.ProtoReflect.Descriptor instead.
func (*DayTokens) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{13}
}
func (x *DayTokens) GetDay() string {
if x != nil {
return x.Day
}
return ""
}
func (x *DayTokens) GetTokens() int64 {
if x != nil {
return x.Tokens
}
return 0
}
type EnqueueIssueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
Labels string `protobuf:"bytes,6,opt,name=labels,proto3" json:"labels,omitempty"`
Identity string `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueIssueRequest) Reset() {
*x = EnqueueIssueRequest{}
mi := &file_state_v1_state_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnqueueIssueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnqueueIssueRequest) ProtoMessage() {}
func (x *EnqueueIssueRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[14]
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 EnqueueIssueRequest.ProtoReflect.Descriptor instead.
func (*EnqueueIssueRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{14}
}
func (x *EnqueueIssueRequest) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *EnqueueIssueRequest) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *EnqueueIssueRequest) GetNumber() int64 {
if x != nil {
return x.Number
}
return 0
}
func (x *EnqueueIssueRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *EnqueueIssueRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *EnqueueIssueRequest) GetLabels() string {
if x != nil {
return x.Labels
}
return ""
}
func (x *EnqueueIssueRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
type EnqueueIssueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Inserted bool `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueIssueResponse) Reset() {
*x = EnqueueIssueResponse{}
mi := &file_state_v1_state_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnqueueIssueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnqueueIssueResponse) ProtoMessage() {}
func (x *EnqueueIssueResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[15]
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 EnqueueIssueResponse.ProtoReflect.Descriptor instead.
func (*EnqueueIssueResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{15}
}
func (x *EnqueueIssueResponse) GetInserted() bool {
if x != nil {
return x.Inserted
}
return false
}
type EnqueueChatTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
Workflow string `protobuf:"bytes,5,opt,name=workflow,proto3" json:"workflow,omitempty"`
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueChatTaskRequest) Reset() {
*x = EnqueueChatTaskRequest{}
mi := &file_state_v1_state_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnqueueChatTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnqueueChatTaskRequest) ProtoMessage() {}
func (x *EnqueueChatTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[16]
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 EnqueueChatTaskRequest.ProtoReflect.Descriptor instead.
func (*EnqueueChatTaskRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{16}
}
func (x *EnqueueChatTaskRequest) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *EnqueueChatTaskRequest) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *EnqueueChatTaskRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *EnqueueChatTaskRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *EnqueueChatTaskRequest) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *EnqueueChatTaskRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
type EnqueueChatTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueChatTaskResponse) Reset() {
*x = EnqueueChatTaskResponse{}
mi := &file_state_v1_state_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnqueueChatTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnqueueChatTaskResponse) ProtoMessage() {}
func (x *EnqueueChatTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[17]
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 EnqueueChatTaskResponse.ProtoReflect.Descriptor instead.
func (*EnqueueChatTaskResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{17}
}
func (x *EnqueueChatTaskResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
type ClaimNextRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimNextRequest) Reset() {
*x = ClaimNextRequest{}
mi := &file_state_v1_state_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimNextRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimNextRequest) ProtoMessage() {}
func (x *ClaimNextRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[18]
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 ClaimNextRequest.ProtoReflect.Descriptor instead.
func (*ClaimNextRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{18}
}
type ClaimNextResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimNextResponse) Reset() {
*x = ClaimNextResponse{}
mi := &file_state_v1_state_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimNextResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimNextResponse) ProtoMessage() {}
func (x *ClaimNextResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[19]
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 ClaimNextResponse.ProtoReflect.Descriptor instead.
func (*ClaimNextResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{19}
}
func (x *ClaimNextResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
func (x *ClaimNextResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type ClaimByIssueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimByIssueRequest) Reset() {
*x = ClaimByIssueRequest{}
mi := &file_state_v1_state_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimByIssueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimByIssueRequest) ProtoMessage() {}
func (x *ClaimByIssueRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimByIssueRequest.ProtoReflect.Descriptor instead.
func (*ClaimByIssueRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{20}
}
func (x *ClaimByIssueRequest) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *ClaimByIssueRequest) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *ClaimByIssueRequest) GetNumber() int64 {
if x != nil {
return x.Number
}
return 0
}
type ClaimByIssueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimByIssueResponse) Reset() {
*x = ClaimByIssueResponse{}
mi := &file_state_v1_state_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimByIssueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimByIssueResponse) ProtoMessage() {}
func (x *ClaimByIssueResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimByIssueResponse.ProtoReflect.Descriptor instead.
func (*ClaimByIssueResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{21}
}
func (x *ClaimByIssueResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
func (x *ClaimByIssueResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type TransitionRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TransitionRequest) Reset() {
*x = TransitionRequest{}
mi := &file_state_v1_state_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TransitionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransitionRequest) ProtoMessage() {}
func (x *TransitionRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransitionRequest.ProtoReflect.Descriptor instead.
func (*TransitionRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{22}
}
func (x *TransitionRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *TransitionRequest) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
func (x *TransitionRequest) GetTo() string {
if x != nil {
return x.To
}
return ""
}
func (x *TransitionRequest) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
type TransitionResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TransitionResponse) Reset() {
*x = TransitionResponse{}
mi := &file_state_v1_state_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TransitionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransitionResponse) ProtoMessage() {}
func (x *TransitionResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransitionResponse.ProtoReflect.Descriptor instead.
func (*TransitionResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{23}
}
type UpdateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateRequest) Reset() {
*x = UpdateRequest{}
mi := &file_state_v1_state_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateRequest) ProtoMessage() {}
func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[24]
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 UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{24}
}
func (x *UpdateRequest) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
type UpdateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateResponse) Reset() {
*x = UpdateResponse{}
mi := &file_state_v1_state_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateResponse) ProtoMessage() {}
func (x *UpdateResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[25]
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 UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{25}
}
type RequeueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"`
Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequeueRequest) Reset() {
*x = RequeueRequest{}
mi := &file_state_v1_state_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequeueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequeueRequest) ProtoMessage() {}
func (x *RequeueRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[26]
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 RequeueRequest.ProtoReflect.Descriptor instead.
func (*RequeueRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{26}
}
func (x *RequeueRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *RequeueRequest) GetFromStatus() string {
if x != nil {
return x.FromStatus
}
return ""
}
func (x *RequeueRequest) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
type RequeueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequeueResponse) Reset() {
*x = RequeueResponse{}
mi := &file_state_v1_state_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequeueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequeueResponse) ProtoMessage() {}
func (x *RequeueResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RequeueResponse.ProtoReflect.Descriptor instead.
func (*RequeueResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{27}
}
type RecoverStaleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RecoverStaleRequest) Reset() {
*x = RecoverStaleRequest{}
mi := &file_state_v1_state_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RecoverStaleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecoverStaleRequest) ProtoMessage() {}
func (x *RecoverStaleRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RecoverStaleRequest.ProtoReflect.Descriptor instead.
func (*RecoverStaleRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{28}
}
type RecoverStaleResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RecoverStaleResponse) Reset() {
*x = RecoverStaleResponse{}
mi := &file_state_v1_state_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RecoverStaleResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecoverStaleResponse) ProtoMessage() {}
func (x *RecoverStaleResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RecoverStaleResponse.ProtoReflect.Descriptor instead.
func (*RecoverStaleResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{29}
}
func (x *RecoverStaleResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
type ArchiveTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"`
Audit *Event `protobuf:"bytes,3,opt,name=audit,proto3" json:"audit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ArchiveTaskRequest) Reset() {
*x = ArchiveTaskRequest{}
mi := &file_state_v1_state_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ArchiveTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArchiveTaskRequest) ProtoMessage() {}
func (x *ArchiveTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[30]
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 ArchiveTaskRequest.ProtoReflect.Descriptor instead.
func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{30}
}
func (x *ArchiveTaskRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *ArchiveTaskRequest) GetFromStatus() string {
if x != nil {
return x.FromStatus
}
return ""
}
func (x *ArchiveTaskRequest) GetAudit() *Event {
if x != nil {
return x.Audit
}
return nil
}
type ArchiveTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ArchiveTaskResponse) Reset() {
*x = ArchiveTaskResponse{}
mi := &file_state_v1_state_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ArchiveTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArchiveTaskResponse) ProtoMessage() {}
func (x *ArchiveTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[31]
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 ArchiveTaskResponse.ProtoReflect.Descriptor instead.
func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{31}
}
func (x *ArchiveTaskResponse) GetEventId() int64 {
if x != nil {
return x.EventId
}
return 0
}
type RetryTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
FromStatus string `protobuf:"bytes,2,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"`
Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RetryTaskRequest) Reset() {
*x = RetryTaskRequest{}
mi := &file_state_v1_state_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RetryTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RetryTaskRequest) ProtoMessage() {}
func (x *RetryTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[32]
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 RetryTaskRequest.ProtoReflect.Descriptor instead.
func (*RetryTaskRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{32}
}
func (x *RetryTaskRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *RetryTaskRequest) GetFromStatus() string {
if x != nil {
return x.FromStatus
}
return ""
}
func (x *RetryTaskRequest) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
type RetryTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RetryTaskResponse) Reset() {
*x = RetryTaskResponse{}
mi := &file_state_v1_state_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RetryTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RetryTaskResponse) ProtoMessage() {}
func (x *RetryTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[33]
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 RetryTaskResponse.ProtoReflect.Descriptor instead.
func (*RetryTaskResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{33}
}
type TaskByIssueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskByIssueRequest) Reset() {
*x = TaskByIssueRequest{}
mi := &file_state_v1_state_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskByIssueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskByIssueRequest) ProtoMessage() {}
func (x *TaskByIssueRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[34]
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 TaskByIssueRequest.ProtoReflect.Descriptor instead.
func (*TaskByIssueRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{34}
}
func (x *TaskByIssueRequest) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *TaskByIssueRequest) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *TaskByIssueRequest) GetNumber() int64 {
if x != nil {
return x.Number
}
return 0
}
type TaskByIssueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskByIssueResponse) Reset() {
*x = TaskByIssueResponse{}
mi := &file_state_v1_state_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskByIssueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskByIssueResponse) ProtoMessage() {}
func (x *TaskByIssueResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[35]
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 TaskByIssueResponse.ProtoReflect.Descriptor instead.
func (*TaskByIssueResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{35}
}
func (x *TaskByIssueResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
func (x *TaskByIssueResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type OpenTaskByPRRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenTaskByPRRequest) Reset() {
*x = OpenTaskByPRRequest{}
mi := &file_state_v1_state_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenTaskByPRRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenTaskByPRRequest) ProtoMessage() {}
func (x *OpenTaskByPRRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[36]
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 OpenTaskByPRRequest.ProtoReflect.Descriptor instead.
func (*OpenTaskByPRRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{36}
}
func (x *OpenTaskByPRRequest) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *OpenTaskByPRRequest) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *OpenTaskByPRRequest) GetNumber() int64 {
if x != nil {
return x.Number
}
return 0
}
type OpenTaskByPRResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenTaskByPRResponse) Reset() {
*x = OpenTaskByPRResponse{}
mi := &file_state_v1_state_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenTaskByPRResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenTaskByPRResponse) ProtoMessage() {}
func (x *OpenTaskByPRResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[37]
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 OpenTaskByPRResponse.ProtoReflect.Descriptor instead.
func (*OpenTaskByPRResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{37}
}
func (x *OpenTaskByPRResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
func (x *OpenTaskByPRResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type TaskByIDRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskByIDRequest) Reset() {
*x = TaskByIDRequest{}
mi := &file_state_v1_state_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskByIDRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskByIDRequest) ProtoMessage() {}
func (x *TaskByIDRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[38]
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 TaskByIDRequest.ProtoReflect.Descriptor instead.
func (*TaskByIDRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{38}
}
func (x *TaskByIDRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
type TaskByIDResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskByIDResponse) Reset() {
*x = TaskByIDResponse{}
mi := &file_state_v1_state_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskByIDResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskByIDResponse) ProtoMessage() {}
func (x *TaskByIDResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[39]
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 TaskByIDResponse.ProtoReflect.Descriptor instead.
func (*TaskByIDResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{39}
}
func (x *TaskByIDResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
func (x *TaskByIDResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type OpenPRsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenPRsRequest) Reset() {
*x = OpenPRsRequest{}
mi := &file_state_v1_state_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenPRsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenPRsRequest) ProtoMessage() {}
func (x *OpenPRsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[40]
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 OpenPRsRequest.ProtoReflect.Descriptor instead.
func (*OpenPRsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{40}
}
type OpenPRsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenPRsResponse) Reset() {
*x = OpenPRsResponse{}
mi := &file_state_v1_state_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenPRsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenPRsResponse) ProtoMessage() {}
func (x *OpenPRsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[41]
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 OpenPRsResponse.ProtoReflect.Descriptor instead.
func (*OpenPRsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{41}
}
func (x *OpenPRsResponse) GetTasks() []*Task {
if x != nil {
return x.Tasks
}
return nil
}
type ClearTerminalTasksRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClearTerminalTasksRequest) Reset() {
*x = ClearTerminalTasksRequest{}
mi := &file_state_v1_state_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClearTerminalTasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClearTerminalTasksRequest) ProtoMessage() {}
func (x *ClearTerminalTasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[42]
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 ClearTerminalTasksRequest.ProtoReflect.Descriptor instead.
func (*ClearTerminalTasksRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{42}
}
type ClearTerminalTasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClearTerminalTasksResponse) Reset() {
*x = ClearTerminalTasksResponse{}
mi := &file_state_v1_state_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClearTerminalTasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClearTerminalTasksResponse) ProtoMessage() {}
func (x *ClearTerminalTasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[43]
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 ClearTerminalTasksResponse.ProtoReflect.Descriptor instead.
func (*ClearTerminalTasksResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{43}
}
func (x *ClearTerminalTasksResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
type TasksRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TasksRequest) Reset() {
*x = TasksRequest{}
mi := &file_state_v1_state_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TasksRequest) ProtoMessage() {}
func (x *TasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[44]
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 TasksRequest.ProtoReflect.Descriptor instead.
func (*TasksRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{44}
}
func (x *TasksRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
type TasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TasksResponse) Reset() {
*x = TasksResponse{}
mi := &file_state_v1_state_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TasksResponse) ProtoMessage() {}
func (x *TasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[45]
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 TasksResponse.ProtoReflect.Descriptor instead.
func (*TasksResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{45}
}
func (x *TasksResponse) GetTasks() []*Task {
if x != nil {
return x.Tasks
}
return nil
}
type StatusCountsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StatusCountsRequest) Reset() {
*x = StatusCountsRequest{}
mi := &file_state_v1_state_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StatusCountsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StatusCountsRequest) ProtoMessage() {}
func (x *StatusCountsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[46]
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 StatusCountsRequest.ProtoReflect.Descriptor instead.
func (*StatusCountsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{46}
}
type StatusCountsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Counts map[string]int64 `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StatusCountsResponse) Reset() {
*x = StatusCountsResponse{}
mi := &file_state_v1_state_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StatusCountsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StatusCountsResponse) ProtoMessage() {}
func (x *StatusCountsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[47]
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 StatusCountsResponse.ProtoReflect.Descriptor instead.
func (*StatusCountsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{47}
}
func (x *StatusCountsResponse) GetCounts() map[string]int64 {
if x != nil {
return x.Counts
}
return nil
}
type InsertEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertEventRequest) Reset() {
*x = InsertEventRequest{}
mi := &file_state_v1_state_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertEventRequest) ProtoMessage() {}
func (x *InsertEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[48]
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 InsertEventRequest.ProtoReflect.Descriptor instead.
func (*InsertEventRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{48}
}
func (x *InsertEventRequest) GetEvent() *Event {
if x != nil {
return x.Event
}
return nil
}
type InsertEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertEventResponse) Reset() {
*x = InsertEventResponse{}
mi := &file_state_v1_state_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertEventResponse) ProtoMessage() {}
func (x *InsertEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[49]
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 InsertEventResponse.ProtoReflect.Descriptor instead.
func (*InsertEventResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{49}
}
func (x *InsertEventResponse) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type EventsSinceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SinceId int64 `protobuf:"varint,1,opt,name=since_id,json=sinceId,proto3" json:"since_id,omitempty"`
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EventsSinceRequest) Reset() {
*x = EventsSinceRequest{}
mi := &file_state_v1_state_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EventsSinceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EventsSinceRequest) ProtoMessage() {}
func (x *EventsSinceRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[50]
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 EventsSinceRequest.ProtoReflect.Descriptor instead.
func (*EventsSinceRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{50}
}
func (x *EventsSinceRequest) GetSinceId() int64 {
if x != nil {
return x.SinceId
}
return 0
}
func (x *EventsSinceRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
type EventsSinceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EventsSinceResponse) Reset() {
*x = EventsSinceResponse{}
mi := &file_state_v1_state_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EventsSinceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EventsSinceResponse) ProtoMessage() {}
func (x *EventsSinceResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[51]
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 EventsSinceResponse.ProtoReflect.Descriptor instead.
func (*EventsSinceResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{51}
}
func (x *EventsSinceResponse) GetEvents() []*Event {
if x != nil {
return x.Events
}
return nil
}
type TaskEventsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskEventsRequest) Reset() {
*x = TaskEventsRequest{}
mi := &file_state_v1_state_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskEventsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskEventsRequest) ProtoMessage() {}
func (x *TaskEventsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TaskEventsRequest.ProtoReflect.Descriptor instead.
func (*TaskEventsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{52}
}
func (x *TaskEventsRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
type TaskEventsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskEventsResponse) Reset() {
*x = TaskEventsResponse{}
mi := &file_state_v1_state_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskEventsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskEventsResponse) ProtoMessage() {}
func (x *TaskEventsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TaskEventsResponse.ProtoReflect.Descriptor instead.
func (*TaskEventsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{53}
}
func (x *TaskEventsResponse) GetEvents() []*Event {
if x != nil {
return x.Events
}
return nil
}
type WorkflowStatsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkflowStatsRequest) Reset() {
*x = WorkflowStatsRequest{}
mi := &file_state_v1_state_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkflowStatsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkflowStatsRequest) ProtoMessage() {}
func (x *WorkflowStatsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[54]
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 WorkflowStatsRequest.ProtoReflect.Descriptor instead.
func (*WorkflowStatsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{54}
}
type WorkflowStatsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Stats []*WorkflowStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkflowStatsResponse) Reset() {
*x = WorkflowStatsResponse{}
mi := &file_state_v1_state_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkflowStatsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkflowStatsResponse) ProtoMessage() {}
func (x *WorkflowStatsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[55]
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 WorkflowStatsResponse.ProtoReflect.Descriptor instead.
func (*WorkflowStatsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{55}
}
func (x *WorkflowStatsResponse) GetStats() []*WorkflowStat {
if x != nil {
return x.Stats
}
return nil
}
type StageStatsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StageStatsRequest) Reset() {
*x = StageStatsRequest{}
mi := &file_state_v1_state_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StageStatsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StageStatsRequest) ProtoMessage() {}
func (x *StageStatsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[56]
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 StageStatsRequest.ProtoReflect.Descriptor instead.
func (*StageStatsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{56}
}
type StageStatsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Stats []*StageStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StageStatsResponse) Reset() {
*x = StageStatsResponse{}
mi := &file_state_v1_state_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StageStatsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StageStatsResponse) ProtoMessage() {}
func (x *StageStatsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[57]
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 StageStatsResponse.ProtoReflect.Descriptor instead.
func (*StageStatsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{57}
}
func (x *StageStatsResponse) GetStats() []*StageStat {
if x != nil {
return x.Stats
}
return nil
}
type TokensByDayRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Days int64 `protobuf:"varint,1,opt,name=days,proto3" json:"days,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokensByDayRequest) Reset() {
*x = TokensByDayRequest{}
mi := &file_state_v1_state_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokensByDayRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokensByDayRequest) ProtoMessage() {}
func (x *TokensByDayRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[58]
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 TokensByDayRequest.ProtoReflect.Descriptor instead.
func (*TokensByDayRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{58}
}
func (x *TokensByDayRequest) GetDays() int64 {
if x != nil {
return x.Days
}
return 0
}
type TokensByDayResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tokens []*DayTokens `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokensByDayResponse) Reset() {
*x = TokensByDayResponse{}
mi := &file_state_v1_state_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokensByDayResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokensByDayResponse) ProtoMessage() {}
func (x *TokensByDayResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[59]
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 TokensByDayResponse.ProtoReflect.Descriptor instead.
func (*TokensByDayResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{59}
}
func (x *TokensByDayResponse) GetTokens() []*DayTokens {
if x != nil {
return x.Tokens
}
return nil
}
// ConfigSnapshot carries the dashboard's configuration projection. document
// is opaque to the store: its shape belongs to the producer and the page that
// reads it, and schema names that shape so a reader can refuse one it does
// not understand. It is secret-free at the producer -- the projection carries
// an API key's environment variable name and whether it resolved, never a
// value.
type ConfigSnapshot struct {
state protoimpl.MessageState `protogen:"open.v1"`
Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
Document []byte `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
PublishedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfigSnapshot) Reset() {
*x = ConfigSnapshot{}
mi := &file_state_v1_state_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfigSnapshot) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigSnapshot) ProtoMessage() {}
func (x *ConfigSnapshot) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[60]
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 ConfigSnapshot.ProtoReflect.Descriptor instead.
func (*ConfigSnapshot) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{60}
}
func (x *ConfigSnapshot) GetSchema() string {
if x != nil {
return x.Schema
}
return ""
}
func (x *ConfigSnapshot) GetDocument() []byte {
if x != nil {
return x.Document
}
return nil
}
func (x *ConfigSnapshot) GetPublishedAt() *timestamppb.Timestamp {
if x != nil {
return x.PublishedAt
}
return nil
}
type PutConfigSnapshotRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Snapshot *ConfigSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PutConfigSnapshotRequest) Reset() {
*x = PutConfigSnapshotRequest{}
mi := &file_state_v1_state_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PutConfigSnapshotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PutConfigSnapshotRequest) ProtoMessage() {}
func (x *PutConfigSnapshotRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[61]
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 PutConfigSnapshotRequest.ProtoReflect.Descriptor instead.
func (*PutConfigSnapshotRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{61}
}
func (x *PutConfigSnapshotRequest) GetSnapshot() *ConfigSnapshot {
if x != nil {
return x.Snapshot
}
return nil
}
type PutConfigSnapshotResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PutConfigSnapshotResponse) Reset() {
*x = PutConfigSnapshotResponse{}
mi := &file_state_v1_state_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PutConfigSnapshotResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PutConfigSnapshotResponse) ProtoMessage() {}
func (x *PutConfigSnapshotResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[62]
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 PutConfigSnapshotResponse.ProtoReflect.Descriptor instead.
func (*PutConfigSnapshotResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{62}
}
type GetConfigSnapshotRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetConfigSnapshotRequest) Reset() {
*x = GetConfigSnapshotRequest{}
mi := &file_state_v1_state_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetConfigSnapshotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConfigSnapshotRequest) ProtoMessage() {}
func (x *GetConfigSnapshotRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[63]
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 GetConfigSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetConfigSnapshotRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{63}
}
type GetConfigSnapshotResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Snapshot *ConfigSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetConfigSnapshotResponse) Reset() {
*x = GetConfigSnapshotResponse{}
mi := &file_state_v1_state_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetConfigSnapshotResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConfigSnapshotResponse) ProtoMessage() {}
func (x *GetConfigSnapshotResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[64]
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 GetConfigSnapshotResponse.ProtoReflect.Descriptor instead.
func (*GetConfigSnapshotResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{64}
}
func (x *GetConfigSnapshotResponse) GetSnapshot() *ConfigSnapshot {
if x != nil {
return x.Snapshot
}
return nil
}
func (x *GetConfigSnapshotResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
// 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
// contract having to know what a call site attached.
type TaskLogEntry struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"`
Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
FieldsJson string `protobuf:"bytes,5,opt,name=fields_json,json=fieldsJson,proto3" json:"fields_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskLogEntry) Reset() {
*x = TaskLogEntry{}
mi := &file_state_v1_state_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskLogEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskLogEntry) ProtoMessage() {}
func (x *TaskLogEntry) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[65]
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 TaskLogEntry.ProtoReflect.Descriptor instead.
func (*TaskLogEntry) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{65}
}
func (x *TaskLogEntry) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *TaskLogEntry) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
}
return nil
}
func (x *TaskLogEntry) GetLevel() string {
if x != nil {
return x.Level
}
return ""
}
func (x *TaskLogEntry) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *TaskLogEntry) GetFieldsJson() string {
if x != nil {
return x.FieldsJson
}
return ""
}
// ReadTaskLog returns a page of one task attempt's decoded log. attempt is the
// attempt the caller resolved (the dashboard sends the task's current attempt
// when the request omitted one). levels, component, contains, since and until
// carry the whole query the logging package's Tail accepts -- the wire mirrors
// that query rather than a subset of it, so a filter cannot silently stop
// working by crossing the boundary. limit is caller-capped
// (docs/prds/state-store-contract.md §8: the log cap is 2000).
type ReadTaskLogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
Levels []string `protobuf:"bytes,4,rep,name=levels,proto3" json:"levels,omitempty"`
Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
Contains string `protobuf:"bytes,6,opt,name=contains,proto3" json:"contains,omitempty"`
Since *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=since,proto3" json:"since,omitempty"`
Until *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=until,proto3" json:"until,omitempty"`
// stage filters on an entry's own "stage" field. Only entries a stage
// tagged carry one -- agent and tool output is logged without a stage, so a
// stage filter narrows the file rather than covering it. Empty means any.
Stage string `protobuf:"bytes,9,opt,name=stage,proto3" json:"stage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadTaskLogRequest) Reset() {
*x = ReadTaskLogRequest{}
mi := &file_state_v1_state_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadTaskLogRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadTaskLogRequest) ProtoMessage() {}
func (x *ReadTaskLogRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[66]
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 ReadTaskLogRequest.ProtoReflect.Descriptor instead.
func (*ReadTaskLogRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{66}
}
func (x *ReadTaskLogRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *ReadTaskLogRequest) GetAttempt() int64 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *ReadTaskLogRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ReadTaskLogRequest) GetLevels() []string {
if x != nil {
return x.Levels
}
return nil
}
func (x *ReadTaskLogRequest) GetComponent() string {
if x != nil {
return x.Component
}
return ""
}
func (x *ReadTaskLogRequest) GetContains() string {
if x != nil {
return x.Contains
}
return ""
}
func (x *ReadTaskLogRequest) GetSince() *timestamppb.Timestamp {
if x != nil {
return x.Since
}
return nil
}
func (x *ReadTaskLogRequest) GetUntil() *timestamppb.Timestamp {
if x != nil {
return x.Until
}
return nil
}
func (x *ReadTaskLogRequest) GetStage() string {
if x != nil {
return x.Stage
}
return ""
}
// found=false is not an error: the task has no log file for that attempt.
// That is a different condition from a process that cannot read logs at all
// (codes.Unavailable), and the dashboard reports them differently.
type ReadTaskLogResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Entries []*TaskLogEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
Truncated bool `protobuf:"varint,2,opt,name=truncated,proto3" json:"truncated,omitempty"`
Attempt int64 `protobuf:"varint,3,opt,name=attempt,proto3" json:"attempt,omitempty"`
Found bool `protobuf:"varint,4,opt,name=found,proto3" json:"found,omitempty"`
Components []string `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"`
// file is the path read, so the page can name where the log came from. It
// is the state directory's own layout, reported to an already-authenticated
// operator; no caller is expected to open it.
File string `protobuf:"bytes,6,opt,name=file,proto3" json:"file,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadTaskLogResponse) Reset() {
*x = ReadTaskLogResponse{}
mi := &file_state_v1_state_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadTaskLogResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadTaskLogResponse) ProtoMessage() {}
func (x *ReadTaskLogResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[67]
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 ReadTaskLogResponse.ProtoReflect.Descriptor instead.
func (*ReadTaskLogResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{67}
}
func (x *ReadTaskLogResponse) GetEntries() []*TaskLogEntry {
if x != nil {
return x.Entries
}
return nil
}
func (x *ReadTaskLogResponse) GetTruncated() bool {
if x != nil {
return x.Truncated
}
return false
}
func (x *ReadTaskLogResponse) GetAttempt() int64 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *ReadTaskLogResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
func (x *ReadTaskLogResponse) GetComponents() []string {
if x != nil {
return x.Components
}
return nil
}
func (x *ReadTaskLogResponse) GetFile() string {
if x != nil {
return x.File
}
return ""
}
// StreamTaskLogContent returns one attempt's log verbatim, for a download. The
// bytes are the file's own JSONL, not a re-encoding of it: this contract
// transports the log, it does not restate the format. found=false, with no
// chunks, means the attempt has no log file -- not an error.
type StreamTaskLogContentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamTaskLogContentRequest) Reset() {
*x = StreamTaskLogContentRequest{}
mi := &file_state_v1_state_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamTaskLogContentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamTaskLogContentRequest) ProtoMessage() {}
func (x *StreamTaskLogContentRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[68]
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 StreamTaskLogContentRequest.ProtoReflect.Descriptor instead.
func (*StreamTaskLogContentRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{68}
}
func (x *StreamTaskLogContentRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *StreamTaskLogContentRequest) GetAttempt() int64 {
if x != nil {
return x.Attempt
}
return 0
}
type StreamTaskLogContentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
Found bool `protobuf:"varint,3,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamTaskLogContentResponse) Reset() {
*x = StreamTaskLogContentResponse{}
mi := &file_state_v1_state_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamTaskLogContentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamTaskLogContentResponse) ProtoMessage() {}
func (x *StreamTaskLogContentResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[69]
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 StreamTaskLogContentResponse.ProtoReflect.Descriptor instead.
func (*StreamTaskLogContentResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{69}
}
func (x *StreamTaskLogContentResponse) GetChunk() []byte {
if x != nil {
return x.Chunk
}
return nil
}
func (x *StreamTaskLogContentResponse) GetAttempt() int64 {
if x != nil {
return x.Attempt
}
return 0
}
func (x *StreamTaskLogContentResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type InsertCaptureRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Capture *CapturedEvent `protobuf:"bytes,1,opt,name=capture,proto3" json:"capture,omitempty"`
RetentionSeconds int64 `protobuf:"varint,2,opt,name=retention_seconds,json=retentionSeconds,proto3" json:"retention_seconds,omitempty"`
MaxEvents int64 `protobuf:"varint,3,opt,name=max_events,json=maxEvents,proto3" json:"max_events,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertCaptureRequest) Reset() {
*x = InsertCaptureRequest{}
mi := &file_state_v1_state_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertCaptureRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertCaptureRequest) ProtoMessage() {}
func (x *InsertCaptureRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[70]
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 InsertCaptureRequest.ProtoReflect.Descriptor instead.
func (*InsertCaptureRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{70}
}
func (x *InsertCaptureRequest) GetCapture() *CapturedEvent {
if x != nil {
return x.Capture
}
return nil
}
func (x *InsertCaptureRequest) GetRetentionSeconds() int64 {
if x != nil {
return x.RetentionSeconds
}
return 0
}
func (x *InsertCaptureRequest) GetMaxEvents() int64 {
if x != nil {
return x.MaxEvents
}
return 0
}
type InsertCaptureResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertCaptureResponse) Reset() {
*x = InsertCaptureResponse{}
mi := &file_state_v1_state_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertCaptureResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertCaptureResponse) ProtoMessage() {}
func (x *InsertCaptureResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[71]
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 InsertCaptureResponse.ProtoReflect.Descriptor instead.
func (*InsertCaptureResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{71}
}
func (x *InsertCaptureResponse) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type ListCapturesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCapturesRequest) Reset() {
*x = ListCapturesRequest{}
mi := &file_state_v1_state_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCapturesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCapturesRequest) ProtoMessage() {}
func (x *ListCapturesRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[72]
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 ListCapturesRequest.ProtoReflect.Descriptor instead.
func (*ListCapturesRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{72}
}
func (x *ListCapturesRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
type ListCapturesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Captures []*CapturedEvent `protobuf:"bytes,1,rep,name=captures,proto3" json:"captures,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCapturesResponse) Reset() {
*x = ListCapturesResponse{}
mi := &file_state_v1_state_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCapturesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCapturesResponse) ProtoMessage() {}
func (x *ListCapturesResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[73]
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 ListCapturesResponse.ProtoReflect.Descriptor instead.
func (*ListCapturesResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{73}
}
func (x *ListCapturesResponse) GetCaptures() []*CapturedEvent {
if x != nil {
return x.Captures
}
return nil
}
type StreamCapturesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamCapturesRequest) Reset() {
*x = StreamCapturesRequest{}
mi := &file_state_v1_state_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamCapturesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamCapturesRequest) ProtoMessage() {}
func (x *StreamCapturesRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[74]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StreamCapturesRequest.ProtoReflect.Descriptor instead.
func (*StreamCapturesRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{74}
}
func (x *StreamCapturesRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
// Streamed one capture per message; see StreamCaptures above.
type StreamCapturesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Capture *CapturedEvent `protobuf:"bytes,1,opt,name=capture,proto3" json:"capture,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamCapturesResponse) Reset() {
*x = StreamCapturesResponse{}
mi := &file_state_v1_state_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamCapturesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamCapturesResponse) ProtoMessage() {}
func (x *StreamCapturesResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[75]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StreamCapturesResponse.ProtoReflect.Descriptor instead.
func (*StreamCapturesResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{75}
}
func (x *StreamCapturesResponse) GetCapture() *CapturedEvent {
if x != nil {
return x.Capture
}
return nil
}
type InsertMappingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mapping *Mapping `protobuf:"bytes,1,opt,name=mapping,proto3" json:"mapping,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertMappingRequest) Reset() {
*x = InsertMappingRequest{}
mi := &file_state_v1_state_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertMappingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertMappingRequest) ProtoMessage() {}
func (x *InsertMappingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[76]
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 InsertMappingRequest.ProtoReflect.Descriptor instead.
func (*InsertMappingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{76}
}
func (x *InsertMappingRequest) GetMapping() *Mapping {
if x != nil {
return x.Mapping
}
return nil
}
type InsertMappingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertMappingResponse) Reset() {
*x = InsertMappingResponse{}
mi := &file_state_v1_state_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertMappingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertMappingResponse) ProtoMessage() {}
func (x *InsertMappingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[77]
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 InsertMappingResponse.ProtoReflect.Descriptor instead.
func (*InsertMappingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{77}
}
func (x *InsertMappingResponse) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type GetMappingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMappingRequest) Reset() {
*x = GetMappingRequest{}
mi := &file_state_v1_state_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMappingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMappingRequest) ProtoMessage() {}
func (x *GetMappingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[78]
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 GetMappingRequest.ProtoReflect.Descriptor instead.
func (*GetMappingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{78}
}
func (x *GetMappingRequest) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type GetMappingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mapping *Mapping `protobuf:"bytes,1,opt,name=mapping,proto3" json:"mapping,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMappingResponse) Reset() {
*x = GetMappingResponse{}
mi := &file_state_v1_state_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMappingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMappingResponse) ProtoMessage() {}
func (x *GetMappingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[79]
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 GetMappingResponse.ProtoReflect.Descriptor instead.
func (*GetMappingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{79}
}
func (x *GetMappingResponse) GetMapping() *Mapping {
if x != nil {
return x.Mapping
}
return nil
}
func (x *GetMappingResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type ListMappingsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMappingsRequest) Reset() {
*x = ListMappingsRequest{}
mi := &file_state_v1_state_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMappingsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMappingsRequest) ProtoMessage() {}
func (x *ListMappingsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[80]
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 ListMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListMappingsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{80}
}
type ListMappingsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMappingsResponse) Reset() {
*x = ListMappingsResponse{}
mi := &file_state_v1_state_proto_msgTypes[81]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMappingsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMappingsResponse) ProtoMessage() {}
func (x *ListMappingsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[81]
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 ListMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListMappingsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{81}
}
func (x *ListMappingsResponse) GetMappings() []*Mapping {
if x != nil {
return x.Mappings
}
return nil
}
type UpdateMappingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mapping *Mapping `protobuf:"bytes,1,opt,name=mapping,proto3" json:"mapping,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateMappingRequest) Reset() {
*x = UpdateMappingRequest{}
mi := &file_state_v1_state_proto_msgTypes[82]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateMappingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateMappingRequest) ProtoMessage() {}
func (x *UpdateMappingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[82]
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 UpdateMappingRequest.ProtoReflect.Descriptor instead.
func (*UpdateMappingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{82}
}
func (x *UpdateMappingRequest) GetMapping() *Mapping {
if x != nil {
return x.Mapping
}
return nil
}
type UpdateMappingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateMappingResponse) Reset() {
*x = UpdateMappingResponse{}
mi := &file_state_v1_state_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateMappingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateMappingResponse) ProtoMessage() {}
func (x *UpdateMappingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[83]
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 UpdateMappingResponse.ProtoReflect.Descriptor instead.
func (*UpdateMappingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{83}
}
type DeleteMappingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteMappingRequest) Reset() {
*x = DeleteMappingRequest{}
mi := &file_state_v1_state_proto_msgTypes[84]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteMappingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMappingRequest) ProtoMessage() {}
func (x *DeleteMappingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[84]
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 DeleteMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteMappingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{84}
}
func (x *DeleteMappingRequest) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type DeleteMappingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteMappingResponse) Reset() {
*x = DeleteMappingResponse{}
mi := &file_state_v1_state_proto_msgTypes[85]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteMappingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMappingResponse) ProtoMessage() {}
func (x *DeleteMappingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[85]
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 DeleteMappingResponse.ProtoReflect.Descriptor instead.
func (*DeleteMappingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{85}
}
type InsertBindingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Binding *Binding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertBindingRequest) Reset() {
*x = InsertBindingRequest{}
mi := &file_state_v1_state_proto_msgTypes[86]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertBindingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertBindingRequest) ProtoMessage() {}
func (x *InsertBindingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[86]
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 InsertBindingRequest.ProtoReflect.Descriptor instead.
func (*InsertBindingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{86}
}
func (x *InsertBindingRequest) GetBinding() *Binding {
if x != nil {
return x.Binding
}
return nil
}
type InsertBindingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InsertBindingResponse) Reset() {
*x = InsertBindingResponse{}
mi := &file_state_v1_state_proto_msgTypes[87]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InsertBindingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertBindingResponse) ProtoMessage() {}
func (x *InsertBindingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[87]
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 InsertBindingResponse.ProtoReflect.Descriptor instead.
func (*InsertBindingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{87}
}
func (x *InsertBindingResponse) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type GetBindingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBindingRequest) Reset() {
*x = GetBindingRequest{}
mi := &file_state_v1_state_proto_msgTypes[88]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBindingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBindingRequest) ProtoMessage() {}
func (x *GetBindingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[88]
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 GetBindingRequest.ProtoReflect.Descriptor instead.
func (*GetBindingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{88}
}
func (x *GetBindingRequest) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type GetBindingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Binding *Binding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBindingResponse) Reset() {
*x = GetBindingResponse{}
mi := &file_state_v1_state_proto_msgTypes[89]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBindingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBindingResponse) ProtoMessage() {}
func (x *GetBindingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[89]
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 GetBindingResponse.ProtoReflect.Descriptor instead.
func (*GetBindingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{89}
}
func (x *GetBindingResponse) GetBinding() *Binding {
if x != nil {
return x.Binding
}
return nil
}
func (x *GetBindingResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
type ListBindingsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListBindingsRequest) Reset() {
*x = ListBindingsRequest{}
mi := &file_state_v1_state_proto_msgTypes[90]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListBindingsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListBindingsRequest) ProtoMessage() {}
func (x *ListBindingsRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[90]
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 ListBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListBindingsRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{90}
}
type ListBindingsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListBindingsResponse) Reset() {
*x = ListBindingsResponse{}
mi := &file_state_v1_state_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListBindingsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListBindingsResponse) ProtoMessage() {}
func (x *ListBindingsResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[91]
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 ListBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListBindingsResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{91}
}
func (x *ListBindingsResponse) GetBindings() []*Binding {
if x != nil {
return x.Bindings
}
return nil
}
type UpdateBindingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Binding *Binding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateBindingRequest) Reset() {
*x = UpdateBindingRequest{}
mi := &file_state_v1_state_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateBindingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateBindingRequest) ProtoMessage() {}
func (x *UpdateBindingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[92]
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 UpdateBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateBindingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{92}
}
func (x *UpdateBindingRequest) GetBinding() *Binding {
if x != nil {
return x.Binding
}
return nil
}
type UpdateBindingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateBindingResponse) Reset() {
*x = UpdateBindingResponse{}
mi := &file_state_v1_state_proto_msgTypes[93]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateBindingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateBindingResponse) ProtoMessage() {}
func (x *UpdateBindingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[93]
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 UpdateBindingResponse.ProtoReflect.Descriptor instead.
func (*UpdateBindingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{93}
}
type DeleteBindingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteBindingRequest) Reset() {
*x = DeleteBindingRequest{}
mi := &file_state_v1_state_proto_msgTypes[94]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteBindingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteBindingRequest) ProtoMessage() {}
func (x *DeleteBindingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[94]
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 DeleteBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteBindingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{94}
}
func (x *DeleteBindingRequest) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type DeleteBindingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteBindingResponse) Reset() {
*x = DeleteBindingResponse{}
mi := &file_state_v1_state_proto_msgTypes[95]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteBindingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteBindingResponse) ProtoMessage() {}
func (x *DeleteBindingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[95]
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 DeleteBindingResponse.ProtoReflect.Descriptor instead.
func (*DeleteBindingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{95}
}
type ApproveBindingRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApproveBindingRequest) Reset() {
*x = ApproveBindingRequest{}
mi := &file_state_v1_state_proto_msgTypes[96]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApproveBindingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApproveBindingRequest) ProtoMessage() {}
func (x *ApproveBindingRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[96]
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 ApproveBindingRequest.ProtoReflect.Descriptor instead.
func (*ApproveBindingRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{96}
}
func (x *ApproveBindingRequest) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type ApproveBindingResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApproveBindingResponse) Reset() {
*x = ApproveBindingResponse{}
mi := &file_state_v1_state_proto_msgTypes[97]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApproveBindingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApproveBindingResponse) ProtoMessage() {}
func (x *ApproveBindingResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[97]
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 ApproveBindingResponse.ProtoReflect.Descriptor instead.
func (*ApproveBindingResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{97}
}
type ArmedBindingsForSourceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ArmedBindingsForSourceRequest) Reset() {
*x = ArmedBindingsForSourceRequest{}
mi := &file_state_v1_state_proto_msgTypes[98]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ArmedBindingsForSourceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArmedBindingsForSourceRequest) ProtoMessage() {}
func (x *ArmedBindingsForSourceRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[98]
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 ArmedBindingsForSourceRequest.ProtoReflect.Descriptor instead.
func (*ArmedBindingsForSourceRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{98}
}
func (x *ArmedBindingsForSourceRequest) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
type ArmedBindingsForSourceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ArmedBindingsForSourceResponse) Reset() {
*x = ArmedBindingsForSourceResponse{}
mi := &file_state_v1_state_proto_msgTypes[99]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ArmedBindingsForSourceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArmedBindingsForSourceResponse) ProtoMessage() {}
func (x *ArmedBindingsForSourceResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[99]
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 ArmedBindingsForSourceResponse.ProtoReflect.Descriptor instead.
func (*ArmedBindingsForSourceResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{99}
}
func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding {
if x != nil {
return x.Bindings
}
return nil
}
type RecordDispatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
BindingId int64 `protobuf:"varint,1,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
BindingVersion int64 `protobuf:"varint,2,opt,name=binding_version,json=bindingVersion,proto3" json:"binding_version,omitempty"`
CaptureId int64 `protobuf:"varint,3,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
TaskId int64 `protobuf:"varint,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RecordDispatchRequest) Reset() {
*x = RecordDispatchRequest{}
mi := &file_state_v1_state_proto_msgTypes[100]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RecordDispatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecordDispatchRequest) ProtoMessage() {}
func (x *RecordDispatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[100]
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 RecordDispatchRequest.ProtoReflect.Descriptor instead.
func (*RecordDispatchRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{100}
}
func (x *RecordDispatchRequest) GetBindingId() int64 {
if x != nil {
return x.BindingId
}
return 0
}
func (x *RecordDispatchRequest) GetBindingVersion() int64 {
if x != nil {
return x.BindingVersion
}
return 0
}
func (x *RecordDispatchRequest) GetCaptureId() int64 {
if x != nil {
return x.CaptureId
}
return 0
}
func (x *RecordDispatchRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
type RecordDispatchResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RecordDispatchResponse) Reset() {
*x = RecordDispatchResponse{}
mi := &file_state_v1_state_proto_msgTypes[101]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RecordDispatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecordDispatchResponse) ProtoMessage() {}
func (x *RecordDispatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[101]
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 RecordDispatchResponse.ProtoReflect.Descriptor instead.
func (*RecordDispatchResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{101}
}
type ListUndispatchedCapturesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sources []string `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListUndispatchedCapturesRequest) Reset() {
*x = ListUndispatchedCapturesRequest{}
mi := &file_state_v1_state_proto_msgTypes[102]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListUndispatchedCapturesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListUndispatchedCapturesRequest) ProtoMessage() {}
func (x *ListUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[102]
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 ListUndispatchedCapturesRequest.ProtoReflect.Descriptor instead.
func (*ListUndispatchedCapturesRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{102}
}
func (x *ListUndispatchedCapturesRequest) GetSources() []string {
if x != nil {
return x.Sources
}
return nil
}
func (x *ListUndispatchedCapturesRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
type ListUndispatchedCapturesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Captures []*CapturedEvent `protobuf:"bytes,1,rep,name=captures,proto3" json:"captures,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListUndispatchedCapturesResponse) Reset() {
*x = ListUndispatchedCapturesResponse{}
mi := &file_state_v1_state_proto_msgTypes[103]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListUndispatchedCapturesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListUndispatchedCapturesResponse) ProtoMessage() {}
func (x *ListUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[103]
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 ListUndispatchedCapturesResponse.ProtoReflect.Descriptor instead.
func (*ListUndispatchedCapturesResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{103}
}
func (x *ListUndispatchedCapturesResponse) GetCaptures() []*CapturedEvent {
if x != nil {
return x.Captures
}
return nil
}
type StreamUndispatchedCapturesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sources []string `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamUndispatchedCapturesRequest) Reset() {
*x = StreamUndispatchedCapturesRequest{}
mi := &file_state_v1_state_proto_msgTypes[104]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamUndispatchedCapturesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamUndispatchedCapturesRequest) ProtoMessage() {}
func (x *StreamUndispatchedCapturesRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[104]
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 StreamUndispatchedCapturesRequest.ProtoReflect.Descriptor instead.
func (*StreamUndispatchedCapturesRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{104}
}
func (x *StreamUndispatchedCapturesRequest) GetSources() []string {
if x != nil {
return x.Sources
}
return nil
}
func (x *StreamUndispatchedCapturesRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
// Streamed one capture per message; see StreamUndispatchedCaptures above.
type StreamUndispatchedCapturesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Capture *CapturedEvent `protobuf:"bytes,1,opt,name=capture,proto3" json:"capture,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StreamUndispatchedCapturesResponse) Reset() {
*x = StreamUndispatchedCapturesResponse{}
mi := &file_state_v1_state_proto_msgTypes[105]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StreamUndispatchedCapturesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StreamUndispatchedCapturesResponse) ProtoMessage() {}
func (x *StreamUndispatchedCapturesResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[105]
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 StreamUndispatchedCapturesResponse.ProtoReflect.Descriptor instead.
func (*StreamUndispatchedCapturesResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{105}
}
func (x *StreamUndispatchedCapturesResponse) GetCapture() *CapturedEvent {
if x != nil {
return x.Capture
}
return nil
}
type EnqueueBindingTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
Workflow string `protobuf:"bytes,5,opt,name=workflow,proto3" json:"workflow,omitempty"`
Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
BindingId int64 `protobuf:"varint,7,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
BindingVersion int64 `protobuf:"varint,8,opt,name=binding_version,json=bindingVersion,proto3" json:"binding_version,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueBindingTaskRequest) Reset() {
*x = EnqueueBindingTaskRequest{}
mi := &file_state_v1_state_proto_msgTypes[106]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnqueueBindingTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnqueueBindingTaskRequest) ProtoMessage() {}
func (x *EnqueueBindingTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[106]
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 EnqueueBindingTaskRequest.ProtoReflect.Descriptor instead.
func (*EnqueueBindingTaskRequest) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{106}
}
func (x *EnqueueBindingTaskRequest) GetOwner() string {
if x != nil {
return x.Owner
}
return ""
}
func (x *EnqueueBindingTaskRequest) GetRepo() string {
if x != nil {
return x.Repo
}
return ""
}
func (x *EnqueueBindingTaskRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *EnqueueBindingTaskRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *EnqueueBindingTaskRequest) GetWorkflow() string {
if x != nil {
return x.Workflow
}
return ""
}
func (x *EnqueueBindingTaskRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *EnqueueBindingTaskRequest) GetBindingId() int64 {
if x != nil {
return x.BindingId
}
return 0
}
func (x *EnqueueBindingTaskRequest) GetBindingVersion() int64 {
if x != nil {
return x.BindingVersion
}
return 0
}
type EnqueueBindingTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueBindingTaskResponse) Reset() {
*x = EnqueueBindingTaskResponse{}
mi := &file_state_v1_state_proto_msgTypes[107]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnqueueBindingTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnqueueBindingTaskResponse) ProtoMessage() {}
func (x *EnqueueBindingTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_state_proto_msgTypes[107]
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 EnqueueBindingTaskResponse.ProtoReflect.Descriptor instead.
func (*EnqueueBindingTaskResponse) Descriptor() ([]byte, []int) {
return file_state_v1_state_proto_rawDescGZIP(), []int{107}
}
func (x *EnqueueBindingTaskResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
var File_state_v1_state_proto protoreflect.FileDescriptor
const file_state_v1_state_proto_rawDesc = "" +
"\n" +
"\x14state/v1/state.proto\x12\bstate.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"t\n" +
"\x18RegisterTaskGrantRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x14\n" +
"\x05token\x18\x02 \x01(\tR\x05token\x12)\n" +
"\x10lifetime_seconds\x18\x03 \x01(\x03R\x0flifetimeSeconds\"\x1b\n" +
"\x19RegisterTaskGrantResponse\".\n" +
"\x16RevokeTaskGrantRequest\x12\x14\n" +
"\x05token\x18\x01 \x01(\tR\x05token\"\x19\n" +
"\x17RevokeTaskGrantResponse\"\xae\x06\n" +
"\x04Task\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
"\x05owner\x18\x02 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x03 \x01(\tR\x04repo\x12!\n" +
"\fissue_number\x18\x04 \x01(\x03R\vissueNumber\x12\x14\n" +
"\x05title\x18\x05 \x01(\tR\x05title\x12\x12\n" +
"\x04body\x18\x06 \x01(\tR\x04body\x12\x16\n" +
"\x06labels\x18\a \x01(\tR\x06labels\x12\x16\n" +
"\x06status\x18\b \x01(\tR\x06status\x12\x1a\n" +
"\bworkflow\x18\t \x01(\tR\bworkflow\x12\x14\n" +
"\x05stage\x18\n" +
" \x01(\tR\x05stage\x12\x16\n" +
"\x06branch\x18\v \x01(\tR\x06branch\x12\x12\n" +
"\x04plan\x18\f \x01(\tR\x04plan\x12\x14\n" +
"\x05notes\x18\r \x01(\tR\x05notes\x12\x1b\n" +
"\tpr_number\x18\x0e \x01(\x03R\bprNumber\x12\x1f\n" +
"\vtokens_used\x18\x0f \x01(\x03R\n" +
"tokensUsed\x12\x1e\n" +
"\n" +
"iterations\x18\x10 \x01(\x03R\n" +
"iterations\x12\x18\n" +
"\aattempt\x18\x11 \x01(\x03R\aattempt\x12\x1f\n" +
"\vpark_reason\x18\x12 \x01(\tR\n" +
"parkReason\x12\x1f\n" +
"\vretry_count\x18\x13 \x01(\x03R\n" +
"retryCount\x12(\n" +
"\x10watch_comment_id\x18\x14 \x01(\x03R\x0ewatchCommentId\x12\x16\n" +
"\x06source\x18\x15 \x01(\tR\x06source\x12\x1a\n" +
"\bidentity\x18\x16 \x01(\tR\bidentity\x12\x1d\n" +
"\n" +
"binding_id\x18\x17 \x01(\x03R\tbindingId\x12'\n" +
"\x0fbinding_version\x18\x18 \x01(\x03R\x0ebindingVersion\x129\n" +
"\n" +
"created_at\x18\x19 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\x1a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12%\n" +
"\x0ereview_payload\x18\x1b \x01(\tR\rreviewPayload\"\x9b\x02\n" +
"\x05Event\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12*\n" +
"\x02at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x02at\x12\x12\n" +
"\x04kind\x18\x03 \x01(\tR\x04kind\x12\x17\n" +
"\atask_id\x18\x04 \x01(\x03R\x06taskId\x12\x12\n" +
"\x04repo\x18\x05 \x01(\tR\x04repo\x12\x14\n" +
"\x05issue\x18\x06 \x01(\x03R\x05issue\x12\x1a\n" +
"\bworkflow\x18\a \x01(\tR\bworkflow\x12\x14\n" +
"\x05stage\x18\b \x01(\tR\x05stage\x12\x18\n" +
"\aattempt\x18\v \x01(\x03R\aattempt\x12\x16\n" +
"\x06detail\x18\t \x01(\tR\x06detail\x12\x1b\n" +
"\tdata_json\x18\n" +
" \x01(\tR\bdataJson\"\x8c\x02\n" +
"\rCapturedEvent\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12;\n" +
"\vreceived_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"receivedAt\x12\x16\n" +
"\x06source\x18\x03 \x01(\tR\x06source\x12\x1f\n" +
"\vremote_addr\x18\x04 \x01(\tR\n" +
"remoteAddr\x12!\n" +
"\fcontent_type\x18\x05 \x01(\tR\vcontentType\x12\x18\n" +
"\aheaders\x18\x06 \x01(\tR\aheaders\x12\x12\n" +
"\x04body\x18\a \x01(\tR\x04body\x12$\n" +
"\rauthenticated\x18\b \x01(\bR\rauthenticated\"f\n" +
"\fMappingField\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
"\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" +
"\x04type\x18\x03 \x01(\tR\x04type\x12\x1a\n" +
"\brequired\x18\x04 \x01(\bR\brequired\"\xf4\x01\n" +
"\aMapping\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1f\n" +
"\vsource_hint\x18\x03 \x01(\tR\n" +
"sourceHint\x12.\n" +
"\x06fields\x18\x04 \x03(\v2\x16.state.v1.MappingFieldR\x06fields\x129\n" +
"\n" +
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"(\n" +
"\x0eBindingMatcher\x12\x16\n" +
"\x06source\x18\x01 \x01(\tR\x06source\"\x86\x03\n" +
"\aBinding\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x122\n" +
"\amatcher\x18\x03 \x01(\v2\x18.state.v1.BindingMatcherR\amatcher\x12\x1d\n" +
"\n" +
"mapping_id\x18\x04 \x01(\x03R\tmappingId\x12\x1a\n" +
"\bworkflow\x18\x05 \x01(\tR\bworkflow\x12\x14\n" +
"\x05owner\x18\x06 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\a \x01(\tR\x04repo\x12\x18\n" +
"\aversion\x18\b \x01(\x03R\aversion\x12\x16\n" +
"\x06status\x18\t \x01(\tR\x06status\x12\x16\n" +
"\x06secret\x18\n" +
" \x01(\tR\x06secret\x129\n" +
"\n" +
"created_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xe6\x01\n" +
"\fWorkflowStat\x12\x1a\n" +
"\bworkflow\x18\x01 \x01(\tR\bworkflow\x12\x12\n" +
"\x04runs\x18\x02 \x01(\x03R\x04runs\x12\x16\n" +
"\x06merged\x18\x03 \x01(\x03R\x06merged\x12\x17\n" +
"\apr_open\x18\x04 \x01(\x03R\x06prOpen\x12\x16\n" +
"\x06parked\x18\x05 \x01(\x03R\x06parked\x12\x1d\n" +
"\n" +
"avg_tokens\x18\x06 \x01(\x03R\tavgTokens\x12\x1b\n" +
"\tavg_steps\x18\a \x01(\x01R\bavgSteps\x12!\n" +
"\ftotal_tokens\x18\b \x01(\x03R\vtotalTokens\"\x80\x01\n" +
"\tStageStat\x12\x1a\n" +
"\bworkflow\x18\x01 \x01(\tR\bworkflow\x12\x14\n" +
"\x05stage\x18\x02 \x01(\tR\x05stage\x12\x12\n" +
"\x04runs\x18\x03 \x01(\x03R\x04runs\x12\x15\n" +
"\x06avg_ms\x18\x04 \x01(\x03R\x05avgMs\x12\x16\n" +
"\x06errors\x18\x05 \x01(\x03R\x06errors\"5\n" +
"\tDayTokens\x12\x10\n" +
"\x03day\x18\x01 \x01(\tR\x03day\x12\x16\n" +
"\x06tokens\x18\x02 \x01(\x03R\x06tokens\"\xb5\x01\n" +
"\x13EnqueueIssueRequest\x12\x14\n" +
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
"\x06number\x18\x03 \x01(\x03R\x06number\x12\x14\n" +
"\x05title\x18\x04 \x01(\tR\x05title\x12\x12\n" +
"\x04body\x18\x05 \x01(\tR\x04body\x12\x16\n" +
"\x06labels\x18\x06 \x01(\tR\x06labels\x12\x1a\n" +
"\bidentity\x18\a \x01(\tR\bidentity\"2\n" +
"\x14EnqueueIssueResponse\x12\x1a\n" +
"\binserted\x18\x01 \x01(\bR\binserted\"\xa4\x01\n" +
"\x16EnqueueChatTaskRequest\x12\x14\n" +
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x14\n" +
"\x05title\x18\x03 \x01(\tR\x05title\x12\x12\n" +
"\x04body\x18\x04 \x01(\tR\x04body\x12\x1a\n" +
"\bworkflow\x18\x05 \x01(\tR\bworkflow\x12\x1a\n" +
"\bidentity\x18\x06 \x01(\tR\bidentity\"=\n" +
"\x17EnqueueChatTaskResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"\x12\n" +
"\x10ClaimNextRequest\"M\n" +
"\x11ClaimNextResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"W\n" +
"\x13ClaimByIssueRequest\x12\x14\n" +
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
"\x06number\x18\x03 \x01(\x03R\x06number\"P\n" +
"\x14ClaimByIssueResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"h\n" +
"\x11TransitionRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x12\n" +
"\x04from\x18\x02 \x01(\tR\x04from\x12\x0e\n" +
"\x02to\x18\x03 \x01(\tR\x02to\x12\x16\n" +
"\x06detail\x18\x04 \x01(\tR\x06detail\"\x14\n" +
"\x12TransitionResponse\"3\n" +
"\rUpdateRequest\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"\x10\n" +
"\x0eUpdateResponse\"f\n" +
"\x0eRequeueRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" +
"\vfrom_status\x18\x02 \x01(\tR\n" +
"fromStatus\x12\x1a\n" +
"\bworkflow\x18\x03 \x01(\tR\bworkflow\"\x11\n" +
"\x0fRequeueResponse\"\x15\n" +
"\x13RecoverStaleRequest\",\n" +
"\x14RecoverStaleResponse\x12\x14\n" +
"\x05count\x18\x01 \x01(\x03R\x05count\"u\n" +
"\x12ArchiveTaskRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" +
"\vfrom_status\x18\x02 \x01(\tR\n" +
"fromStatus\x12%\n" +
"\x05audit\x18\x03 \x01(\v2\x0f.state.v1.EventR\x05audit\"0\n" +
"\x13ArchiveTaskResponse\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\x03R\aeventId\"h\n" +
"\x10RetryTaskRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x1f\n" +
"\vfrom_status\x18\x02 \x01(\tR\n" +
"fromStatus\x12\x1a\n" +
"\bworkflow\x18\x03 \x01(\tR\bworkflow\"\x13\n" +
"\x11RetryTaskResponse\"V\n" +
"\x12TaskByIssueRequest\x12\x14\n" +
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
"\x06number\x18\x03 \x01(\x03R\x06number\"O\n" +
"\x13TaskByIssueResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"W\n" +
"\x13OpenTaskByPRRequest\x12\x14\n" +
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x16\n" +
"\x06number\x18\x03 \x01(\x03R\x06number\"P\n" +
"\x14OpenTaskByPRResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"*\n" +
"\x0fTaskByIDRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\"L\n" +
"\x10TaskByIDResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"\x10\n" +
"\x0eOpenPRsRequest\"7\n" +
"\x0fOpenPRsResponse\x12$\n" +
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"\x1b\n" +
"\x19ClearTerminalTasksRequest\"2\n" +
"\x1aClearTerminalTasksResponse\x12\x14\n" +
"\x05count\x18\x01 \x01(\x03R\x05count\"$\n" +
"\fTasksRequest\x12\x14\n" +
"\x05limit\x18\x01 \x01(\x03R\x05limit\"5\n" +
"\rTasksResponse\x12$\n" +
"\x05tasks\x18\x01 \x03(\v2\x0e.state.v1.TaskR\x05tasks\"\x15\n" +
"\x13StatusCountsRequest\"\x95\x01\n" +
"\x14StatusCountsResponse\x12B\n" +
"\x06counts\x18\x01 \x03(\v2*.state.v1.StatusCountsResponse.CountsEntryR\x06counts\x1a9\n" +
"\vCountsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\";\n" +
"\x12InsertEventRequest\x12%\n" +
"\x05event\x18\x01 \x01(\v2\x0f.state.v1.EventR\x05event\"%\n" +
"\x13InsertEventResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"E\n" +
"\x12EventsSinceRequest\x12\x19\n" +
"\bsince_id\x18\x01 \x01(\x03R\asinceId\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x03R\x05limit\">\n" +
"\x13EventsSinceResponse\x12'\n" +
"\x06events\x18\x01 \x03(\v2\x0f.state.v1.EventR\x06events\",\n" +
"\x11TaskEventsRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\"=\n" +
"\x12TaskEventsResponse\x12'\n" +
"\x06events\x18\x01 \x03(\v2\x0f.state.v1.EventR\x06events\"\x16\n" +
"\x14WorkflowStatsRequest\"E\n" +
"\x15WorkflowStatsResponse\x12,\n" +
"\x05stats\x18\x01 \x03(\v2\x16.state.v1.WorkflowStatR\x05stats\"\x13\n" +
"\x11StageStatsRequest\"?\n" +
"\x12StageStatsResponse\x12)\n" +
"\x05stats\x18\x01 \x03(\v2\x13.state.v1.StageStatR\x05stats\"(\n" +
"\x12TokensByDayRequest\x12\x12\n" +
"\x04days\x18\x01 \x01(\x03R\x04days\"B\n" +
"\x13TokensByDayResponse\x12+\n" +
"\x06tokens\x18\x01 \x03(\v2\x13.state.v1.DayTokensR\x06tokens\"\x83\x01\n" +
"\x0eConfigSnapshot\x12\x16\n" +
"\x06schema\x18\x01 \x01(\tR\x06schema\x12\x1a\n" +
"\bdocument\x18\x02 \x01(\fR\bdocument\x12=\n" +
"\fpublished_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\vpublishedAt\"P\n" +
"\x18PutConfigSnapshotRequest\x124\n" +
"\bsnapshot\x18\x01 \x01(\v2\x18.state.v1.ConfigSnapshotR\bsnapshot\"\x1b\n" +
"\x19PutConfigSnapshotResponse\"\x1a\n" +
"\x18GetConfigSnapshotRequest\"g\n" +
"\x19GetConfigSnapshotResponse\x124\n" +
"\bsnapshot\x18\x01 \x01(\v2\x18.state.v1.ConfigSnapshotR\bsnapshot\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"\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" +
"\x05level\x18\x03 \x01(\tR\x05level\x12\x10\n" +
"\x03msg\x18\x04 \x01(\tR\x03msg\x12\x1f\n" +
"\vfields_json\x18\x05 \x01(\tR\n" +
"fieldsJson\"\xa9\x02\n" +
"\x12ReadTaskLogRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x18\n" +
"\aattempt\x18\x02 \x01(\x03R\aattempt\x12\x14\n" +
"\x05limit\x18\x03 \x01(\x03R\x05limit\x12\x16\n" +
"\x06levels\x18\x04 \x03(\tR\x06levels\x12\x1c\n" +
"\tcomponent\x18\x05 \x01(\tR\tcomponent\x12\x1a\n" +
"\bcontains\x18\x06 \x01(\tR\bcontains\x120\n" +
"\x05since\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\x05since\x120\n" +
"\x05until\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\x05until\x12\x14\n" +
"\x05stage\x18\t \x01(\tR\x05stage\"\xc9\x01\n" +
"\x13ReadTaskLogResponse\x120\n" +
"\aentries\x18\x01 \x03(\v2\x16.state.v1.TaskLogEntryR\aentries\x12\x1c\n" +
"\ttruncated\x18\x02 \x01(\bR\ttruncated\x12\x18\n" +
"\aattempt\x18\x03 \x01(\x03R\aattempt\x12\x14\n" +
"\x05found\x18\x04 \x01(\bR\x05found\x12\x1e\n" +
"\n" +
"components\x18\x05 \x03(\tR\n" +
"components\x12\x12\n" +
"\x04file\x18\x06 \x01(\tR\x04file\"P\n" +
"\x1bStreamTaskLogContentRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x18\n" +
"\aattempt\x18\x02 \x01(\x03R\aattempt\"d\n" +
"\x1cStreamTaskLogContentResponse\x12\x14\n" +
"\x05chunk\x18\x01 \x01(\fR\x05chunk\x12\x18\n" +
"\aattempt\x18\x02 \x01(\x03R\aattempt\x12\x14\n" +
"\x05found\x18\x03 \x01(\bR\x05found\"\x95\x01\n" +
"\x14InsertCaptureRequest\x121\n" +
"\acapture\x18\x01 \x01(\v2\x17.state.v1.CapturedEventR\acapture\x12+\n" +
"\x11retention_seconds\x18\x02 \x01(\x03R\x10retentionSeconds\x12\x1d\n" +
"\n" +
"max_events\x18\x03 \x01(\x03R\tmaxEvents\"'\n" +
"\x15InsertCaptureResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"+\n" +
"\x13ListCapturesRequest\x12\x14\n" +
"\x05limit\x18\x01 \x01(\x03R\x05limit\"K\n" +
"\x14ListCapturesResponse\x123\n" +
"\bcaptures\x18\x01 \x03(\v2\x17.state.v1.CapturedEventR\bcaptures\"-\n" +
"\x15StreamCapturesRequest\x12\x14\n" +
"\x05limit\x18\x01 \x01(\x03R\x05limit\"K\n" +
"\x16StreamCapturesResponse\x121\n" +
"\acapture\x18\x01 \x01(\v2\x17.state.v1.CapturedEventR\acapture\"C\n" +
"\x14InsertMappingRequest\x12+\n" +
"\amapping\x18\x01 \x01(\v2\x11.state.v1.MappingR\amapping\"'\n" +
"\x15InsertMappingResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"#\n" +
"\x11GetMappingRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"W\n" +
"\x12GetMappingResponse\x12+\n" +
"\amapping\x18\x01 \x01(\v2\x11.state.v1.MappingR\amapping\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"\x15\n" +
"\x13ListMappingsRequest\"E\n" +
"\x14ListMappingsResponse\x12-\n" +
"\bmappings\x18\x01 \x03(\v2\x11.state.v1.MappingR\bmappings\"C\n" +
"\x14UpdateMappingRequest\x12+\n" +
"\amapping\x18\x01 \x01(\v2\x11.state.v1.MappingR\amapping\"\x17\n" +
"\x15UpdateMappingResponse\"&\n" +
"\x14DeleteMappingRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"\x17\n" +
"\x15DeleteMappingResponse\"C\n" +
"\x14InsertBindingRequest\x12+\n" +
"\abinding\x18\x01 \x01(\v2\x11.state.v1.BindingR\abinding\"'\n" +
"\x15InsertBindingResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"#\n" +
"\x11GetBindingRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"W\n" +
"\x12GetBindingResponse\x12+\n" +
"\abinding\x18\x01 \x01(\v2\x11.state.v1.BindingR\abinding\x12\x14\n" +
"\x05found\x18\x02 \x01(\bR\x05found\"\x15\n" +
"\x13ListBindingsRequest\"E\n" +
"\x14ListBindingsResponse\x12-\n" +
"\bbindings\x18\x01 \x03(\v2\x11.state.v1.BindingR\bbindings\"C\n" +
"\x14UpdateBindingRequest\x12+\n" +
"\abinding\x18\x01 \x01(\v2\x11.state.v1.BindingR\abinding\"\x17\n" +
"\x15UpdateBindingResponse\"&\n" +
"\x14DeleteBindingRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"\x17\n" +
"\x15DeleteBindingResponse\"'\n" +
"\x15ApproveBindingRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"\x18\n" +
"\x16ApproveBindingResponse\"7\n" +
"\x1dArmedBindingsForSourceRequest\x12\x16\n" +
"\x06source\x18\x01 \x01(\tR\x06source\"O\n" +
"\x1eArmedBindingsForSourceResponse\x12-\n" +
"\bbindings\x18\x01 \x03(\v2\x11.state.v1.BindingR\bbindings\"\x97\x01\n" +
"\x15RecordDispatchRequest\x12\x1d\n" +
"\n" +
"binding_id\x18\x01 \x01(\x03R\tbindingId\x12'\n" +
"\x0fbinding_version\x18\x02 \x01(\x03R\x0ebindingVersion\x12\x1d\n" +
"\n" +
"capture_id\x18\x03 \x01(\x03R\tcaptureId\x12\x17\n" +
"\atask_id\x18\x04 \x01(\x03R\x06taskId\"\x18\n" +
"\x16RecordDispatchResponse\"Q\n" +
"\x1fListUndispatchedCapturesRequest\x12\x18\n" +
"\asources\x18\x01 \x03(\tR\asources\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x03R\x05limit\"W\n" +
" ListUndispatchedCapturesResponse\x123\n" +
"\bcaptures\x18\x01 \x03(\v2\x17.state.v1.CapturedEventR\bcaptures\"S\n" +
"!StreamUndispatchedCapturesRequest\x12\x18\n" +
"\asources\x18\x01 \x03(\tR\asources\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x03R\x05limit\"W\n" +
"\"StreamUndispatchedCapturesResponse\x121\n" +
"\acapture\x18\x01 \x01(\v2\x17.state.v1.CapturedEventR\acapture\"\xef\x01\n" +
"\x19EnqueueBindingTaskRequest\x12\x14\n" +
"\x05owner\x18\x01 \x01(\tR\x05owner\x12\x12\n" +
"\x04repo\x18\x02 \x01(\tR\x04repo\x12\x14\n" +
"\x05title\x18\x03 \x01(\tR\x05title\x12\x12\n" +
"\x04body\x18\x04 \x01(\tR\x04body\x12\x1a\n" +
"\bworkflow\x18\x05 \x01(\tR\bworkflow\x12\x1a\n" +
"\bidentity\x18\x06 \x01(\tR\bidentity\x12\x1d\n" +
"\n" +
"binding_id\x18\a \x01(\x03R\tbindingId\x12'\n" +
"\x0fbinding_version\x18\b \x01(\x03R\x0ebindingVersion\"@\n" +
"\x1aEnqueueBindingTaskResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\xf1\x1e\n" +
"\x11StateStoreService\x12\\\n" +
"\x11RegisterTaskGrant\x12\".state.v1.RegisterTaskGrantRequest\x1a#.state.v1.RegisterTaskGrantResponse\x12V\n" +
"\x0fRevokeTaskGrant\x12 .state.v1.RevokeTaskGrantRequest\x1a!.state.v1.RevokeTaskGrantResponse\x12M\n" +
"\fEnqueueIssue\x12\x1d.state.v1.EnqueueIssueRequest\x1a\x1e.state.v1.EnqueueIssueResponse\x12V\n" +
"\x0fEnqueueChatTask\x12 .state.v1.EnqueueChatTaskRequest\x1a!.state.v1.EnqueueChatTaskResponse\x12D\n" +
"\tClaimNext\x12\x1a.state.v1.ClaimNextRequest\x1a\x1b.state.v1.ClaimNextResponse\x12M\n" +
"\fClaimByIssue\x12\x1d.state.v1.ClaimByIssueRequest\x1a\x1e.state.v1.ClaimByIssueResponse\x12G\n" +
"\n" +
"Transition\x12\x1b.state.v1.TransitionRequest\x1a\x1c.state.v1.TransitionResponse\x12;\n" +
"\x06Update\x12\x17.state.v1.UpdateRequest\x1a\x18.state.v1.UpdateResponse\x12>\n" +
"\aRequeue\x12\x18.state.v1.RequeueRequest\x1a\x19.state.v1.RequeueResponse\x12M\n" +
"\fRecoverStale\x12\x1d.state.v1.RecoverStaleRequest\x1a\x1e.state.v1.RecoverStaleResponse\x12J\n" +
"\vArchiveTask\x12\x1c.state.v1.ArchiveTaskRequest\x1a\x1d.state.v1.ArchiveTaskResponse\x12D\n" +
"\tRetryTask\x12\x1a.state.v1.RetryTaskRequest\x1a\x1b.state.v1.RetryTaskResponse\x12J\n" +
"\vTaskByIssue\x12\x1c.state.v1.TaskByIssueRequest\x1a\x1d.state.v1.TaskByIssueResponse\x12M\n" +
"\fOpenTaskByPR\x12\x1d.state.v1.OpenTaskByPRRequest\x1a\x1e.state.v1.OpenTaskByPRResponse\x12A\n" +
"\bTaskByID\x12\x19.state.v1.TaskByIDRequest\x1a\x1a.state.v1.TaskByIDResponse\x12>\n" +
"\aOpenPRs\x12\x18.state.v1.OpenPRsRequest\x1a\x19.state.v1.OpenPRsResponse\x12_\n" +
"\x12ClearTerminalTasks\x12#.state.v1.ClearTerminalTasksRequest\x1a$.state.v1.ClearTerminalTasksResponse\x128\n" +
"\x05Tasks\x12\x16.state.v1.TasksRequest\x1a\x17.state.v1.TasksResponse\x12M\n" +
"\fStatusCounts\x12\x1d.state.v1.StatusCountsRequest\x1a\x1e.state.v1.StatusCountsResponse\x12J\n" +
"\vInsertEvent\x12\x1c.state.v1.InsertEventRequest\x1a\x1d.state.v1.InsertEventResponse\x12J\n" +
"\vEventsSince\x12\x1c.state.v1.EventsSinceRequest\x1a\x1d.state.v1.EventsSinceResponse\x12G\n" +
"\n" +
"TaskEvents\x12\x1b.state.v1.TaskEventsRequest\x1a\x1c.state.v1.TaskEventsResponse\x12P\n" +
"\rWorkflowStats\x12\x1e.state.v1.WorkflowStatsRequest\x1a\x1f.state.v1.WorkflowStatsResponse\x12G\n" +
"\n" +
"StageStats\x12\x1b.state.v1.StageStatsRequest\x1a\x1c.state.v1.StageStatsResponse\x12J\n" +
"\vTokensByDay\x12\x1c.state.v1.TokensByDayRequest\x1a\x1d.state.v1.TokensByDayResponse\x12\\\n" +
"\x11PutConfigSnapshot\x12\".state.v1.PutConfigSnapshotRequest\x1a#.state.v1.PutConfigSnapshotResponse\x12\\\n" +
"\x11GetConfigSnapshot\x12\".state.v1.GetConfigSnapshotRequest\x1a#.state.v1.GetConfigSnapshotResponse\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\x12R\n" +
"\fListCaptures\x12\x1d.state.v1.ListCapturesRequest\x1a\x1e.state.v1.ListCapturesResponse\"\x03\x88\x02\x01\x12U\n" +
"\x0eStreamCaptures\x12\x1f.state.v1.StreamCapturesRequest\x1a .state.v1.StreamCapturesResponse0\x01\x12P\n" +
"\rInsertMapping\x12\x1e.state.v1.InsertMappingRequest\x1a\x1f.state.v1.InsertMappingResponse\x12G\n" +
"\n" +
"GetMapping\x12\x1b.state.v1.GetMappingRequest\x1a\x1c.state.v1.GetMappingResponse\x12M\n" +
"\fListMappings\x12\x1d.state.v1.ListMappingsRequest\x1a\x1e.state.v1.ListMappingsResponse\x12P\n" +
"\rUpdateMapping\x12\x1e.state.v1.UpdateMappingRequest\x1a\x1f.state.v1.UpdateMappingResponse\x12P\n" +
"\rDeleteMapping\x12\x1e.state.v1.DeleteMappingRequest\x1a\x1f.state.v1.DeleteMappingResponse\x12P\n" +
"\rInsertBinding\x12\x1e.state.v1.InsertBindingRequest\x1a\x1f.state.v1.InsertBindingResponse\x12G\n" +
"\n" +
"GetBinding\x12\x1b.state.v1.GetBindingRequest\x1a\x1c.state.v1.GetBindingResponse\x12M\n" +
"\fListBindings\x12\x1d.state.v1.ListBindingsRequest\x1a\x1e.state.v1.ListBindingsResponse\x12P\n" +
"\rUpdateBinding\x12\x1e.state.v1.UpdateBindingRequest\x1a\x1f.state.v1.UpdateBindingResponse\x12P\n" +
"\rDeleteBinding\x12\x1e.state.v1.DeleteBindingRequest\x1a\x1f.state.v1.DeleteBindingResponse\x12S\n" +
"\x0eApproveBinding\x12\x1f.state.v1.ApproveBindingRequest\x1a .state.v1.ApproveBindingResponse\x12k\n" +
"\x16ArmedBindingsForSource\x12'.state.v1.ArmedBindingsForSourceRequest\x1a(.state.v1.ArmedBindingsForSourceResponse\x12S\n" +
"\x0eRecordDispatch\x12\x1f.state.v1.RecordDispatchRequest\x1a .state.v1.RecordDispatchResponse\x12v\n" +
"\x18ListUndispatchedCaptures\x12).state.v1.ListUndispatchedCapturesRequest\x1a*.state.v1.ListUndispatchedCapturesResponse\"\x03\x88\x02\x01\x12y\n" +
"\x1aStreamUndispatchedCaptures\x12+.state.v1.StreamUndispatchedCapturesRequest\x1a,.state.v1.StreamUndispatchedCapturesResponse0\x01\x12_\n" +
"\x12EnqueueBindingTask\x12#.state.v1.EnqueueBindingTaskRequest\x1a$.state.v1.EnqueueBindingTaskResponseB\xa4\x01\n" +
"\fcom.state.v1B\n" +
"StateProtoP\x01ZGgithub.com/samcharles93/archie-core/internal/contracts/state/v1;statev1\xa2\x02\x03SXX\xaa\x02\bState.V1\xca\x02\bState\\V1\xe2\x02\x14State\\V1\\GPBMetadata\xea\x02\tState::V1b\x06proto3"
var (
file_state_v1_state_proto_rawDescOnce sync.Once
file_state_v1_state_proto_rawDescData []byte
)
func file_state_v1_state_proto_rawDescGZIP() []byte {
file_state_v1_state_proto_rawDescOnce.Do(func() {
file_state_v1_state_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_state_v1_state_proto_rawDesc), len(file_state_v1_state_proto_rawDesc)))
})
return file_state_v1_state_proto_rawDescData
}
var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 109)
var file_state_v1_state_proto_goTypes = []any{
(*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest
(*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse
(*RevokeTaskGrantRequest)(nil), // 2: state.v1.RevokeTaskGrantRequest
(*RevokeTaskGrantResponse)(nil), // 3: state.v1.RevokeTaskGrantResponse
(*Task)(nil), // 4: state.v1.Task
(*Event)(nil), // 5: state.v1.Event
(*CapturedEvent)(nil), // 6: state.v1.CapturedEvent
(*MappingField)(nil), // 7: state.v1.MappingField
(*Mapping)(nil), // 8: state.v1.Mapping
(*BindingMatcher)(nil), // 9: state.v1.BindingMatcher
(*Binding)(nil), // 10: state.v1.Binding
(*WorkflowStat)(nil), // 11: state.v1.WorkflowStat
(*StageStat)(nil), // 12: state.v1.StageStat
(*DayTokens)(nil), // 13: state.v1.DayTokens
(*EnqueueIssueRequest)(nil), // 14: state.v1.EnqueueIssueRequest
(*EnqueueIssueResponse)(nil), // 15: state.v1.EnqueueIssueResponse
(*EnqueueChatTaskRequest)(nil), // 16: state.v1.EnqueueChatTaskRequest
(*EnqueueChatTaskResponse)(nil), // 17: state.v1.EnqueueChatTaskResponse
(*ClaimNextRequest)(nil), // 18: state.v1.ClaimNextRequest
(*ClaimNextResponse)(nil), // 19: state.v1.ClaimNextResponse
(*ClaimByIssueRequest)(nil), // 20: state.v1.ClaimByIssueRequest
(*ClaimByIssueResponse)(nil), // 21: state.v1.ClaimByIssueResponse
(*TransitionRequest)(nil), // 22: state.v1.TransitionRequest
(*TransitionResponse)(nil), // 23: state.v1.TransitionResponse
(*UpdateRequest)(nil), // 24: state.v1.UpdateRequest
(*UpdateResponse)(nil), // 25: state.v1.UpdateResponse
(*RequeueRequest)(nil), // 26: state.v1.RequeueRequest
(*RequeueResponse)(nil), // 27: state.v1.RequeueResponse
(*RecoverStaleRequest)(nil), // 28: state.v1.RecoverStaleRequest
(*RecoverStaleResponse)(nil), // 29: state.v1.RecoverStaleResponse
(*ArchiveTaskRequest)(nil), // 30: state.v1.ArchiveTaskRequest
(*ArchiveTaskResponse)(nil), // 31: state.v1.ArchiveTaskResponse
(*RetryTaskRequest)(nil), // 32: state.v1.RetryTaskRequest
(*RetryTaskResponse)(nil), // 33: state.v1.RetryTaskResponse
(*TaskByIssueRequest)(nil), // 34: state.v1.TaskByIssueRequest
(*TaskByIssueResponse)(nil), // 35: state.v1.TaskByIssueResponse
(*OpenTaskByPRRequest)(nil), // 36: state.v1.OpenTaskByPRRequest
(*OpenTaskByPRResponse)(nil), // 37: state.v1.OpenTaskByPRResponse
(*TaskByIDRequest)(nil), // 38: state.v1.TaskByIDRequest
(*TaskByIDResponse)(nil), // 39: state.v1.TaskByIDResponse
(*OpenPRsRequest)(nil), // 40: state.v1.OpenPRsRequest
(*OpenPRsResponse)(nil), // 41: state.v1.OpenPRsResponse
(*ClearTerminalTasksRequest)(nil), // 42: state.v1.ClearTerminalTasksRequest
(*ClearTerminalTasksResponse)(nil), // 43: state.v1.ClearTerminalTasksResponse
(*TasksRequest)(nil), // 44: state.v1.TasksRequest
(*TasksResponse)(nil), // 45: state.v1.TasksResponse
(*StatusCountsRequest)(nil), // 46: state.v1.StatusCountsRequest
(*StatusCountsResponse)(nil), // 47: state.v1.StatusCountsResponse
(*InsertEventRequest)(nil), // 48: state.v1.InsertEventRequest
(*InsertEventResponse)(nil), // 49: state.v1.InsertEventResponse
(*EventsSinceRequest)(nil), // 50: state.v1.EventsSinceRequest
(*EventsSinceResponse)(nil), // 51: state.v1.EventsSinceResponse
(*TaskEventsRequest)(nil), // 52: state.v1.TaskEventsRequest
(*TaskEventsResponse)(nil), // 53: state.v1.TaskEventsResponse
(*WorkflowStatsRequest)(nil), // 54: state.v1.WorkflowStatsRequest
(*WorkflowStatsResponse)(nil), // 55: state.v1.WorkflowStatsResponse
(*StageStatsRequest)(nil), // 56: state.v1.StageStatsRequest
(*StageStatsResponse)(nil), // 57: state.v1.StageStatsResponse
(*TokensByDayRequest)(nil), // 58: state.v1.TokensByDayRequest
(*TokensByDayResponse)(nil), // 59: state.v1.TokensByDayResponse
(*ConfigSnapshot)(nil), // 60: state.v1.ConfigSnapshot
(*PutConfigSnapshotRequest)(nil), // 61: state.v1.PutConfigSnapshotRequest
(*PutConfigSnapshotResponse)(nil), // 62: state.v1.PutConfigSnapshotResponse
(*GetConfigSnapshotRequest)(nil), // 63: state.v1.GetConfigSnapshotRequest
(*GetConfigSnapshotResponse)(nil), // 64: state.v1.GetConfigSnapshotResponse
(*TaskLogEntry)(nil), // 65: state.v1.TaskLogEntry
(*ReadTaskLogRequest)(nil), // 66: state.v1.ReadTaskLogRequest
(*ReadTaskLogResponse)(nil), // 67: state.v1.ReadTaskLogResponse
(*StreamTaskLogContentRequest)(nil), // 68: state.v1.StreamTaskLogContentRequest
(*StreamTaskLogContentResponse)(nil), // 69: state.v1.StreamTaskLogContentResponse
(*InsertCaptureRequest)(nil), // 70: state.v1.InsertCaptureRequest
(*InsertCaptureResponse)(nil), // 71: state.v1.InsertCaptureResponse
(*ListCapturesRequest)(nil), // 72: state.v1.ListCapturesRequest
(*ListCapturesResponse)(nil), // 73: state.v1.ListCapturesResponse
(*StreamCapturesRequest)(nil), // 74: state.v1.StreamCapturesRequest
(*StreamCapturesResponse)(nil), // 75: state.v1.StreamCapturesResponse
(*InsertMappingRequest)(nil), // 76: state.v1.InsertMappingRequest
(*InsertMappingResponse)(nil), // 77: state.v1.InsertMappingResponse
(*GetMappingRequest)(nil), // 78: state.v1.GetMappingRequest
(*GetMappingResponse)(nil), // 79: state.v1.GetMappingResponse
(*ListMappingsRequest)(nil), // 80: state.v1.ListMappingsRequest
(*ListMappingsResponse)(nil), // 81: state.v1.ListMappingsResponse
(*UpdateMappingRequest)(nil), // 82: state.v1.UpdateMappingRequest
(*UpdateMappingResponse)(nil), // 83: state.v1.UpdateMappingResponse
(*DeleteMappingRequest)(nil), // 84: state.v1.DeleteMappingRequest
(*DeleteMappingResponse)(nil), // 85: state.v1.DeleteMappingResponse
(*InsertBindingRequest)(nil), // 86: state.v1.InsertBindingRequest
(*InsertBindingResponse)(nil), // 87: state.v1.InsertBindingResponse
(*GetBindingRequest)(nil), // 88: state.v1.GetBindingRequest
(*GetBindingResponse)(nil), // 89: state.v1.GetBindingResponse
(*ListBindingsRequest)(nil), // 90: state.v1.ListBindingsRequest
(*ListBindingsResponse)(nil), // 91: state.v1.ListBindingsResponse
(*UpdateBindingRequest)(nil), // 92: state.v1.UpdateBindingRequest
(*UpdateBindingResponse)(nil), // 93: state.v1.UpdateBindingResponse
(*DeleteBindingRequest)(nil), // 94: state.v1.DeleteBindingRequest
(*DeleteBindingResponse)(nil), // 95: state.v1.DeleteBindingResponse
(*ApproveBindingRequest)(nil), // 96: state.v1.ApproveBindingRequest
(*ApproveBindingResponse)(nil), // 97: state.v1.ApproveBindingResponse
(*ArmedBindingsForSourceRequest)(nil), // 98: state.v1.ArmedBindingsForSourceRequest
(*ArmedBindingsForSourceResponse)(nil), // 99: state.v1.ArmedBindingsForSourceResponse
(*RecordDispatchRequest)(nil), // 100: state.v1.RecordDispatchRequest
(*RecordDispatchResponse)(nil), // 101: state.v1.RecordDispatchResponse
(*ListUndispatchedCapturesRequest)(nil), // 102: state.v1.ListUndispatchedCapturesRequest
(*ListUndispatchedCapturesResponse)(nil), // 103: state.v1.ListUndispatchedCapturesResponse
(*StreamUndispatchedCapturesRequest)(nil), // 104: state.v1.StreamUndispatchedCapturesRequest
(*StreamUndispatchedCapturesResponse)(nil), // 105: state.v1.StreamUndispatchedCapturesResponse
(*EnqueueBindingTaskRequest)(nil), // 106: state.v1.EnqueueBindingTaskRequest
(*EnqueueBindingTaskResponse)(nil), // 107: state.v1.EnqueueBindingTaskResponse
nil, // 108: state.v1.StatusCountsResponse.CountsEntry
(*timestamppb.Timestamp)(nil), // 109: google.protobuf.Timestamp
}
var file_state_v1_state_proto_depIdxs = []int32{
109, // 0: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp
109, // 1: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp
109, // 2: state.v1.Event.at:type_name -> google.protobuf.Timestamp
109, // 3: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp
7, // 4: state.v1.Mapping.fields:type_name -> state.v1.MappingField
109, // 5: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp
109, // 6: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp
9, // 7: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher
109, // 8: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp
109, // 9: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp
4, // 10: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task
4, // 11: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task
4, // 12: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task
4, // 13: state.v1.UpdateRequest.task:type_name -> state.v1.Task
5, // 14: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event
4, // 15: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task
4, // 16: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task
4, // 17: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task
4, // 18: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task
4, // 19: state.v1.TasksResponse.tasks:type_name -> state.v1.Task
108, // 20: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry
5, // 21: state.v1.InsertEventRequest.event:type_name -> state.v1.Event
5, // 22: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event
5, // 23: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event
11, // 24: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat
12, // 25: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat
13, // 26: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens
109, // 27: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp
60, // 28: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot
60, // 29: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot
109, // 30: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp
109, // 31: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp
109, // 32: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp
65, // 33: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry
6, // 34: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent
6, // 35: state.v1.ListCapturesResponse.captures:type_name -> state.v1.CapturedEvent
6, // 36: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent
8, // 37: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping
8, // 38: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping
8, // 39: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping
8, // 40: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping
10, // 41: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding
10, // 42: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding
10, // 43: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding
10, // 44: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding
10, // 45: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding
6, // 46: state.v1.ListUndispatchedCapturesResponse.captures:type_name -> state.v1.CapturedEvent
6, // 47: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent
4, // 48: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task
0, // 49: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest
2, // 50: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest
14, // 51: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest
16, // 52: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest
18, // 53: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest
20, // 54: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest
22, // 55: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest
24, // 56: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest
26, // 57: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest
28, // 58: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest
30, // 59: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest
32, // 60: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest
34, // 61: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest
36, // 62: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest
38, // 63: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest
40, // 64: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest
42, // 65: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest
44, // 66: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest
46, // 67: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest
48, // 68: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest
50, // 69: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest
52, // 70: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest
54, // 71: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest
56, // 72: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest
58, // 73: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest
61, // 74: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest
63, // 75: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest
66, // 76: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest
68, // 77: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest
70, // 78: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest
72, // 79: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest
74, // 80: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest
76, // 81: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest
78, // 82: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest
80, // 83: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest
82, // 84: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest
84, // 85: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest
86, // 86: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest
88, // 87: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest
90, // 88: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest
92, // 89: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest
94, // 90: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest
96, // 91: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest
98, // 92: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest
100, // 93: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest
102, // 94: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest
104, // 95: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest
106, // 96: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest
1, // 97: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse
3, // 98: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse
15, // 99: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse
17, // 100: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse
19, // 101: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse
21, // 102: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse
23, // 103: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse
25, // 104: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse
27, // 105: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse
29, // 106: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse
31, // 107: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse
33, // 108: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse
35, // 109: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse
37, // 110: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse
39, // 111: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse
41, // 112: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse
43, // 113: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse
45, // 114: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse
47, // 115: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse
49, // 116: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse
51, // 117: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse
53, // 118: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse
55, // 119: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse
57, // 120: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse
59, // 121: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse
62, // 122: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse
64, // 123: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse
67, // 124: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse
69, // 125: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse
71, // 126: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse
73, // 127: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse
75, // 128: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse
77, // 129: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse
79, // 130: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse
81, // 131: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse
83, // 132: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse
85, // 133: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse
87, // 134: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse
89, // 135: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse
91, // 136: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse
93, // 137: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse
95, // 138: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse
97, // 139: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse
99, // 140: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse
101, // 141: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse
103, // 142: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse
105, // 143: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse
107, // 144: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse
97, // [97:145] is the sub-list for method output_type
49, // [49:97] is the sub-list for method input_type
49, // [49:49] is the sub-list for extension type_name
49, // [49:49] is the sub-list for extension extendee
0, // [0:49] is the sub-list for field type_name
}
func init() { file_state_v1_state_proto_init() }
func file_state_v1_state_proto_init() {
if File_state_v1_state_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
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: 109,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_state_v1_state_proto_goTypes,
DependencyIndexes: file_state_v1_state_proto_depIdxs,
MessageInfos: file_state_v1_state_proto_msgTypes,
}.Build()
File_state_v1_state_proto = out.File
file_state_v1_state_proto_goTypes = nil
file_state_v1_state_proto_depIdxs = nil
}