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

292 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/failed_cause.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 WorkflowTaskFailedCause int32
const (
WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED WorkflowTaskFailedCause = 0
WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND WorkflowTaskFailedCause = 1
WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES WorkflowTaskFailedCause = 2
WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES WorkflowTaskFailedCause = 3
WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES WorkflowTaskFailedCause = 4
WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES WorkflowTaskFailedCause = 5
WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES WorkflowTaskFailedCause = 6
WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES WorkflowTaskFailedCause = 7
WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES WorkflowTaskFailedCause = 8
WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES WorkflowTaskFailedCause = 9
WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES WorkflowTaskFailedCause = 10
WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES WorkflowTaskFailedCause = 11
WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID WorkflowTaskFailedCause = 12
WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE WorkflowTaskFailedCause = 13
WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE WorkflowTaskFailedCause = 14
WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES WorkflowTaskFailedCause = 15
WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES WorkflowTaskFailedCause = 16
WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND WorkflowTaskFailedCause = 17
WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND WorkflowTaskFailedCause = 18
WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE WorkflowTaskFailedCause = 19
WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW WorkflowTaskFailedCause = 20
WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY WorkflowTaskFailedCause = 21
WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID WorkflowTaskFailedCause = 22
WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES WorkflowTaskFailedCause = 23
WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR WorkflowTaskFailedCause = 24
)
var WorkflowTaskFailedCause_name = map[int32]string{
0: "Unspecified",
1: "UnhandledCommand",
2: "BadScheduleActivityAttributes",
3: "BadRequestCancelActivityAttributes",
4: "BadStartTimerAttributes",
5: "BadCancelTimerAttributes",
6: "BadRecordMarkerAttributes",
7: "BadCompleteWorkflowExecutionAttributes",
8: "BadFailWorkflowExecutionAttributes",
9: "BadCancelWorkflowExecutionAttributes",
10: "BadRequestCancelExternalWorkflowExecutionAttributes",
11: "BadContinueAsNewAttributes",
12: "StartTimerDuplicateId",
13: "ResetStickyTaskQueue",
14: "WorkflowWorkerUnhandledFailure",
15: "BadSignalWorkflowExecutionAttributes",
16: "BadStartChildExecutionAttributes",
17: "ForceCloseCommand",
18: "FailoverCloseCommand",
19: "BadSignalInputSize",
20: "ResetWorkflow",
21: "BadBinary",
22: "ScheduleActivityDuplicateId",
23: "BadSearchAttributes",
24: "NonDeterministicError",
}
var WorkflowTaskFailedCause_value = map[string]int32{
"Unspecified": 0,
"UnhandledCommand": 1,
"BadScheduleActivityAttributes": 2,
"BadRequestCancelActivityAttributes": 3,
"BadStartTimerAttributes": 4,
"BadCancelTimerAttributes": 5,
"BadRecordMarkerAttributes": 6,
"BadCompleteWorkflowExecutionAttributes": 7,
"BadFailWorkflowExecutionAttributes": 8,
"BadCancelWorkflowExecutionAttributes": 9,
"BadRequestCancelExternalWorkflowExecutionAttributes": 10,
"BadContinueAsNewAttributes": 11,
"StartTimerDuplicateId": 12,
"ResetStickyTaskQueue": 13,
"WorkflowWorkerUnhandledFailure": 14,
"BadSignalWorkflowExecutionAttributes": 15,
"BadStartChildExecutionAttributes": 16,
"ForceCloseCommand": 17,
"FailoverCloseCommand": 18,
"BadSignalInputSize": 19,
"ResetWorkflow": 20,
"BadBinary": 21,
"ScheduleActivityDuplicateId": 22,
"BadSearchAttributes": 23,
"NonDeterministicError": 24,
}
func (WorkflowTaskFailedCause) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b293cf8d1d965f2d, []int{0}
}
type StartChildWorkflowExecutionFailedCause int32
const (
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED StartChildWorkflowExecutionFailedCause = 0
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS StartChildWorkflowExecutionFailedCause = 1
)
var StartChildWorkflowExecutionFailedCause_name = map[int32]string{
0: "Unspecified",
1: "WorkflowAlreadyExists",
}
var StartChildWorkflowExecutionFailedCause_value = map[string]int32{
"Unspecified": 0,
"WorkflowAlreadyExists": 1,
}
func (StartChildWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b293cf8d1d965f2d, []int{1}
}
type CancelExternalWorkflowExecutionFailedCause int32
const (
CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED CancelExternalWorkflowExecutionFailedCause = 0
CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND CancelExternalWorkflowExecutionFailedCause = 1
)
var CancelExternalWorkflowExecutionFailedCause_name = map[int32]string{
0: "Unspecified",
1: "ExternalWorkflowExecutionNotFound",
}
var CancelExternalWorkflowExecutionFailedCause_value = map[string]int32{
"Unspecified": 0,
"ExternalWorkflowExecutionNotFound": 1,
}
func (CancelExternalWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b293cf8d1d965f2d, []int{2}
}
type SignalExternalWorkflowExecutionFailedCause int32
const (
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED SignalExternalWorkflowExecutionFailedCause = 0
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND SignalExternalWorkflowExecutionFailedCause = 1
)
var SignalExternalWorkflowExecutionFailedCause_name = map[int32]string{
0: "Unspecified",
1: "ExternalWorkflowExecutionNotFound",
}
var SignalExternalWorkflowExecutionFailedCause_value = map[string]int32{
"Unspecified": 0,
"ExternalWorkflowExecutionNotFound": 1,
}
func (SignalExternalWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b293cf8d1d965f2d, []int{3}
}
func init() {
proto.RegisterEnum("temporal.api.enums.v1.WorkflowTaskFailedCause", WorkflowTaskFailedCause_name, WorkflowTaskFailedCause_value)
proto.RegisterEnum("temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause", StartChildWorkflowExecutionFailedCause_name, StartChildWorkflowExecutionFailedCause_value)
proto.RegisterEnum("temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause", CancelExternalWorkflowExecutionFailedCause_name, CancelExternalWorkflowExecutionFailedCause_value)
proto.RegisterEnum("temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause", SignalExternalWorkflowExecutionFailedCause_name, SignalExternalWorkflowExecutionFailedCause_value)
}
func init() {
proto.RegisterFile("temporal/api/enums/v1/failed_cause.proto", fileDescriptor_b293cf8d1d965f2d)
}
var fileDescriptor_b293cf8d1d965f2d = []byte{
// 781 bytes of a gzipped FileD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, 0x80, 0x0c, 0xfc, 0x1c, 0x84, 0x72, 0xcd, 0xc2, 0xdf, 0x4b, 0x2b, 0xd3, 0xef, 0xc5, 0x22,
0x19, 0xf8, 0xc5, 0x62, 0x68, 0x29, 0x16, 0x9b, 0x85, 0x1f, 0x5f, 0x84, 0x2b, 0xd3, 0xfa, 0x3f,
0x01, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x3c, 0x91, 0x66, 0x5e, 0x09, 0x00, 0x00,
}
func (x WorkflowTaskFailedCause) String() string {
s, ok := WorkflowTaskFailedCause_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x StartChildWorkflowExecutionFailedCause) String() string {
s, ok := StartChildWorkflowExecutionFailedCause_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x CancelExternalWorkflowExecutionFailedCause) String() string {
s, ok := CancelExternalWorkflowExecutionFailedCause_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func (x SignalExternalWorkflowExecutionFailedCause) String() string {
s, ok := SignalExternalWorkflowExecutionFailedCause_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}