peridot/vendor/go.temporal.io/api/enums/v1/workflow.pb.go
2022-07-07 22:13:21 +02:00

429 lines
16 KiB
Go

// The MIT License
//
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: temporal/api/enums/v1/workflow.proto
package enums
import (
fmt "fmt"
math "math"
strconv "strconv"
proto "github.com/gogo/protobuf/proto"
)
// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type WorkflowIdReusePolicy int32
const (
WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED WorkflowIdReusePolicy = 0
// Allow start a workflow execution using the same workflow Id, when workflow not running.
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE WorkflowIdReusePolicy = 1
// Allow start a workflow execution using the same workflow Id, when workflow not running, and the last execution close state is in
// [terminated, cancelled, timed out, failed].
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY WorkflowIdReusePolicy = 2
// Do not allow start a workflow execution using the same workflow Id at all.
WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE WorkflowIdReusePolicy = 3
)
var WorkflowIdReusePolicy_name = map[int32]string{
0: "Unspecified",
1: "AllowDuplicate",
2: "AllowDuplicateFailedOnly",
3: "RejectDuplicate",
}
var WorkflowIdReusePolicy_value = map[string]int32{
"Unspecified": 0,
"AllowDuplicate": 1,
"AllowDuplicateFailedOnly": 2,
"RejectDuplicate": 3,
}
func (WorkflowIdReusePolicy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{0}
}
type ParentClosePolicy int32
const (
PARENT_CLOSE_POLICY_UNSPECIFIED ParentClosePolicy = 0
// Terminate means terminating the child workflow.
PARENT_CLOSE_POLICY_TERMINATE ParentClosePolicy = 1
// Abandon means not doing anything on the child workflow.
PARENT_CLOSE_POLICY_ABANDON ParentClosePolicy = 2
// Cancel means requesting cancellation on the child workflow.
PARENT_CLOSE_POLICY_REQUEST_CANCEL ParentClosePolicy = 3
)
var ParentClosePolicy_name = map[int32]string{
0: "Unspecified",
1: "Terminate",
2: "Abandon",
3: "RequestCancel",
}
var ParentClosePolicy_value = map[string]int32{
"Unspecified": 0,
"Terminate": 1,
"Abandon": 2,
"RequestCancel": 3,
}
func (ParentClosePolicy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{1}
}
type ContinueAsNewInitiator int32
const (
CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED ContinueAsNewInitiator = 0
CONTINUE_AS_NEW_INITIATOR_WORKFLOW ContinueAsNewInitiator = 1
CONTINUE_AS_NEW_INITIATOR_RETRY ContinueAsNewInitiator = 2
CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE ContinueAsNewInitiator = 3
)
var ContinueAsNewInitiator_name = map[int32]string{
0: "Unspecified",
1: "Workflow",
2: "Retry",
3: "CronSchedule",
}
var ContinueAsNewInitiator_value = map[string]int32{
"Unspecified": 0,
"Workflow": 1,
"Retry": 2,
"CronSchedule": 3,
}
func (ContinueAsNewInitiator) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{2}
}
// (-- api-linter: core::0216::synonyms=disabled
// aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --)
type WorkflowExecutionStatus int32
const (
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED WorkflowExecutionStatus = 0
// Value 1 is hardcoded in SQL persistence.
WORKFLOW_EXECUTION_STATUS_RUNNING WorkflowExecutionStatus = 1
WORKFLOW_EXECUTION_STATUS_COMPLETED WorkflowExecutionStatus = 2
WORKFLOW_EXECUTION_STATUS_FAILED WorkflowExecutionStatus = 3
WORKFLOW_EXECUTION_STATUS_CANCELED WorkflowExecutionStatus = 4
WORKFLOW_EXECUTION_STATUS_TERMINATED WorkflowExecutionStatus = 5
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW WorkflowExecutionStatus = 6
WORKFLOW_EXECUTION_STATUS_TIMED_OUT WorkflowExecutionStatus = 7
)
var WorkflowExecutionStatus_name = map[int32]string{
0: "Unspecified",
1: "Running",
2: "Completed",
3: "Failed",
4: "Canceled",
5: "Terminated",
6: "ContinuedAsNew",
7: "TimedOut",
}
var WorkflowExecutionStatus_value = map[string]int32{
"Unspecified": 0,
"Running": 1,
"Completed": 2,
"Failed": 3,
"Canceled": 4,
"Terminated": 5,
"ContinuedAsNew": 6,
"TimedOut": 7,
}
func (WorkflowExecutionStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{3}
}
type PendingActivityState int32
const (
PENDING_ACTIVITY_STATE_UNSPECIFIED PendingActivityState = 0
PENDING_ACTIVITY_STATE_SCHEDULED PendingActivityState = 1
PENDING_ACTIVITY_STATE_STARTED PendingActivityState = 2
PENDING_ACTIVITY_STATE_CANCEL_REQUESTED PendingActivityState = 3
)
var PendingActivityState_name = map[int32]string{
0: "Unspecified",
1: "Scheduled",
2: "Started",
3: "CancelRequested",
}
var PendingActivityState_value = map[string]int32{
"Unspecified": 0,
"Scheduled": 1,
"Started": 2,
"CancelRequested": 3,
}
func (PendingActivityState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{4}
}
type HistoryEventFilterType int32
const (
HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED HistoryEventFilterType = 0
HISTORY_EVENT_FILTER_TYPE_ALL_EVENT HistoryEventFilterType = 1
HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT HistoryEventFilterType = 2
)
var HistoryEventFilterType_name = map[int32]string{
0: "Unspecified",
1: "AllEvent",
2: "CloseEvent",
}
var HistoryEventFilterType_value = map[string]int32{
"Unspecified": 0,
"AllEvent": 1,
"CloseEvent": 2,
}
func (HistoryEventFilterType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{5}
}
type RetryState int32
const (
RETRY_STATE_UNSPECIFIED RetryState = 0
RETRY_STATE_IN_PROGRESS RetryState = 1
RETRY_STATE_NON_RETRYABLE_FAILURE RetryState = 2
RETRY_STATE_TIMEOUT RetryState = 3
RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED RetryState = 4
RETRY_STATE_RETRY_POLICY_NOT_SET RetryState = 5
RETRY_STATE_INTERNAL_SERVER_ERROR RetryState = 6
RETRY_STATE_CANCEL_REQUESTED RetryState = 7
)
var RetryState_name = map[int32]string{
0: "Unspecified",
1: "InProgress",
2: "NonRetryableFailure",
3: "Timeout",
4: "MaximumAttemptsReached",
5: "RetryPolicyNotSet",
6: "InternalServerError",
7: "CancelRequested",
}
var RetryState_value = map[string]int32{
"Unspecified": 0,
"InProgress": 1,
"NonRetryableFailure": 2,
"Timeout": 3,
"MaximumAttemptsReached": 4,
"RetryPolicyNotSet": 5,
"InternalServerError": 6,
"CancelRequested": 7,
}
func (RetryState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{6}
}
type TimeoutType int32
const (
TIMEOUT_TYPE_UNSPECIFIED TimeoutType = 0
TIMEOUT_TYPE_START_TO_CLOSE TimeoutType = 1
TIMEOUT_TYPE_SCHEDULE_TO_START TimeoutType = 2
TIMEOUT_TYPE_SCHEDULE_TO_CLOSE TimeoutType = 3
TIMEOUT_TYPE_HEARTBEAT TimeoutType = 4
)
var TimeoutType_name = map[int32]string{
0: "Unspecified",
1: "StartToClose",
2: "ScheduleToStart",
3: "ScheduleToClose",
4: "Heartbeat",
}
var TimeoutType_value = map[string]int32{
"Unspecified": 0,
"StartToClose": 1,
"ScheduleToStart": 2,
"ScheduleToClose": 3,
"Heartbeat": 4,
}
func (TimeoutType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_939fa9511cc117f0, []int{7}
}
func init() {
proto.RegisterEnum("temporal.api.enums.v1.WorkflowIdReusePolicy", WorkflowIdReusePolicy_name, WorkflowIdReusePolicy_value)
proto.RegisterEnum("temporal.api.enums.v1.ParentClosePolicy", ParentClosePolicy_name, ParentClosePolicy_value)
proto.RegisterEnum("temporal.api.enums.v1.ContinueAsNewInitiator", ContinueAsNewInitiator_name, ContinueAsNewInitiator_value)
proto.RegisterEnum("temporal.api.enums.v1.WorkflowExecutionStatus", WorkflowExecutionStatus_name, WorkflowExecutionStatus_value)
proto.RegisterEnum("temporal.api.enums.v1.PendingActivityState", PendingActivityState_name, PendingActivityState_value)
proto.RegisterEnum("temporal.api.enums.v1.HistoryEventFilterType", HistoryEventFilterType_name, HistoryEventFilterType_value)
proto.RegisterEnum("temporal.api.enums.v1.RetryState", RetryState_name, RetryState_value)
proto.RegisterEnum("temporal.api.enums.v1.TimeoutType", TimeoutType_name, TimeoutType_value)
}
func init() {
proto.RegisterFile("temporal/api/enums/v1/workflow.proto", fileDescriptor_939fa9511cc117f0)
}
var fileDescriptor_939fa9511cc117f0 = []byte{
// 914 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xcf, 0x6f, 0xe3, 0xc4,
0x1b, 0xc6, 0x33, 0x6e, 0xb7, 0x2b, 0xcd, 0x57, 0x5f, 0x69, 0x30, 0xf4, 0x87, 0xe8, 0xe2, 0xfe,
0xdc, 0xed, 0x6e, 0x16, 0x52, 0x55, 0x70, 0x40, 0xe1, 0x34, 0xb5, 0xdf, 0xb6, 0x03, 0xce, 0xd8,
0x8c, 0xc7, 0xe9, 0x86, 0xcb, 0x28, 0x74, 0xcd, 0xca, 0x22, 0x8d, 0xa3, 0xc4, 0x69, 0xe9, 0x8d,
0x3f, 0x81, 0x1b, 0x47, 0x2e, 0x1c, 0x10, 0x27, 0x2e, 0x7b, 0xe4, 0xce, 0xb1, 0xc7, 0x1e, 0x69,
0x2a, 0x24, 0xc4, 0x69, 0xff, 0x04, 0x34, 0x76, 0x52, 0x25, 0xd9, 0x38, 0xe2, 0x66, 0xcd, 0x7c,
0x66, 0x3c, 0xef, 0xf3, 0x3c, 0xef, 0x0c, 0xde, 0x4d, 0xa3, 0xf3, 0x4e, 0xd2, 0x6d, 0xb6, 0xf6,
0x9b, 0x9d, 0x78, 0x3f, 0x6a, 0xf7, 0xcf, 0x7b, 0xfb, 0x17, 0x07, 0xfb, 0x97, 0x49, 0xf7, 0xdb,
0x6f, 0x5a, 0xc9, 0x65, 0xa5, 0xd3, 0x4d, 0xd2, 0xc4, 0x5c, 0x1e, 0x51, 0x95, 0x66, 0x27, 0xae,
0x64, 0x54, 0xe5, 0xe2, 0xa0, 0x7c, 0x83, 0xf0, 0xf2, 0xe9, 0x90, 0x64, 0x2f, 0x45, 0xd4, 0xef,
0x45, 0x7e, 0xd2, 0x8a, 0xcf, 0xae, 0xcc, 0xa7, 0x78, 0xf7, 0xd4, 0x13, 0x5f, 0x1c, 0xb9, 0xde,
0x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}
func (x WorkflowIdReusePolicy) String() string {
s, ok := WorkflowIdReusePolicy_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x ParentClosePolicy) String() string {
s, ok := ParentClosePolicy_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x ContinueAsNewInitiator) String() string {
s, ok := ContinueAsNewInitiator_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x WorkflowExecutionStatus) String() string {
s, ok := WorkflowExecutionStatus_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x PendingActivityState) String() string {
s, ok := PendingActivityState_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x HistoryEventFilterType) String() string {
s, ok := HistoryEventFilterType_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x RetryState) String() string {
s, ok := RetryState_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x TimeoutType) String() string {
s, ok := TimeoutType_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}