Recover the OAuth storage slice from f6079e9d and the missing workflow persistence error handling from f07c314e, adapted to the current step contract. Require encryption for OAuth token storage and verify RPC round trips and task-grant denial.
13068 lines
411 KiB
Go
13068 lines
411 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)
|
|
)
|
|
|
|
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
|
|
}
|
|
|
|
type ResolveIdentitySubjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectRequest) Reset() {
|
|
*x = ResolveIdentitySubjectRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveIdentitySubjectRequest) ProtoMessage() {}
|
|
|
|
func (x *ResolveIdentitySubjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveIdentitySubjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResolveIdentitySubjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectRequest) GetIssuer() string {
|
|
if x != nil {
|
|
return x.Issuer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveIdentitySubjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectResponse) Reset() {
|
|
*x = ResolveIdentitySubjectResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveIdentitySubjectResponse) ProtoMessage() {}
|
|
|
|
func (x *ResolveIdentitySubjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveIdentitySubjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResolveIdentitySubjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *ResolveIdentitySubjectResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BindIdentitySubjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
|
|
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
Audit *IdentityAudit `protobuf:"bytes,4,opt,name=audit,proto3" json:"audit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BindIdentitySubjectRequest) Reset() {
|
|
*x = BindIdentitySubjectRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BindIdentitySubjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BindIdentitySubjectRequest) ProtoMessage() {}
|
|
|
|
func (x *BindIdentitySubjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BindIdentitySubjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*BindIdentitySubjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *BindIdentitySubjectRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BindIdentitySubjectRequest) GetIssuer() string {
|
|
if x != nil {
|
|
return x.Issuer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BindIdentitySubjectRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BindIdentitySubjectRequest) GetAudit() *IdentityAudit {
|
|
if x != nil {
|
|
return x.Audit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BindIdentitySubjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BindIdentitySubjectResponse) Reset() {
|
|
*x = BindIdentitySubjectResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BindIdentitySubjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BindIdentitySubjectResponse) ProtoMessage() {}
|
|
|
|
func (x *BindIdentitySubjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BindIdentitySubjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*BindIdentitySubjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *BindIdentitySubjectResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Task mirrors internal/domain/workflow.Task.
|
|
type Task struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
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"`
|
|
// Retired: the per-task "current stage" column was overwritten as
|
|
// workflow.Run advanced and carried no history. step_executions is the
|
|
// durable per-step record now (docs/prds/execution-tree-state-machine.md);
|
|
// ListSteps is its read.
|
|
//
|
|
// Deprecated: Marked as deprecated in state/v1/state.proto.
|
|
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 string `protobuf:"bytes,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"`
|
|
// review_cursor is the poll backstop's high-water mark over forge review
|
|
// IDs for this task. It is separate from watch_comment_id (the review-
|
|
// comment cursor) because the two forge sequences are independent; one
|
|
// combined cursor would silently skip reviews once a larger comment ID
|
|
// landed (docs/prds/pr-review-remediation.md decision 2).
|
|
ReviewCursor int64 `protobuf:"varint,31,opt,name=review_cursor,json=reviewCursor,proto3" json:"review_cursor,omitempty"`
|
|
// park_class is the producer-recorded answer to "what kind of
|
|
// intervention does this park need?" (taskstate.ParkClass:
|
|
// needs_human, transient, terminal). Store-side normalization makes
|
|
// empty and unknown values needs_human, so the class is advisory on
|
|
// the wire and authoritative only as recorded at the park site.
|
|
ParkClass string `protobuf:"bytes,32,opt,name=park_class,json=parkClass,proto3" json:"park_class,omitempty"`
|
|
// remediation_rounds counts review-triggered remediation rounds
|
|
// separately from retry_count, so an operator's manual retries no
|
|
// longer draw down the review-remediation budget (and vice versa).
|
|
RemediationRounds int32 `protobuf:"varint,33,opt,name=remediation_rounds,json=remediationRounds,proto3" json:"remediation_rounds,omitempty"`
|
|
// inputs_json is the JSON object of workflow inputs a binding dispatch
|
|
// resolved (task.EncodeInputs); empty for a task no binding started.
|
|
InputsJson string `protobuf:"bytes,34,opt,name=inputs_json,json=inputsJson,proto3" json:"inputs_json,omitempty"`
|
|
// org is the org the task belongs to, derived store-side from the task's
|
|
// identity when the row is written; a task of a single-operator install
|
|
// belongs to the default org (docs/prds/orgs-and-access.md).
|
|
Org string `protobuf:"bytes,35,opt,name=org,proto3" json:"org,omitempty"`
|
|
// The workflow.call linkage (docs/prds/workflow-calls.md): the task whose
|
|
// workflow.call step started this one (0 on a root run) and how many
|
|
// call hops this row is from that root. Columns default, so an older
|
|
// writer reads as a depth-0 root run.
|
|
CallParentTaskId int64 `protobuf:"varint,36,opt,name=call_parent_task_id,json=callParentTaskId,proto3" json:"call_parent_task_id,omitempty"`
|
|
CallDepth int32 `protobuf:"varint,37,opt,name=call_depth,json=callDepth,proto3" json:"call_depth,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Task) Reset() {
|
|
*x = Task{}
|
|
mi := &file_state_v1_state_proto_msgTypes[24]
|
|
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[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 Task.ProtoReflect.Descriptor instead.
|
|
func (*Task) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in state/v1/state.proto.
|
|
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() string {
|
|
if x != nil {
|
|
return x.BindingId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
func (x *Task) GetReviewCursor() int64 {
|
|
if x != nil {
|
|
return x.ReviewCursor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Task) GetParkClass() string {
|
|
if x != nil {
|
|
return x.ParkClass
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Task) GetRemediationRounds() int32 {
|
|
if x != nil {
|
|
return x.RemediationRounds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Task) GetInputsJson() string {
|
|
if x != nil {
|
|
return x.InputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Task) GetOrg() string {
|
|
if x != nil {
|
|
return x.Org
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Task) GetCallParentTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallParentTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Task) GetCallDepth() int32 {
|
|
if x != nil {
|
|
return x.CallDepth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 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"`
|
|
// Attribution. actor_id is the identity that performed the action and
|
|
// actor_kind its kind, so a reader can tell an agent's action from a person's
|
|
// without resolving the identity. principal_id is the identity whose authority
|
|
// the action used, which is a different fact when an agent acts under a
|
|
// person's standing approval; empty means unattributed. All three must cross
|
|
// this boundary: a record whose attribution survives only in `detail` is not
|
|
// queryable, which is the attribution this design exists to replace.
|
|
ActorId string `protobuf:"bytes,12,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
|
|
ActorKind string `protobuf:"bytes,13,opt,name=actor_kind,json=actorKind,proto3" json:"actor_kind,omitempty"`
|
|
PrincipalId string `protobuf:"bytes,14,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Event) Reset() {
|
|
*x = Event{}
|
|
mi := &file_state_v1_state_proto_msgTypes[25]
|
|
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[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 Event.ProtoReflect.Descriptor instead.
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
func (x *Event) GetActorId() string {
|
|
if x != nil {
|
|
return x.ActorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Event) GetActorKind() string {
|
|
if x != nil {
|
|
return x.ActorKind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Event) GetPrincipalId() string {
|
|
if x != nil {
|
|
return x.PrincipalId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// CapturedEvent mirrors storecontract.CapturedEvent.
|
|
type CapturedEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,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"`
|
|
// event_type is the ID of the event type the capture was identified as on
|
|
// arrival; empty is unidentified.
|
|
EventType string `protobuf:"bytes,9,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
|
// unsigned marks an event taken on an approved unsigned source.
|
|
Unsigned bool `protobuf:"varint,10,opt,name=unsigned,proto3" json:"unsigned,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CapturedEvent) Reset() {
|
|
*x = CapturedEvent{}
|
|
mi := &file_state_v1_state_proto_msgTypes[26]
|
|
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[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 CapturedEvent.ProtoReflect.Descriptor instead.
|
|
func (*CapturedEvent) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *CapturedEvent) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (x *CapturedEvent) GetEventType() string {
|
|
if x != nil {
|
|
return x.EventType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CapturedEvent) GetUnsigned() bool {
|
|
if x != nil {
|
|
return x.Unsigned
|
|
}
|
|
return false
|
|
}
|
|
|
|
// EventTypeHeaderCondition mirrors internal/domain/eventtype.HeaderCondition.
|
|
type EventTypeHeaderCondition struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EventTypeHeaderCondition) Reset() {
|
|
*x = EventTypeHeaderCondition{}
|
|
mi := &file_state_v1_state_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EventTypeHeaderCondition) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EventTypeHeaderCondition) ProtoMessage() {}
|
|
|
|
func (x *EventTypeHeaderCondition) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EventTypeHeaderCondition.ProtoReflect.Descriptor instead.
|
|
func (*EventTypeHeaderCondition) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *EventTypeHeaderCondition) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventTypeHeaderCondition) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// EventTypePayloadCondition mirrors internal/domain/eventtype.PayloadCondition.
|
|
type EventTypePayloadCondition struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EventTypePayloadCondition) Reset() {
|
|
*x = EventTypePayloadCondition{}
|
|
mi := &file_state_v1_state_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EventTypePayloadCondition) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EventTypePayloadCondition) ProtoMessage() {}
|
|
|
|
func (x *EventTypePayloadCondition) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EventTypePayloadCondition.ProtoReflect.Descriptor instead.
|
|
func (*EventTypePayloadCondition) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *EventTypePayloadCondition) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventTypePayloadCondition) GetOp() string {
|
|
if x != nil {
|
|
return x.Op
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventTypePayloadCondition) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// EventType mirrors internal/domain/eventtype.EventType. header_conditions and
|
|
// payload_conditions are its rule; schema maps each payload path to its type.
|
|
type EventType struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
HeaderConditions []*EventTypeHeaderCondition `protobuf:"bytes,4,rep,name=header_conditions,json=headerConditions,proto3" json:"header_conditions,omitempty"`
|
|
PayloadConditions []*EventTypePayloadCondition `protobuf:"bytes,5,rep,name=payload_conditions,json=payloadConditions,proto3" json:"payload_conditions,omitempty"`
|
|
Schema map[string]string `protobuf:"bytes,6,rep,name=schema,proto3" json:"schema,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EventType) Reset() {
|
|
*x = EventType{}
|
|
mi := &file_state_v1_state_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EventType) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EventType) ProtoMessage() {}
|
|
|
|
func (x *EventType) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EventType.ProtoReflect.Descriptor instead.
|
|
func (*EventType) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *EventType) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventType) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventType) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventType) GetHeaderConditions() []*EventTypeHeaderCondition {
|
|
if x != nil {
|
|
return x.HeaderConditions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EventType) GetPayloadConditions() []*EventTypePayloadCondition {
|
|
if x != nil {
|
|
return x.PayloadConditions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EventType) GetSchema() map[string]string {
|
|
if x != nil {
|
|
return x.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EventType) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EventType) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MappingField mirrors internal/domain/mapping.Field.
|
|
type MappingField struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
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[30]
|
|
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[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 MappingField.ProtoReflect.Descriptor instead.
|
|
func (*MappingField) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
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 string `protobuf:"bytes,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"`
|
|
EventTypeId string `protobuf:"bytes,7,opt,name=event_type_id,json=eventTypeId,proto3" json:"event_type_id,omitempty"`
|
|
// match_count and last_matched_at are read-only: the store counts them.
|
|
MatchCount int64 `protobuf:"varint,8,opt,name=match_count,json=matchCount,proto3" json:"match_count,omitempty"`
|
|
LastMatchedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_matched_at,json=lastMatchedAt,proto3" json:"last_matched_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Mapping) Reset() {
|
|
*x = Mapping{}
|
|
mi := &file_state_v1_state_proto_msgTypes[31]
|
|
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[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 Mapping.ProtoReflect.Descriptor instead.
|
|
func (*Mapping) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *Mapping) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (x *Mapping) GetEventTypeId() string {
|
|
if x != nil {
|
|
return x.EventTypeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Mapping) GetMatchCount() int64 {
|
|
if x != nil {
|
|
return x.MatchCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Mapping) GetLastMatchedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastMatchedAt
|
|
}
|
|
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[32]
|
|
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[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 BindingMatcher.ProtoReflect.Descriptor instead.
|
|
func (*BindingMatcher) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
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 string `protobuf:"bytes,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 string `protobuf:"bytes,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"`
|
|
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"`
|
|
Filter string `protobuf:"bytes,13,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
// inputs_json assigns workflow inputs, a JSON object of
|
|
// {"param": name} or {"value": constant} per input.
|
|
InputsJson string `protobuf:"bytes,14,opt,name=inputs_json,json=inputsJson,proto3" json:"inputs_json,omitempty"`
|
|
// repo_param names the mapped parameter holding "owner/name".
|
|
RepoParam string `protobuf:"bytes,15,opt,name=repo_param,json=repoParam,proto3" json:"repo_param,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Binding) Reset() {
|
|
*x = Binding{}
|
|
mi := &file_state_v1_state_proto_msgTypes[33]
|
|
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[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 Binding.ProtoReflect.Descriptor instead.
|
|
func (*Binding) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *Binding) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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() string {
|
|
if x != nil {
|
|
return x.MappingId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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) 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
|
|
}
|
|
|
|
func (x *Binding) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Binding) GetInputsJson() string {
|
|
if x != nil {
|
|
return x.InputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Binding) GetRepoParam() string {
|
|
if x != nil {
|
|
return x.RepoParam
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Source mirrors internal/domain/source.Source.
|
|
type Source struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
Signing string `protobuf:"bytes,2,opt,name=signing,proto3" json:"signing,omitempty"`
|
|
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Source) Reset() {
|
|
*x = Source{}
|
|
mi := &file_state_v1_state_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Source) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Source) ProtoMessage() {}
|
|
|
|
func (x *Source) 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 Source.ProtoReflect.Descriptor instead.
|
|
func (*Source) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *Source) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Source) GetSigning() string {
|
|
if x != nil {
|
|
return x.Signing
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Source) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Source) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Source) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// WorkflowStat mirrors storecontract.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"`
|
|
Completed int64 `protobuf:"varint,9,opt,name=completed,proto3" json:"completed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkflowStat) Reset() {
|
|
*x = WorkflowStat{}
|
|
mi := &file_state_v1_state_proto_msgTypes[35]
|
|
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[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 WorkflowStat.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowStat) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (x *WorkflowStat) GetCompleted() int64 {
|
|
if x != nil {
|
|
return x.Completed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// StageStat mirrors storecontract.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[36]
|
|
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[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 StageStat.ProtoReflect.Descriptor instead.
|
|
func (*StageStat) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
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 storecontract.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[37]
|
|
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[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 DayTokens.ProtoReflect.Descriptor instead.
|
|
func (*DayTokens) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
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[38]
|
|
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[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 EnqueueIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
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[39]
|
|
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[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 EnqueueIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
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[40]
|
|
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[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 EnqueueChatTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueChatTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
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[41]
|
|
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[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 EnqueueChatTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueChatTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
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[42]
|
|
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[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 ClaimNextRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClaimNextRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
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[43]
|
|
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[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 ClaimNextResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClaimNextResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
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[44]
|
|
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[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 ClaimByIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClaimByIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
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[45]
|
|
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[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 ClaimByIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClaimByIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
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[46]
|
|
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[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 TransitionRequest.ProtoReflect.Descriptor instead.
|
|
func (*TransitionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
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[47]
|
|
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[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 TransitionResponse.ProtoReflect.Descriptor instead.
|
|
func (*TransitionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
type StartStepRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// execution_id is the WorkflowExecution (the tasks row) the step belongs
|
|
// to, and the task ID the run credential is scoped to.
|
|
ExecutionId int64 `protobuf:"varint,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
|
|
Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
// parent_id is 0 when the step is a stage; otherwise it names the enclosing
|
|
// StepExecution, from which the store derives depth.
|
|
ParentId int64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
|
|
// kind is stage, agent or call.
|
|
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
|
// called_execution_id names the WorkflowExecution a `call` step started;
|
|
// the store verifies it is this execution's own callee.
|
|
CalledExecutionId int64 `protobuf:"varint,6,opt,name=called_execution_id,json=calledExecutionId,proto3" json:"called_execution_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartStepRequest) Reset() {
|
|
*x = StartStepRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartStepRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartStepRequest) ProtoMessage() {}
|
|
|
|
func (x *StartStepRequest) 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 StartStepRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartStepRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *StartStepRequest) GetExecutionId() int64 {
|
|
if x != nil {
|
|
return x.ExecutionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartStepRequest) GetAttempt() int64 {
|
|
if x != nil {
|
|
return x.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartStepRequest) GetParentId() int64 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartStepRequest) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartStepRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartStepRequest) GetCalledExecutionId() int64 {
|
|
if x != nil {
|
|
return x.CalledExecutionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StartStepResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
|
|
// event is the transition's stage_start row, already persisted; the caller
|
|
// publishes it to its bus after the write commits (the daemon's event sink
|
|
// skips already-persisted rows by their assigned ID).
|
|
Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartStepResponse) Reset() {
|
|
*x = StartStepResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartStepResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartStepResponse) ProtoMessage() {}
|
|
|
|
func (x *StartStepResponse) 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 StartStepResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartStepResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *StartStepResponse) GetStepId() int64 {
|
|
if x != nil {
|
|
return x.StepId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartStepResponse) GetEvent() *Event {
|
|
if x != nil {
|
|
return x.Event
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FinishStepRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// execution_id names the run the step belongs to. The grant check verifies
|
|
// it against the credential, and the store verifies the step really is that
|
|
// execution's, so a caller cannot move another run's step by naming it.
|
|
ExecutionId int64 `protobuf:"varint,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
|
|
StepId int64 `protobuf:"varint,2,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
|
|
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
|
|
To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
|
|
Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
TokensUsed int64 `protobuf:"varint,6,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishStepRequest) Reset() {
|
|
*x = FinishStepRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishStepRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishStepRequest) ProtoMessage() {}
|
|
|
|
func (x *FinishStepRequest) 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 FinishStepRequest.ProtoReflect.Descriptor instead.
|
|
func (*FinishStepRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *FinishStepRequest) GetExecutionId() int64 {
|
|
if x != nil {
|
|
return x.ExecutionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FinishStepRequest) GetStepId() int64 {
|
|
if x != nil {
|
|
return x.StepId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FinishStepRequest) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FinishStepRequest) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FinishStepRequest) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FinishStepRequest) GetTokensUsed() int64 {
|
|
if x != nil {
|
|
return x.TokensUsed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FinishStepResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// event is the transition's stage_finish row, already persisted.
|
|
Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishStepResponse) Reset() {
|
|
*x = FinishStepResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishStepResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishStepResponse) ProtoMessage() {}
|
|
|
|
func (x *FinishStepResponse) 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 FinishStepResponse.ProtoReflect.Descriptor instead.
|
|
func (*FinishStepResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *FinishStepResponse) GetEvent() *Event {
|
|
if x != nil {
|
|
return x.Event
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelExecutionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
// reason records why the run was stopped, in the execution's park reason
|
|
// when the cancel lands there, and on every step event it writes.
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
// to is the execution's destination: the transition table routes it, and
|
|
// the operator actions name parked or closed_wont_do.
|
|
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelExecutionRequest) Reset() {
|
|
*x = CancelExecutionRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelExecutionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelExecutionRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelExecutionRequest) 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 CancelExecutionRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelExecutionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *CancelExecutionRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CancelExecutionRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CancelExecutionRequest) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelExecutionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// cancelled_step_ids are the StepExecutions the transaction cancelled.
|
|
CancelledStepIds []int64 `protobuf:"varint,1,rep,packed,name=cancelled_step_ids,json=cancelledStepIds,proto3" json:"cancelled_step_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelExecutionResponse) Reset() {
|
|
*x = CancelExecutionResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelExecutionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelExecutionResponse) ProtoMessage() {}
|
|
|
|
func (x *CancelExecutionResponse) 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 CancelExecutionResponse.ProtoReflect.Descriptor instead.
|
|
func (*CancelExecutionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *CancelExecutionResponse) GetCancelledStepIds() []int64 {
|
|
if x != nil {
|
|
return x.CancelledStepIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// StepExecution mirrors internal/domain/workflow/task.StepExecution.
|
|
type StepExecution struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ExecutionId int64 `protobuf:"varint,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
|
|
Attempt int64 `protobuf:"varint,3,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
// parent_id is 0 for a stage at the tree's root.
|
|
ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
|
|
Depth int32 `protobuf:"varint,5,opt,name=depth,proto3" json:"depth,omitempty"`
|
|
Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
|
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
|
Detail string `protobuf:"bytes,9,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
TokensUsed int64 `protobuf:"varint,10,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
|
|
StartedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
FinishedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StepExecution) Reset() {
|
|
*x = StepExecution{}
|
|
mi := &file_state_v1_state_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StepExecution) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StepExecution) ProtoMessage() {}
|
|
|
|
func (x *StepExecution) 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 StepExecution.ProtoReflect.Descriptor instead.
|
|
func (*StepExecution) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *StepExecution) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StepExecution) GetExecutionId() int64 {
|
|
if x != nil {
|
|
return x.ExecutionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StepExecution) GetAttempt() int64 {
|
|
if x != nil {
|
|
return x.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StepExecution) GetParentId() int64 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StepExecution) GetDepth() int32 {
|
|
if x != nil {
|
|
return x.Depth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StepExecution) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StepExecution) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StepExecution) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StepExecution) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StepExecution) GetTokensUsed() int64 {
|
|
if x != nil {
|
|
return x.TokensUsed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StepExecution) GetStartedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StepExecution) GetFinishedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.FinishedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListStepsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ExecutionId int64 `protobuf:"varint,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
|
|
// attempt selects one attempt's steps; 0 lists every attempt of the
|
|
// execution, oldest first -- the dashboard's run-detail rail renders every
|
|
// attempt from a single call rather than one per attempt.
|
|
Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListStepsRequest) Reset() {
|
|
*x = ListStepsRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListStepsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStepsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListStepsRequest) 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 ListStepsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListStepsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *ListStepsRequest) GetExecutionId() int64 {
|
|
if x != nil {
|
|
return x.ExecutionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListStepsRequest) GetAttempt() int64 {
|
|
if x != nil {
|
|
return x.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListStepsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Steps []*StepExecution `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListStepsResponse) Reset() {
|
|
*x = ListStepsResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListStepsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStepsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListStepsResponse) 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 ListStepsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListStepsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *ListStepsResponse) GetSteps() []*StepExecution {
|
|
if x != nil {
|
|
return x.Steps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// HarnessSecret mirrors internal/domain/harnesssecret.Secret -- one org's
|
|
// captured OAuth token set for a credential binding's service
|
|
// (docs/prds/external-agent-harness.md, Credentials).
|
|
type HarnessSecret struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
|
|
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
|
|
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
|
TokenType string `protobuf:"bytes,5,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
|
|
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_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 *HarnessSecret) Reset() {
|
|
*x = HarnessSecret{}
|
|
mi := &file_state_v1_state_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HarnessSecret) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HarnessSecret) ProtoMessage() {}
|
|
|
|
func (x *HarnessSecret) 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 HarnessSecret.ProtoReflect.Descriptor instead.
|
|
func (*HarnessSecret) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *HarnessSecret) GetOrg() string {
|
|
if x != nil {
|
|
return x.Org
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HarnessSecret) GetService() string {
|
|
if x != nil {
|
|
return x.Service
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HarnessSecret) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HarnessSecret) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HarnessSecret) GetTokenType() string {
|
|
if x != nil {
|
|
return x.TokenType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HarnessSecret) GetExpiresAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiresAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HarnessSecret) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetHarnessSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
|
|
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHarnessSecretRequest) Reset() {
|
|
*x = GetHarnessSecretRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHarnessSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHarnessSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *GetHarnessSecretRequest) 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 GetHarnessSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetHarnessSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *GetHarnessSecretRequest) GetOrg() string {
|
|
if x != nil {
|
|
return x.Org
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetHarnessSecretRequest) GetService() string {
|
|
if x != nil {
|
|
return x.Service
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetHarnessSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Secret *HarnessSecret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHarnessSecretResponse) Reset() {
|
|
*x = GetHarnessSecretResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHarnessSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHarnessSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *GetHarnessSecretResponse) 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 GetHarnessSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetHarnessSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *GetHarnessSecretResponse) GetSecret() *HarnessSecret {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutHarnessSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Secret *HarnessSecret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutHarnessSecretRequest) Reset() {
|
|
*x = PutHarnessSecretRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutHarnessSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutHarnessSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *PutHarnessSecretRequest) 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 PutHarnessSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutHarnessSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *PutHarnessSecretRequest) GetSecret() *HarnessSecret {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutHarnessSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutHarnessSecretResponse) Reset() {
|
|
*x = PutHarnessSecretResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutHarnessSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutHarnessSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *PutHarnessSecretResponse) 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 PutHarnessSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutHarnessSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
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[62]
|
|
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[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 UpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
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[63]
|
|
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[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 UpdateResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
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[64]
|
|
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[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 RequeueRequest.ProtoReflect.Descriptor instead.
|
|
func (*RequeueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
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[65]
|
|
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[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 RequeueResponse.ProtoReflect.Descriptor instead.
|
|
func (*RequeueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
type ParkTaskRequest 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"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Class string `protobuf:"bytes,4,opt,name=class,proto3" json:"class,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParkTaskRequest) Reset() {
|
|
*x = ParkTaskRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParkTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParkTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *ParkTaskRequest) 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 ParkTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*ParkTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ParkTaskRequest) GetClass() string {
|
|
if x != nil {
|
|
return x.Class
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ParkTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParkTaskResponse) Reset() {
|
|
*x = ParkTaskResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParkTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParkTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *ParkTaskResponse) 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 ParkTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*ParkTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
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[68]
|
|
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[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 RecoverStaleRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecoverStaleRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
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[69]
|
|
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[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 RecoverStaleResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecoverStaleResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
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[70]
|
|
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[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 ArchiveTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
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[71]
|
|
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[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 ArchiveTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
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[72]
|
|
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[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 RetryTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*RetryTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
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[73]
|
|
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[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 RetryTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*RetryTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
type BeginRemediationRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BeginRemediationRequest) Reset() {
|
|
*x = BeginRemediationRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BeginRemediationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BeginRemediationRequest) ProtoMessage() {}
|
|
|
|
func (x *BeginRemediationRequest) 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 BeginRemediationRequest.ProtoReflect.Descriptor instead.
|
|
func (*BeginRemediationRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *BeginRemediationRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BeginRemediationRequest) GetPayload() string {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BeginRemediationResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BeginRemediationResponse) Reset() {
|
|
*x = BeginRemediationResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BeginRemediationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BeginRemediationResponse) ProtoMessage() {}
|
|
|
|
func (x *BeginRemediationResponse) 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 BeginRemediationResponse.ProtoReflect.Descriptor instead.
|
|
func (*BeginRemediationResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
type UpdateReviewPayloadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateReviewPayloadRequest) Reset() {
|
|
*x = UpdateReviewPayloadRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateReviewPayloadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateReviewPayloadRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateReviewPayloadRequest) 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 UpdateReviewPayloadRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateReviewPayloadRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (x *UpdateReviewPayloadRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateReviewPayloadRequest) GetPayload() string {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateReviewPayloadResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateReviewPayloadResponse) Reset() {
|
|
*x = UpdateReviewPayloadResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateReviewPayloadResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateReviewPayloadResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateReviewPayloadResponse) 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 UpdateReviewPayloadResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateReviewPayloadResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
type SetReviewCursorsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
ReviewCursor int64 `protobuf:"varint,2,opt,name=review_cursor,json=reviewCursor,proto3" json:"review_cursor,omitempty"`
|
|
CommentCursor int64 `protobuf:"varint,3,opt,name=comment_cursor,json=commentCursor,proto3" json:"comment_cursor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetReviewCursorsRequest) Reset() {
|
|
*x = SetReviewCursorsRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetReviewCursorsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetReviewCursorsRequest) ProtoMessage() {}
|
|
|
|
func (x *SetReviewCursorsRequest) 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 SetReviewCursorsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetReviewCursorsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *SetReviewCursorsRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetReviewCursorsRequest) GetReviewCursor() int64 {
|
|
if x != nil {
|
|
return x.ReviewCursor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetReviewCursorsRequest) GetCommentCursor() int64 {
|
|
if x != nil {
|
|
return x.CommentCursor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetReviewCursorsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetReviewCursorsResponse) Reset() {
|
|
*x = SetReviewCursorsResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetReviewCursorsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetReviewCursorsResponse) ProtoMessage() {}
|
|
|
|
func (x *SetReviewCursorsResponse) 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 SetReviewCursorsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetReviewCursorsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
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[80]
|
|
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[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 TaskByIssueRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIssueRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
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[81]
|
|
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[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 TaskByIssueResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIssueResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
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[82]
|
|
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[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 OpenTaskByPRRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenTaskByPRRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
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[83]
|
|
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[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 OpenTaskByPRResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenTaskByPRResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
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[84]
|
|
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[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 TaskByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
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[85]
|
|
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[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 TaskByIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskByIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
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[86]
|
|
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[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 OpenPRsRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenPRsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
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[87]
|
|
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[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 OpenPRsResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenPRsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
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[88]
|
|
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[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 ClearTerminalTasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClearTerminalTasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
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[89]
|
|
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[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 ClearTerminalTasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClearTerminalTasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
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[90]
|
|
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[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 TasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*TasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
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[91]
|
|
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[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 TasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*TasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
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[92]
|
|
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[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 StatusCountsRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusCountsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
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[93]
|
|
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[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 StatusCountsResponse.ProtoReflect.Descriptor instead.
|
|
func (*StatusCountsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
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[94]
|
|
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[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 InsertEventRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertEventRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
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[95]
|
|
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[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 InsertEventResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertEventResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
func (x *InsertEventResponse) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type EventsSinceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// since_id is the opaque resume cursor returned by the previous page (the SSE
|
|
// id: field, echoed back as Last-Event-ID). Empty means "from the
|
|
// beginning". The field keeps its name and number so the wire name stays
|
|
// put; only its type widened, from the SQLite rowid to the fixed-width
|
|
// "<at>|<row id>" cursor.
|
|
SinceId string `protobuf:"bytes,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[96]
|
|
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[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 EventsSinceRequest.ProtoReflect.Descriptor instead.
|
|
func (*EventsSinceRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
func (x *EventsSinceRequest) GetSinceId() string {
|
|
if x != nil {
|
|
return x.SinceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[97]
|
|
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[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 EventsSinceResponse.ProtoReflect.Descriptor instead.
|
|
func (*EventsSinceResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
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[98]
|
|
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[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 TaskEventsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TaskEventsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
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[99]
|
|
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[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 TaskEventsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TaskEventsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
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[100]
|
|
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[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 WorkflowStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
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[101]
|
|
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[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 WorkflowStatsResponse.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowStatsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
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[102]
|
|
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[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 StageStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*StageStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
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[103]
|
|
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[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 StageStatsResponse.ProtoReflect.Descriptor instead.
|
|
func (*StageStatsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
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[104]
|
|
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[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 TokensByDayRequest.ProtoReflect.Descriptor instead.
|
|
func (*TokensByDayRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
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[105]
|
|
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[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 TokensByDayResponse.ProtoReflect.Descriptor instead.
|
|
func (*TokensByDayResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
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[106]
|
|
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[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 ConfigSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*ConfigSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
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[107]
|
|
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[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 PutConfigSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutConfigSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{107}
|
|
}
|
|
|
|
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[108]
|
|
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[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 PutConfigSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutConfigSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{108}
|
|
}
|
|
|
|
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[109]
|
|
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[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 GetConfigSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{109}
|
|
}
|
|
|
|
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[110]
|
|
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[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 GetConfigSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetConfigSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{110}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
// ChannelStatus is one channel's runtime state, as the process hosting it
|
|
// observes it. ReloadSupported is a capability declaration, not a request: the
|
|
// service reports it, so a reader may offer a reload action -- but asking for one
|
|
// travels on its own surface, because a transient request and a durable state do
|
|
// not share a lifetime.
|
|
type ChannelStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
|
|
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Configured bool `protobuf:"varint,5,opt,name=configured,proto3" json:"configured,omitempty"`
|
|
ReloadSupported bool `protobuf:"varint,6,opt,name=reload_supported,json=reloadSupported,proto3" json:"reload_supported,omitempty"`
|
|
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChannelStatus) Reset() {
|
|
*x = ChannelStatus{}
|
|
mi := &file_state_v1_state_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChannelStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelStatus) ProtoMessage() {}
|
|
|
|
func (x *ChannelStatus) 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 ChannelStatus.ProtoReflect.Descriptor instead.
|
|
func (*ChannelStatus) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{111}
|
|
}
|
|
|
|
func (x *ChannelStatus) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelStatus) GetConfigured() bool {
|
|
if x != nil {
|
|
return x.Configured
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChannelStatus) GetReloadSupported() bool {
|
|
if x != nil {
|
|
return x.ReloadSupported
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChannelStatus) GetObservedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ObservedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutChannelStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Channels []*ChannelStatus `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutChannelStatusRequest) Reset() {
|
|
*x = PutChannelStatusRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutChannelStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutChannelStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *PutChannelStatusRequest) 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 PutChannelStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutChannelStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{112}
|
|
}
|
|
|
|
func (x *PutChannelStatusRequest) GetChannels() []*ChannelStatus {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutChannelStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutChannelStatusResponse) Reset() {
|
|
*x = PutChannelStatusResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutChannelStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutChannelStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *PutChannelStatusResponse) 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 PutChannelStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutChannelStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{113}
|
|
}
|
|
|
|
type ListChannelStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListChannelStatusRequest) Reset() {
|
|
*x = ListChannelStatusRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListChannelStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListChannelStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *ListChannelStatusRequest) 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 ListChannelStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListChannelStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{114}
|
|
}
|
|
|
|
type ListChannelStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Channels []*ChannelStatus `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListChannelStatusResponse) Reset() {
|
|
*x = ListChannelStatusResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListChannelStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListChannelStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ListChannelStatusResponse) 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 ListChannelStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListChannelStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{115}
|
|
}
|
|
|
|
func (x *ListChannelStatusResponse) GetChannels() []*ChannelStatus {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 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[116]
|
|
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[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 ApplyStatus.ProtoReflect.Descriptor instead.
|
|
func (*ApplyStatus) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{116}
|
|
}
|
|
|
|
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[117]
|
|
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[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 PutApplyStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutApplyStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{117}
|
|
}
|
|
|
|
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[118]
|
|
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[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 PutApplyStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutApplyStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{118}
|
|
}
|
|
|
|
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[119]
|
|
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[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 ListApplyStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListApplyStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{119}
|
|
}
|
|
|
|
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[120]
|
|
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[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 ListApplyStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListApplyStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{120}
|
|
}
|
|
|
|
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[121]
|
|
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[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 TaskLogEntry.ProtoReflect.Descriptor instead.
|
|
func (*TaskLogEntry) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{121}
|
|
}
|
|
|
|
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[122]
|
|
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[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 ReadTaskLogRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadTaskLogRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{122}
|
|
}
|
|
|
|
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[123]
|
|
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[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 ReadTaskLogResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadTaskLogResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
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[124]
|
|
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[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 StreamTaskLogContentRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamTaskLogContentRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
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[125]
|
|
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[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 StreamTaskLogContentResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamTaskLogContentResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
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[126]
|
|
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[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 InsertCaptureRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertCaptureRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
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 string `protobuf:"bytes,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[127]
|
|
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[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 InsertCaptureResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertCaptureResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
func (x *InsertCaptureResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[128]
|
|
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[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 StreamCapturesRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamCapturesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
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[129]
|
|
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[129]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamCapturesResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamCapturesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{129}
|
|
}
|
|
|
|
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[130]
|
|
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[130]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertMappingRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertMappingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{130}
|
|
}
|
|
|
|
func (x *InsertMappingRequest) GetMapping() *Mapping {
|
|
if x != nil {
|
|
return x.Mapping
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertMappingResponse 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 *InsertMappingResponse) Reset() {
|
|
*x = InsertMappingResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[131]
|
|
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[131]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertMappingResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertMappingResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{131}
|
|
}
|
|
|
|
func (x *InsertMappingResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetMappingRequest 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 *GetMappingRequest) Reset() {
|
|
*x = GetMappingRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[132]
|
|
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[132]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMappingRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMappingRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{132}
|
|
}
|
|
|
|
func (x *GetMappingRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[133]
|
|
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[133]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMappingResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMappingResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{133}
|
|
}
|
|
|
|
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[134]
|
|
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[134]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMappingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMappingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{134}
|
|
}
|
|
|
|
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[135]
|
|
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[135]
|
|
if 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{135}
|
|
}
|
|
|
|
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[136]
|
|
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[136]
|
|
if 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{136}
|
|
}
|
|
|
|
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[137]
|
|
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[137]
|
|
if 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{137}
|
|
}
|
|
|
|
type DeleteMappingRequest 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 *DeleteMappingRequest) Reset() {
|
|
*x = DeleteMappingRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[138]
|
|
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[138]
|
|
if 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{138}
|
|
}
|
|
|
|
func (x *DeleteMappingRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[139]
|
|
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[139]
|
|
if 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{139}
|
|
}
|
|
|
|
type RecordMappingMatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MappingId string `protobuf:"bytes,1,opt,name=mapping_id,json=mappingId,proto3" json:"mapping_id,omitempty"`
|
|
CaptureId string `protobuf:"bytes,2,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecordMappingMatchRequest) Reset() {
|
|
*x = RecordMappingMatchRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[140]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecordMappingMatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecordMappingMatchRequest) ProtoMessage() {}
|
|
|
|
func (x *RecordMappingMatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[140]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecordMappingMatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecordMappingMatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{140}
|
|
}
|
|
|
|
func (x *RecordMappingMatchRequest) GetMappingId() string {
|
|
if x != nil {
|
|
return x.MappingId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecordMappingMatchRequest) GetCaptureId() string {
|
|
if x != nil {
|
|
return x.CaptureId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecordMappingMatchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecordMappingMatchResponse) Reset() {
|
|
*x = RecordMappingMatchResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[141]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecordMappingMatchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecordMappingMatchResponse) ProtoMessage() {}
|
|
|
|
func (x *RecordMappingMatchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[141]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecordMappingMatchResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecordMappingMatchResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{141}
|
|
}
|
|
|
|
type InsertEventTypeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EventType *EventType `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InsertEventTypeRequest) Reset() {
|
|
*x = InsertEventTypeRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[142]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InsertEventTypeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertEventTypeRequest) ProtoMessage() {}
|
|
|
|
func (x *InsertEventTypeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[142]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertEventTypeRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertEventTypeRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{142}
|
|
}
|
|
|
|
func (x *InsertEventTypeRequest) GetEventType() *EventType {
|
|
if x != nil {
|
|
return x.EventType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertEventTypeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InsertEventTypeResponse) Reset() {
|
|
*x = InsertEventTypeResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[143]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InsertEventTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertEventTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *InsertEventTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[143]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertEventTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertEventTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{143}
|
|
}
|
|
|
|
func (x *InsertEventTypeResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateEventTypeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EventType *EventType `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateEventTypeRequest) Reset() {
|
|
*x = UpdateEventTypeRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[144]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateEventTypeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateEventTypeRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateEventTypeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[144]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateEventTypeRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateEventTypeRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{144}
|
|
}
|
|
|
|
func (x *UpdateEventTypeRequest) GetEventType() *EventType {
|
|
if x != nil {
|
|
return x.EventType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateEventTypeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateEventTypeResponse) Reset() {
|
|
*x = UpdateEventTypeResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[145]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateEventTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateEventTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateEventTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[145]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateEventTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateEventTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{145}
|
|
}
|
|
|
|
type DeleteEventTypeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteEventTypeRequest) Reset() {
|
|
*x = DeleteEventTypeRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[146]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteEventTypeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteEventTypeRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteEventTypeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[146]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteEventTypeRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteEventTypeRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{146}
|
|
}
|
|
|
|
func (x *DeleteEventTypeRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteEventTypeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteEventTypeResponse) Reset() {
|
|
*x = DeleteEventTypeResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[147]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteEventTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteEventTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteEventTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[147]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteEventTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteEventTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{147}
|
|
}
|
|
|
|
type ListEventTypesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListEventTypesRequest) Reset() {
|
|
*x = ListEventTypesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[148]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListEventTypesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListEventTypesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListEventTypesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[148]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListEventTypesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListEventTypesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{148}
|
|
}
|
|
|
|
type ListEventTypesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EventTypes []*EventType `protobuf:"bytes,1,rep,name=event_types,json=eventTypes,proto3" json:"event_types,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListEventTypesResponse) Reset() {
|
|
*x = ListEventTypesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[149]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListEventTypesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListEventTypesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListEventTypesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[149]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListEventTypesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListEventTypesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{149}
|
|
}
|
|
|
|
func (x *ListEventTypesResponse) GetEventTypes() []*EventType {
|
|
if x != nil {
|
|
return x.EventTypes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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[150]
|
|
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[150]
|
|
if 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{150}
|
|
}
|
|
|
|
func (x *InsertBindingRequest) GetBinding() *Binding {
|
|
if x != nil {
|
|
return x.Binding
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertBindingResponse 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 *InsertBindingResponse) Reset() {
|
|
*x = InsertBindingResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[151]
|
|
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[151]
|
|
if 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{151}
|
|
}
|
|
|
|
func (x *InsertBindingResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBindingRequest 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 *GetBindingRequest) Reset() {
|
|
*x = GetBindingRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[152]
|
|
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[152]
|
|
if 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{152}
|
|
}
|
|
|
|
func (x *GetBindingRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[153]
|
|
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[153]
|
|
if 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{153}
|
|
}
|
|
|
|
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[154]
|
|
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[154]
|
|
if 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{154}
|
|
}
|
|
|
|
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[155]
|
|
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[155]
|
|
if 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{155}
|
|
}
|
|
|
|
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[156]
|
|
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[156]
|
|
if 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{156}
|
|
}
|
|
|
|
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[157]
|
|
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[157]
|
|
if 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{157}
|
|
}
|
|
|
|
type DeleteBindingRequest 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 *DeleteBindingRequest) Reset() {
|
|
*x = DeleteBindingRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[158]
|
|
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[158]
|
|
if 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{158}
|
|
}
|
|
|
|
func (x *DeleteBindingRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[159]
|
|
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[159]
|
|
if 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{159}
|
|
}
|
|
|
|
type ApproveBindingRequest 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 *ApproveBindingRequest) Reset() {
|
|
*x = ApproveBindingRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[160]
|
|
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[160]
|
|
if 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{160}
|
|
}
|
|
|
|
func (x *ApproveBindingRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[161]
|
|
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[161]
|
|
if 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{161}
|
|
}
|
|
|
|
type InsertSourceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InsertSourceRequest) Reset() {
|
|
*x = InsertSourceRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[162]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InsertSourceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertSourceRequest) ProtoMessage() {}
|
|
|
|
func (x *InsertSourceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[162]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertSourceRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertSourceRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{162}
|
|
}
|
|
|
|
func (x *InsertSourceRequest) GetSource() *Source {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertSourceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InsertSourceResponse) Reset() {
|
|
*x = InsertSourceResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[163]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InsertSourceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertSourceResponse) ProtoMessage() {}
|
|
|
|
func (x *InsertSourceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[163]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertSourceResponse.ProtoReflect.Descriptor instead.
|
|
func (*InsertSourceResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{163}
|
|
}
|
|
|
|
type GetSourceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSourceRequest) Reset() {
|
|
*x = GetSourceRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[164]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSourceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSourceRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSourceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[164]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSourceRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSourceRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{164}
|
|
}
|
|
|
|
func (x *GetSourceRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSourceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSourceResponse) Reset() {
|
|
*x = GetSourceResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[165]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSourceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSourceResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSourceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[165]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSourceResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSourceResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{165}
|
|
}
|
|
|
|
func (x *GetSourceResponse) GetSource() *Source {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetSourceResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSourcesRequest) Reset() {
|
|
*x = ListSourcesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[166]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[166]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{166}
|
|
}
|
|
|
|
type ListSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSourcesResponse) Reset() {
|
|
*x = ListSourcesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[167]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[167]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{167}
|
|
}
|
|
|
|
func (x *ListSourcesResponse) GetSources() []*Source {
|
|
if x != nil {
|
|
return x.Sources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetSourceSigningRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetSourceSigningRequest) Reset() {
|
|
*x = SetSourceSigningRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[168]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetSourceSigningRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetSourceSigningRequest) ProtoMessage() {}
|
|
|
|
func (x *SetSourceSigningRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[168]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetSourceSigningRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetSourceSigningRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{168}
|
|
}
|
|
|
|
func (x *SetSourceSigningRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetSourceSigningRequest) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetSourceSigningRequest) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetSourceSigningResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetSourceSigningResponse) Reset() {
|
|
*x = SetSourceSigningResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[169]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetSourceSigningResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetSourceSigningResponse) ProtoMessage() {}
|
|
|
|
func (x *SetSourceSigningResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[169]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetSourceSigningResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetSourceSigningResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{169}
|
|
}
|
|
|
|
type SetSourceSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetSourceSecretRequest) Reset() {
|
|
*x = SetSourceSecretRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[170]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetSourceSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetSourceSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *SetSourceSecretRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[170]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetSourceSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetSourceSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{170}
|
|
}
|
|
|
|
func (x *SetSourceSecretRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetSourceSecretRequest) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetSourceSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetSourceSecretResponse) Reset() {
|
|
*x = SetSourceSecretResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[171]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetSourceSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetSourceSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *SetSourceSecretResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[171]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetSourceSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetSourceSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{171}
|
|
}
|
|
|
|
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[172]
|
|
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[172]
|
|
if 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{172}
|
|
}
|
|
|
|
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[173]
|
|
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[173]
|
|
if 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{173}
|
|
}
|
|
|
|
func (x *ArmedBindingsForSourceResponse) GetBindings() []*Binding {
|
|
if x != nil {
|
|
return x.Bindings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecordDispatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BindingId string `protobuf:"bytes,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 string `protobuf:"bytes,3,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
|
|
// task_id addresses the tasks table.
|
|
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[174]
|
|
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[174]
|
|
if 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{174}
|
|
}
|
|
|
|
func (x *RecordDispatchRequest) GetBindingId() string {
|
|
if x != nil {
|
|
return x.BindingId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecordDispatchRequest) GetBindingVersion() int64 {
|
|
if x != nil {
|
|
return x.BindingVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RecordDispatchRequest) GetCaptureId() string {
|
|
if x != nil {
|
|
return x.CaptureId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[175]
|
|
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[175]
|
|
if 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{175}
|
|
}
|
|
|
|
type RecordPlaybookDispatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlaybookId string `protobuf:"bytes,1,opt,name=playbook_id,json=playbookId,proto3" json:"playbook_id,omitempty"`
|
|
PlaybookVersion string `protobuf:"bytes,2,opt,name=playbook_version,json=playbookVersion,proto3" json:"playbook_version,omitempty"`
|
|
EventId string `protobuf:"bytes,3,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
|
ActionId string `protobuf:"bytes,4,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) Reset() {
|
|
*x = RecordPlaybookDispatchRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[176]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecordPlaybookDispatchRequest) ProtoMessage() {}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[176]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecordPlaybookDispatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecordPlaybookDispatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{176}
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) GetPlaybookId() string {
|
|
if x != nil {
|
|
return x.PlaybookId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) GetPlaybookVersion() string {
|
|
if x != nil {
|
|
return x.PlaybookVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) GetEventId() string {
|
|
if x != nil {
|
|
return x.EventId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchRequest) GetActionId() string {
|
|
if x != nil {
|
|
return x.ActionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecordPlaybookDispatchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchResponse) Reset() {
|
|
*x = RecordPlaybookDispatchResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[177]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecordPlaybookDispatchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecordPlaybookDispatchResponse) ProtoMessage() {}
|
|
|
|
func (x *RecordPlaybookDispatchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[177]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecordPlaybookDispatchResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecordPlaybookDispatchResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{177}
|
|
}
|
|
|
|
type DeletePlaybookDispatchesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlaybookId string `protobuf:"bytes,1,opt,name=playbook_id,json=playbookId,proto3" json:"playbook_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePlaybookDispatchesRequest) Reset() {
|
|
*x = DeletePlaybookDispatchesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[178]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePlaybookDispatchesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePlaybookDispatchesRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePlaybookDispatchesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[178]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePlaybookDispatchesRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePlaybookDispatchesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{178}
|
|
}
|
|
|
|
func (x *DeletePlaybookDispatchesRequest) GetPlaybookId() string {
|
|
if x != nil {
|
|
return x.PlaybookId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeletePlaybookDispatchesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePlaybookDispatchesResponse) Reset() {
|
|
*x = DeletePlaybookDispatchesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[179]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePlaybookDispatchesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePlaybookDispatchesResponse) ProtoMessage() {}
|
|
|
|
func (x *DeletePlaybookDispatchesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[179]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePlaybookDispatchesResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeletePlaybookDispatchesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{179}
|
|
}
|
|
|
|
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[180]
|
|
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[180]
|
|
if 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{180}
|
|
}
|
|
|
|
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[181]
|
|
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[181]
|
|
if 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{181}
|
|
}
|
|
|
|
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 string `protobuf:"bytes,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"`
|
|
InputsJson string `protobuf:"bytes,9,opt,name=inputs_json,json=inputsJson,proto3" json:"inputs_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueBindingTaskRequest) Reset() {
|
|
*x = EnqueueBindingTaskRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[182]
|
|
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[182]
|
|
if 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{182}
|
|
}
|
|
|
|
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() string {
|
|
if x != nil {
|
|
return x.BindingId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueBindingTaskRequest) GetBindingVersion() int64 {
|
|
if x != nil {
|
|
return x.BindingVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EnqueueBindingTaskRequest) GetInputsJson() string {
|
|
if x != nil {
|
|
return x.InputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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[183]
|
|
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[183]
|
|
if 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{183}
|
|
}
|
|
|
|
func (x *EnqueueBindingTaskResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// workflow.call: the caller's grant names the caller; the store derives the
|
|
// rest from the caller's row (docs/prds/workflow-calls.md).
|
|
type EnqueueCallTaskRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CallerTaskId int64 `protobuf:"varint,1,opt,name=caller_task_id,json=callerTaskId,proto3" json:"caller_task_id,omitempty"`
|
|
Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
InputsJson string `protobuf:"bytes,3,opt,name=inputs_json,json=inputsJson,proto3" json:"inputs_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) Reset() {
|
|
*x = EnqueueCallTaskRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[184]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueCallTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *EnqueueCallTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[184]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueCallTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueCallTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{184}
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetCallerTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallerTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnqueueCallTaskRequest) GetInputsJson() string {
|
|
if x != nil {
|
|
return x.InputsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EnqueueCallTaskResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) Reset() {
|
|
*x = EnqueueCallTaskResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[185]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnqueueCallTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *EnqueueCallTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[185]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnqueueCallTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnqueueCallTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{185}
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) GetTask() *Task {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EnqueueCallTaskResponse) GetAccepted() bool {
|
|
if x != nil {
|
|
return x.Accepted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type WorkflowCallStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CallerTaskId int64 `protobuf:"varint,1,opt,name=caller_task_id,json=callerTaskId,proto3" json:"caller_task_id,omitempty"`
|
|
CallTaskId int64 `protobuf:"varint,2,opt,name=call_task_id,json=callTaskId,proto3" json:"call_task_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) Reset() {
|
|
*x = WorkflowCallStatusRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[186]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkflowCallStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *WorkflowCallStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[186]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkflowCallStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowCallStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{186}
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) GetCallerTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallerTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkflowCallStatusRequest) GetCallTaskId() int64 {
|
|
if x != nil {
|
|
return x.CallTaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WorkflowCallStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// status is the callee's task status and detail its latest transition
|
|
// detail (empty before the callee first moves).
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) Reset() {
|
|
*x = WorkflowCallStatusResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[187]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkflowCallStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *WorkflowCallStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[187]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkflowCallStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*WorkflowCallStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{187}
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkflowCallStatusResponse) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InstalledPackage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
|
|
Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
|
|
DescriptorJson []byte `protobuf:"bytes,5,opt,name=descriptor_json,json=descriptorJson,proto3" json:"descriptor_json,omitempty"`
|
|
Layer []byte `protobuf:"bytes,6,opt,name=layer,proto3" json:"layer,omitempty"`
|
|
UpdatePolicy string `protobuf:"bytes,7,opt,name=update_policy,json=updatePolicy,proto3" json:"update_policy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InstalledPackage) Reset() {
|
|
*x = InstalledPackage{}
|
|
mi := &file_state_v1_state_proto_msgTypes[188]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InstalledPackage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstalledPackage) ProtoMessage() {}
|
|
|
|
func (x *InstalledPackage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[188]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstalledPackage.ProtoReflect.Descriptor instead.
|
|
func (*InstalledPackage) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{188}
|
|
}
|
|
|
|
func (x *InstalledPackage) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstalledPackage) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstalledPackage) GetReference() string {
|
|
if x != nil {
|
|
return x.Reference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstalledPackage) GetDigest() string {
|
|
if x != nil {
|
|
return x.Digest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstalledPackage) GetDescriptorJson() []byte {
|
|
if x != nil {
|
|
return x.DescriptorJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstalledPackage) GetLayer() []byte {
|
|
if x != nil {
|
|
return x.Layer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstalledPackage) GetUpdatePolicy() string {
|
|
if x != nil {
|
|
return x.UpdatePolicy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InstallPackageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
|
|
Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InstallPackageRequest) Reset() {
|
|
*x = InstallPackageRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[189]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InstallPackageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstallPackageRequest) ProtoMessage() {}
|
|
|
|
func (x *InstallPackageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[189]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstallPackageRequest.ProtoReflect.Descriptor instead.
|
|
func (*InstallPackageRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{189}
|
|
}
|
|
|
|
func (x *InstallPackageRequest) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstallPackageRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstallPackageRequest) GetReference() string {
|
|
if x != nil {
|
|
return x.Reference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstallPackageRequest) GetDigest() string {
|
|
if x != nil {
|
|
return x.Digest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InstallPackageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Package *InstalledPackage `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InstallPackageResponse) Reset() {
|
|
*x = InstallPackageResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[190]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InstallPackageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstallPackageResponse) ProtoMessage() {}
|
|
|
|
func (x *InstallPackageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[190]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstallPackageResponse.ProtoReflect.Descriptor instead.
|
|
func (*InstallPackageResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{190}
|
|
}
|
|
|
|
func (x *InstallPackageResponse) GetPackage() *InstalledPackage {
|
|
if x != nil {
|
|
return x.Package
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetInstalledPackageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetInstalledPackageRequest) Reset() {
|
|
*x = GetInstalledPackageRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[191]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetInstalledPackageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInstalledPackageRequest) ProtoMessage() {}
|
|
|
|
func (x *GetInstalledPackageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[191]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetInstalledPackageRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetInstalledPackageRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{191}
|
|
}
|
|
|
|
func (x *GetInstalledPackageRequest) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInstalledPackageRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetInstalledPackageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Package *InstalledPackage `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetInstalledPackageResponse) Reset() {
|
|
*x = GetInstalledPackageResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[192]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetInstalledPackageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInstalledPackageResponse) ProtoMessage() {}
|
|
|
|
func (x *GetInstalledPackageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[192]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetInstalledPackageResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetInstalledPackageResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{192}
|
|
}
|
|
|
|
func (x *GetInstalledPackageResponse) GetPackage() *InstalledPackage {
|
|
if x != nil {
|
|
return x.Package
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListInstalledPackagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListInstalledPackagesRequest) Reset() {
|
|
*x = ListInstalledPackagesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[193]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListInstalledPackagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListInstalledPackagesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListInstalledPackagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[193]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListInstalledPackagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListInstalledPackagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{193}
|
|
}
|
|
|
|
func (x *ListInstalledPackagesRequest) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListInstalledPackagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Packages []*InstalledPackage `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListInstalledPackagesResponse) Reset() {
|
|
*x = ListInstalledPackagesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[194]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListInstalledPackagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListInstalledPackagesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListInstalledPackagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[194]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListInstalledPackagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListInstalledPackagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{194}
|
|
}
|
|
|
|
func (x *ListInstalledPackagesResponse) GetPackages() []*InstalledPackage {
|
|
if x != nil {
|
|
return x.Packages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveInstalledPackageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveInstalledPackageRequest) Reset() {
|
|
*x = RemoveInstalledPackageRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[195]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveInstalledPackageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveInstalledPackageRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveInstalledPackageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[195]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveInstalledPackageRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveInstalledPackageRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{195}
|
|
}
|
|
|
|
func (x *RemoveInstalledPackageRequest) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveInstalledPackageRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveInstalledPackageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveInstalledPackageResponse) Reset() {
|
|
*x = RemoveInstalledPackageResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[196]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveInstalledPackageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveInstalledPackageResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveInstalledPackageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[196]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveInstalledPackageResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveInstalledPackageResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{196}
|
|
}
|
|
|
|
type GetPrincipalRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPrincipalRequest) Reset() {
|
|
*x = GetPrincipalRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[197]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPrincipalRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPrincipalRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPrincipalRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[197]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPrincipalRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPrincipalRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{197}
|
|
}
|
|
|
|
func (x *GetPrincipalRequest) GetIdentityId() string {
|
|
if x != nil {
|
|
return x.IdentityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// PrincipalMembership mirrors org.Membership: an identity's role in an org,
|
|
// or in one workspace of it.
|
|
type PrincipalMembership struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PrincipalMembership) Reset() {
|
|
*x = PrincipalMembership{}
|
|
mi := &file_state_v1_state_proto_msgTypes[198]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PrincipalMembership) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrincipalMembership) ProtoMessage() {}
|
|
|
|
func (x *PrincipalMembership) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[198]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PrincipalMembership.ProtoReflect.Descriptor instead.
|
|
func (*PrincipalMembership) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{198}
|
|
}
|
|
|
|
func (x *PrincipalMembership) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PrincipalMembership) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PrincipalMembership) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AccessPrincipal struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
|
|
OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Memberships []*PrincipalMembership `protobuf:"bytes,3,rep,name=memberships,proto3" json:"memberships,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessPrincipal) Reset() {
|
|
*x = AccessPrincipal{}
|
|
mi := &file_state_v1_state_proto_msgTypes[199]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessPrincipal) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessPrincipal) ProtoMessage() {}
|
|
|
|
func (x *AccessPrincipal) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[199]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccessPrincipal.ProtoReflect.Descriptor instead.
|
|
func (*AccessPrincipal) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{199}
|
|
}
|
|
|
|
func (x *AccessPrincipal) GetIdentityId() string {
|
|
if x != nil {
|
|
return x.IdentityId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPrincipal) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPrincipal) GetMemberships() []*PrincipalMembership {
|
|
if x != nil {
|
|
return x.Memberships
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPrincipalResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Principal *AccessPrincipal `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPrincipalResponse) Reset() {
|
|
*x = GetPrincipalResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[200]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPrincipalResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPrincipalResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPrincipalResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[200]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPrincipalResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPrincipalResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{200}
|
|
}
|
|
|
|
func (x *GetPrincipalResponse) GetPrincipal() *AccessPrincipal {
|
|
if x != nil {
|
|
return x.Principal
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccessPolicy mirrors internal/domain/access.Policy: one Cedar policy
|
|
// document and the level-scope tuple that places it in the chain.
|
|
type AccessPolicy struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
|
|
Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
|
|
OrgId string `protobuf:"bytes,3,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
WorkspaceId string `protobuf:"bytes,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
ObjectKind string `protobuf:"bytes,5,opt,name=object_kind,json=objectKind,proto3" json:"object_kind,omitempty"`
|
|
ObjectId string `protobuf:"bytes,6,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
|
|
Text string `protobuf:"bytes,7,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessPolicy) Reset() {
|
|
*x = AccessPolicy{}
|
|
mi := &file_state_v1_state_proto_msgTypes[201]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessPolicy) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessPolicy) ProtoMessage() {}
|
|
|
|
func (x *AccessPolicy) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[201]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccessPolicy.ProtoReflect.Descriptor instead.
|
|
func (*AccessPolicy) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{201}
|
|
}
|
|
|
|
func (x *AccessPolicy) GetPolicyId() string {
|
|
if x != nil {
|
|
return x.PolicyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPolicy) GetLevel() string {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPolicy) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPolicy) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPolicy) GetObjectKind() string {
|
|
if x != nil {
|
|
return x.ObjectKind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPolicy) GetObjectId() string {
|
|
if x != nil {
|
|
return x.ObjectId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessPolicy) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPoliciesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPoliciesRequest) Reset() {
|
|
*x = ListPoliciesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[202]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPoliciesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPoliciesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[202]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPoliciesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{202}
|
|
}
|
|
|
|
type ListPoliciesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Policies []*AccessPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPoliciesResponse) Reset() {
|
|
*x = ListPoliciesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[203]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPoliciesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPoliciesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[203]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPoliciesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{203}
|
|
}
|
|
|
|
func (x *ListPoliciesResponse) GetPolicies() []*AccessPolicy {
|
|
if x != nil {
|
|
return x.Policies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutPolicyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Policy *AccessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutPolicyRequest) Reset() {
|
|
*x = PutPolicyRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[204]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutPolicyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutPolicyRequest) ProtoMessage() {}
|
|
|
|
func (x *PutPolicyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[204]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutPolicyRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutPolicyRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{204}
|
|
}
|
|
|
|
func (x *PutPolicyRequest) GetPolicy() *AccessPolicy {
|
|
if x != nil {
|
|
return x.Policy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PutPolicyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutPolicyResponse) Reset() {
|
|
*x = PutPolicyResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[205]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutPolicyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutPolicyResponse) ProtoMessage() {}
|
|
|
|
func (x *PutPolicyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[205]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutPolicyResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutPolicyResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{205}
|
|
}
|
|
|
|
func (x *PutPolicyResponse) GetVersion() int64 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeletePolicyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Policy *AccessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePolicyRequest) Reset() {
|
|
*x = DeletePolicyRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[206]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePolicyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePolicyRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[206]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePolicyRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{206}
|
|
}
|
|
|
|
func (x *DeletePolicyRequest) GetPolicy() *AccessPolicy {
|
|
if x != nil {
|
|
return x.Policy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeletePolicyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePolicyResponse) Reset() {
|
|
*x = DeletePolicyResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[207]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePolicyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePolicyResponse) ProtoMessage() {}
|
|
|
|
func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[207]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeletePolicyResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{207}
|
|
}
|
|
|
|
type EnsureShippedOrgPoliciesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnsureShippedOrgPoliciesRequest) Reset() {
|
|
*x = EnsureShippedOrgPoliciesRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[208]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnsureShippedOrgPoliciesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnsureShippedOrgPoliciesRequest) ProtoMessage() {}
|
|
|
|
func (x *EnsureShippedOrgPoliciesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[208]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnsureShippedOrgPoliciesRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnsureShippedOrgPoliciesRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{208}
|
|
}
|
|
|
|
func (x *EnsureShippedOrgPoliciesRequest) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EnsureShippedOrgPoliciesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EnsureShippedOrgPoliciesResponse) Reset() {
|
|
*x = EnsureShippedOrgPoliciesResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[209]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EnsureShippedOrgPoliciesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnsureShippedOrgPoliciesResponse) ProtoMessage() {}
|
|
|
|
func (x *EnsureShippedOrgPoliciesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[209]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EnsureShippedOrgPoliciesResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnsureShippedOrgPoliciesResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{209}
|
|
}
|
|
|
|
// AccessDenial mirrors internal/domain/access.Denial: one refusal with the
|
|
// level that decided it and the deciding policies. The store coalesces
|
|
// identical denials within a minute into one row with a count.
|
|
type AccessDenial struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
|
|
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
|
|
ResourceKind string `protobuf:"bytes,4,opt,name=resource_kind,json=resourceKind,proto3" json:"resource_kind,omitempty"`
|
|
ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
|
Level string `protobuf:"bytes,6,opt,name=level,proto3" json:"level,omitempty"`
|
|
Policies []string `protobuf:"bytes,7,rep,name=policies,proto3" json:"policies,omitempty"`
|
|
Count int64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"`
|
|
At *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=at,proto3" json:"at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessDenial) Reset() {
|
|
*x = AccessDenial{}
|
|
mi := &file_state_v1_state_proto_msgTypes[210]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessDenial) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessDenial) ProtoMessage() {}
|
|
|
|
func (x *AccessDenial) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[210]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccessDenial.ProtoReflect.Descriptor instead.
|
|
func (*AccessDenial) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{210}
|
|
}
|
|
|
|
func (x *AccessDenial) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDenial) GetPrincipal() string {
|
|
if x != nil {
|
|
return x.Principal
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDenial) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDenial) GetResourceKind() string {
|
|
if x != nil {
|
|
return x.ResourceKind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDenial) GetResourceId() string {
|
|
if x != nil {
|
|
return x.ResourceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDenial) GetLevel() string {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessDenial) GetPolicies() []string {
|
|
if x != nil {
|
|
return x.Policies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccessDenial) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccessDenial) GetAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.At
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecordDenialRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Denial *AccessDenial `protobuf:"bytes,1,opt,name=denial,proto3" json:"denial,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecordDenialRequest) Reset() {
|
|
*x = RecordDenialRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[211]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecordDenialRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecordDenialRequest) ProtoMessage() {}
|
|
|
|
func (x *RecordDenialRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[211]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecordDenialRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecordDenialRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{211}
|
|
}
|
|
|
|
func (x *RecordDenialRequest) GetDenial() *AccessDenial {
|
|
if x != nil {
|
|
return x.Denial
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecordDenialResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecordDenialResponse) Reset() {
|
|
*x = RecordDenialResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[212]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecordDenialResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecordDenialResponse) ProtoMessage() {}
|
|
|
|
func (x *RecordDenialResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[212]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecordDenialResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecordDenialResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{212}
|
|
}
|
|
|
|
type ListDenialsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListDenialsRequest) Reset() {
|
|
*x = ListDenialsRequest{}
|
|
mi := &file_state_v1_state_proto_msgTypes[213]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListDenialsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListDenialsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListDenialsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[213]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListDenialsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListDenialsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{213}
|
|
}
|
|
|
|
func (x *ListDenialsRequest) GetOrgId() string {
|
|
if x != nil {
|
|
return x.OrgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListDenialsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListDenialsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Denials []*AccessDenial `protobuf:"bytes,1,rep,name=denials,proto3" json:"denials,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListDenialsResponse) Reset() {
|
|
*x = ListDenialsResponse{}
|
|
mi := &file_state_v1_state_proto_msgTypes[214]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListDenialsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListDenialsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListDenialsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_state_proto_msgTypes[214]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListDenialsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListDenialsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_state_proto_rawDescGZIP(), []int{214}
|
|
}
|
|
|
|
func (x *ListDenialsResponse) GetDenials() []*AccessDenial {
|
|
if x != nil {
|
|
return x.Denials
|
|
}
|
|
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\"Q\n" +
|
|
"\x1dResolveIdentitySubjectRequest\x12\x16\n" +
|
|
"\x06issuer\x18\x01 \x01(\tR\x06issuer\x12\x18\n" +
|
|
"\asubject\x18\x02 \x01(\tR\asubject\"P\n" +
|
|
"\x1eResolveIdentitySubjectResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\x8d\x01\n" +
|
|
"\x1aBindIdentitySubjectRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
|
|
"\x06issuer\x18\x02 \x01(\tR\x06issuer\x12\x18\n" +
|
|
"\asubject\x18\x03 \x01(\tR\asubject\x12-\n" +
|
|
"\x05audit\x18\x04 \x01(\v2\x17.state.v1.IdentityAuditR\x05audit\"M\n" +
|
|
"\x1bBindIdentitySubjectResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"\xde\t\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\x18\n" +
|
|
"\x05stage\x18\n" +
|
|
" \x01(\tB\x02\x18\x01R\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(\tR\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\x12#\n" +
|
|
"\rreview_cursor\x18\x1f \x01(\x03R\freviewCursor\x12\x1d\n" +
|
|
"\n" +
|
|
"park_class\x18 \x01(\tR\tparkClass\x12-\n" +
|
|
"\x12remediation_rounds\x18! \x01(\x05R\x11remediationRounds\x12\x1f\n" +
|
|
"\vinputs_json\x18\" \x01(\tR\n" +
|
|
"inputsJson\x12\x10\n" +
|
|
"\x03org\x18# \x01(\tR\x03org\x12-\n" +
|
|
"\x13call_parent_task_id\x18$ \x01(\x03R\x10callParentTaskId\x12\x1d\n" +
|
|
"\n" +
|
|
"call_depth\x18% \x01(\x05R\tcallDepth\"\xf8\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\x12\x19\n" +
|
|
"\bactor_id\x18\f \x01(\tR\aactorId\x12\x1d\n" +
|
|
"\n" +
|
|
"actor_kind\x18\r \x01(\tR\tactorKind\x12!\n" +
|
|
"\fprincipal_id\x18\x0e \x01(\tR\vprincipalId\"\xc7\x02\n" +
|
|
"\rCapturedEvent\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12;\n" +
|
|
"\vreceived_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"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\x12\x1d\n" +
|
|
"\n" +
|
|
"event_type\x18\t \x01(\tR\teventType\x12\x1a\n" +
|
|
"\bunsigned\x18\n" +
|
|
" \x01(\bR\bunsigned\"D\n" +
|
|
"\x18EventTypeHeaderCondition\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value\"U\n" +
|
|
"\x19EventTypePayloadCondition\x12\x12\n" +
|
|
"\x04path\x18\x01 \x01(\tR\x04path\x12\x0e\n" +
|
|
"\x02op\x18\x02 \x01(\tR\x02op\x12\x14\n" +
|
|
"\x05value\x18\x03 \x01(\tR\x05value\"\xd6\x03\n" +
|
|
"\tEventType\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
|
|
"\x06source\x18\x02 \x01(\tR\x06source\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12O\n" +
|
|
"\x11header_conditions\x18\x04 \x03(\v2\".state.v1.EventTypeHeaderConditionR\x10headerConditions\x12R\n" +
|
|
"\x12payload_conditions\x18\x05 \x03(\v2#.state.v1.EventTypePayloadConditionR\x11payloadConditions\x127\n" +
|
|
"\x06schema\x18\x06 \x03(\v2\x1f.state.v1.EventType.SchemaEntryR\x06schema\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1a9\n" +
|
|
"\vSchemaEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"f\n" +
|
|
"\fMappingField\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\tR\x04type\x12\x1a\n" +
|
|
"\brequired\x18\x04 \x01(\bR\brequired\"\xfd\x02\n" +
|
|
"\aMapping\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\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\x12\"\n" +
|
|
"\revent_type_id\x18\a \x01(\tR\veventTypeId\x12\x1f\n" +
|
|
"\vmatch_count\x18\b \x01(\x03R\n" +
|
|
"matchCount\x12B\n" +
|
|
"\x0flast_matched_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\rlastMatchedAt\"(\n" +
|
|
"\x0eBindingMatcher\x12\x16\n" +
|
|
"\x06source\x18\x01 \x01(\tR\x06source\"\xd4\x03\n" +
|
|
"\aBinding\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\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(\tR\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\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\x12\x16\n" +
|
|
"\x06filter\x18\r \x01(\tR\x06filter\x12\x1f\n" +
|
|
"\vinputs_json\x18\x0e \x01(\tR\n" +
|
|
"inputsJson\x12\x1d\n" +
|
|
"\n" +
|
|
"repo_param\x18\x0f \x01(\tR\trepoParamJ\x04\b\n" +
|
|
"\x10\vR\x06secret\"\xc4\x01\n" +
|
|
"\x06Source\x12\x12\n" +
|
|
"\x04path\x18\x01 \x01(\tR\x04path\x12\x18\n" +
|
|
"\asigning\x18\x02 \x01(\tR\asigning\x12\x16\n" +
|
|
"\x06secret\x18\x03 \x01(\tR\x06secret\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\x84\x02\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\x12\x1c\n" +
|
|
"\tcompleted\x18\t \x01(\x03R\tcompleted\"\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\"\xc4\x01\n" +
|
|
"\x10StartStepRequest\x12!\n" +
|
|
"\fexecution_id\x18\x01 \x01(\x03R\vexecutionId\x12\x18\n" +
|
|
"\aattempt\x18\x02 \x01(\x03R\aattempt\x12\x1b\n" +
|
|
"\tparent_id\x18\x03 \x01(\x03R\bparentId\x12\x12\n" +
|
|
"\x04kind\x18\x04 \x01(\tR\x04kind\x12\x12\n" +
|
|
"\x04name\x18\x05 \x01(\tR\x04name\x12.\n" +
|
|
"\x13called_execution_id\x18\x06 \x01(\x03R\x11calledExecutionId\"S\n" +
|
|
"\x11StartStepResponse\x12\x17\n" +
|
|
"\astep_id\x18\x01 \x01(\x03R\x06stepId\x12%\n" +
|
|
"\x05event\x18\x02 \x01(\v2\x0f.state.v1.EventR\x05event\"\xac\x01\n" +
|
|
"\x11FinishStepRequest\x12!\n" +
|
|
"\fexecution_id\x18\x01 \x01(\x03R\vexecutionId\x12\x17\n" +
|
|
"\astep_id\x18\x02 \x01(\x03R\x06stepId\x12\x12\n" +
|
|
"\x04from\x18\x03 \x01(\tR\x04from\x12\x0e\n" +
|
|
"\x02to\x18\x04 \x01(\tR\x02to\x12\x16\n" +
|
|
"\x06detail\x18\x05 \x01(\tR\x06detail\x12\x1f\n" +
|
|
"\vtokens_used\x18\x06 \x01(\x03R\n" +
|
|
"tokensUsed\";\n" +
|
|
"\x12FinishStepResponse\x12%\n" +
|
|
"\x05event\x18\x01 \x01(\v2\x0f.state.v1.EventR\x05event\"Y\n" +
|
|
"\x16CancelExecutionRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\x12\x0e\n" +
|
|
"\x02to\x18\x03 \x01(\tR\x02to\"G\n" +
|
|
"\x17CancelExecutionResponse\x12,\n" +
|
|
"\x12cancelled_step_ids\x18\x01 \x03(\x03R\x10cancelledStepIds\"\x80\x03\n" +
|
|
"\rStepExecution\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12!\n" +
|
|
"\fexecution_id\x18\x02 \x01(\x03R\vexecutionId\x12\x18\n" +
|
|
"\aattempt\x18\x03 \x01(\x03R\aattempt\x12\x1b\n" +
|
|
"\tparent_id\x18\x04 \x01(\x03R\bparentId\x12\x14\n" +
|
|
"\x05depth\x18\x05 \x01(\x05R\x05depth\x12\x12\n" +
|
|
"\x04kind\x18\x06 \x01(\tR\x04kind\x12\x12\n" +
|
|
"\x04name\x18\a \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06status\x18\b \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06detail\x18\t \x01(\tR\x06detail\x12\x1f\n" +
|
|
"\vtokens_used\x18\n" +
|
|
" \x01(\x03R\n" +
|
|
"tokensUsed\x129\n" +
|
|
"\n" +
|
|
"started_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x12;\n" +
|
|
"\vfinished_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"finishedAt\"O\n" +
|
|
"\x10ListStepsRequest\x12!\n" +
|
|
"\fexecution_id\x18\x01 \x01(\x03R\vexecutionId\x12\x18\n" +
|
|
"\aattempt\x18\x02 \x01(\x03R\aattempt\"B\n" +
|
|
"\x11ListStepsResponse\x12-\n" +
|
|
"\x05steps\x18\x01 \x03(\v2\x17.state.v1.StepExecutionR\x05steps\"\x98\x02\n" +
|
|
"\rHarnessSecret\x12\x10\n" +
|
|
"\x03org\x18\x01 \x01(\tR\x03org\x12\x18\n" +
|
|
"\aservice\x18\x02 \x01(\tR\aservice\x12!\n" +
|
|
"\faccess_token\x18\x03 \x01(\tR\vaccessToken\x12#\n" +
|
|
"\rrefresh_token\x18\x04 \x01(\tR\frefreshToken\x12\x1d\n" +
|
|
"\n" +
|
|
"token_type\x18\x05 \x01(\tR\ttokenType\x129\n" +
|
|
"\n" +
|
|
"expires_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"E\n" +
|
|
"\x17GetHarnessSecretRequest\x12\x10\n" +
|
|
"\x03org\x18\x01 \x01(\tR\x03org\x12\x18\n" +
|
|
"\aservice\x18\x02 \x01(\tR\aservice\"K\n" +
|
|
"\x18GetHarnessSecretResponse\x12/\n" +
|
|
"\x06secret\x18\x01 \x01(\v2\x17.state.v1.HarnessSecretR\x06secret\"J\n" +
|
|
"\x17PutHarnessSecretRequest\x12/\n" +
|
|
"\x06secret\x18\x01 \x01(\v2\x17.state.v1.HarnessSecretR\x06secret\"\x1a\n" +
|
|
"\x18PutHarnessSecretResponse\"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\"l\n" +
|
|
"\x0fParkTaskRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x12\n" +
|
|
"\x04from\x18\x02 \x01(\tR\x04from\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\x12\x14\n" +
|
|
"\x05class\x18\x04 \x01(\tR\x05class\"\x12\n" +
|
|
"\x10ParkTaskResponse\"\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\"L\n" +
|
|
"\x17BeginRemediationRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x18\n" +
|
|
"\apayload\x18\x02 \x01(\tR\apayload\"\x1a\n" +
|
|
"\x18BeginRemediationResponse\"O\n" +
|
|
"\x1aUpdateReviewPayloadRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x18\n" +
|
|
"\apayload\x18\x02 \x01(\tR\apayload\"\x1d\n" +
|
|
"\x1bUpdateReviewPayloadResponse\"~\n" +
|
|
"\x17SetReviewCursorsRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12#\n" +
|
|
"\rreview_cursor\x18\x02 \x01(\x03R\freviewCursor\x12%\n" +
|
|
"\x0ecomment_cursor\x18\x03 \x01(\x03R\rcommentCursor\"\x1a\n" +
|
|
"\x18SetReviewCursorsResponse\"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(\tR\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\"\xe9\x01\n" +
|
|
"\rChannelStatus\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05state\x18\x03 \x01(\tR\x05state\x12\x16\n" +
|
|
"\x06detail\x18\x04 \x01(\tR\x06detail\x12\x1e\n" +
|
|
"\n" +
|
|
"configured\x18\x05 \x01(\bR\n" +
|
|
"configured\x12)\n" +
|
|
"\x10reload_supported\x18\x06 \x01(\bR\x0freloadSupported\x12;\n" +
|
|
"\vobserved_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"observedAt\"N\n" +
|
|
"\x17PutChannelStatusRequest\x123\n" +
|
|
"\bchannels\x18\x01 \x03(\v2\x17.state.v1.ChannelStatusR\bchannels\"\x1a\n" +
|
|
"\x18PutChannelStatusResponse\"\x1a\n" +
|
|
"\x18ListChannelStatusRequest\"P\n" +
|
|
"\x19ListChannelStatusResponse\x123\n" +
|
|
"\bchannels\x18\x01 \x03(\v2\x17.state.v1.ChannelStatusR\bchannels\"\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(\tR\x02id\"-\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(\tR\x02id\"#\n" +
|
|
"\x11GetMappingRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\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(\tR\x02id\"\x17\n" +
|
|
"\x15DeleteMappingResponse\"Y\n" +
|
|
"\x19RecordMappingMatchRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"mapping_id\x18\x01 \x01(\tR\tmappingId\x12\x1d\n" +
|
|
"\n" +
|
|
"capture_id\x18\x02 \x01(\tR\tcaptureId\"\x1c\n" +
|
|
"\x1aRecordMappingMatchResponse\"L\n" +
|
|
"\x16InsertEventTypeRequest\x122\n" +
|
|
"\n" +
|
|
"event_type\x18\x01 \x01(\v2\x13.state.v1.EventTypeR\teventType\")\n" +
|
|
"\x17InsertEventTypeResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"L\n" +
|
|
"\x16UpdateEventTypeRequest\x122\n" +
|
|
"\n" +
|
|
"event_type\x18\x01 \x01(\v2\x13.state.v1.EventTypeR\teventType\"\x19\n" +
|
|
"\x17UpdateEventTypeResponse\"(\n" +
|
|
"\x16DeleteEventTypeRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x19\n" +
|
|
"\x17DeleteEventTypeResponse\"\x17\n" +
|
|
"\x15ListEventTypesRequest\"N\n" +
|
|
"\x16ListEventTypesResponse\x124\n" +
|
|
"\vevent_types\x18\x01 \x03(\v2\x13.state.v1.EventTypeR\n" +
|
|
"eventTypes\"C\n" +
|
|
"\x14InsertBindingRequest\x12+\n" +
|
|
"\abinding\x18\x01 \x01(\v2\x11.state.v1.BindingR\abinding\"'\n" +
|
|
"\x15InsertBindingResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"#\n" +
|
|
"\x11GetBindingRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\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(\tR\x02id\"\x17\n" +
|
|
"\x15DeleteBindingResponse\"'\n" +
|
|
"\x15ApproveBindingRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x18\n" +
|
|
"\x16ApproveBindingResponse\"?\n" +
|
|
"\x13InsertSourceRequest\x12(\n" +
|
|
"\x06source\x18\x01 \x01(\v2\x10.state.v1.SourceR\x06source\"\x16\n" +
|
|
"\x14InsertSourceResponse\"&\n" +
|
|
"\x10GetSourceRequest\x12\x12\n" +
|
|
"\x04path\x18\x01 \x01(\tR\x04path\"S\n" +
|
|
"\x11GetSourceResponse\x12(\n" +
|
|
"\x06source\x18\x01 \x01(\v2\x10.state.v1.SourceR\x06source\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"\x14\n" +
|
|
"\x12ListSourcesRequest\"A\n" +
|
|
"\x13ListSourcesResponse\x12*\n" +
|
|
"\asources\x18\x01 \x03(\v2\x10.state.v1.SourceR\asources\"Q\n" +
|
|
"\x17SetSourceSigningRequest\x12\x12\n" +
|
|
"\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n" +
|
|
"\x04from\x18\x02 \x01(\tR\x04from\x12\x0e\n" +
|
|
"\x02to\x18\x03 \x01(\tR\x02to\"\x1a\n" +
|
|
"\x18SetSourceSigningResponse\"D\n" +
|
|
"\x16SetSourceSecretRequest\x12\x12\n" +
|
|
"\x04path\x18\x01 \x01(\tR\x04path\x12\x16\n" +
|
|
"\x06secret\x18\x02 \x01(\tR\x06secret\"\x19\n" +
|
|
"\x17SetSourceSecretResponse\"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(\tR\tbindingId\x12'\n" +
|
|
"\x0fbinding_version\x18\x02 \x01(\x03R\x0ebindingVersion\x12\x1d\n" +
|
|
"\n" +
|
|
"capture_id\x18\x03 \x01(\tR\tcaptureId\x12\x17\n" +
|
|
"\atask_id\x18\x04 \x01(\x03R\x06taskId\"\x18\n" +
|
|
"\x16RecordDispatchResponse\"\xa3\x01\n" +
|
|
"\x1dRecordPlaybookDispatchRequest\x12\x1f\n" +
|
|
"\vplaybook_id\x18\x01 \x01(\tR\n" +
|
|
"playbookId\x12)\n" +
|
|
"\x10playbook_version\x18\x02 \x01(\tR\x0fplaybookVersion\x12\x19\n" +
|
|
"\bevent_id\x18\x03 \x01(\tR\aeventId\x12\x1b\n" +
|
|
"\taction_id\x18\x04 \x01(\tR\bactionId\" \n" +
|
|
"\x1eRecordPlaybookDispatchResponse\"B\n" +
|
|
"\x1fDeletePlaybookDispatchesRequest\x12\x1f\n" +
|
|
"\vplaybook_id\x18\x01 \x01(\tR\n" +
|
|
"playbookId\"\"\n" +
|
|
" DeletePlaybookDispatchesResponse\"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\"\x90\x02\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(\tR\tbindingId\x12'\n" +
|
|
"\x0fbinding_version\x18\b \x01(\x03R\x0ebindingVersion\x12\x1f\n" +
|
|
"\vinputs_json\x18\t \x01(\tR\n" +
|
|
"inputsJson\"@\n" +
|
|
"\x1aEnqueueBindingTaskResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\"{\n" +
|
|
"\x16EnqueueCallTaskRequest\x12$\n" +
|
|
"\x0ecaller_task_id\x18\x01 \x01(\x03R\fcallerTaskId\x12\x1a\n" +
|
|
"\bworkflow\x18\x02 \x01(\tR\bworkflow\x12\x1f\n" +
|
|
"\vinputs_json\x18\x03 \x01(\tR\n" +
|
|
"inputsJson\"Y\n" +
|
|
"\x17EnqueueCallTaskResponse\x12\"\n" +
|
|
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task\x12\x1a\n" +
|
|
"\baccepted\x18\x02 \x01(\bR\baccepted\"c\n" +
|
|
"\x19WorkflowCallStatusRequest\x12$\n" +
|
|
"\x0ecaller_task_id\x18\x01 \x01(\x03R\fcallerTaskId\x12 \n" +
|
|
"\fcall_task_id\x18\x02 \x01(\x03R\n" +
|
|
"callTaskId\"L\n" +
|
|
"\x1aWorkflowCallStatusResponse\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06detail\x18\x02 \x01(\tR\x06detail\"\xd7\x01\n" +
|
|
"\x10InstalledPackage\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n" +
|
|
"\treference\x18\x03 \x01(\tR\treference\x12\x16\n" +
|
|
"\x06digest\x18\x04 \x01(\tR\x06digest\x12'\n" +
|
|
"\x0fdescriptor_json\x18\x05 \x01(\fR\x0edescriptorJson\x12\x14\n" +
|
|
"\x05layer\x18\x06 \x01(\fR\x05layer\x12#\n" +
|
|
"\rupdate_policy\x18\a \x01(\tR\fupdatePolicy\"x\n" +
|
|
"\x15InstallPackageRequest\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n" +
|
|
"\treference\x18\x03 \x01(\tR\treference\x12\x16\n" +
|
|
"\x06digest\x18\x04 \x01(\tR\x06digest\"N\n" +
|
|
"\x16InstallPackageResponse\x124\n" +
|
|
"\apackage\x18\x01 \x01(\v2\x1a.state.v1.InstalledPackageR\apackage\"G\n" +
|
|
"\x1aGetInstalledPackageRequest\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"S\n" +
|
|
"\x1bGetInstalledPackageResponse\x124\n" +
|
|
"\apackage\x18\x01 \x01(\v2\x1a.state.v1.InstalledPackageR\apackage\"5\n" +
|
|
"\x1cListInstalledPackagesRequest\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\"W\n" +
|
|
"\x1dListInstalledPackagesResponse\x126\n" +
|
|
"\bpackages\x18\x01 \x03(\v2\x1a.state.v1.InstalledPackageR\bpackages\"J\n" +
|
|
"\x1dRemoveInstalledPackageRequest\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\" \n" +
|
|
"\x1eRemoveInstalledPackageResponse\"6\n" +
|
|
"\x13GetPrincipalRequest\x12\x1f\n" +
|
|
"\videntity_id\x18\x01 \x01(\tR\n" +
|
|
"identityId\"c\n" +
|
|
"\x13PrincipalMembership\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12!\n" +
|
|
"\fworkspace_id\x18\x02 \x01(\tR\vworkspaceId\x12\x12\n" +
|
|
"\x04role\x18\x03 \x01(\tR\x04role\"\x8a\x01\n" +
|
|
"\x0fAccessPrincipal\x12\x1f\n" +
|
|
"\videntity_id\x18\x01 \x01(\tR\n" +
|
|
"identityId\x12\x15\n" +
|
|
"\x06org_id\x18\x02 \x01(\tR\x05orgId\x12?\n" +
|
|
"\vmemberships\x18\x03 \x03(\v2\x1d.state.v1.PrincipalMembershipR\vmemberships\"O\n" +
|
|
"\x14GetPrincipalResponse\x127\n" +
|
|
"\tprincipal\x18\x01 \x01(\v2\x19.state.v1.AccessPrincipalR\tprincipal\"\xcd\x01\n" +
|
|
"\fAccessPolicy\x12\x1b\n" +
|
|
"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12\x14\n" +
|
|
"\x05level\x18\x02 \x01(\tR\x05level\x12\x15\n" +
|
|
"\x06org_id\x18\x03 \x01(\tR\x05orgId\x12!\n" +
|
|
"\fworkspace_id\x18\x04 \x01(\tR\vworkspaceId\x12\x1f\n" +
|
|
"\vobject_kind\x18\x05 \x01(\tR\n" +
|
|
"objectKind\x12\x1b\n" +
|
|
"\tobject_id\x18\x06 \x01(\tR\bobjectId\x12\x12\n" +
|
|
"\x04text\x18\a \x01(\tR\x04text\"\x15\n" +
|
|
"\x13ListPoliciesRequest\"J\n" +
|
|
"\x14ListPoliciesResponse\x122\n" +
|
|
"\bpolicies\x18\x01 \x03(\v2\x16.state.v1.AccessPolicyR\bpolicies\"B\n" +
|
|
"\x10PutPolicyRequest\x12.\n" +
|
|
"\x06policy\x18\x01 \x01(\v2\x16.state.v1.AccessPolicyR\x06policy\"-\n" +
|
|
"\x11PutPolicyResponse\x12\x18\n" +
|
|
"\aversion\x18\x01 \x01(\x03R\aversion\"E\n" +
|
|
"\x13DeletePolicyRequest\x12.\n" +
|
|
"\x06policy\x18\x01 \x01(\v2\x16.state.v1.AccessPolicyR\x06policy\"\x16\n" +
|
|
"\x14DeletePolicyResponse\"8\n" +
|
|
"\x1fEnsureShippedOrgPoliciesRequest\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\"\"\n" +
|
|
" EnsureShippedOrgPoliciesResponse\"\x95\x02\n" +
|
|
"\fAccessDenial\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1c\n" +
|
|
"\tprincipal\x18\x02 \x01(\tR\tprincipal\x12\x16\n" +
|
|
"\x06action\x18\x03 \x01(\tR\x06action\x12#\n" +
|
|
"\rresource_kind\x18\x04 \x01(\tR\fresourceKind\x12\x1f\n" +
|
|
"\vresource_id\x18\x05 \x01(\tR\n" +
|
|
"resourceId\x12\x14\n" +
|
|
"\x05level\x18\x06 \x01(\tR\x05level\x12\x1a\n" +
|
|
"\bpolicies\x18\a \x03(\tR\bpolicies\x12\x14\n" +
|
|
"\x05count\x18\b \x01(\x03R\x05count\x12*\n" +
|
|
"\x02at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\x02at\"E\n" +
|
|
"\x13RecordDenialRequest\x12.\n" +
|
|
"\x06denial\x18\x01 \x01(\v2\x16.state.v1.AccessDenialR\x06denial\"\x16\n" +
|
|
"\x14RecordDenialResponse\"A\n" +
|
|
"\x12ListDenialsRequest\x12\x15\n" +
|
|
"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x05R\x05limit\"G\n" +
|
|
"\x13ListDenialsResponse\x120\n" +
|
|
"\adenials\x18\x01 \x03(\v2\x16.state.v1.AccessDenialR\adenials2\xb1>\n" +
|
|
"\x11StateStoreService\x12S\n" +
|
|
"\x0eInstallPackage\x12\x1f.state.v1.InstallPackageRequest\x1a .state.v1.InstallPackageResponse\x12b\n" +
|
|
"\x13GetInstalledPackage\x12$.state.v1.GetInstalledPackageRequest\x1a%.state.v1.GetInstalledPackageResponse\x12h\n" +
|
|
"\x15ListInstalledPackages\x12&.state.v1.ListInstalledPackagesRequest\x1a'.state.v1.ListInstalledPackagesResponse\x12k\n" +
|
|
"\x16RemoveInstalledPackage\x12'.state.v1.RemoveInstalledPackageRequest\x1a(.state.v1.RemoveInstalledPackageResponse\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\x12k\n" +
|
|
"\x16ResolveIdentitySubject\x12'.state.v1.ResolveIdentitySubjectRequest\x1a(.state.v1.ResolveIdentitySubjectResponse\x12b\n" +
|
|
"\x13BindIdentitySubject\x12$.state.v1.BindIdentitySubjectRequest\x1a%.state.v1.BindIdentitySubjectResponse\x12M\n" +
|
|
"\fEnqueueIssue\x12\x1d.state.v1.EnqueueIssueRequest\x1a\x1e.state.v1.EnqueueIssueResponse\x12V\n" +
|
|
"\x0fEnqueueChatTask\x12 .state.v1.EnqueueChatTaskRequest\x1a!.state.v1.EnqueueChatTaskResponse\x12D\n" +
|
|
"\tClaimNext\x12\x1a.state.v1.ClaimNextRequest\x1a\x1b.state.v1.ClaimNextResponse\x12M\n" +
|
|
"\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\x12D\n" +
|
|
"\tStartStep\x12\x1a.state.v1.StartStepRequest\x1a\x1b.state.v1.StartStepResponse\x12G\n" +
|
|
"\n" +
|
|
"FinishStep\x12\x1b.state.v1.FinishStepRequest\x1a\x1c.state.v1.FinishStepResponse\x12V\n" +
|
|
"\x0fCancelExecution\x12 .state.v1.CancelExecutionRequest\x1a!.state.v1.CancelExecutionResponse\x12D\n" +
|
|
"\tListSteps\x12\x1a.state.v1.ListStepsRequest\x1a\x1b.state.v1.ListStepsResponse\x12Y\n" +
|
|
"\x10GetHarnessSecret\x12!.state.v1.GetHarnessSecretRequest\x1a\".state.v1.GetHarnessSecretResponse\x12Y\n" +
|
|
"\x10PutHarnessSecret\x12!.state.v1.PutHarnessSecretRequest\x1a\".state.v1.PutHarnessSecretResponse\x12>\n" +
|
|
"\aRequeue\x12\x18.state.v1.RequeueRequest\x1a\x19.state.v1.RequeueResponse\x12A\n" +
|
|
"\bParkTask\x12\x19.state.v1.ParkTaskRequest\x1a\x1a.state.v1.ParkTaskResponse\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\x12Y\n" +
|
|
"\x10BeginRemediation\x12!.state.v1.BeginRemediationRequest\x1a\".state.v1.BeginRemediationResponse\x12b\n" +
|
|
"\x13UpdateReviewPayload\x12$.state.v1.UpdateReviewPayloadRequest\x1a%.state.v1.UpdateReviewPayloadResponse\x12Y\n" +
|
|
"\x10SetReviewCursors\x12!.state.v1.SetReviewCursorsRequest\x1a\".state.v1.SetReviewCursorsResponse\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\x12Y\n" +
|
|
"\x10PutChannelStatus\x12!.state.v1.PutChannelStatusRequest\x1a\".state.v1.PutChannelStatusResponse\x12\\\n" +
|
|
"\x11ListChannelStatus\x12\".state.v1.ListChannelStatusRequest\x1a#.state.v1.ListChannelStatusResponse\x12S\n" +
|
|
"\x0ePutApplyStatus\x12\x1f.state.v1.PutApplyStatusRequest\x1a .state.v1.PutApplyStatusResponse\x12V\n" +
|
|
"\x0fListApplyStatus\x12 .state.v1.ListApplyStatusRequest\x1a!.state.v1.ListApplyStatusResponse\x12J\n" +
|
|
"\vReadTaskLog\x12\x1c.state.v1.ReadTaskLogRequest\x1a\x1d.state.v1.ReadTaskLogResponse\x12g\n" +
|
|
"\x14StreamTaskLogContent\x12%.state.v1.StreamTaskLogContentRequest\x1a&.state.v1.StreamTaskLogContentResponse0\x01\x12P\n" +
|
|
"\rInsertCapture\x12\x1e.state.v1.InsertCaptureRequest\x1a\x1f.state.v1.InsertCaptureResponse\x12U\n" +
|
|
"\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\x12_\n" +
|
|
"\x12RecordMappingMatch\x12#.state.v1.RecordMappingMatchRequest\x1a$.state.v1.RecordMappingMatchResponse\x12V\n" +
|
|
"\x0fInsertEventType\x12 .state.v1.InsertEventTypeRequest\x1a!.state.v1.InsertEventTypeResponse\x12V\n" +
|
|
"\x0fUpdateEventType\x12 .state.v1.UpdateEventTypeRequest\x1a!.state.v1.UpdateEventTypeResponse\x12V\n" +
|
|
"\x0fDeleteEventType\x12 .state.v1.DeleteEventTypeRequest\x1a!.state.v1.DeleteEventTypeResponse\x12S\n" +
|
|
"\x0eListEventTypes\x12\x1f.state.v1.ListEventTypesRequest\x1a .state.v1.ListEventTypesResponse\x12P\n" +
|
|
"\rInsertBinding\x12\x1e.state.v1.InsertBindingRequest\x1a\x1f.state.v1.InsertBindingResponse\x12G\n" +
|
|
"\n" +
|
|
"GetBinding\x12\x1b.state.v1.GetBindingRequest\x1a\x1c.state.v1.GetBindingResponse\x12M\n" +
|
|
"\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\x12M\n" +
|
|
"\fInsertSource\x12\x1d.state.v1.InsertSourceRequest\x1a\x1e.state.v1.InsertSourceResponse\x12D\n" +
|
|
"\tGetSource\x12\x1a.state.v1.GetSourceRequest\x1a\x1b.state.v1.GetSourceResponse\x12J\n" +
|
|
"\vListSources\x12\x1c.state.v1.ListSourcesRequest\x1a\x1d.state.v1.ListSourcesResponse\x12Y\n" +
|
|
"\x10SetSourceSigning\x12!.state.v1.SetSourceSigningRequest\x1a\".state.v1.SetSourceSigningResponse\x12V\n" +
|
|
"\x0fSetSourceSecret\x12 .state.v1.SetSourceSecretRequest\x1a!.state.v1.SetSourceSecretResponse\x12k\n" +
|
|
"\x16ArmedBindingsForSource\x12'.state.v1.ArmedBindingsForSourceRequest\x1a(.state.v1.ArmedBindingsForSourceResponse\x12S\n" +
|
|
"\x0eRecordDispatch\x12\x1f.state.v1.RecordDispatchRequest\x1a .state.v1.RecordDispatchResponse\x12k\n" +
|
|
"\x16RecordPlaybookDispatch\x12'.state.v1.RecordPlaybookDispatchRequest\x1a(.state.v1.RecordPlaybookDispatchResponse\x12q\n" +
|
|
"\x18DeletePlaybookDispatches\x12).state.v1.DeletePlaybookDispatchesRequest\x1a*.state.v1.DeletePlaybookDispatchesResponse\x12y\n" +
|
|
"\x1aStreamUndispatchedCaptures\x12+.state.v1.StreamUndispatchedCapturesRequest\x1a,.state.v1.StreamUndispatchedCapturesResponse0\x01\x12_\n" +
|
|
"\x12EnqueueBindingTask\x12#.state.v1.EnqueueBindingTaskRequest\x1a$.state.v1.EnqueueBindingTaskResponse\x12V\n" +
|
|
"\x0fEnqueueCallTask\x12 .state.v1.EnqueueCallTaskRequest\x1a!.state.v1.EnqueueCallTaskResponse\x12_\n" +
|
|
"\x12WorkflowCallStatus\x12#.state.v1.WorkflowCallStatusRequest\x1a$.state.v1.WorkflowCallStatusResponse\x12M\n" +
|
|
"\fGetPrincipal\x12\x1d.state.v1.GetPrincipalRequest\x1a\x1e.state.v1.GetPrincipalResponse\x12M\n" +
|
|
"\fListPolicies\x12\x1d.state.v1.ListPoliciesRequest\x1a\x1e.state.v1.ListPoliciesResponse\x12D\n" +
|
|
"\tPutPolicy\x12\x1a.state.v1.PutPolicyRequest\x1a\x1b.state.v1.PutPolicyResponse\x12M\n" +
|
|
"\fDeletePolicy\x12\x1d.state.v1.DeletePolicyRequest\x1a\x1e.state.v1.DeletePolicyResponse\x12q\n" +
|
|
"\x18EnsureShippedOrgPolicies\x12).state.v1.EnsureShippedOrgPoliciesRequest\x1a*.state.v1.EnsureShippedOrgPoliciesResponse\x12M\n" +
|
|
"\fRecordDenial\x12\x1d.state.v1.RecordDenialRequest\x1a\x1e.state.v1.RecordDenialResponse\x12J\n" +
|
|
"\vListDenials\x12\x1c.state.v1.ListDenialsRequest\x1a\x1d.state.v1.ListDenialsResponseB\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, 217)
|
|
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
|
|
(*ResolveIdentitySubjectRequest)(nil), // 20: state.v1.ResolveIdentitySubjectRequest
|
|
(*ResolveIdentitySubjectResponse)(nil), // 21: state.v1.ResolveIdentitySubjectResponse
|
|
(*BindIdentitySubjectRequest)(nil), // 22: state.v1.BindIdentitySubjectRequest
|
|
(*BindIdentitySubjectResponse)(nil), // 23: state.v1.BindIdentitySubjectResponse
|
|
(*Task)(nil), // 24: state.v1.Task
|
|
(*Event)(nil), // 25: state.v1.Event
|
|
(*CapturedEvent)(nil), // 26: state.v1.CapturedEvent
|
|
(*EventTypeHeaderCondition)(nil), // 27: state.v1.EventTypeHeaderCondition
|
|
(*EventTypePayloadCondition)(nil), // 28: state.v1.EventTypePayloadCondition
|
|
(*EventType)(nil), // 29: state.v1.EventType
|
|
(*MappingField)(nil), // 30: state.v1.MappingField
|
|
(*Mapping)(nil), // 31: state.v1.Mapping
|
|
(*BindingMatcher)(nil), // 32: state.v1.BindingMatcher
|
|
(*Binding)(nil), // 33: state.v1.Binding
|
|
(*Source)(nil), // 34: state.v1.Source
|
|
(*WorkflowStat)(nil), // 35: state.v1.WorkflowStat
|
|
(*StageStat)(nil), // 36: state.v1.StageStat
|
|
(*DayTokens)(nil), // 37: state.v1.DayTokens
|
|
(*EnqueueIssueRequest)(nil), // 38: state.v1.EnqueueIssueRequest
|
|
(*EnqueueIssueResponse)(nil), // 39: state.v1.EnqueueIssueResponse
|
|
(*EnqueueChatTaskRequest)(nil), // 40: state.v1.EnqueueChatTaskRequest
|
|
(*EnqueueChatTaskResponse)(nil), // 41: state.v1.EnqueueChatTaskResponse
|
|
(*ClaimNextRequest)(nil), // 42: state.v1.ClaimNextRequest
|
|
(*ClaimNextResponse)(nil), // 43: state.v1.ClaimNextResponse
|
|
(*ClaimByIssueRequest)(nil), // 44: state.v1.ClaimByIssueRequest
|
|
(*ClaimByIssueResponse)(nil), // 45: state.v1.ClaimByIssueResponse
|
|
(*TransitionRequest)(nil), // 46: state.v1.TransitionRequest
|
|
(*TransitionResponse)(nil), // 47: state.v1.TransitionResponse
|
|
(*StartStepRequest)(nil), // 48: state.v1.StartStepRequest
|
|
(*StartStepResponse)(nil), // 49: state.v1.StartStepResponse
|
|
(*FinishStepRequest)(nil), // 50: state.v1.FinishStepRequest
|
|
(*FinishStepResponse)(nil), // 51: state.v1.FinishStepResponse
|
|
(*CancelExecutionRequest)(nil), // 52: state.v1.CancelExecutionRequest
|
|
(*CancelExecutionResponse)(nil), // 53: state.v1.CancelExecutionResponse
|
|
(*StepExecution)(nil), // 54: state.v1.StepExecution
|
|
(*ListStepsRequest)(nil), // 55: state.v1.ListStepsRequest
|
|
(*ListStepsResponse)(nil), // 56: state.v1.ListStepsResponse
|
|
(*HarnessSecret)(nil), // 57: state.v1.HarnessSecret
|
|
(*GetHarnessSecretRequest)(nil), // 58: state.v1.GetHarnessSecretRequest
|
|
(*GetHarnessSecretResponse)(nil), // 59: state.v1.GetHarnessSecretResponse
|
|
(*PutHarnessSecretRequest)(nil), // 60: state.v1.PutHarnessSecretRequest
|
|
(*PutHarnessSecretResponse)(nil), // 61: state.v1.PutHarnessSecretResponse
|
|
(*UpdateRequest)(nil), // 62: state.v1.UpdateRequest
|
|
(*UpdateResponse)(nil), // 63: state.v1.UpdateResponse
|
|
(*RequeueRequest)(nil), // 64: state.v1.RequeueRequest
|
|
(*RequeueResponse)(nil), // 65: state.v1.RequeueResponse
|
|
(*ParkTaskRequest)(nil), // 66: state.v1.ParkTaskRequest
|
|
(*ParkTaskResponse)(nil), // 67: state.v1.ParkTaskResponse
|
|
(*RecoverStaleRequest)(nil), // 68: state.v1.RecoverStaleRequest
|
|
(*RecoverStaleResponse)(nil), // 69: state.v1.RecoverStaleResponse
|
|
(*ArchiveTaskRequest)(nil), // 70: state.v1.ArchiveTaskRequest
|
|
(*ArchiveTaskResponse)(nil), // 71: state.v1.ArchiveTaskResponse
|
|
(*RetryTaskRequest)(nil), // 72: state.v1.RetryTaskRequest
|
|
(*RetryTaskResponse)(nil), // 73: state.v1.RetryTaskResponse
|
|
(*BeginRemediationRequest)(nil), // 74: state.v1.BeginRemediationRequest
|
|
(*BeginRemediationResponse)(nil), // 75: state.v1.BeginRemediationResponse
|
|
(*UpdateReviewPayloadRequest)(nil), // 76: state.v1.UpdateReviewPayloadRequest
|
|
(*UpdateReviewPayloadResponse)(nil), // 77: state.v1.UpdateReviewPayloadResponse
|
|
(*SetReviewCursorsRequest)(nil), // 78: state.v1.SetReviewCursorsRequest
|
|
(*SetReviewCursorsResponse)(nil), // 79: state.v1.SetReviewCursorsResponse
|
|
(*TaskByIssueRequest)(nil), // 80: state.v1.TaskByIssueRequest
|
|
(*TaskByIssueResponse)(nil), // 81: state.v1.TaskByIssueResponse
|
|
(*OpenTaskByPRRequest)(nil), // 82: state.v1.OpenTaskByPRRequest
|
|
(*OpenTaskByPRResponse)(nil), // 83: state.v1.OpenTaskByPRResponse
|
|
(*TaskByIDRequest)(nil), // 84: state.v1.TaskByIDRequest
|
|
(*TaskByIDResponse)(nil), // 85: state.v1.TaskByIDResponse
|
|
(*OpenPRsRequest)(nil), // 86: state.v1.OpenPRsRequest
|
|
(*OpenPRsResponse)(nil), // 87: state.v1.OpenPRsResponse
|
|
(*ClearTerminalTasksRequest)(nil), // 88: state.v1.ClearTerminalTasksRequest
|
|
(*ClearTerminalTasksResponse)(nil), // 89: state.v1.ClearTerminalTasksResponse
|
|
(*TasksRequest)(nil), // 90: state.v1.TasksRequest
|
|
(*TasksResponse)(nil), // 91: state.v1.TasksResponse
|
|
(*StatusCountsRequest)(nil), // 92: state.v1.StatusCountsRequest
|
|
(*StatusCountsResponse)(nil), // 93: state.v1.StatusCountsResponse
|
|
(*InsertEventRequest)(nil), // 94: state.v1.InsertEventRequest
|
|
(*InsertEventResponse)(nil), // 95: state.v1.InsertEventResponse
|
|
(*EventsSinceRequest)(nil), // 96: state.v1.EventsSinceRequest
|
|
(*EventsSinceResponse)(nil), // 97: state.v1.EventsSinceResponse
|
|
(*TaskEventsRequest)(nil), // 98: state.v1.TaskEventsRequest
|
|
(*TaskEventsResponse)(nil), // 99: state.v1.TaskEventsResponse
|
|
(*WorkflowStatsRequest)(nil), // 100: state.v1.WorkflowStatsRequest
|
|
(*WorkflowStatsResponse)(nil), // 101: state.v1.WorkflowStatsResponse
|
|
(*StageStatsRequest)(nil), // 102: state.v1.StageStatsRequest
|
|
(*StageStatsResponse)(nil), // 103: state.v1.StageStatsResponse
|
|
(*TokensByDayRequest)(nil), // 104: state.v1.TokensByDayRequest
|
|
(*TokensByDayResponse)(nil), // 105: state.v1.TokensByDayResponse
|
|
(*ConfigSnapshot)(nil), // 106: state.v1.ConfigSnapshot
|
|
(*PutConfigSnapshotRequest)(nil), // 107: state.v1.PutConfigSnapshotRequest
|
|
(*PutConfigSnapshotResponse)(nil), // 108: state.v1.PutConfigSnapshotResponse
|
|
(*GetConfigSnapshotRequest)(nil), // 109: state.v1.GetConfigSnapshotRequest
|
|
(*GetConfigSnapshotResponse)(nil), // 110: state.v1.GetConfigSnapshotResponse
|
|
(*ChannelStatus)(nil), // 111: state.v1.ChannelStatus
|
|
(*PutChannelStatusRequest)(nil), // 112: state.v1.PutChannelStatusRequest
|
|
(*PutChannelStatusResponse)(nil), // 113: state.v1.PutChannelStatusResponse
|
|
(*ListChannelStatusRequest)(nil), // 114: state.v1.ListChannelStatusRequest
|
|
(*ListChannelStatusResponse)(nil), // 115: state.v1.ListChannelStatusResponse
|
|
(*ApplyStatus)(nil), // 116: state.v1.ApplyStatus
|
|
(*PutApplyStatusRequest)(nil), // 117: state.v1.PutApplyStatusRequest
|
|
(*PutApplyStatusResponse)(nil), // 118: state.v1.PutApplyStatusResponse
|
|
(*ListApplyStatusRequest)(nil), // 119: state.v1.ListApplyStatusRequest
|
|
(*ListApplyStatusResponse)(nil), // 120: state.v1.ListApplyStatusResponse
|
|
(*TaskLogEntry)(nil), // 121: state.v1.TaskLogEntry
|
|
(*ReadTaskLogRequest)(nil), // 122: state.v1.ReadTaskLogRequest
|
|
(*ReadTaskLogResponse)(nil), // 123: state.v1.ReadTaskLogResponse
|
|
(*StreamTaskLogContentRequest)(nil), // 124: state.v1.StreamTaskLogContentRequest
|
|
(*StreamTaskLogContentResponse)(nil), // 125: state.v1.StreamTaskLogContentResponse
|
|
(*InsertCaptureRequest)(nil), // 126: state.v1.InsertCaptureRequest
|
|
(*InsertCaptureResponse)(nil), // 127: state.v1.InsertCaptureResponse
|
|
(*StreamCapturesRequest)(nil), // 128: state.v1.StreamCapturesRequest
|
|
(*StreamCapturesResponse)(nil), // 129: state.v1.StreamCapturesResponse
|
|
(*InsertMappingRequest)(nil), // 130: state.v1.InsertMappingRequest
|
|
(*InsertMappingResponse)(nil), // 131: state.v1.InsertMappingResponse
|
|
(*GetMappingRequest)(nil), // 132: state.v1.GetMappingRequest
|
|
(*GetMappingResponse)(nil), // 133: state.v1.GetMappingResponse
|
|
(*ListMappingsRequest)(nil), // 134: state.v1.ListMappingsRequest
|
|
(*ListMappingsResponse)(nil), // 135: state.v1.ListMappingsResponse
|
|
(*UpdateMappingRequest)(nil), // 136: state.v1.UpdateMappingRequest
|
|
(*UpdateMappingResponse)(nil), // 137: state.v1.UpdateMappingResponse
|
|
(*DeleteMappingRequest)(nil), // 138: state.v1.DeleteMappingRequest
|
|
(*DeleteMappingResponse)(nil), // 139: state.v1.DeleteMappingResponse
|
|
(*RecordMappingMatchRequest)(nil), // 140: state.v1.RecordMappingMatchRequest
|
|
(*RecordMappingMatchResponse)(nil), // 141: state.v1.RecordMappingMatchResponse
|
|
(*InsertEventTypeRequest)(nil), // 142: state.v1.InsertEventTypeRequest
|
|
(*InsertEventTypeResponse)(nil), // 143: state.v1.InsertEventTypeResponse
|
|
(*UpdateEventTypeRequest)(nil), // 144: state.v1.UpdateEventTypeRequest
|
|
(*UpdateEventTypeResponse)(nil), // 145: state.v1.UpdateEventTypeResponse
|
|
(*DeleteEventTypeRequest)(nil), // 146: state.v1.DeleteEventTypeRequest
|
|
(*DeleteEventTypeResponse)(nil), // 147: state.v1.DeleteEventTypeResponse
|
|
(*ListEventTypesRequest)(nil), // 148: state.v1.ListEventTypesRequest
|
|
(*ListEventTypesResponse)(nil), // 149: state.v1.ListEventTypesResponse
|
|
(*InsertBindingRequest)(nil), // 150: state.v1.InsertBindingRequest
|
|
(*InsertBindingResponse)(nil), // 151: state.v1.InsertBindingResponse
|
|
(*GetBindingRequest)(nil), // 152: state.v1.GetBindingRequest
|
|
(*GetBindingResponse)(nil), // 153: state.v1.GetBindingResponse
|
|
(*ListBindingsRequest)(nil), // 154: state.v1.ListBindingsRequest
|
|
(*ListBindingsResponse)(nil), // 155: state.v1.ListBindingsResponse
|
|
(*UpdateBindingRequest)(nil), // 156: state.v1.UpdateBindingRequest
|
|
(*UpdateBindingResponse)(nil), // 157: state.v1.UpdateBindingResponse
|
|
(*DeleteBindingRequest)(nil), // 158: state.v1.DeleteBindingRequest
|
|
(*DeleteBindingResponse)(nil), // 159: state.v1.DeleteBindingResponse
|
|
(*ApproveBindingRequest)(nil), // 160: state.v1.ApproveBindingRequest
|
|
(*ApproveBindingResponse)(nil), // 161: state.v1.ApproveBindingResponse
|
|
(*InsertSourceRequest)(nil), // 162: state.v1.InsertSourceRequest
|
|
(*InsertSourceResponse)(nil), // 163: state.v1.InsertSourceResponse
|
|
(*GetSourceRequest)(nil), // 164: state.v1.GetSourceRequest
|
|
(*GetSourceResponse)(nil), // 165: state.v1.GetSourceResponse
|
|
(*ListSourcesRequest)(nil), // 166: state.v1.ListSourcesRequest
|
|
(*ListSourcesResponse)(nil), // 167: state.v1.ListSourcesResponse
|
|
(*SetSourceSigningRequest)(nil), // 168: state.v1.SetSourceSigningRequest
|
|
(*SetSourceSigningResponse)(nil), // 169: state.v1.SetSourceSigningResponse
|
|
(*SetSourceSecretRequest)(nil), // 170: state.v1.SetSourceSecretRequest
|
|
(*SetSourceSecretResponse)(nil), // 171: state.v1.SetSourceSecretResponse
|
|
(*ArmedBindingsForSourceRequest)(nil), // 172: state.v1.ArmedBindingsForSourceRequest
|
|
(*ArmedBindingsForSourceResponse)(nil), // 173: state.v1.ArmedBindingsForSourceResponse
|
|
(*RecordDispatchRequest)(nil), // 174: state.v1.RecordDispatchRequest
|
|
(*RecordDispatchResponse)(nil), // 175: state.v1.RecordDispatchResponse
|
|
(*RecordPlaybookDispatchRequest)(nil), // 176: state.v1.RecordPlaybookDispatchRequest
|
|
(*RecordPlaybookDispatchResponse)(nil), // 177: state.v1.RecordPlaybookDispatchResponse
|
|
(*DeletePlaybookDispatchesRequest)(nil), // 178: state.v1.DeletePlaybookDispatchesRequest
|
|
(*DeletePlaybookDispatchesResponse)(nil), // 179: state.v1.DeletePlaybookDispatchesResponse
|
|
(*StreamUndispatchedCapturesRequest)(nil), // 180: state.v1.StreamUndispatchedCapturesRequest
|
|
(*StreamUndispatchedCapturesResponse)(nil), // 181: state.v1.StreamUndispatchedCapturesResponse
|
|
(*EnqueueBindingTaskRequest)(nil), // 182: state.v1.EnqueueBindingTaskRequest
|
|
(*EnqueueBindingTaskResponse)(nil), // 183: state.v1.EnqueueBindingTaskResponse
|
|
(*EnqueueCallTaskRequest)(nil), // 184: state.v1.EnqueueCallTaskRequest
|
|
(*EnqueueCallTaskResponse)(nil), // 185: state.v1.EnqueueCallTaskResponse
|
|
(*WorkflowCallStatusRequest)(nil), // 186: state.v1.WorkflowCallStatusRequest
|
|
(*WorkflowCallStatusResponse)(nil), // 187: state.v1.WorkflowCallStatusResponse
|
|
(*InstalledPackage)(nil), // 188: state.v1.InstalledPackage
|
|
(*InstallPackageRequest)(nil), // 189: state.v1.InstallPackageRequest
|
|
(*InstallPackageResponse)(nil), // 190: state.v1.InstallPackageResponse
|
|
(*GetInstalledPackageRequest)(nil), // 191: state.v1.GetInstalledPackageRequest
|
|
(*GetInstalledPackageResponse)(nil), // 192: state.v1.GetInstalledPackageResponse
|
|
(*ListInstalledPackagesRequest)(nil), // 193: state.v1.ListInstalledPackagesRequest
|
|
(*ListInstalledPackagesResponse)(nil), // 194: state.v1.ListInstalledPackagesResponse
|
|
(*RemoveInstalledPackageRequest)(nil), // 195: state.v1.RemoveInstalledPackageRequest
|
|
(*RemoveInstalledPackageResponse)(nil), // 196: state.v1.RemoveInstalledPackageResponse
|
|
(*GetPrincipalRequest)(nil), // 197: state.v1.GetPrincipalRequest
|
|
(*PrincipalMembership)(nil), // 198: state.v1.PrincipalMembership
|
|
(*AccessPrincipal)(nil), // 199: state.v1.AccessPrincipal
|
|
(*GetPrincipalResponse)(nil), // 200: state.v1.GetPrincipalResponse
|
|
(*AccessPolicy)(nil), // 201: state.v1.AccessPolicy
|
|
(*ListPoliciesRequest)(nil), // 202: state.v1.ListPoliciesRequest
|
|
(*ListPoliciesResponse)(nil), // 203: state.v1.ListPoliciesResponse
|
|
(*PutPolicyRequest)(nil), // 204: state.v1.PutPolicyRequest
|
|
(*PutPolicyResponse)(nil), // 205: state.v1.PutPolicyResponse
|
|
(*DeletePolicyRequest)(nil), // 206: state.v1.DeletePolicyRequest
|
|
(*DeletePolicyResponse)(nil), // 207: state.v1.DeletePolicyResponse
|
|
(*EnsureShippedOrgPoliciesRequest)(nil), // 208: state.v1.EnsureShippedOrgPoliciesRequest
|
|
(*EnsureShippedOrgPoliciesResponse)(nil), // 209: state.v1.EnsureShippedOrgPoliciesResponse
|
|
(*AccessDenial)(nil), // 210: state.v1.AccessDenial
|
|
(*RecordDenialRequest)(nil), // 211: state.v1.RecordDenialRequest
|
|
(*RecordDenialResponse)(nil), // 212: state.v1.RecordDenialResponse
|
|
(*ListDenialsRequest)(nil), // 213: state.v1.ListDenialsRequest
|
|
(*ListDenialsResponse)(nil), // 214: state.v1.ListDenialsResponse
|
|
nil, // 215: state.v1.EventType.SchemaEntry
|
|
nil, // 216: state.v1.StatusCountsResponse.CountsEntry
|
|
(*timestamppb.Timestamp)(nil), // 217: google.protobuf.Timestamp
|
|
}
|
|
var file_state_v1_state_proto_depIdxs = []int32{
|
|
217, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp
|
|
217, // 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
|
|
4, // 14: state.v1.ResolveIdentitySubjectResponse.identity:type_name -> state.v1.Identity
|
|
5, // 15: state.v1.BindIdentitySubjectRequest.audit:type_name -> state.v1.IdentityAudit
|
|
4, // 16: state.v1.BindIdentitySubjectResponse.identity:type_name -> state.v1.Identity
|
|
217, // 17: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp
|
|
217, // 18: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp
|
|
217, // 19: state.v1.Event.at:type_name -> google.protobuf.Timestamp
|
|
217, // 20: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp
|
|
27, // 21: state.v1.EventType.header_conditions:type_name -> state.v1.EventTypeHeaderCondition
|
|
28, // 22: state.v1.EventType.payload_conditions:type_name -> state.v1.EventTypePayloadCondition
|
|
215, // 23: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry
|
|
217, // 24: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp
|
|
217, // 25: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp
|
|
30, // 26: state.v1.Mapping.fields:type_name -> state.v1.MappingField
|
|
217, // 27: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp
|
|
217, // 28: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp
|
|
217, // 29: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp
|
|
32, // 30: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher
|
|
217, // 31: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp
|
|
217, // 32: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp
|
|
217, // 33: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp
|
|
217, // 34: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp
|
|
24, // 35: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task
|
|
24, // 36: state.v1.ClaimNextResponse.task:type_name -> state.v1.Task
|
|
24, // 37: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task
|
|
25, // 38: state.v1.StartStepResponse.event:type_name -> state.v1.Event
|
|
25, // 39: state.v1.FinishStepResponse.event:type_name -> state.v1.Event
|
|
217, // 40: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp
|
|
217, // 41: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp
|
|
54, // 42: state.v1.ListStepsResponse.steps:type_name -> state.v1.StepExecution
|
|
217, // 43: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp
|
|
217, // 44: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp
|
|
57, // 45: state.v1.GetHarnessSecretResponse.secret:type_name -> state.v1.HarnessSecret
|
|
57, // 46: state.v1.PutHarnessSecretRequest.secret:type_name -> state.v1.HarnessSecret
|
|
24, // 47: state.v1.UpdateRequest.task:type_name -> state.v1.Task
|
|
25, // 48: state.v1.ArchiveTaskRequest.audit:type_name -> state.v1.Event
|
|
24, // 49: state.v1.TaskByIssueResponse.task:type_name -> state.v1.Task
|
|
24, // 50: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task
|
|
24, // 51: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task
|
|
24, // 52: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task
|
|
24, // 53: state.v1.TasksResponse.tasks:type_name -> state.v1.Task
|
|
216, // 54: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry
|
|
25, // 55: state.v1.InsertEventRequest.event:type_name -> state.v1.Event
|
|
25, // 56: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event
|
|
25, // 57: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event
|
|
35, // 58: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat
|
|
36, // 59: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat
|
|
37, // 60: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens
|
|
217, // 61: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp
|
|
106, // 62: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot
|
|
106, // 63: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot
|
|
217, // 64: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp
|
|
111, // 65: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus
|
|
111, // 66: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus
|
|
217, // 67: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp
|
|
116, // 68: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus
|
|
116, // 69: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus
|
|
217, // 70: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp
|
|
217, // 71: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp
|
|
217, // 72: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp
|
|
121, // 73: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry
|
|
26, // 74: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent
|
|
26, // 75: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent
|
|
31, // 76: state.v1.InsertMappingRequest.mapping:type_name -> state.v1.Mapping
|
|
31, // 77: state.v1.GetMappingResponse.mapping:type_name -> state.v1.Mapping
|
|
31, // 78: state.v1.ListMappingsResponse.mappings:type_name -> state.v1.Mapping
|
|
31, // 79: state.v1.UpdateMappingRequest.mapping:type_name -> state.v1.Mapping
|
|
29, // 80: state.v1.InsertEventTypeRequest.event_type:type_name -> state.v1.EventType
|
|
29, // 81: state.v1.UpdateEventTypeRequest.event_type:type_name -> state.v1.EventType
|
|
29, // 82: state.v1.ListEventTypesResponse.event_types:type_name -> state.v1.EventType
|
|
33, // 83: state.v1.InsertBindingRequest.binding:type_name -> state.v1.Binding
|
|
33, // 84: state.v1.GetBindingResponse.binding:type_name -> state.v1.Binding
|
|
33, // 85: state.v1.ListBindingsResponse.bindings:type_name -> state.v1.Binding
|
|
33, // 86: state.v1.UpdateBindingRequest.binding:type_name -> state.v1.Binding
|
|
34, // 87: state.v1.InsertSourceRequest.source:type_name -> state.v1.Source
|
|
34, // 88: state.v1.GetSourceResponse.source:type_name -> state.v1.Source
|
|
34, // 89: state.v1.ListSourcesResponse.sources:type_name -> state.v1.Source
|
|
33, // 90: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding
|
|
26, // 91: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent
|
|
24, // 92: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task
|
|
24, // 93: state.v1.EnqueueCallTaskResponse.task:type_name -> state.v1.Task
|
|
188, // 94: state.v1.InstallPackageResponse.package:type_name -> state.v1.InstalledPackage
|
|
188, // 95: state.v1.GetInstalledPackageResponse.package:type_name -> state.v1.InstalledPackage
|
|
188, // 96: state.v1.ListInstalledPackagesResponse.packages:type_name -> state.v1.InstalledPackage
|
|
198, // 97: state.v1.AccessPrincipal.memberships:type_name -> state.v1.PrincipalMembership
|
|
199, // 98: state.v1.GetPrincipalResponse.principal:type_name -> state.v1.AccessPrincipal
|
|
201, // 99: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy
|
|
201, // 100: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy
|
|
201, // 101: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy
|
|
217, // 102: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp
|
|
210, // 103: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial
|
|
210, // 104: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial
|
|
189, // 105: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest
|
|
191, // 106: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest
|
|
193, // 107: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest
|
|
195, // 108: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest
|
|
0, // 109: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest
|
|
2, // 110: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest
|
|
6, // 111: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest
|
|
8, // 112: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest
|
|
10, // 113: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest
|
|
11, // 114: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest
|
|
12, // 115: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest
|
|
13, // 116: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest
|
|
14, // 117: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest
|
|
20, // 118: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest
|
|
22, // 119: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest
|
|
38, // 120: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest
|
|
40, // 121: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest
|
|
42, // 122: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest
|
|
44, // 123: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest
|
|
46, // 124: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest
|
|
62, // 125: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest
|
|
48, // 126: state.v1.StateStoreService.StartStep:input_type -> state.v1.StartStepRequest
|
|
50, // 127: state.v1.StateStoreService.FinishStep:input_type -> state.v1.FinishStepRequest
|
|
52, // 128: state.v1.StateStoreService.CancelExecution:input_type -> state.v1.CancelExecutionRequest
|
|
55, // 129: state.v1.StateStoreService.ListSteps:input_type -> state.v1.ListStepsRequest
|
|
58, // 130: state.v1.StateStoreService.GetHarnessSecret:input_type -> state.v1.GetHarnessSecretRequest
|
|
60, // 131: state.v1.StateStoreService.PutHarnessSecret:input_type -> state.v1.PutHarnessSecretRequest
|
|
64, // 132: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest
|
|
66, // 133: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest
|
|
68, // 134: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest
|
|
70, // 135: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest
|
|
72, // 136: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest
|
|
74, // 137: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest
|
|
76, // 138: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest
|
|
78, // 139: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest
|
|
80, // 140: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest
|
|
82, // 141: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest
|
|
84, // 142: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest
|
|
86, // 143: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest
|
|
88, // 144: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest
|
|
90, // 145: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest
|
|
92, // 146: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest
|
|
94, // 147: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest
|
|
96, // 148: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest
|
|
98, // 149: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest
|
|
100, // 150: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest
|
|
102, // 151: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest
|
|
104, // 152: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest
|
|
107, // 153: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest
|
|
109, // 154: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest
|
|
112, // 155: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest
|
|
114, // 156: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest
|
|
117, // 157: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest
|
|
119, // 158: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest
|
|
122, // 159: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest
|
|
124, // 160: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest
|
|
126, // 161: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest
|
|
128, // 162: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest
|
|
130, // 163: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest
|
|
132, // 164: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest
|
|
134, // 165: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest
|
|
136, // 166: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest
|
|
138, // 167: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest
|
|
140, // 168: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest
|
|
142, // 169: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest
|
|
144, // 170: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest
|
|
146, // 171: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest
|
|
148, // 172: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest
|
|
150, // 173: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest
|
|
152, // 174: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest
|
|
154, // 175: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest
|
|
156, // 176: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest
|
|
158, // 177: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest
|
|
160, // 178: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest
|
|
162, // 179: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest
|
|
164, // 180: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest
|
|
166, // 181: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest
|
|
168, // 182: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest
|
|
170, // 183: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest
|
|
172, // 184: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest
|
|
174, // 185: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest
|
|
176, // 186: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest
|
|
178, // 187: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest
|
|
180, // 188: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest
|
|
182, // 189: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest
|
|
184, // 190: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest
|
|
186, // 191: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest
|
|
197, // 192: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest
|
|
202, // 193: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest
|
|
204, // 194: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest
|
|
206, // 195: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest
|
|
208, // 196: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest
|
|
211, // 197: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest
|
|
213, // 198: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest
|
|
190, // 199: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse
|
|
192, // 200: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse
|
|
194, // 201: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse
|
|
196, // 202: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse
|
|
1, // 203: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse
|
|
3, // 204: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse
|
|
7, // 205: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse
|
|
9, // 206: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse
|
|
15, // 207: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse
|
|
16, // 208: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse
|
|
17, // 209: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse
|
|
18, // 210: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse
|
|
19, // 211: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse
|
|
21, // 212: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse
|
|
23, // 213: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse
|
|
39, // 214: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse
|
|
41, // 215: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse
|
|
43, // 216: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse
|
|
45, // 217: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse
|
|
47, // 218: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse
|
|
63, // 219: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse
|
|
49, // 220: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse
|
|
51, // 221: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse
|
|
53, // 222: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse
|
|
56, // 223: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse
|
|
59, // 224: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse
|
|
61, // 225: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse
|
|
65, // 226: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse
|
|
67, // 227: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse
|
|
69, // 228: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse
|
|
71, // 229: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse
|
|
73, // 230: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse
|
|
75, // 231: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse
|
|
77, // 232: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse
|
|
79, // 233: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse
|
|
81, // 234: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse
|
|
83, // 235: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse
|
|
85, // 236: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse
|
|
87, // 237: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse
|
|
89, // 238: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse
|
|
91, // 239: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse
|
|
93, // 240: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse
|
|
95, // 241: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse
|
|
97, // 242: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse
|
|
99, // 243: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse
|
|
101, // 244: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse
|
|
103, // 245: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse
|
|
105, // 246: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse
|
|
108, // 247: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse
|
|
110, // 248: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse
|
|
113, // 249: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse
|
|
115, // 250: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse
|
|
118, // 251: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse
|
|
120, // 252: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse
|
|
123, // 253: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse
|
|
125, // 254: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse
|
|
127, // 255: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse
|
|
129, // 256: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse
|
|
131, // 257: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse
|
|
133, // 258: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse
|
|
135, // 259: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse
|
|
137, // 260: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse
|
|
139, // 261: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse
|
|
141, // 262: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse
|
|
143, // 263: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse
|
|
145, // 264: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse
|
|
147, // 265: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse
|
|
149, // 266: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse
|
|
151, // 267: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse
|
|
153, // 268: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse
|
|
155, // 269: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse
|
|
157, // 270: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse
|
|
159, // 271: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse
|
|
161, // 272: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse
|
|
163, // 273: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse
|
|
165, // 274: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse
|
|
167, // 275: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse
|
|
169, // 276: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse
|
|
171, // 277: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse
|
|
173, // 278: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse
|
|
175, // 279: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse
|
|
177, // 280: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse
|
|
179, // 281: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse
|
|
181, // 282: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse
|
|
183, // 283: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse
|
|
185, // 284: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse
|
|
187, // 285: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse
|
|
200, // 286: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse
|
|
203, // 287: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse
|
|
205, // 288: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse
|
|
207, // 289: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse
|
|
209, // 290: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse
|
|
212, // 291: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse
|
|
214, // 292: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse
|
|
199, // [199:293] is the sub-list for method output_type
|
|
105, // [105:199] is the sub-list for method input_type
|
|
105, // [105:105] is the sub-list for extension type_name
|
|
105, // [105:105] is the sub-list for extension extendee
|
|
0, // [0:105] 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: 217,
|
|
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
|
|
}
|