Files
onepanel/api/workflow.pb.go

2011 lines
81 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: workflow.proto
package api
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CreateWorkflowExecutionRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflowExecution,proto3" json:"workflowExecution,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateWorkflowExecutionRequest) Reset() { *m = CreateWorkflowExecutionRequest{} }
func (m *CreateWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) }
func (*CreateWorkflowExecutionRequest) ProtoMessage() {}
func (*CreateWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{0}
}
func (m *CreateWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateWorkflowExecutionRequest.Unmarshal(m, b)
}
func (m *CreateWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateWorkflowExecutionRequest.Marshal(b, m, deterministic)
}
func (m *CreateWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateWorkflowExecutionRequest.Merge(m, src)
}
func (m *CreateWorkflowExecutionRequest) XXX_Size() int {
return xxx_messageInfo_CreateWorkflowExecutionRequest.Size(m)
}
func (m *CreateWorkflowExecutionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateWorkflowExecutionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateWorkflowExecutionRequest proto.InternalMessageInfo
func (m *CreateWorkflowExecutionRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *CreateWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution {
if m != nil {
return m.WorkflowExecution
}
return nil
}
type GetWorkflowExecutionRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetWorkflowExecutionRequest) Reset() { *m = GetWorkflowExecutionRequest{} }
func (m *GetWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowExecutionRequest) ProtoMessage() {}
func (*GetWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{1}
}
func (m *GetWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetWorkflowExecutionRequest.Unmarshal(m, b)
}
func (m *GetWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetWorkflowExecutionRequest.Marshal(b, m, deterministic)
}
func (m *GetWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetWorkflowExecutionRequest.Merge(m, src)
}
func (m *GetWorkflowExecutionRequest) XXX_Size() int {
return xxx_messageInfo_GetWorkflowExecutionRequest.Size(m)
}
func (m *GetWorkflowExecutionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetWorkflowExecutionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetWorkflowExecutionRequest proto.InternalMessageInfo
func (m *GetWorkflowExecutionRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *GetWorkflowExecutionRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type GetArtifactRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetArtifactRequest) Reset() { *m = GetArtifactRequest{} }
func (m *GetArtifactRequest) String() string { return proto.CompactTextString(m) }
func (*GetArtifactRequest) ProtoMessage() {}
func (*GetArtifactRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{2}
}
func (m *GetArtifactRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetArtifactRequest.Unmarshal(m, b)
}
func (m *GetArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetArtifactRequest.Marshal(b, m, deterministic)
}
func (m *GetArtifactRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetArtifactRequest.Merge(m, src)
}
func (m *GetArtifactRequest) XXX_Size() int {
return xxx_messageInfo_GetArtifactRequest.Size(m)
}
func (m *GetArtifactRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetArtifactRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetArtifactRequest proto.InternalMessageInfo
func (m *GetArtifactRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *GetArtifactRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *GetArtifactRequest) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
type WatchWorkflowExecutionRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WatchWorkflowExecutionRequest) Reset() { *m = WatchWorkflowExecutionRequest{} }
func (m *WatchWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) }
func (*WatchWorkflowExecutionRequest) ProtoMessage() {}
func (*WatchWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{3}
}
func (m *WatchWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WatchWorkflowExecutionRequest.Unmarshal(m, b)
}
func (m *WatchWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WatchWorkflowExecutionRequest.Marshal(b, m, deterministic)
}
func (m *WatchWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_WatchWorkflowExecutionRequest.Merge(m, src)
}
func (m *WatchWorkflowExecutionRequest) XXX_Size() int {
return xxx_messageInfo_WatchWorkflowExecutionRequest.Size(m)
}
func (m *WatchWorkflowExecutionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_WatchWorkflowExecutionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_WatchWorkflowExecutionRequest proto.InternalMessageInfo
func (m *WatchWorkflowExecutionRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *WatchWorkflowExecutionRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type ResubmitWorkflowExecutionRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ResubmitWorkflowExecutionRequest) Reset() { *m = ResubmitWorkflowExecutionRequest{} }
func (m *ResubmitWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) }
func (*ResubmitWorkflowExecutionRequest) ProtoMessage() {}
func (*ResubmitWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{4}
}
func (m *ResubmitWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResubmitWorkflowExecutionRequest.Unmarshal(m, b)
}
func (m *ResubmitWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResubmitWorkflowExecutionRequest.Marshal(b, m, deterministic)
}
func (m *ResubmitWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResubmitWorkflowExecutionRequest.Merge(m, src)
}
func (m *ResubmitWorkflowExecutionRequest) XXX_Size() int {
return xxx_messageInfo_ResubmitWorkflowExecutionRequest.Size(m)
}
func (m *ResubmitWorkflowExecutionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ResubmitWorkflowExecutionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ResubmitWorkflowExecutionRequest proto.InternalMessageInfo
func (m *ResubmitWorkflowExecutionRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *ResubmitWorkflowExecutionRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type TerminateWorkflowExecutionRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TerminateWorkflowExecutionRequest) Reset() { *m = TerminateWorkflowExecutionRequest{} }
func (m *TerminateWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) }
func (*TerminateWorkflowExecutionRequest) ProtoMessage() {}
func (*TerminateWorkflowExecutionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{5}
}
func (m *TerminateWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TerminateWorkflowExecutionRequest.Unmarshal(m, b)
}
func (m *TerminateWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TerminateWorkflowExecutionRequest.Marshal(b, m, deterministic)
}
func (m *TerminateWorkflowExecutionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_TerminateWorkflowExecutionRequest.Merge(m, src)
}
func (m *TerminateWorkflowExecutionRequest) XXX_Size() int {
return xxx_messageInfo_TerminateWorkflowExecutionRequest.Size(m)
}
func (m *TerminateWorkflowExecutionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_TerminateWorkflowExecutionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_TerminateWorkflowExecutionRequest proto.InternalMessageInfo
func (m *TerminateWorkflowExecutionRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *TerminateWorkflowExecutionRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type GetWorkflowExecutionLogsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"`
ContainerName string `protobuf:"bytes,4,opt,name=containerName,proto3" json:"containerName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetWorkflowExecutionLogsRequest) Reset() { *m = GetWorkflowExecutionLogsRequest{} }
func (m *GetWorkflowExecutionLogsRequest) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowExecutionLogsRequest) ProtoMessage() {}
func (*GetWorkflowExecutionLogsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{6}
}
func (m *GetWorkflowExecutionLogsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetWorkflowExecutionLogsRequest.Unmarshal(m, b)
}
func (m *GetWorkflowExecutionLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetWorkflowExecutionLogsRequest.Marshal(b, m, deterministic)
}
func (m *GetWorkflowExecutionLogsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetWorkflowExecutionLogsRequest.Merge(m, src)
}
func (m *GetWorkflowExecutionLogsRequest) XXX_Size() int {
return xxx_messageInfo_GetWorkflowExecutionLogsRequest.Size(m)
}
func (m *GetWorkflowExecutionLogsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetWorkflowExecutionLogsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetWorkflowExecutionLogsRequest proto.InternalMessageInfo
func (m *GetWorkflowExecutionLogsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *GetWorkflowExecutionLogsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *GetWorkflowExecutionLogsRequest) GetPodName() string {
if m != nil {
return m.PodName
}
return ""
}
func (m *GetWorkflowExecutionLogsRequest) GetContainerName() string {
if m != nil {
return m.ContainerName
}
return ""
}
type GetWorkflowExecutionMetricsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetWorkflowExecutionMetricsRequest) Reset() { *m = GetWorkflowExecutionMetricsRequest{} }
func (m *GetWorkflowExecutionMetricsRequest) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowExecutionMetricsRequest) ProtoMessage() {}
func (*GetWorkflowExecutionMetricsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{7}
}
func (m *GetWorkflowExecutionMetricsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Unmarshal(m, b)
}
func (m *GetWorkflowExecutionMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Marshal(b, m, deterministic)
}
func (m *GetWorkflowExecutionMetricsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Merge(m, src)
}
func (m *GetWorkflowExecutionMetricsRequest) XXX_Size() int {
return xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Size(m)
}
func (m *GetWorkflowExecutionMetricsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetWorkflowExecutionMetricsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetWorkflowExecutionMetricsRequest proto.InternalMessageInfo
func (m *GetWorkflowExecutionMetricsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *GetWorkflowExecutionMetricsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *GetWorkflowExecutionMetricsRequest) GetPodName() string {
if m != nil {
return m.PodName
}
return ""
}
type GetWorkflowExecutionMetricsResponse struct {
Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetWorkflowExecutionMetricsResponse) Reset() { *m = GetWorkflowExecutionMetricsResponse{} }
func (m *GetWorkflowExecutionMetricsResponse) String() string { return proto.CompactTextString(m) }
func (*GetWorkflowExecutionMetricsResponse) ProtoMessage() {}
func (*GetWorkflowExecutionMetricsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{8}
}
func (m *GetWorkflowExecutionMetricsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Unmarshal(m, b)
}
func (m *GetWorkflowExecutionMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Marshal(b, m, deterministic)
}
func (m *GetWorkflowExecutionMetricsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Merge(m, src)
}
func (m *GetWorkflowExecutionMetricsResponse) XXX_Size() int {
return xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Size(m)
}
func (m *GetWorkflowExecutionMetricsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetWorkflowExecutionMetricsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetWorkflowExecutionMetricsResponse proto.InternalMessageInfo
func (m *GetWorkflowExecutionMetricsResponse) GetMetrics() []*Metric {
if m != nil {
return m.Metrics
}
return nil
}
type ListWorkflowExecutionsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
WorkflowTemplateUid string `protobuf:"bytes,2,opt,name=workflowTemplateUid,proto3" json:"workflowTemplateUid,omitempty"`
WorkflowTemplateVersion string `protobuf:"bytes,3,opt,name=workflowTemplateVersion,proto3" json:"workflowTemplateVersion,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListWorkflowExecutionsRequest) Reset() { *m = ListWorkflowExecutionsRequest{} }
func (m *ListWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) }
func (*ListWorkflowExecutionsRequest) ProtoMessage() {}
func (*ListWorkflowExecutionsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{9}
}
func (m *ListWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListWorkflowExecutionsRequest.Unmarshal(m, b)
}
func (m *ListWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListWorkflowExecutionsRequest.Marshal(b, m, deterministic)
}
func (m *ListWorkflowExecutionsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListWorkflowExecutionsRequest.Merge(m, src)
}
func (m *ListWorkflowExecutionsRequest) XXX_Size() int {
return xxx_messageInfo_ListWorkflowExecutionsRequest.Size(m)
}
func (m *ListWorkflowExecutionsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListWorkflowExecutionsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListWorkflowExecutionsRequest proto.InternalMessageInfo
func (m *ListWorkflowExecutionsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *ListWorkflowExecutionsRequest) GetWorkflowTemplateUid() string {
if m != nil {
return m.WorkflowTemplateUid
}
return ""
}
func (m *ListWorkflowExecutionsRequest) GetWorkflowTemplateVersion() string {
if m != nil {
return m.WorkflowTemplateVersion
}
return ""
}
func (m *ListWorkflowExecutionsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListWorkflowExecutionsRequest) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
type ListWorkflowExecutionsResponse struct {
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
WorkflowExecutions []*WorkflowExecution `protobuf:"bytes,2,rep,name=workflowExecutions,proto3" json:"workflowExecutions,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"`
TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListWorkflowExecutionsResponse) Reset() { *m = ListWorkflowExecutionsResponse{} }
func (m *ListWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) }
func (*ListWorkflowExecutionsResponse) ProtoMessage() {}
func (*ListWorkflowExecutionsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{10}
}
func (m *ListWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListWorkflowExecutionsResponse.Unmarshal(m, b)
}
func (m *ListWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListWorkflowExecutionsResponse.Marshal(b, m, deterministic)
}
func (m *ListWorkflowExecutionsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListWorkflowExecutionsResponse.Merge(m, src)
}
func (m *ListWorkflowExecutionsResponse) XXX_Size() int {
return xxx_messageInfo_ListWorkflowExecutionsResponse.Size(m)
}
func (m *ListWorkflowExecutionsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListWorkflowExecutionsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListWorkflowExecutionsResponse proto.InternalMessageInfo
func (m *ListWorkflowExecutionsResponse) GetCount() int32 {
if m != nil {
return m.Count
}
return 0
}
func (m *ListWorkflowExecutionsResponse) GetWorkflowExecutions() []*WorkflowExecution {
if m != nil {
return m.WorkflowExecutions
}
return nil
}
func (m *ListWorkflowExecutionsResponse) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
func (m *ListWorkflowExecutionsResponse) GetPages() int32 {
if m != nil {
return m.Pages
}
return 0
}
func (m *ListWorkflowExecutionsResponse) GetTotalCount() int32 {
if m != nil {
return m.TotalCount
}
return 0
}
type LogEntry struct {
Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LogEntry) Reset() { *m = LogEntry{} }
func (m *LogEntry) String() string { return proto.CompactTextString(m) }
func (*LogEntry) ProtoMessage() {}
func (*LogEntry) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{11}
}
func (m *LogEntry) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogEntry.Unmarshal(m, b)
}
func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic)
}
func (m *LogEntry) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogEntry.Merge(m, src)
}
func (m *LogEntry) XXX_Size() int {
return xxx_messageInfo_LogEntry.Size(m)
}
func (m *LogEntry) XXX_DiscardUnknown() {
xxx_messageInfo_LogEntry.DiscardUnknown(m)
}
var xxx_messageInfo_LogEntry proto.InternalMessageInfo
func (m *LogEntry) GetTimestamp() string {
if m != nil {
return m.Timestamp
}
return ""
}
func (m *LogEntry) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
type WorkflowExecution struct {
CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"`
StartedAt string `protobuf:"bytes,5,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
FinishedAt string `protobuf:"bytes,6,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
Manifest string `protobuf:"bytes,7,opt,name=manifest,proto3" json:"manifest,omitempty"`
Parameters []*WorkflowExecutionParameter `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"`
WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,9,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"`
Labels []*KeyValue `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WorkflowExecution) Reset() { *m = WorkflowExecution{} }
func (m *WorkflowExecution) String() string { return proto.CompactTextString(m) }
func (*WorkflowExecution) ProtoMessage() {}
func (*WorkflowExecution) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{12}
}
func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WorkflowExecution.Unmarshal(m, b)
}
func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WorkflowExecution.Marshal(b, m, deterministic)
}
func (m *WorkflowExecution) XXX_Merge(src proto.Message) {
xxx_messageInfo_WorkflowExecution.Merge(m, src)
}
func (m *WorkflowExecution) XXX_Size() int {
return xxx_messageInfo_WorkflowExecution.Size(m)
}
func (m *WorkflowExecution) XXX_DiscardUnknown() {
xxx_messageInfo_WorkflowExecution.DiscardUnknown(m)
}
var xxx_messageInfo_WorkflowExecution proto.InternalMessageInfo
func (m *WorkflowExecution) GetCreatedAt() string {
if m != nil {
return m.CreatedAt
}
return ""
}
func (m *WorkflowExecution) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *WorkflowExecution) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *WorkflowExecution) GetPhase() string {
if m != nil {
return m.Phase
}
return ""
}
func (m *WorkflowExecution) GetStartedAt() string {
if m != nil {
return m.StartedAt
}
return ""
}
func (m *WorkflowExecution) GetFinishedAt() string {
if m != nil {
return m.FinishedAt
}
return ""
}
func (m *WorkflowExecution) GetManifest() string {
if m != nil {
return m.Manifest
}
return ""
}
func (m *WorkflowExecution) GetParameters() []*WorkflowExecutionParameter {
if m != nil {
return m.Parameters
}
return nil
}
func (m *WorkflowExecution) GetWorkflowTemplate() *WorkflowTemplate {
if m != nil {
return m.WorkflowTemplate
}
return nil
}
func (m *WorkflowExecution) GetLabels() []*KeyValue {
if m != nil {
return m.Labels
}
return nil
}
type WorkflowExecutionParameter struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WorkflowExecutionParameter) Reset() { *m = WorkflowExecutionParameter{} }
func (m *WorkflowExecutionParameter) String() string { return proto.CompactTextString(m) }
func (*WorkflowExecutionParameter) ProtoMessage() {}
func (*WorkflowExecutionParameter) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{13}
}
func (m *WorkflowExecutionParameter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WorkflowExecutionParameter.Unmarshal(m, b)
}
func (m *WorkflowExecutionParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WorkflowExecutionParameter.Marshal(b, m, deterministic)
}
func (m *WorkflowExecutionParameter) XXX_Merge(src proto.Message) {
xxx_messageInfo_WorkflowExecutionParameter.Merge(m, src)
}
func (m *WorkflowExecutionParameter) XXX_Size() int {
return xxx_messageInfo_WorkflowExecutionParameter.Size(m)
}
func (m *WorkflowExecutionParameter) XXX_DiscardUnknown() {
xxx_messageInfo_WorkflowExecutionParameter.DiscardUnknown(m)
}
var xxx_messageInfo_WorkflowExecutionParameter proto.InternalMessageInfo
func (m *WorkflowExecutionParameter) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *WorkflowExecutionParameter) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type ArtifactResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ArtifactResponse) Reset() { *m = ArtifactResponse{} }
func (m *ArtifactResponse) String() string { return proto.CompactTextString(m) }
func (*ArtifactResponse) ProtoMessage() {}
func (*ArtifactResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{14}
}
func (m *ArtifactResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ArtifactResponse.Unmarshal(m, b)
}
func (m *ArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ArtifactResponse.Marshal(b, m, deterministic)
}
func (m *ArtifactResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ArtifactResponse.Merge(m, src)
}
func (m *ArtifactResponse) XXX_Size() int {
return xxx_messageInfo_ArtifactResponse.Size(m)
}
func (m *ArtifactResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ArtifactResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ArtifactResponse proto.InternalMessageInfo
func (m *ArtifactResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type File struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Extension string `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"`
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
ContentType string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"`
LastModified string `protobuf:"bytes,6,opt,name=lastModified,proto3" json:"lastModified,omitempty"`
Directory bool `protobuf:"varint,7,opt,name=directory,proto3" json:"directory,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *File) Reset() { *m = File{} }
func (m *File) String() string { return proto.CompactTextString(m) }
func (*File) ProtoMessage() {}
func (*File) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{15}
}
func (m *File) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_File.Unmarshal(m, b)
}
func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_File.Marshal(b, m, deterministic)
}
func (m *File) XXX_Merge(src proto.Message) {
xxx_messageInfo_File.Merge(m, src)
}
func (m *File) XXX_Size() int {
return xxx_messageInfo_File.Size(m)
}
func (m *File) XXX_DiscardUnknown() {
xxx_messageInfo_File.DiscardUnknown(m)
}
var xxx_messageInfo_File proto.InternalMessageInfo
func (m *File) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *File) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *File) GetExtension() string {
if m != nil {
return m.Extension
}
return ""
}
func (m *File) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *File) GetContentType() string {
if m != nil {
return m.ContentType
}
return ""
}
func (m *File) GetLastModified() string {
if m != nil {
return m.LastModified
}
return ""
}
func (m *File) GetDirectory() bool {
if m != nil {
return m.Directory
}
return false
}
type ListFilesRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} }
func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) }
func (*ListFilesRequest) ProtoMessage() {}
func (*ListFilesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{16}
}
func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListFilesRequest.Unmarshal(m, b)
}
func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListFilesRequest.Marshal(b, m, deterministic)
}
func (m *ListFilesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListFilesRequest.Merge(m, src)
}
func (m *ListFilesRequest) XXX_Size() int {
return xxx_messageInfo_ListFilesRequest.Size(m)
}
func (m *ListFilesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListFilesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListFilesRequest proto.InternalMessageInfo
func (m *ListFilesRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *ListFilesRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListFilesRequest) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
type ListFilesResponse struct {
Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
ParentPath string `protobuf:"bytes,2,opt,name=parentPath,proto3" json:"parentPath,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} }
func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) }
func (*ListFilesResponse) ProtoMessage() {}
func (*ListFilesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{17}
}
func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListFilesResponse.Unmarshal(m, b)
}
func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListFilesResponse.Marshal(b, m, deterministic)
}
func (m *ListFilesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListFilesResponse.Merge(m, src)
}
func (m *ListFilesResponse) XXX_Size() int {
return xxx_messageInfo_ListFilesResponse.Size(m)
}
func (m *ListFilesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListFilesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListFilesResponse proto.InternalMessageInfo
func (m *ListFilesResponse) GetFiles() []*File {
if m != nil {
return m.Files
}
return nil
}
func (m *ListFilesResponse) GetParentPath() string {
if m != nil {
return m.ParentPath
}
return ""
}
type Statistics struct {
WorkflowStatus string `protobuf:"bytes,1,opt,name=workflowStatus,proto3" json:"workflowStatus,omitempty"`
WorkflowTemplateId int64 `protobuf:"varint,2,opt,name=workflowTemplateId,proto3" json:"workflowTemplateId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Statistics) Reset() { *m = Statistics{} }
func (m *Statistics) String() string { return proto.CompactTextString(m) }
func (*Statistics) ProtoMessage() {}
func (*Statistics) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{18}
}
func (m *Statistics) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Statistics.Unmarshal(m, b)
}
func (m *Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Statistics.Marshal(b, m, deterministic)
}
func (m *Statistics) XXX_Merge(src proto.Message) {
xxx_messageInfo_Statistics.Merge(m, src)
}
func (m *Statistics) XXX_Size() int {
return xxx_messageInfo_Statistics.Size(m)
}
func (m *Statistics) XXX_DiscardUnknown() {
xxx_messageInfo_Statistics.DiscardUnknown(m)
}
var xxx_messageInfo_Statistics proto.InternalMessageInfo
func (m *Statistics) GetWorkflowStatus() string {
if m != nil {
return m.WorkflowStatus
}
return ""
}
func (m *Statistics) GetWorkflowTemplateId() int64 {
if m != nil {
return m.WorkflowTemplateId
}
return 0
}
type AddWorkflowExecutionStatisticRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Statistics *Statistics `protobuf:"bytes,3,opt,name=statistics,proto3" json:"statistics,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddWorkflowExecutionStatisticRequest) Reset() { *m = AddWorkflowExecutionStatisticRequest{} }
func (m *AddWorkflowExecutionStatisticRequest) String() string { return proto.CompactTextString(m) }
func (*AddWorkflowExecutionStatisticRequest) ProtoMessage() {}
func (*AddWorkflowExecutionStatisticRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{19}
}
func (m *AddWorkflowExecutionStatisticRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Unmarshal(m, b)
}
func (m *AddWorkflowExecutionStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Marshal(b, m, deterministic)
}
func (m *AddWorkflowExecutionStatisticRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Merge(m, src)
}
func (m *AddWorkflowExecutionStatisticRequest) XXX_Size() int {
return xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Size(m)
}
func (m *AddWorkflowExecutionStatisticRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AddWorkflowExecutionStatisticRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AddWorkflowExecutionStatisticRequest proto.InternalMessageInfo
func (m *AddWorkflowExecutionStatisticRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *AddWorkflowExecutionStatisticRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AddWorkflowExecutionStatisticRequest) GetStatistics() *Statistics {
if m != nil {
return m.Statistics
}
return nil
}
type CronStartWorkflowExecutionStatisticRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
WorkflowTemplateId int64 `protobuf:"varint,3,opt,name=workflowTemplateId,proto3" json:"workflowTemplateId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CronStartWorkflowExecutionStatisticRequest) Reset() {
*m = CronStartWorkflowExecutionStatisticRequest{}
}
func (m *CronStartWorkflowExecutionStatisticRequest) String() string {
return proto.CompactTextString(m)
}
func (*CronStartWorkflowExecutionStatisticRequest) ProtoMessage() {}
func (*CronStartWorkflowExecutionStatisticRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{20}
}
func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Unmarshal(m, b)
}
func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Marshal(b, m, deterministic)
}
func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Merge(m, src)
}
func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Size() int {
return xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Size(m)
}
func (m *CronStartWorkflowExecutionStatisticRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest proto.InternalMessageInfo
func (m *CronStartWorkflowExecutionStatisticRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *CronStartWorkflowExecutionStatisticRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CronStartWorkflowExecutionStatisticRequest) GetWorkflowTemplateId() int64 {
if m != nil {
return m.WorkflowTemplateId
}
return 0
}
func init() {
proto.RegisterType((*CreateWorkflowExecutionRequest)(nil), "api.CreateWorkflowExecutionRequest")
proto.RegisterType((*GetWorkflowExecutionRequest)(nil), "api.GetWorkflowExecutionRequest")
proto.RegisterType((*GetArtifactRequest)(nil), "api.GetArtifactRequest")
proto.RegisterType((*WatchWorkflowExecutionRequest)(nil), "api.WatchWorkflowExecutionRequest")
proto.RegisterType((*ResubmitWorkflowExecutionRequest)(nil), "api.ResubmitWorkflowExecutionRequest")
proto.RegisterType((*TerminateWorkflowExecutionRequest)(nil), "api.TerminateWorkflowExecutionRequest")
proto.RegisterType((*GetWorkflowExecutionLogsRequest)(nil), "api.GetWorkflowExecutionLogsRequest")
proto.RegisterType((*GetWorkflowExecutionMetricsRequest)(nil), "api.GetWorkflowExecutionMetricsRequest")
proto.RegisterType((*GetWorkflowExecutionMetricsResponse)(nil), "api.GetWorkflowExecutionMetricsResponse")
proto.RegisterType((*ListWorkflowExecutionsRequest)(nil), "api.ListWorkflowExecutionsRequest")
proto.RegisterType((*ListWorkflowExecutionsResponse)(nil), "api.ListWorkflowExecutionsResponse")
proto.RegisterType((*LogEntry)(nil), "api.LogEntry")
proto.RegisterType((*WorkflowExecution)(nil), "api.WorkflowExecution")
proto.RegisterType((*WorkflowExecutionParameter)(nil), "api.WorkflowExecutionParameter")
proto.RegisterType((*ArtifactResponse)(nil), "api.ArtifactResponse")
proto.RegisterType((*File)(nil), "api.File")
proto.RegisterType((*ListFilesRequest)(nil), "api.ListFilesRequest")
proto.RegisterType((*ListFilesResponse)(nil), "api.ListFilesResponse")
proto.RegisterType((*Statistics)(nil), "api.Statistics")
proto.RegisterType((*AddWorkflowExecutionStatisticRequest)(nil), "api.AddWorkflowExecutionStatisticRequest")
proto.RegisterType((*CronStartWorkflowExecutionStatisticRequest)(nil), "api.CronStartWorkflowExecutionStatisticRequest")
}
func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) }
var fileDescriptor_892c7f566756b0be = []byte{
// 1484 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 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ppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// WorkflowServiceClient is the client API for WorkflowService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type WorkflowServiceClient interface {
// Creates a Workflow
CreateWorkflowExecution(ctx context.Context, in *CreateWorkflowExecutionRequest, opts ...grpc.CallOption) (*WorkflowExecution, error)
GetWorkflowExecution(ctx context.Context, in *GetWorkflowExecutionRequest, opts ...grpc.CallOption) (*WorkflowExecution, error)
ListWorkflowExecutions(ctx context.Context, in *ListWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListWorkflowExecutionsResponse, error)
WatchWorkflowExecution(ctx context.Context, in *WatchWorkflowExecutionRequest, opts ...grpc.CallOption) (WorkflowService_WatchWorkflowExecutionClient, error)
GetWorkflowExecutionLogs(ctx context.Context, in *GetWorkflowExecutionLogsRequest, opts ...grpc.CallOption) (WorkflowService_GetWorkflowExecutionLogsClient, error)
GetWorkflowExecutionMetrics(ctx context.Context, in *GetWorkflowExecutionMetricsRequest, opts ...grpc.CallOption) (*GetWorkflowExecutionMetricsResponse, error)
ResubmitWorkflowExecution(ctx context.Context, in *ResubmitWorkflowExecutionRequest, opts ...grpc.CallOption) (*WorkflowExecution, error)
TerminateWorkflowExecution(ctx context.Context, in *TerminateWorkflowExecutionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*ArtifactResponse, error)
ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
GetWorkflowExecutionLabels(ctx context.Context, in *GetLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
AddWorkflowExecutionLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
ReplaceWorkflowExecutionLabels(ctx context.Context, in *ReplaceLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
DeleteWorkflowExecutionLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
AddWorkflowExecutionStatistics(ctx context.Context, in *AddWorkflowExecutionStatisticRequest, opts ...grpc.CallOption) (*empty.Empty, error)
CronStartWorkflowExecutionStatistic(ctx context.Context, in *CronStartWorkflowExecutionStatisticRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}
type workflowServiceClient struct {
cc *grpc.ClientConn
}
func NewWorkflowServiceClient(cc *grpc.ClientConn) WorkflowServiceClient {
return &workflowServiceClient{cc}
}
func (c *workflowServiceClient) CreateWorkflowExecution(ctx context.Context, in *CreateWorkflowExecutionRequest, opts ...grpc.CallOption) (*WorkflowExecution, error) {
out := new(WorkflowExecution)
err := c.cc.Invoke(ctx, "/api.WorkflowService/CreateWorkflowExecution", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) GetWorkflowExecution(ctx context.Context, in *GetWorkflowExecutionRequest, opts ...grpc.CallOption) (*WorkflowExecution, error) {
out := new(WorkflowExecution)
err := c.cc.Invoke(ctx, "/api.WorkflowService/GetWorkflowExecution", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) ListWorkflowExecutions(ctx context.Context, in *ListWorkflowExecutionsRequest, opts ...grpc.CallOption) (*ListWorkflowExecutionsResponse, error) {
out := new(ListWorkflowExecutionsResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/ListWorkflowExecutions", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) WatchWorkflowExecution(ctx context.Context, in *WatchWorkflowExecutionRequest, opts ...grpc.CallOption) (WorkflowService_WatchWorkflowExecutionClient, error) {
stream, err := c.cc.NewStream(ctx, &_WorkflowService_serviceDesc.Streams[0], "/api.WorkflowService/WatchWorkflowExecution", opts...)
if err != nil {
return nil, err
}
x := &workflowServiceWatchWorkflowExecutionClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type WorkflowService_WatchWorkflowExecutionClient interface {
Recv() (*WorkflowExecution, error)
grpc.ClientStream
}
type workflowServiceWatchWorkflowExecutionClient struct {
grpc.ClientStream
}
func (x *workflowServiceWatchWorkflowExecutionClient) Recv() (*WorkflowExecution, error) {
m := new(WorkflowExecution)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *workflowServiceClient) GetWorkflowExecutionLogs(ctx context.Context, in *GetWorkflowExecutionLogsRequest, opts ...grpc.CallOption) (WorkflowService_GetWorkflowExecutionLogsClient, error) {
stream, err := c.cc.NewStream(ctx, &_WorkflowService_serviceDesc.Streams[1], "/api.WorkflowService/GetWorkflowExecutionLogs", opts...)
if err != nil {
return nil, err
}
x := &workflowServiceGetWorkflowExecutionLogsClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type WorkflowService_GetWorkflowExecutionLogsClient interface {
Recv() (*LogEntry, error)
grpc.ClientStream
}
type workflowServiceGetWorkflowExecutionLogsClient struct {
grpc.ClientStream
}
func (x *workflowServiceGetWorkflowExecutionLogsClient) Recv() (*LogEntry, error) {
m := new(LogEntry)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *workflowServiceClient) GetWorkflowExecutionMetrics(ctx context.Context, in *GetWorkflowExecutionMetricsRequest, opts ...grpc.CallOption) (*GetWorkflowExecutionMetricsResponse, error) {
out := new(GetWorkflowExecutionMetricsResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/GetWorkflowExecutionMetrics", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) ResubmitWorkflowExecution(ctx context.Context, in *ResubmitWorkflowExecutionRequest, opts ...grpc.CallOption) (*WorkflowExecution, error) {
out := new(WorkflowExecution)
err := c.cc.Invoke(ctx, "/api.WorkflowService/ResubmitWorkflowExecution", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) TerminateWorkflowExecution(ctx context.Context, in *TerminateWorkflowExecutionRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/api.WorkflowService/TerminateWorkflowExecution", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*ArtifactResponse, error) {
out := new(ArtifactResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/GetArtifact", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error) {
out := new(ListFilesResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/ListFiles", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) GetWorkflowExecutionLabels(ctx context.Context, in *GetLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/GetWorkflowExecutionLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) AddWorkflowExecutionLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/AddWorkflowExecutionLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) ReplaceWorkflowExecutionLabels(ctx context.Context, in *ReplaceLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/ReplaceWorkflowExecutionLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) DeleteWorkflowExecutionLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.WorkflowService/DeleteWorkflowExecutionLabel", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) AddWorkflowExecutionStatistics(ctx context.Context, in *AddWorkflowExecutionStatisticRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/api.WorkflowService/AddWorkflowExecutionStatistics", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *workflowServiceClient) CronStartWorkflowExecutionStatistic(ctx context.Context, in *CronStartWorkflowExecutionStatisticRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/api.WorkflowService/CronStartWorkflowExecutionStatistic", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// WorkflowServiceServer is the server API for WorkflowService service.
type WorkflowServiceServer interface {
// Creates a Workflow
CreateWorkflowExecution(context.Context, *CreateWorkflowExecutionRequest) (*WorkflowExecution, error)
GetWorkflowExecution(context.Context, *GetWorkflowExecutionRequest) (*WorkflowExecution, error)
ListWorkflowExecutions(context.Context, *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error)
WatchWorkflowExecution(*WatchWorkflowExecutionRequest, WorkflowService_WatchWorkflowExecutionServer) error
GetWorkflowExecutionLogs(*GetWorkflowExecutionLogsRequest, WorkflowService_GetWorkflowExecutionLogsServer) error
GetWorkflowExecutionMetrics(context.Context, *GetWorkflowExecutionMetricsRequest) (*GetWorkflowExecutionMetricsResponse, error)
ResubmitWorkflowExecution(context.Context, *ResubmitWorkflowExecutionRequest) (*WorkflowExecution, error)
TerminateWorkflowExecution(context.Context, *TerminateWorkflowExecutionRequest) (*empty.Empty, error)
GetArtifact(context.Context, *GetArtifactRequest) (*ArtifactResponse, error)
ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
GetWorkflowExecutionLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error)
AddWorkflowExecutionLabels(context.Context, *AddLabelsRequest) (*GetLabelsResponse, error)
ReplaceWorkflowExecutionLabels(context.Context, *ReplaceLabelsRequest) (*GetLabelsResponse, error)
DeleteWorkflowExecutionLabel(context.Context, *DeleteLabelRequest) (*GetLabelsResponse, error)
AddWorkflowExecutionStatistics(context.Context, *AddWorkflowExecutionStatisticRequest) (*empty.Empty, error)
CronStartWorkflowExecutionStatistic(context.Context, *CronStartWorkflowExecutionStatisticRequest) (*empty.Empty, error)
}
// UnimplementedWorkflowServiceServer can be embedded to have forward compatible implementations.
type UnimplementedWorkflowServiceServer struct {
}
func (*UnimplementedWorkflowServiceServer) CreateWorkflowExecution(ctx context.Context, req *CreateWorkflowExecutionRequest) (*WorkflowExecution, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowExecution not implemented")
}
func (*UnimplementedWorkflowServiceServer) GetWorkflowExecution(ctx context.Context, req *GetWorkflowExecutionRequest) (*WorkflowExecution, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecution not implemented")
}
func (*UnimplementedWorkflowServiceServer) ListWorkflowExecutions(ctx context.Context, req *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowExecutions not implemented")
}
func (*UnimplementedWorkflowServiceServer) WatchWorkflowExecution(req *WatchWorkflowExecutionRequest, srv WorkflowService_WatchWorkflowExecutionServer) error {
return status.Errorf(codes.Unimplemented, "method WatchWorkflowExecution not implemented")
}
func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionLogs(req *GetWorkflowExecutionLogsRequest, srv WorkflowService_GetWorkflowExecutionLogsServer) error {
return status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionLogs not implemented")
}
func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionMetrics(ctx context.Context, req *GetWorkflowExecutionMetricsRequest) (*GetWorkflowExecutionMetricsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionMetrics not implemented")
}
func (*UnimplementedWorkflowServiceServer) ResubmitWorkflowExecution(ctx context.Context, req *ResubmitWorkflowExecutionRequest) (*WorkflowExecution, error) {
return nil, status.Errorf(codes.Unimplemented, "method ResubmitWorkflowExecution not implemented")
}
func (*UnimplementedWorkflowServiceServer) TerminateWorkflowExecution(ctx context.Context, req *TerminateWorkflowExecutionRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method TerminateWorkflowExecution not implemented")
}
func (*UnimplementedWorkflowServiceServer) GetArtifact(ctx context.Context, req *GetArtifactRequest) (*ArtifactResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetArtifact not implemented")
}
func (*UnimplementedWorkflowServiceServer) ListFiles(ctx context.Context, req *ListFilesRequest) (*ListFilesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListFiles not implemented")
}
func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionLabels(ctx context.Context, req *GetLabelsRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionLabels not implemented")
}
func (*UnimplementedWorkflowServiceServer) AddWorkflowExecutionLabels(ctx context.Context, req *AddLabelsRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddWorkflowExecutionLabels not implemented")
}
func (*UnimplementedWorkflowServiceServer) ReplaceWorkflowExecutionLabels(ctx context.Context, req *ReplaceLabelsRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ReplaceWorkflowExecutionLabels not implemented")
}
func (*UnimplementedWorkflowServiceServer) DeleteWorkflowExecutionLabel(ctx context.Context, req *DeleteLabelRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowExecutionLabel not implemented")
}
func (*UnimplementedWorkflowServiceServer) AddWorkflowExecutionStatistics(ctx context.Context, req *AddWorkflowExecutionStatisticRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddWorkflowExecutionStatistics not implemented")
}
func (*UnimplementedWorkflowServiceServer) CronStartWorkflowExecutionStatistic(ctx context.Context, req *CronStartWorkflowExecutionStatisticRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method CronStartWorkflowExecutionStatistic not implemented")
}
func RegisterWorkflowServiceServer(s *grpc.Server, srv WorkflowServiceServer) {
s.RegisterService(&_WorkflowService_serviceDesc, srv)
}
func _WorkflowService_CreateWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateWorkflowExecutionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).CreateWorkflowExecution(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/CreateWorkflowExecution",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).CreateWorkflowExecution(ctx, req.(*CreateWorkflowExecutionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_GetWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetWorkflowExecutionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).GetWorkflowExecution(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/GetWorkflowExecution",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).GetWorkflowExecution(ctx, req.(*GetWorkflowExecutionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_ListWorkflowExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListWorkflowExecutionsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).ListWorkflowExecutions(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/ListWorkflowExecutions",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).ListWorkflowExecutions(ctx, req.(*ListWorkflowExecutionsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_WatchWorkflowExecution_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(WatchWorkflowExecutionRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WorkflowServiceServer).WatchWorkflowExecution(m, &workflowServiceWatchWorkflowExecutionServer{stream})
}
type WorkflowService_WatchWorkflowExecutionServer interface {
Send(*WorkflowExecution) error
grpc.ServerStream
}
type workflowServiceWatchWorkflowExecutionServer struct {
grpc.ServerStream
}
func (x *workflowServiceWatchWorkflowExecutionServer) Send(m *WorkflowExecution) error {
return x.ServerStream.SendMsg(m)
}
func _WorkflowService_GetWorkflowExecutionLogs_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetWorkflowExecutionLogsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WorkflowServiceServer).GetWorkflowExecutionLogs(m, &workflowServiceGetWorkflowExecutionLogsServer{stream})
}
type WorkflowService_GetWorkflowExecutionLogsServer interface {
Send(*LogEntry) error
grpc.ServerStream
}
type workflowServiceGetWorkflowExecutionLogsServer struct {
grpc.ServerStream
}
func (x *workflowServiceGetWorkflowExecutionLogsServer) Send(m *LogEntry) error {
return x.ServerStream.SendMsg(m)
}
func _WorkflowService_GetWorkflowExecutionMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetWorkflowExecutionMetricsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).GetWorkflowExecutionMetrics(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/GetWorkflowExecutionMetrics",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).GetWorkflowExecutionMetrics(ctx, req.(*GetWorkflowExecutionMetricsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_ResubmitWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ResubmitWorkflowExecutionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).ResubmitWorkflowExecution(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/ResubmitWorkflowExecution",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).ResubmitWorkflowExecution(ctx, req.(*ResubmitWorkflowExecutionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_TerminateWorkflowExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TerminateWorkflowExecutionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).TerminateWorkflowExecution(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/TerminateWorkflowExecution",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).TerminateWorkflowExecution(ctx, req.(*TerminateWorkflowExecutionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_GetArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetArtifactRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).GetArtifact(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/GetArtifact",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).GetArtifact(ctx, req.(*GetArtifactRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_ListFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListFilesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).ListFiles(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/ListFiles",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).ListFiles(ctx, req.(*ListFilesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_GetWorkflowExecutionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).GetWorkflowExecutionLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/GetWorkflowExecutionLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).GetWorkflowExecutionLabels(ctx, req.(*GetLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_AddWorkflowExecutionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).AddWorkflowExecutionLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/AddWorkflowExecutionLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).AddWorkflowExecutionLabels(ctx, req.(*AddLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_ReplaceWorkflowExecutionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ReplaceLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).ReplaceWorkflowExecutionLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/ReplaceWorkflowExecutionLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).ReplaceWorkflowExecutionLabels(ctx, req.(*ReplaceLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_DeleteWorkflowExecutionLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteLabelRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).DeleteWorkflowExecutionLabel(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/DeleteWorkflowExecutionLabel",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).DeleteWorkflowExecutionLabel(ctx, req.(*DeleteLabelRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_AddWorkflowExecutionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddWorkflowExecutionStatisticRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).AddWorkflowExecutionStatistics(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/AddWorkflowExecutionStatistics",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).AddWorkflowExecutionStatistics(ctx, req.(*AddWorkflowExecutionStatisticRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WorkflowService_CronStartWorkflowExecutionStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CronStartWorkflowExecutionStatisticRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WorkflowServiceServer).CronStartWorkflowExecutionStatistic(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.WorkflowService/CronStartWorkflowExecutionStatistic",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WorkflowServiceServer).CronStartWorkflowExecutionStatistic(ctx, req.(*CronStartWorkflowExecutionStatisticRequest))
}
return interceptor(ctx, in, info, handler)
}
var _WorkflowService_serviceDesc = grpc.ServiceDesc{
ServiceName: "api.WorkflowService",
HandlerType: (*WorkflowServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateWorkflowExecution",
Handler: _WorkflowService_CreateWorkflowExecution_Handler,
},
{
MethodName: "GetWorkflowExecution",
Handler: _WorkflowService_GetWorkflowExecution_Handler,
},
{
MethodName: "ListWorkflowExecutions",
Handler: _WorkflowService_ListWorkflowExecutions_Handler,
},
{
MethodName: "GetWorkflowExecutionMetrics",
Handler: _WorkflowService_GetWorkflowExecutionMetrics_Handler,
},
{
MethodName: "ResubmitWorkflowExecution",
Handler: _WorkflowService_ResubmitWorkflowExecution_Handler,
},
{
MethodName: "TerminateWorkflowExecution",
Handler: _WorkflowService_TerminateWorkflowExecution_Handler,
},
{
MethodName: "GetArtifact",
Handler: _WorkflowService_GetArtifact_Handler,
},
{
MethodName: "ListFiles",
Handler: _WorkflowService_ListFiles_Handler,
},
{
MethodName: "GetWorkflowExecutionLabels",
Handler: _WorkflowService_GetWorkflowExecutionLabels_Handler,
},
{
MethodName: "AddWorkflowExecutionLabels",
Handler: _WorkflowService_AddWorkflowExecutionLabels_Handler,
},
{
MethodName: "ReplaceWorkflowExecutionLabels",
Handler: _WorkflowService_ReplaceWorkflowExecutionLabels_Handler,
},
{
MethodName: "DeleteWorkflowExecutionLabel",
Handler: _WorkflowService_DeleteWorkflowExecutionLabel_Handler,
},
{
MethodName: "AddWorkflowExecutionStatistics",
Handler: _WorkflowService_AddWorkflowExecutionStatistics_Handler,
},
{
MethodName: "CronStartWorkflowExecutionStatistic",
Handler: _WorkflowService_CronStartWorkflowExecutionStatistic_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "WatchWorkflowExecution",
Handler: _WorkflowService_WatchWorkflowExecution_Handler,
ServerStreams: true,
},
{
StreamName: "GetWorkflowExecutionLogs",
Handler: _WorkflowService_GetWorkflowExecutionLogs_Handler,
ServerStreams: true,
},
},
Metadata: "workflow.proto",
}