task.WorkflowDefinitionVersion/Digest/YAML had no pb.Task field and no taskProto/taskValue mapping, so over gRPC the pin was never persisted and any pin already in the row was zeroed by the same Update. The production daemon's Store is the gRPC client, so the digest guard in pinWorkflowDefinition was dead there: WorkflowDefinitionYAML was never non-empty for a task read back over the wire, and each retry re-resolved from the active control-plane resource instead of the version it started with (docs/prds/runtime-control-plane.md:95). The SQL store already wrote and read all three columns; only the contract dropped them. Adds proto fields 28-30 and the mapping both ways. Field parity was untied, which is why this was invisible: the task still crossed, just with those fields silently zeroed. TestTaskProtoCarriesEveryDomainField fills every domain field and requires the round trip to return it, so the next forgotten field fails by name. The conformance battery now carries the pin through Update and back out of TaskByID, failing in grpc mode only.
7819 lines
243 KiB
Go
7819 lines
243 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}
|
|
}
|
|
|
|
type Identity struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Lifecycle string `protobuf:"bytes,4,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
|
|
Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Identity) Reset() {
|
|
*x = Identity{}
|
|
mi := &file_state_v1_state_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Identity) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Identity) ProtoMessage() {}
|
|
|
|
func (x *Identity) 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 Identity.ProtoReflect.Descriptor instead.
|
|
func (*Identity) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Identity) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Identity) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Identity) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Identity) GetLifecycle() string {
|
|
if x != nil {
|
|
return x.Lifecycle
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Identity) GetVersion() int64 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Identity) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Identity) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IdentityAudit struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ActorId string `protobuf:"bytes,1,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
|
|
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
|
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IdentityAudit) Reset() {
|
|
*x = IdentityAudit{}
|
|
mi := &file_state_v1_state_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IdentityAudit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdentityAudit) ProtoMessage() {}
|
|
|
|
func (x *IdentityAudit) 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 IdentityAudit.ProtoReflect.Descriptor instead.
|
|
func (*IdentityAudit) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *IdentityAudit) GetActorId() string {
|
|
if x != nil {
|
|
return x.ActorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IdentityAudit) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IdentityAudit) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListIdentitiesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListIdentitiesRequest) Reset() {
|
|
*x = ListIdentitiesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListIdentitiesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListIdentitiesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListIdentitiesRequest) 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 ListIdentitiesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListIdentitiesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type ListIdentitiesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identities []*Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListIdentitiesResponse) Reset() {
|
|
*x = ListIdentitiesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListIdentitiesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListIdentitiesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListIdentitiesResponse) 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 ListIdentitiesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListIdentitiesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListIdentitiesResponse) GetIdentities() []*Identity {
|
|
if x != nil {
|
|
return x.Identities
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetIdentityRequest) Reset() {
|
|
*x = GetIdentityRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *GetIdentityRequest) 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 GetIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetIdentityRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetIdentityResponse) Reset() {
|
|
*x = GetIdentityResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *GetIdentityResponse) 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 GetIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetIdentityResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Audit *IdentityAudit `protobuf:"bytes,4,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateIdentityRequest) Reset() {
|
|
*x = CreateIdentityRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateIdentityRequest) 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 CreateIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *CreateIdentityRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateIdentityRequest) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateIdentityRequest) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateIdentityRequest) GetAudit() *IdentityAudit {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RenameIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ExpectedVersion int64 `protobuf:"varint,2,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
|
|
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Audit *IdentityAudit `protobuf:"bytes,4,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RenameIdentityRequest) Reset() {
|
|
*x = RenameIdentityRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RenameIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RenameIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *RenameIdentityRequest) 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 RenameIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*RenameIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RenameIdentityRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RenameIdentityRequest) GetExpectedVersion() int64 {
|
|
if x != nil {
|
|
return x.ExpectedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RenameIdentityRequest) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RenameIdentityRequest) GetAudit() *IdentityAudit {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SuspendIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ExpectedVersion int64 `protobuf:"varint,2,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
|
|
Audit *IdentityAudit `protobuf:"bytes,3,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SuspendIdentityRequest) Reset() {
|
|
*x = SuspendIdentityRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SuspendIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SuspendIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *SuspendIdentityRequest) 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 SuspendIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*SuspendIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SuspendIdentityRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SuspendIdentityRequest) GetExpectedVersion() int64 {
|
|
if x != nil {
|
|
return x.ExpectedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SuspendIdentityRequest) GetAudit() *IdentityAudit {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReactivateIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ExpectedVersion int64 `protobuf:"varint,2,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
|
|
Audit *IdentityAudit `protobuf:"bytes,3,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReactivateIdentityRequest) Reset() {
|
|
*x = ReactivateIdentityRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReactivateIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReactivateIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *ReactivateIdentityRequest) 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 ReactivateIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReactivateIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ReactivateIdentityRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReactivateIdentityRequest) GetExpectedVersion() int64 {
|
|
if x != nil {
|
|
return x.ExpectedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReactivateIdentityRequest) GetAudit() *IdentityAudit {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RetireIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ExpectedVersion int64 `protobuf:"varint,2,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
|
|
Audit *IdentityAudit `protobuf:"bytes,3,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RetireIdentityRequest) Reset() {
|
|
*x = RetireIdentityRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RetireIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RetireIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *RetireIdentityRequest) 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 RetireIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*RetireIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *RetireIdentityRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RetireIdentityRequest) GetExpectedVersion() int64 {
|
|
if x != nil {
|
|
return x.ExpectedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RetireIdentityRequest) GetAudit() *IdentityAudit {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateIdentityResponse) Reset() {
|
|
*x = CreateIdentityResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateIdentityResponse) 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 CreateIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *CreateIdentityResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RenameIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RenameIdentityResponse) Reset() {
|
|
*x = RenameIdentityResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RenameIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RenameIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *RenameIdentityResponse) 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 RenameIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*RenameIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *RenameIdentityResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SuspendIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SuspendIdentityResponse) Reset() {
|
|
*x = SuspendIdentityResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SuspendIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SuspendIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *SuspendIdentityResponse) 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 SuspendIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*SuspendIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *SuspendIdentityResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReactivateIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReactivateIdentityResponse) Reset() {
|
|
*x = ReactivateIdentityResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReactivateIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReactivateIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *ReactivateIdentityResponse) 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 ReactivateIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReactivateIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ReactivateIdentityResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RetireIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RetireIdentityResponse) Reset() {
|
|
*x = RetireIdentityResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RetireIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RetireIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *RetireIdentityResponse) 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 RetireIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*RetireIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *RetireIdentityResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Task mirrors internal/domain/workflow.Task.
|
|
type Task struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
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"`
|
|
// The workflow pin: the exact definition version this run started with.
|
|
// It has to cross the wire for the daemon's digest guard to hold, because
|
|
// a retry reads the task back over this contract before deciding whether
|
|
// to reuse the pinned YAML (docs/prds/runtime-control-plane.md:95).
|
|
WorkflowDefinitionVersion int64 `protobuf:"varint,28,opt,name=workflow_definition_version,json=workflowDefinitionVersion,proto3" json:"workflow_definition_version,omitempty"`
|
|
WorkflowDefinitionDigest string `protobuf:"bytes,29,opt,name=workflow_definition_digest,json=workflowDefinitionDigest,proto3" json:"workflow_definition_digest,omitempty"`
|
|
WorkflowDefinitionYaml string `protobuf:"bytes,30,opt,name=workflow_definition_yaml,json=workflowDefinitionYaml,proto3" json:"workflow_definition_yaml,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Task) Reset() {
|
|
*x = Task{}
|
|
mi := &file_state_v1_state_proto_msgTypes[20]
|
|
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[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 Task.ProtoReflect.Descriptor instead.
|
|
func (*Task) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
func (x *Task) GetWorkflowDefinitionVersion() int64 {
|
|
if x != nil {
|
|
return x.WorkflowDefinitionVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Task) GetWorkflowDefinitionDigest() string {
|
|
if x != nil {
|
|
return x.WorkflowDefinitionDigest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Task) GetWorkflowDefinitionYaml() string {
|
|
if x != nil {
|
|
return x.WorkflowDefinitionYaml
|
|
}
|
|
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[21]
|
|
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[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 Event.ProtoReflect.Descriptor instead.
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
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[22]
|
|
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[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 CapturedEvent.ProtoReflect.Descriptor instead.
|
|
func (*CapturedEvent) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
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[23]
|
|
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[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 MappingField.ProtoReflect.Descriptor instead.
|
|
func (*MappingField) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
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[24]
|
|
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[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 Mapping.ProtoReflect.Descriptor instead.
|
|
func (*Mapping) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
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[25]
|
|
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[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 BindingMatcher.ProtoReflect.Descriptor instead.
|
|
func (*BindingMatcher) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
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[26]
|
|
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[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 Binding.ProtoReflect.Descriptor instead.
|
|
func (*Binding) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
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[27]
|
|
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[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 WorkflowStat.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowStat) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
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[28]
|
|
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[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 StageStat.ProtoReflect.Descriptor instead.
|
|
func (*StageStat) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
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[29]
|
|
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[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 DayTokens.ProtoReflect.Descriptor instead.
|
|
func (*DayTokens) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
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[30]
|
|
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[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 EnqueueIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
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[31]
|
|
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[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 EnqueueIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
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[32]
|
|
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[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 EnqueueChatTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueChatTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
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[33]
|
|
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[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 EnqueueChatTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueChatTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
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[34]
|
|
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[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 ClaimNextRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClaimNextRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
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[35]
|
|
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[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 ClaimNextResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClaimNextResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
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[36]
|
|
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[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 ClaimByIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClaimByIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
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[37]
|
|
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[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 ClaimByIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClaimByIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
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[38]
|
|
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[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 TransitionRequest.ProtoReflect.Descriptor instead.
|
|
func (*TransitionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
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[39]
|
|
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[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 TransitionResponse.ProtoReflect.Descriptor instead.
|
|
func (*TransitionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
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[40]
|
|
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[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 UpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
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[41]
|
|
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[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 UpdateResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
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[42]
|
|
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[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 RequeueRequest.ProtoReflect.Descriptor instead.
|
|
func (*RequeueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
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[43]
|
|
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[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 RequeueResponse.ProtoReflect.Descriptor instead.
|
|
func (*RequeueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
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[44]
|
|
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[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 RecoverStaleRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecoverStaleRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
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[45]
|
|
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[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 RecoverStaleResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecoverStaleResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
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[46]
|
|
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[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 ArchiveTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
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[47]
|
|
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[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 ArchiveTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
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[48]
|
|
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[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 RetryTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*RetryTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
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[49]
|
|
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[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 RetryTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*RetryTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
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[50]
|
|
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[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 TaskByIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
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[51]
|
|
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[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 TaskByIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
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[52]
|
|
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[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 OpenTaskByPRRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenTaskByPRRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
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[53]
|
|
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[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 OpenTaskByPRResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenTaskByPRResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
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[54]
|
|
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[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 TaskByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
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[55]
|
|
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[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 TaskByIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
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[56]
|
|
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[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 OpenPRsRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenPRsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
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[57]
|
|
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[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 OpenPRsResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenPRsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
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[58]
|
|
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[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 ClearTerminalTasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClearTerminalTasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
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[59]
|
|
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[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 ClearTerminalTasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClearTerminalTasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
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[60]
|
|
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[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 TasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*TasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
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[61]
|
|
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[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 TasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*TasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
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[62]
|
|
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[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 StatusCountsRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusCountsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
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[63]
|
|
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[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 StatusCountsResponse.ProtoReflect.Descriptor instead.
|
|
func (*StatusCountsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
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[64]
|
|
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[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 InsertEventRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertEventRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
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[65]
|
|
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[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 InsertEventResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertEventResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
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[66]
|
|
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[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 EventsSinceRequest.ProtoReflect.Descriptor instead.
|
|
func (*EventsSinceRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
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[67]
|
|
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[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 EventsSinceResponse.ProtoReflect.Descriptor instead.
|
|
func (*EventsSinceResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
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[68]
|
|
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[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 TaskEventsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskEventsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
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[69]
|
|
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[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 TaskEventsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskEventsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
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[70]
|
|
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[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 WorkflowStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
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[71]
|
|
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[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 WorkflowStatsResponse.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowStatsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
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[72]
|
|
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[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 StageStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*StageStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
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[73]
|
|
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[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 StageStatsResponse.ProtoReflect.Descriptor instead.
|
|
func (*StageStatsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
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[74]
|
|
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[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 TokensByDayRequest.ProtoReflect.Descriptor instead.
|
|
func (*TokensByDayRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
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[75]
|
|
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[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 TokensByDayResponse.ProtoReflect.Descriptor instead.
|
|
func (*TokensByDayResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
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[76]
|
|
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[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 ConfigSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*ConfigSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
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[77]
|
|
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[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 PutConfigSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutConfigSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
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[78]
|
|
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[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 PutConfigSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutConfigSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
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[79]
|
|
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[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 GetConfigSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
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[80]
|
|
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[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 GetConfigSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
// ApplyStatus is one process's report about one control-plane resource kind.
|
|
// applied_version is the version that process is running; error is set when it
|
|
// could not apply what the store returned, and leaves applied_version at the
|
|
// last version it did apply. reported_at is re-stamped on an interval, so a
|
|
// record older than the staleness window belongs to a process that has stopped
|
|
// running (docs/prds/control-plane-apply-status.md).
|
|
type ApplyStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Process string `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
AppliedVersion int64 `protobuf:"varint,3,opt,name=applied_version,json=appliedVersion,proto3" json:"applied_version,omitempty"`
|
|
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
|
|
ReportedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApplyStatus) Reset() {
|
|
*x = ApplyStatus{}
|
|
mi := &file_state_v1_state_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApplyStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApplyStatus) ProtoMessage() {}
|
|
|
|
func (x *ApplyStatus) 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 ApplyStatus.ProtoReflect.Descriptor instead.
|
|
func (*ApplyStatus) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (x *ApplyStatus) GetProcess() string {
|
|
if x != nil {
|
|
return x.Process
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyStatus) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyStatus) GetAppliedVersion() int64 {
|
|
if x != nil {
|
|
return x.AppliedVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApplyStatus) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyStatus) GetReportedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ReportedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutApplyStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status *ApplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutApplyStatusRequest) Reset() {
|
|
*x = PutApplyStatusRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutApplyStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutApplyStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *PutApplyStatusRequest) 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 PutApplyStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutApplyStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *PutApplyStatusRequest) GetStatus() *ApplyStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutApplyStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutApplyStatusResponse) Reset() {
|
|
*x = PutApplyStatusResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutApplyStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutApplyStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *PutApplyStatusResponse) 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 PutApplyStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutApplyStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
type ListApplyStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListApplyStatusRequest) Reset() {
|
|
*x = ListApplyStatusRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListApplyStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListApplyStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *ListApplyStatusRequest) 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 ListApplyStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListApplyStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
type ListApplyStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Statuses []*ApplyStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListApplyStatusResponse) Reset() {
|
|
*x = ListApplyStatusResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListApplyStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListApplyStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ListApplyStatusResponse) 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 ListApplyStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListApplyStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
func (x *ListApplyStatusResponse) GetStatuses() []*ApplyStatus {
|
|
if x != nil {
|
|
return x.Statuses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// TaskLogEntry mirrors internal/logging.Entry: one decoded log line. fields
|
|
// carries every remaining key as a JSON object string, the same way Event
|
|
// carries its data, so structured context survives the hop without this
|
|
// 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[86]
|
|
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[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 TaskLogEntry.ProtoReflect.Descriptor instead.
|
|
func (*TaskLogEntry) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
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[87]
|
|
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[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 ReadTaskLogRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadTaskLogRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
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[88]
|
|
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[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 ReadTaskLogResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadTaskLogResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
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[89]
|
|
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[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 StreamTaskLogContentRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamTaskLogContentRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
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[90]
|
|
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[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 StreamTaskLogContentResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamTaskLogContentResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
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[91]
|
|
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[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 InsertCaptureRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertCaptureRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
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[92]
|
|
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[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 InsertCaptureResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertCaptureResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
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[93]
|
|
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[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 ListCapturesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCapturesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
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[94]
|
|
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[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 ListCapturesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCapturesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
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[95]
|
|
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[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 StreamCapturesRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamCapturesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
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[96]
|
|
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[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 StreamCapturesResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamCapturesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
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[97]
|
|
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[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 InsertMappingRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertMappingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
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[98]
|
|
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[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 InsertMappingResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertMappingResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
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[99]
|
|
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[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 GetMappingRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMappingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
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[100]
|
|
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[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 GetMappingResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMappingResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
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[101]
|
|
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[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 ListMappingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMappingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
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[102]
|
|
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[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 ListMappingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMappingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
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[103]
|
|
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[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 UpdateMappingRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateMappingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
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[104]
|
|
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[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 UpdateMappingResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateMappingResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
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[105]
|
|
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[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 DeleteMappingRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMappingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
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[106]
|
|
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[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 DeleteMappingResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMappingResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
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[107]
|
|
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[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 InsertBindingRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertBindingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{107}
|
|
}
|
|
|
|
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[108]
|
|
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[108]
|
|
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{108}
|
|
}
|
|
|
|
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[109]
|
|
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[109]
|
|
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{109}
|
|
}
|
|
|
|
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[110]
|
|
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[110]
|
|
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{110}
|
|
}
|
|
|
|
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[111]
|
|
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[111]
|
|
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{111}
|
|
}
|
|
|
|
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[112]
|
|
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[112]
|
|
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{112}
|
|
}
|
|
|
|
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[113]
|
|
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[113]
|
|
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{113}
|
|
}
|
|
|
|
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[114]
|
|
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[114]
|
|
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{114}
|
|
}
|
|
|
|
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[115]
|
|
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[115]
|
|
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{115}
|
|
}
|
|
|
|
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[116]
|
|
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[116]
|
|
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{116}
|
|
}
|
|
|
|
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[117]
|
|
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[117]
|
|
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{117}
|
|
}
|
|
|
|
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[118]
|
|
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[118]
|
|
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{118}
|
|
}
|
|
|
|
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[119]
|
|
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[119]
|
|
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{119}
|
|
}
|
|
|
|
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[120]
|
|
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[120]
|
|
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{120}
|
|
}
|
|
|
|
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[121]
|
|
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[121]
|
|
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{121}
|
|
}
|
|
|
|
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[122]
|
|
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[122]
|
|
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{122}
|
|
}
|
|
|
|
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[123]
|
|
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[123]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListUndispatchedCapturesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListUndispatchedCapturesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
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[124]
|
|
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[124]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListUndispatchedCapturesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListUndispatchedCapturesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
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[125]
|
|
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[125]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamUndispatchedCapturesRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamUndispatchedCapturesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
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[126]
|
|
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[126]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamUndispatchedCapturesResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamUndispatchedCapturesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
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[127]
|
|
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[127]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueBindingTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueBindingTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
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[128]
|
|
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[128]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueBindingTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueBindingTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
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\"\xff\x01\n" +
|
|
"\bIdentity\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04kind\x18\x02 \x01(\tR\x04kind\x12!\n" +
|
|
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12\x1c\n" +
|
|
"\tlifecycle\x18\x04 \x01(\tR\tlifecycle\x12\x18\n" +
|
|
"\aversion\x18\x05 \x01(\x03R\aversion\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"a\n" +
|
|
"\rIdentityAudit\x12\x19\n" +
|
|
"\bactor_id\x18\x01 \x01(\tR\aactorId\x12\x16\n" +
|
|
"\x06source\x18\x02 \x01(\tR\x06source\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x03 \x01(\tR\trequestId\"\x17\n" +
|
|
"\x15ListIdentitiesRequest\"L\n" +
|
|
"\x16ListIdentitiesResponse\x122\n" +
|
|
"\n" +
|
|
"identities\x18\x01 \x03(\v2\x12.state.v1.IdentityR\n" +
|
|
"identities\"$\n" +
|
|
"\x12GetIdentityRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"E\n" +
|
|
"\x13GetIdentityResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\x8d\x01\n" +
|
|
"\x15CreateIdentityRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04kind\x18\x02 \x01(\tR\x04kind\x12!\n" +
|
|
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12-\n" +
|
|
"\x05audit\x18\x04 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"\xa4\x01\n" +
|
|
"\x15RenameIdentityRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
|
|
"\x10expected_version\x18\x02 \x01(\x03R\x0fexpectedVersion\x12!\n" +
|
|
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12-\n" +
|
|
"\x05audit\x18\x04 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"\x82\x01\n" +
|
|
"\x16SuspendIdentityRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
|
|
"\x10expected_version\x18\x02 \x01(\x03R\x0fexpectedVersion\x12-\n" +
|
|
"\x05audit\x18\x03 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"\x85\x01\n" +
|
|
"\x19ReactivateIdentityRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
|
|
"\x10expected_version\x18\x02 \x01(\x03R\x0fexpectedVersion\x12-\n" +
|
|
"\x05audit\x18\x03 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"\x81\x01\n" +
|
|
"\x15RetireIdentityRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
|
|
"\x10expected_version\x18\x02 \x01(\x03R\x0fexpectedVersion\x12-\n" +
|
|
"\x05audit\x18\x03 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"H\n" +
|
|
"\x16CreateIdentityResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"H\n" +
|
|
"\x16RenameIdentityResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"I\n" +
|
|
"\x17SuspendIdentityResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"L\n" +
|
|
"\x1aReactivateIdentityResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"H\n" +
|
|
"\x16RetireIdentityResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\xe6\a\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\x12>\n" +
|
|
"\x1bworkflow_definition_version\x18\x1c \x01(\x03R\x19workflowDefinitionVersion\x12<\n" +
|
|
"\x1aworkflow_definition_digest\x18\x1d \x01(\tR\x18workflowDefinitionDigest\x128\n" +
|
|
"\x18workflow_definition_yaml\x18\x1e \x01(\tR\x16workflowDefinitionYaml\"\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\"\xb7\x01\n" +
|
|
"\vApplyStatus\x12\x18\n" +
|
|
"\aprocess\x18\x01 \x01(\tR\aprocess\x12\x12\n" +
|
|
"\x04kind\x18\x02 \x01(\tR\x04kind\x12'\n" +
|
|
"\x0fapplied_version\x18\x03 \x01(\x03R\x0eappliedVersion\x12\x14\n" +
|
|
"\x05error\x18\x04 \x01(\tR\x05error\x12;\n" +
|
|
"\vreported_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"reportedAt\"F\n" +
|
|
"\x15PutApplyStatusRequest\x12-\n" +
|
|
"\x06status\x18\x01 \x01(\v2\x15.state.v1.ApplyStatusR\x06status\"\x18\n" +
|
|
"\x16PutApplyStatusResponse\"\x18\n" +
|
|
"\x16ListApplyStatusRequest\"L\n" +
|
|
"\x17ListApplyStatusResponse\x121\n" +
|
|
"\bstatuses\x18\x01 \x03(\v2\x15.state.v1.ApplyStatusR\bstatuses\"\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\xf7$\n" +
|
|
"\x11StateStoreService\x12\\\n" +
|
|
"\x11RegisterTaskGrant\x12\".state.v1.RegisterTaskGrantRequest\x1a#.state.v1.RegisterTaskGrantResponse\x12V\n" +
|
|
"\x0fRevokeTaskGrant\x12 .state.v1.RevokeTaskGrantRequest\x1a!.state.v1.RevokeTaskGrantResponse\x12S\n" +
|
|
"\x0eListIdentities\x12\x1f.state.v1.ListIdentitiesRequest\x1a .state.v1.ListIdentitiesResponse\x12J\n" +
|
|
"\vGetIdentity\x12\x1c.state.v1.GetIdentityRequest\x1a\x1d.state.v1.GetIdentityResponse\x12S\n" +
|
|
"\x0eCreateIdentity\x12\x1f.state.v1.CreateIdentityRequest\x1a .state.v1.CreateIdentityResponse\x12S\n" +
|
|
"\x0eRenameIdentity\x12\x1f.state.v1.RenameIdentityRequest\x1a .state.v1.RenameIdentityResponse\x12V\n" +
|
|
"\x0fSuspendIdentity\x12 .state.v1.SuspendIdentityRequest\x1a!.state.v1.SuspendIdentityResponse\x12_\n" +
|
|
"\x12ReactivateIdentity\x12#.state.v1.ReactivateIdentityRequest\x1a$.state.v1.ReactivateIdentityResponse\x12S\n" +
|
|
"\x0eRetireIdentity\x12\x1f.state.v1.RetireIdentityRequest\x1a .state.v1.RetireIdentityResponse\x12M\n" +
|
|
"\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\x12S\n" +
|
|
"\x0ePutApplyStatus\x12\x1f.state.v1.PutApplyStatusRequest\x1a .state.v1.PutApplyStatusResponse\x12V\n" +
|
|
"\x0fListApplyStatus\x12 .state.v1.ListApplyStatusRequest\x1a!.state.v1.ListApplyStatusResponse\x12J\n" +
|
|
"\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, 130)
|
|
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
|
|
(*Identity)(nil), // 4: state.v1.Identity
|
|
(*IdentityAudit)(nil), // 5: state.v1.IdentityAudit
|
|
(*ListIdentitiesRequest)(nil), // 6: state.v1.ListIdentitiesRequest
|
|
(*ListIdentitiesResponse)(nil), // 7: state.v1.ListIdentitiesResponse
|
|
(*GetIdentityRequest)(nil), // 8: state.v1.GetIdentityRequest
|
|
(*GetIdentityResponse)(nil), // 9: state.v1.GetIdentityResponse
|
|
(*CreateIdentityRequest)(nil), // 10: state.v1.CreateIdentityRequest
|
|
(*RenameIdentityRequest)(nil), // 11: state.v1.RenameIdentityRequest
|
|
(*SuspendIdentityRequest)(nil), // 12: state.v1.SuspendIdentityRequest
|
|
(*ReactivateIdentityRequest)(nil), // 13: state.v1.ReactivateIdentityRequest
|
|
(*RetireIdentityRequest)(nil), // 14: state.v1.RetireIdentityRequest
|
|
(*CreateIdentityResponse)(nil), // 15: state.v1.CreateIdentityResponse
|
|
(*RenameIdentityResponse)(nil), // 16: state.v1.RenameIdentityResponse
|
|
(*SuspendIdentityResponse)(nil), // 17: state.v1.SuspendIdentityResponse
|
|
(*ReactivateIdentityResponse)(nil), // 18: state.v1.ReactivateIdentityResponse
|
|
(*RetireIdentityResponse)(nil), // 19: state.v1.RetireIdentityResponse
|
|
(*Task)(nil), // 20: state.v1.Task
|
|
(*Event)(nil), // 21: state.v1.Event
|
|
(*CapturedEvent)(nil), // 22: state.v1.CapturedEvent
|
|
(*MappingField)(nil), // 23: state.v1.MappingField
|
|
(*Mapping)(nil), // 24: state.v1.Mapping
|
|
(*BindingMatcher)(nil), // 25: state.v1.BindingMatcher
|
|
(*Binding)(nil), // 26: state.v1.Binding
|
|
(*WorkflowStat)(nil), // 27: state.v1.WorkflowStat
|
|
(*StageStat)(nil), // 28: state.v1.StageStat
|
|
(*DayTokens)(nil), // 29: state.v1.DayTokens
|
|
(*EnqueueIssueRequest)(nil), // 30: state.v1.EnqueueIssueRequest
|
|
(*EnqueueIssueResponse)(nil), // 31: state.v1.EnqueueIssueResponse
|
|
(*EnqueueChatTaskRequest)(nil), // 32: state.v1.EnqueueChatTaskRequest
|
|
(*EnqueueChatTaskResponse)(nil), // 33: state.v1.EnqueueChatTaskResponse
|
|
(*ClaimNextRequest)(nil), // 34: state.v1.ClaimNextRequest
|
|
(*ClaimNextResponse)(nil), // 35: state.v1.ClaimNextResponse
|
|
(*ClaimByIssueRequest)(nil), // 36: state.v1.ClaimByIssueRequest
|
|
(*ClaimByIssueResponse)(nil), // 37: state.v1.ClaimByIssueResponse
|
|
(*TransitionRequest)(nil), // 38: state.v1.TransitionRequest
|
|
(*TransitionResponse)(nil), // 39: state.v1.TransitionResponse
|
|
(*UpdateRequest)(nil), // 40: state.v1.UpdateRequest
|
|
(*UpdateResponse)(nil), // 41: state.v1.UpdateResponse
|
|
(*RequeueRequest)(nil), // 42: state.v1.RequeueRequest
|
|
(*RequeueResponse)(nil), // 43: state.v1.RequeueResponse
|
|
(*RecoverStaleRequest)(nil), // 44: state.v1.RecoverStaleRequest
|
|
(*RecoverStaleResponse)(nil), // 45: state.v1.RecoverStaleResponse
|
|
(*ArchiveTaskRequest)(nil), // 46: state.v1.ArchiveTaskRequest
|
|
(*ArchiveTaskResponse)(nil), // 47: state.v1.ArchiveTaskResponse
|
|
(*RetryTaskRequest)(nil), // 48: state.v1.RetryTaskRequest
|
|
(*RetryTaskResponse)(nil), // 49: state.v1.RetryTaskResponse
|
|
(*TaskByIssueRequest)(nil), // 50: state.v1.TaskByIssueRequest
|
|
(*TaskByIssueResponse)(nil), // 51: state.v1.TaskByIssueResponse
|
|
(*OpenTaskByPRRequest)(nil), // 52: state.v1.OpenTaskByPRRequest
|
|
(*OpenTaskByPRResponse)(nil), // 53: state.v1.OpenTaskByPRResponse
|
|
(*TaskByIDRequest)(nil), // 54: state.v1.TaskByIDRequest
|
|
(*TaskByIDResponse)(nil), // 55: state.v1.TaskByIDResponse
|
|
(*OpenPRsRequest)(nil), // 56: state.v1.OpenPRsRequest
|
|
(*OpenPRsResponse)(nil), // 57: state.v1.OpenPRsResponse
|
|
(*ClearTerminalTasksRequest)(nil), // 58: state.v1.ClearTerminalTasksRequest
|
|
(*ClearTerminalTasksResponse)(nil), // 59: state.v1.ClearTerminalTasksResponse
|
|
(*TasksRequest)(nil), // 60: state.v1.TasksRequest
|
|
(*TasksResponse)(nil), // 61: state.v1.TasksResponse
|
|
(*StatusCountsRequest)(nil), // 62: state.v1.StatusCountsRequest
|
|
(*StatusCountsResponse)(nil), // 63: state.v1.StatusCountsResponse
|
|
(*InsertEventRequest)(nil), // 64: state.v1.InsertEventRequest
|
|
(*InsertEventResponse)(nil), // 65: state.v1.InsertEventResponse
|
|
(*EventsSinceRequest)(nil), // 66: state.v1.EventsSinceRequest
|
|
(*EventsSinceResponse)(nil), // 67: state.v1.EventsSinceResponse
|
|
(*TaskEventsRequest)(nil), // 68: state.v1.TaskEventsRequest
|
|
(*TaskEventsResponse)(nil), // 69: state.v1.TaskEventsResponse
|
|
(*WorkflowStatsRequest)(nil), // 70: state.v1.WorkflowStatsRequest
|
|
(*WorkflowStatsResponse)(nil), // 71: state.v1.WorkflowStatsResponse
|
|
(*StageStatsRequest)(nil), // 72: state.v1.StageStatsRequest
|
|
(*StageStatsResponse)(nil), // 73: state.v1.StageStatsResponse
|
|
(*TokensByDayRequest)(nil), // 74: state.v1.TokensByDayRequest
|
|
(*TokensByDayResponse)(nil), // 75: state.v1.TokensByDayResponse
|
|
(*ConfigSnapshot)(nil), // 76: state.v1.ConfigSnapshot
|
|
(*PutConfigSnapshotRequest)(nil), // 77: state.v1.PutConfigSnapshotRequest
|
|
(*PutConfigSnapshotResponse)(nil), // 78: state.v1.PutConfigSnapshotResponse
|
|
(*GetConfigSnapshotRequest)(nil), // 79: state.v1.GetConfigSnapshotRequest
|
|
(*GetConfigSnapshotResponse)(nil), // 80: state.v1.GetConfigSnapshotResponse
|
|
(*ApplyStatus)(nil), // 81: state.v1.ApplyStatus
|
|
(*PutApplyStatusRequest)(nil), // 82: state.v1.PutApplyStatusRequest
|
|
(*PutApplyStatusResponse)(nil), // 83: state.v1.PutApplyStatusResponse
|
|
(*ListApplyStatusRequest)(nil), // 84: state.v1.ListApplyStatusRequest
|
|
(*ListApplyStatusResponse)(nil), // 85: state.v1.ListApplyStatusResponse
|
|
(*TaskLogEntry)(nil), // 86: state.v1.TaskLogEntry
|
|
(*ReadTaskLogRequest)(nil), // 87: state.v1.ReadTaskLogRequest
|
|
(*ReadTaskLogResponse)(nil), // 88: state.v1.ReadTaskLogResponse
|
|
(*StreamTaskLogContentRequest)(nil), // 89: state.v1.StreamTaskLogContentRequest
|
|
(*StreamTaskLogContentResponse)(nil), // 90: state.v1.StreamTaskLogContentResponse
|
|
(*InsertCaptureRequest)(nil), // 91: state.v1.InsertCaptureRequest
|
|
(*InsertCaptureResponse)(nil), // 92: state.v1.InsertCaptureResponse
|
|
(*ListCapturesRequest)(nil), // 93: state.v1.ListCapturesRequest
|
|
(*ListCapturesResponse)(nil), // 94: state.v1.ListCapturesResponse
|
|
(*StreamCapturesRequest)(nil), // 95: state.v1.StreamCapturesRequest
|
|
(*StreamCapturesResponse)(nil), // 96: state.v1.StreamCapturesResponse
|
|
(*InsertMappingRequest)(nil), // 97: state.v1.InsertMappingRequest
|
|
(*InsertMappingResponse)(nil), // 98: state.v1.InsertMappingResponse
|
|
(*GetMappingRequest)(nil), // 99: state.v1.GetMappingRequest
|
|
(*GetMappingResponse)(nil), // 100: state.v1.GetMappingResponse
|
|
(*ListMappingsRequest)(nil), // 101: state.v1.ListMappingsRequest
|
|
(*ListMappingsResponse)(nil), // 102: state.v1.ListMappingsResponse
|
|
(*UpdateMappingRequest)(nil), // 103: state.v1.UpdateMappingRequest
|
|
(*UpdateMappingResponse)(nil), // 104: state.v1.UpdateMappingResponse
|
|
(*DeleteMappingRequest)(nil), // 105: state.v1.DeleteMappingRequest
|
|
(*DeleteMappingResponse)(nil), // 106: state.v1.DeleteMappingResponse
|
|
(*InsertBindingRequest)(nil), // 107: state.v1.InsertBindingRequest
|
|
(*InsertBindingResponse)(nil), // 108: state.v1.InsertBindingResponse
|
|
(*GetBindingRequest)(nil), // 109: state.v1.GetBindingRequest
|
|
(*GetBindingResponse)(nil), // 110: state.v1.GetBindingResponse
|
|
(*ListBindingsRequest)(nil), // 111: state.v1.ListBindingsRequest
|
|
(*ListBindingsResponse)(nil), // 112: state.v1.ListBindingsResponse
|
|
(*UpdateBindingRequest)(nil), // 113: state.v1.UpdateBindingRequest
|
|
(*UpdateBindingResponse)(nil), // 114: state.v1.UpdateBindingResponse
|
|
(*DeleteBindingRequest)(nil), // 115: state.v1.DeleteBindingRequest
|
|
(*DeleteBindingResponse)(nil), // 116: state.v1.DeleteBindingResponse
|
|
(*ApproveBindingRequest)(nil), // 117: state.v1.ApproveBindingRequest
|
|
(*ApproveBindingResponse)(nil), // 118: state.v1.ApproveBindingResponse
|
|
(*ArmedBindingsForSourceRequest)(nil), // 119: state.v1.ArmedBindingsForSourceRequest
|
|
(*ArmedBindingsForSourceResponse)(nil), // 120: state.v1.ArmedBindingsForSourceResponse
|
|
(*RecordDispatchRequest)(nil), // 121: state.v1.RecordDispatchRequest
|
|
(*RecordDispatchResponse)(nil), // 122: state.v1.RecordDispatchResponse
|
|
(*ListUndispatchedCapturesRequest)(nil), // 123: state.v1.ListUndispatchedCapturesRequest
|
|
(*ListUndispatchedCapturesResponse)(nil), // 124: state.v1.ListUndispatchedCapturesResponse
|
|
(*StreamUndispatchedCapturesRequest)(nil), // 125: state.v1.StreamUndispatchedCapturesRequest
|
|
(*StreamUndispatchedCapturesResponse)(nil), // 126: state.v1.StreamUndispatchedCapturesResponse
|
|
(*EnqueueBindingTaskRequest)(nil), // 127: state.v1.EnqueueBindingTaskRequest
|
|
(*EnqueueBindingTaskResponse)(nil), // 128: state.v1.EnqueueBindingTaskResponse
|
|
nil, // 129: state.v1.StatusCountsResponse.CountsEntry
|
|
(*timestamppb.Timestamp)(nil), // 130: google.protobuf.Timestamp
|
|
}
|
|
var file_state_v1_state_proto_depIdxs = []int32{
|
|
130, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp
|
|
130, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp
|
|
4, // 2: state.v1.ListIdentitiesResponse.identities:type_name -> state.v1.Identity
|
|
4, // 3: state.v1.GetIdentityResponse.identity:type_name -> state.v1.Identity
|
|
5, // 4: state.v1.CreateIdentityRequest.audit:type_name -> state.v1.IdentityAudit
|
|
5, // 5: state.v1.RenameIdentityRequest.audit:type_name -> state.v1.IdentityAudit
|
|
5, // 6: state.v1.SuspendIdentityRequest.audit:type_name -> state.v1.IdentityAudit
|
|
5, // 7: state.v1.ReactivateIdentityRequest.audit:type_name -> state.v1.IdentityAudit
|
|
5, // 8: state.v1.RetireIdentityRequest.audit:type_name -> state.v1.IdentityAudit
|
|
4, // 9: state.v1.CreateIdentityResponse.identity:type_name -> state.v1.Identity
|
|
4, // 10: state.v1.RenameIdentityResponse.identity:type_name -> state.v1.Identity
|
|
4, // 11: state.v1.SuspendIdentityResponse.identity:type_name -> state.v1.Identity
|
|
4, // 12: state.v1.ReactivateIdentityResponse.identity:type_name -> state.v1.Identity
|
|
4, // 13: state.v1.RetireIdentityResponse.identity:type_name -> state.v1.Identity
|
|
130, // 14: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp
|
|
130, // 15: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp
|
|
130, // 16: state.v1.Event.at:type_name -> google.protobuf.Timestamp
|
|
130, // 17: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp
|
|
23, // 18: state.v1.Mapping.fields:type_name -> state.v1.MappingField
|
|
130, // 19: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp
|
|
130, // 20: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp
|
|
25, // 21: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher
|
|
130, // 22: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp
|
|
130, // 23: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp
|
|
20, // 24: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task
|
|
20, // 25: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task
|
|
20, // 26: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task
|
|
20, // 27: state.v1.UpdateRequest.task:type_name -> state.v1.Task
|
|
21, // 28: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event
|
|
20, // 29: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task
|
|
20, // 30: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task
|
|
20, // 31: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task
|
|
20, // 32: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task
|
|
20, // 33: state.v1.TasksResponse.tasks:type_name -> state.v1.Task
|
|
129, // 34: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry
|
|
21, // 35: state.v1.InsertEventRequest.event:type_name -> state.v1.Event
|
|
21, // 36: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event
|
|
21, // 37: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event
|
|
27, // 38: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat
|
|
28, // 39: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat
|
|
29, // 40: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens
|
|
130, // 41: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp
|
|
76, // 42: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot
|
|
76, // 43: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot
|
|
130, // 44: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp
|
|
81, // 45: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus
|
|
81, // 46: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus
|
|
130, // 47: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp
|
|
130, // 48: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp
|
|
130, // 49: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp
|
|
86, // 50: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry
|
|
22, // 51: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent
|
|
22, // 52: state.v1.ListCapturesResponse.captures:type_name -> state.v1.CapturedEvent
|
|
22, // 53: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent
|
|
24, // 54: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping
|
|
24, // 55: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping
|
|
24, // 56: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping
|
|
24, // 57: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping
|
|
26, // 58: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding
|
|
26, // 59: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding
|
|
26, // 60: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding
|
|
26, // 61: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding
|
|
26, // 62: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding
|
|
22, // 63: state.v1.ListUndispatchedCapturesResponse.captures:type_name -> state.v1.CapturedEvent
|
|
22, // 64: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent
|
|
20, // 65: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task
|
|
0, // 66: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest
|
|
2, // 67: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest
|
|
6, // 68: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest
|
|
8, // 69: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest
|
|
10, // 70: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest
|
|
11, // 71: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest
|
|
12, // 72: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest
|
|
13, // 73: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest
|
|
14, // 74: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest
|
|
30, // 75: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest
|
|
32, // 76: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest
|
|
34, // 77: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest
|
|
36, // 78: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest
|
|
38, // 79: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest
|
|
40, // 80: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest
|
|
42, // 81: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest
|
|
44, // 82: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest
|
|
46, // 83: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest
|
|
48, // 84: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest
|
|
50, // 85: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest
|
|
52, // 86: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest
|
|
54, // 87: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest
|
|
56, // 88: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest
|
|
58, // 89: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest
|
|
60, // 90: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest
|
|
62, // 91: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest
|
|
64, // 92: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest
|
|
66, // 93: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest
|
|
68, // 94: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest
|
|
70, // 95: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest
|
|
72, // 96: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest
|
|
74, // 97: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest
|
|
77, // 98: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest
|
|
79, // 99: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest
|
|
82, // 100: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest
|
|
84, // 101: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest
|
|
87, // 102: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest
|
|
89, // 103: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest
|
|
91, // 104: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest
|
|
93, // 105: state.v1.StateStoreService.ListCaptures:input_type -> state.v1.ListCapturesRequest
|
|
95, // 106: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest
|
|
97, // 107: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest
|
|
99, // 108: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest
|
|
101, // 109: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest
|
|
103, // 110: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest
|
|
105, // 111: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest
|
|
107, // 112: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest
|
|
109, // 113: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest
|
|
111, // 114: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest
|
|
113, // 115: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest
|
|
115, // 116: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest
|
|
117, // 117: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest
|
|
119, // 118: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest
|
|
121, // 119: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest
|
|
123, // 120: state.v1.StateStoreService.ListUndispatchedCaptures:input_type -> state.v1.ListUndispatchedCapturesRequest
|
|
125, // 121: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest
|
|
127, // 122: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest
|
|
1, // 123: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse
|
|
3, // 124: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse
|
|
7, // 125: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse
|
|
9, // 126: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse
|
|
15, // 127: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse
|
|
16, // 128: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse
|
|
17, // 129: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse
|
|
18, // 130: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse
|
|
19, // 131: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse
|
|
31, // 132: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse
|
|
33, // 133: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse
|
|
35, // 134: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse
|
|
37, // 135: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse
|
|
39, // 136: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse
|
|
41, // 137: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse
|
|
43, // 138: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse
|
|
45, // 139: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse
|
|
47, // 140: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse
|
|
49, // 141: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse
|
|
51, // 142: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse
|
|
53, // 143: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse
|
|
55, // 144: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse
|
|
57, // 145: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse
|
|
59, // 146: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse
|
|
61, // 147: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse
|
|
63, // 148: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse
|
|
65, // 149: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse
|
|
67, // 150: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse
|
|
69, // 151: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse
|
|
71, // 152: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse
|
|
73, // 153: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse
|
|
75, // 154: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse
|
|
78, // 155: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse
|
|
80, // 156: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse
|
|
83, // 157: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse
|
|
85, // 158: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse
|
|
88, // 159: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse
|
|
90, // 160: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse
|
|
92, // 161: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse
|
|
94, // 162: state.v1.StateStoreService.ListCaptures:output_type -> state.v1.ListCapturesResponse
|
|
96, // 163: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse
|
|
98, // 164: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse
|
|
100, // 165: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse
|
|
102, // 166: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse
|
|
104, // 167: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse
|
|
106, // 168: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse
|
|
108, // 169: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse
|
|
110, // 170: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse
|
|
112, // 171: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse
|
|
114, // 172: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse
|
|
116, // 173: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse
|
|
118, // 174: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse
|
|
120, // 175: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse
|
|
122, // 176: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse
|
|
124, // 177: state.v1.StateStoreService.ListUndispatchedCaptures:output_type -> state.v1.ListUndispatchedCapturesResponse
|
|
126, // 178: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse
|
|
128, // 179: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse
|
|
123, // [123:180] is the sub-list for method output_type
|
|
66, // [66:123] is the sub-list for method input_type
|
|
66, // [66:66] is the sub-list for extension type_name
|
|
66, // [66:66] is the sub-list for extension extendee
|
|
0, // [0:66] 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: 130,
|
|
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
|
|
}
|