670 lines
22 KiB
Go
670 lines
22 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.34.2
|
||
|
// protoc v5.28.2
|
||
|
// source: workflow.proto
|
||
|
|
||
|
package proto
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
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 GetAllWorkflowConfigsRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *GetAllWorkflowConfigsRequest) Reset() {
|
||
|
*x = GetAllWorkflowConfigsRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetAllWorkflowConfigsRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetAllWorkflowConfigsRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetAllWorkflowConfigsRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetAllWorkflowConfigsRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetAllWorkflowConfigsRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type WorkflowConfigs struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Configs []*WorkflowConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfigs) Reset() {
|
||
|
*x = WorkflowConfigs{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfigs) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*WorkflowConfigs) ProtoMessage() {}
|
||
|
|
||
|
func (x *WorkflowConfigs) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use WorkflowConfigs.ProtoReflect.Descriptor instead.
|
||
|
func (*WorkflowConfigs) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfigs) GetConfigs() []*WorkflowConfig {
|
||
|
if x != nil {
|
||
|
return x.Configs
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type WorkflowConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
ListenPath string `protobuf:"bytes,2,opt,name=listen_path,json=listenPath,proto3" json:"listen_path,omitempty"`
|
||
|
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
|
||
|
Request *Request `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
|
||
|
Actions map[string]*Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Conditionals map[string]*Conditional `protobuf:"bytes,6,rep,name=conditionals,proto3" json:"conditionals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Responses map[string]*Response `protobuf:"bytes,7,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) Reset() {
|
||
|
*x = WorkflowConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*WorkflowConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *WorkflowConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use WorkflowConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*WorkflowConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetListenPath() string {
|
||
|
if x != nil {
|
||
|
return x.ListenPath
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetMethod() string {
|
||
|
if x != nil {
|
||
|
return x.Method
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetRequest() *Request {
|
||
|
if x != nil {
|
||
|
return x.Request
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetActions() map[string]*Action {
|
||
|
if x != nil {
|
||
|
return x.Actions
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetConditionals() map[string]*Conditional {
|
||
|
if x != nil {
|
||
|
return x.Conditionals
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *WorkflowConfig) GetResponses() map[string]*Response {
|
||
|
if x != nil {
|
||
|
return x.Responses
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Request struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Next string `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Request) Reset() {
|
||
|
*x = Request{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Request) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Request) ProtoMessage() {}
|
||
|
|
||
|
func (x *Request) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Request.ProtoReflect.Descriptor instead.
|
||
|
func (*Request) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *Request) GetNext() string {
|
||
|
if x != nil {
|
||
|
return x.Next
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Action struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||
|
Next string `protobuf:"bytes,3,opt,name=next,proto3" json:"next,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Action) Reset() {
|
||
|
*x = Action{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Action) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Action) ProtoMessage() {}
|
||
|
|
||
|
func (x *Action) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Action.ProtoReflect.Descriptor instead.
|
||
|
func (*Action) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *Action) GetType() string {
|
||
|
if x != nil {
|
||
|
return x.Type
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Action) GetConfig() string {
|
||
|
if x != nil {
|
||
|
return x.Config
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Action) GetNext() string {
|
||
|
if x != nil {
|
||
|
return x.Next
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Conditional struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
|
||
|
ValidPath string `protobuf:"bytes,2,opt,name=valid_path,json=validPath,proto3" json:"valid_path,omitempty"`
|
||
|
InvalidPath string `protobuf:"bytes,3,opt,name=invalid_path,json=invalidPath,proto3" json:"invalid_path,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Conditional) Reset() {
|
||
|
*x = Conditional{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Conditional) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Conditional) ProtoMessage() {}
|
||
|
|
||
|
func (x *Conditional) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Conditional.ProtoReflect.Descriptor instead.
|
||
|
func (*Conditional) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *Conditional) GetExpression() string {
|
||
|
if x != nil {
|
||
|
return x.Expression
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Conditional) GetValidPath() string {
|
||
|
if x != nil {
|
||
|
return x.ValidPath
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Conditional) GetInvalidPath() string {
|
||
|
if x != nil {
|
||
|
return x.InvalidPath
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Response struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
|
||
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Response) Reset() {
|
||
|
*x = Response{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_workflow_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Response) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Response) ProtoMessage() {}
|
||
|
|
||
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_workflow_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
||
|
func (*Response) Descriptor() ([]byte, []int) {
|
||
|
return file_workflow_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *Response) GetTemplate() string {
|
||
|
if x != nil {
|
||
|
return x.Template
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Response) GetType() string {
|
||
|
if x != nil {
|
||
|
return x.Type
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Response) GetCode() int32 {
|
||
|
if x != nil {
|
||
|
return x.Code
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
var File_workflow_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_workflow_proto_rawDesc = []byte{
|
||
|
0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c,
|
||
|
0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x42, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x66,
|
||
|
0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66,
|
||
|
0x69, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xc1, 0x04, 0x0a, 0x0e,
|
||
|
0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x0e,
|
||
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f,
|
||
|
0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12,
|
||
|
0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x28, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||
|
0x74, 0x12, 0x3c, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03,
|
||
|
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66,
|
||
|
0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
|
||
|
0x4b, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x73, 0x18,
|
||
|
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f,
|
||
|
0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e,
|
||
|
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c,
|
||
|
0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x09,
|
||
|
0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||
|
0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77,
|
||
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
|
||
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
|
||
|
0x1a, 0x49, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
||
|
0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x53, 0x0a, 0x11, 0x43,
|
||
|
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
||
|
0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74,
|
||
|
0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||
|
0x1a, 0x4d, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x70,
|
||
|
0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
||
|
0x1d, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65,
|
||
|
0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x48,
|
||
|
0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
||
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x6f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x64,
|
||
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65,
|
||
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70,
|
||
|
0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64,
|
||
|
0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x6c,
|
||
|
0x69, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69,
|
||
|
0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e,
|
||
|
0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0x4e, 0x0a, 0x08, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
||
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
||
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20,
|
||
|
0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x32, 0x69, 0x0a, 0x0f, 0x57, 0x6f, 0x72,
|
||
|
0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x15,
|
||
|
0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65,
|
||
|
0x74, 0x41, 0x6c, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66,
|
||
|
0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f,
|
||
|
0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||
|
0x67, 0x73, 0x22, 0x00, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76,
|
||
|
0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x69, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x66, 0x6c, 0x6f, 0x77,
|
||
|
0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f,
|
||
|
0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_workflow_proto_rawDescOnce sync.Once
|
||
|
file_workflow_proto_rawDescData = file_workflow_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_workflow_proto_rawDescGZIP() []byte {
|
||
|
file_workflow_proto_rawDescOnce.Do(func() {
|
||
|
file_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_workflow_proto_rawDescData)
|
||
|
})
|
||
|
return file_workflow_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_workflow_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||
|
var file_workflow_proto_goTypes = []any{
|
||
|
(*GetAllWorkflowConfigsRequest)(nil), // 0: proto.GetAllWorkflowConfigsRequest
|
||
|
(*WorkflowConfigs)(nil), // 1: proto.WorkflowConfigs
|
||
|
(*WorkflowConfig)(nil), // 2: proto.WorkflowConfig
|
||
|
(*Request)(nil), // 3: proto.Request
|
||
|
(*Action)(nil), // 4: proto.Action
|
||
|
(*Conditional)(nil), // 5: proto.Conditional
|
||
|
(*Response)(nil), // 6: proto.Response
|
||
|
nil, // 7: proto.WorkflowConfig.ActionsEntry
|
||
|
nil, // 8: proto.WorkflowConfig.ConditionalsEntry
|
||
|
nil, // 9: proto.WorkflowConfig.ResponsesEntry
|
||
|
}
|
||
|
var file_workflow_proto_depIdxs = []int32{
|
||
|
2, // 0: proto.WorkflowConfigs.configs:type_name -> proto.WorkflowConfig
|
||
|
3, // 1: proto.WorkflowConfig.request:type_name -> proto.Request
|
||
|
7, // 2: proto.WorkflowConfig.actions:type_name -> proto.WorkflowConfig.ActionsEntry
|
||
|
8, // 3: proto.WorkflowConfig.conditionals:type_name -> proto.WorkflowConfig.ConditionalsEntry
|
||
|
9, // 4: proto.WorkflowConfig.responses:type_name -> proto.WorkflowConfig.ResponsesEntry
|
||
|
4, // 5: proto.WorkflowConfig.ActionsEntry.value:type_name -> proto.Action
|
||
|
5, // 6: proto.WorkflowConfig.ConditionalsEntry.value:type_name -> proto.Conditional
|
||
|
6, // 7: proto.WorkflowConfig.ResponsesEntry.value:type_name -> proto.Response
|
||
|
0, // 8: proto.WorkflowService.GetAllWorkflowConfigs:input_type -> proto.GetAllWorkflowConfigsRequest
|
||
|
1, // 9: proto.WorkflowService.GetAllWorkflowConfigs:output_type -> proto.WorkflowConfigs
|
||
|
9, // [9:10] is the sub-list for method output_type
|
||
|
8, // [8:9] is the sub-list for method input_type
|
||
|
8, // [8:8] is the sub-list for extension type_name
|
||
|
8, // [8:8] is the sub-list for extension extendee
|
||
|
0, // [0:8] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_workflow_proto_init() }
|
||
|
func file_workflow_proto_init() {
|
||
|
if File_workflow_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_workflow_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*GetAllWorkflowConfigsRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_workflow_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*WorkflowConfigs); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_workflow_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*WorkflowConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_workflow_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*Request); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_workflow_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*Action); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_workflow_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*Conditional); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_workflow_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||
|
switch v := v.(*Response); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_workflow_proto_rawDesc,
|
||
|
NumEnums: 0,
|
||
|
NumMessages: 10,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_workflow_proto_goTypes,
|
||
|
DependencyIndexes: file_workflow_proto_depIdxs,
|
||
|
MessageInfos: file_workflow_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_workflow_proto = out.File
|
||
|
file_workflow_proto_rawDesc = nil
|
||
|
file_workflow_proto_goTypes = nil
|
||
|
file_workflow_proto_depIdxs = nil
|
||
|
}
|