Files
archie/internal/contracts/state/v1/dispatch.pb.go
T
sam a971947c39 refactor(state)!: split StateStoreService into per-domain services
One gRPC service per domain in state.v1 (tasks, executions, accounts, identities, packages, captures, bindings, access, orgs, alerts and so on), each with its own server type in staterpc. RPC and message names and numbers are unchanged.
2026-10-25 19:54:27 +11:00

825 lines
27 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: state/v1/dispatch.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 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"`
// reason is empty for a dispatch and names why an evaluated capture
// started no task.
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RecordDispatchRequest) Reset() {
*x = RecordDispatchRequest{}
mi := &file_state_v1_dispatch_proto_msgTypes[0]
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_dispatch_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 RecordDispatchRequest.ProtoReflect.Descriptor instead.
func (*RecordDispatchRequest) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{0}
}
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
}
func (x *RecordDispatchRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
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_dispatch_proto_msgTypes[1]
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_dispatch_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 RecordDispatchResponse.ProtoReflect.Descriptor instead.
func (*RecordDispatchResponse) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{1}
}
// ListDispatchesRequest filters the binding dispatch ledger; empty fields
// match any row.
type ListDispatchesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
BindingId string `protobuf:"bytes,1,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
CaptureId string `protobuf:"bytes,2,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
TaskId int64 `protobuf:"varint,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListDispatchesRequest) Reset() {
*x = ListDispatchesRequest{}
mi := &file_state_v1_dispatch_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListDispatchesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDispatchesRequest) ProtoMessage() {}
func (x *ListDispatchesRequest) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_dispatch_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 ListDispatchesRequest.ProtoReflect.Descriptor instead.
func (*ListDispatchesRequest) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{2}
}
func (x *ListDispatchesRequest) GetBindingId() string {
if x != nil {
return x.BindingId
}
return ""
}
func (x *ListDispatchesRequest) GetCaptureId() string {
if x != nil {
return x.CaptureId
}
return ""
}
func (x *ListDispatchesRequest) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *ListDispatchesRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type Dispatch 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"`
TaskId int64 `protobuf:"varint,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
DispatchedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=dispatched_at,json=dispatchedAt,proto3" json:"dispatched_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Dispatch) Reset() {
*x = Dispatch{}
mi := &file_state_v1_dispatch_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Dispatch) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Dispatch) ProtoMessage() {}
func (x *Dispatch) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_dispatch_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 Dispatch.ProtoReflect.Descriptor instead.
func (*Dispatch) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{3}
}
func (x *Dispatch) GetBindingId() string {
if x != nil {
return x.BindingId
}
return ""
}
func (x *Dispatch) GetBindingVersion() int64 {
if x != nil {
return x.BindingVersion
}
return 0
}
func (x *Dispatch) GetCaptureId() string {
if x != nil {
return x.CaptureId
}
return ""
}
func (x *Dispatch) GetTaskId() int64 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *Dispatch) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *Dispatch) GetDispatchedAt() *timestamppb.Timestamp {
if x != nil {
return x.DispatchedAt
}
return nil
}
type ListDispatchesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Dispatches []*Dispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListDispatchesResponse) Reset() {
*x = ListDispatchesResponse{}
mi := &file_state_v1_dispatch_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListDispatchesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDispatchesResponse) ProtoMessage() {}
func (x *ListDispatchesResponse) ProtoReflect() protoreflect.Message {
mi := &file_state_v1_dispatch_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 ListDispatchesResponse.ProtoReflect.Descriptor instead.
func (*ListDispatchesResponse) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{4}
}
func (x *ListDispatchesResponse) GetDispatches() []*Dispatch {
if x != nil {
return x.Dispatches
}
return nil
}
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_dispatch_proto_msgTypes[5]
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_dispatch_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 RecordPlaybookDispatchRequest.ProtoReflect.Descriptor instead.
func (*RecordPlaybookDispatchRequest) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{5}
}
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_dispatch_proto_msgTypes[6]
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_dispatch_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 RecordPlaybookDispatchResponse.ProtoReflect.Descriptor instead.
func (*RecordPlaybookDispatchResponse) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{6}
}
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_dispatch_proto_msgTypes[7]
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_dispatch_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 DeletePlaybookDispatchesRequest.ProtoReflect.Descriptor instead.
func (*DeletePlaybookDispatchesRequest) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{7}
}
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_dispatch_proto_msgTypes[8]
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_dispatch_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 DeletePlaybookDispatchesResponse.ProtoReflect.Descriptor instead.
func (*DeletePlaybookDispatchesResponse) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{8}
}
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"`
CaptureId string `protobuf:"bytes,10,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnqueueBindingTaskRequest) Reset() {
*x = EnqueueBindingTaskRequest{}
mi := &file_state_v1_dispatch_proto_msgTypes[9]
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_dispatch_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 EnqueueBindingTaskRequest.ProtoReflect.Descriptor instead.
func (*EnqueueBindingTaskRequest) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{9}
}
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 ""
}
func (x *EnqueueBindingTaskRequest) GetCaptureId() string {
if x != nil {
return x.CaptureId
}
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_dispatch_proto_msgTypes[10]
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_dispatch_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 EnqueueBindingTaskResponse.ProtoReflect.Descriptor instead.
func (*EnqueueBindingTaskResponse) Descriptor() ([]byte, []int) {
return file_state_v1_dispatch_proto_rawDescGZIP(), []int{10}
}
func (x *EnqueueBindingTaskResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
var File_state_v1_dispatch_proto protoreflect.FileDescriptor
const file_state_v1_dispatch_proto_rawDesc = "" +
"\n" +
"\x17state/v1/dispatch.proto\x12\bstate.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14state/v1/types.proto\"\xaf\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\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\"\x18\n" +
"\x16RecordDispatchResponse\"\x84\x01\n" +
"\x15ListDispatchesRequest\x12\x1d\n" +
"\n" +
"binding_id\x18\x01 \x01(\tR\tbindingId\x12\x1d\n" +
"\n" +
"capture_id\x18\x02 \x01(\tR\tcaptureId\x12\x17\n" +
"\atask_id\x18\x03 \x01(\x03R\x06taskId\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"\xe3\x01\n" +
"\bDispatch\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\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\x12?\n" +
"\rdispatched_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\fdispatchedAt\"L\n" +
"\x16ListDispatchesResponse\x122\n" +
"\n" +
"dispatches\x18\x01 \x03(\v2\x12.state.v1.DispatchR\n" +
"dispatches\"\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\"\xaf\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\x12\x1d\n" +
"\n" +
"capture_id\x18\n" +
" \x01(\tR\tcaptureId\"@\n" +
"\x1aEnqueueBindingTaskResponse\x12\"\n" +
"\x04task\x18\x01 \x01(\v2\x0e.state.v1.TaskR\x04task2\xfc\x03\n" +
"\x0fDispatchService\x12S\n" +
"\x0eListDispatches\x12\x1f.state.v1.ListDispatchesRequest\x1a .state.v1.ListDispatchesResponse\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\x12_\n" +
"\x12EnqueueBindingTask\x12#.state.v1.EnqueueBindingTaskRequest\x1a$.state.v1.EnqueueBindingTaskResponseB\xa7\x01\n" +
"\fcom.state.v1B\rDispatchProtoP\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_dispatch_proto_rawDescOnce sync.Once
file_state_v1_dispatch_proto_rawDescData []byte
)
func file_state_v1_dispatch_proto_rawDescGZIP() []byte {
file_state_v1_dispatch_proto_rawDescOnce.Do(func() {
file_state_v1_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_state_v1_dispatch_proto_rawDesc), len(file_state_v1_dispatch_proto_rawDesc)))
})
return file_state_v1_dispatch_proto_rawDescData
}
var file_state_v1_dispatch_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_state_v1_dispatch_proto_goTypes = []any{
(*RecordDispatchRequest)(nil), // 0: state.v1.RecordDispatchRequest
(*RecordDispatchResponse)(nil), // 1: state.v1.RecordDispatchResponse
(*ListDispatchesRequest)(nil), // 2: state.v1.ListDispatchesRequest
(*Dispatch)(nil), // 3: state.v1.Dispatch
(*ListDispatchesResponse)(nil), // 4: state.v1.ListDispatchesResponse
(*RecordPlaybookDispatchRequest)(nil), // 5: state.v1.RecordPlaybookDispatchRequest
(*RecordPlaybookDispatchResponse)(nil), // 6: state.v1.RecordPlaybookDispatchResponse
(*DeletePlaybookDispatchesRequest)(nil), // 7: state.v1.DeletePlaybookDispatchesRequest
(*DeletePlaybookDispatchesResponse)(nil), // 8: state.v1.DeletePlaybookDispatchesResponse
(*EnqueueBindingTaskRequest)(nil), // 9: state.v1.EnqueueBindingTaskRequest
(*EnqueueBindingTaskResponse)(nil), // 10: state.v1.EnqueueBindingTaskResponse
(*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
(*Task)(nil), // 12: state.v1.Task
}
var file_state_v1_dispatch_proto_depIdxs = []int32{
11, // 0: state.v1.Dispatch.dispatched_at:type_name -> google.protobuf.Timestamp
3, // 1: state.v1.ListDispatchesResponse.dispatches:type_name -> state.v1.Dispatch
12, // 2: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task
2, // 3: state.v1.DispatchService.ListDispatches:input_type -> state.v1.ListDispatchesRequest
0, // 4: state.v1.DispatchService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest
5, // 5: state.v1.DispatchService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest
7, // 6: state.v1.DispatchService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest
9, // 7: state.v1.DispatchService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest
4, // 8: state.v1.DispatchService.ListDispatches:output_type -> state.v1.ListDispatchesResponse
1, // 9: state.v1.DispatchService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse
6, // 10: state.v1.DispatchService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse
8, // 11: state.v1.DispatchService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse
10, // 12: state.v1.DispatchService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse
8, // [8:13] is the sub-list for method output_type
3, // [3:8] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_state_v1_dispatch_proto_init() }
func file_state_v1_dispatch_proto_init() {
if File_state_v1_dispatch_proto != nil {
return
}
file_state_v1_types_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_dispatch_proto_rawDesc), len(file_state_v1_dispatch_proto_rawDesc)),
NumEnums: 0,
NumMessages: 11,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_state_v1_dispatch_proto_goTypes,
DependencyIndexes: file_state_v1_dispatch_proto_depIdxs,
MessageInfos: file_state_v1_dispatch_proto_msgTypes,
}.Build()
File_state_v1_dispatch_proto = out.File
file_state_v1_dispatch_proto_goTypes = nil
file_state_v1_dispatch_proto_depIdxs = nil
}