| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package aiplatformpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
|
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
|
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
type PipelineFailurePolicy int32 |
| 44 |
|
| 45 |
const ( |
| 46 |
|
| 47 |
PipelineFailurePolicy_PIPELINE_FAILURE_POLICY_UNSPECIFIED PipelineFailurePolicy = 0 |
| 48 |
|
| 49 |
|
| 50 |
PipelineFailurePolicy_PIPELINE_FAILURE_POLICY_FAIL_SLOW PipelineFailurePolicy = 1 |
| 51 |
|
| 52 |
|
| 53 |
PipelineFailurePolicy_PIPELINE_FAILURE_POLICY_FAIL_FAST PipelineFailurePolicy = 2 |
| 54 |
) |
| 55 |
|
| 56 |
|
| 57 |
var ( |
| 58 |
PipelineFailurePolicy_name = map[int32]string{ |
| 59 |
0: "PIPELINE_FAILURE_POLICY_UNSPECIFIED", |
| 60 |
1: "PIPELINE_FAILURE_POLICY_FAIL_SLOW", |
| 61 |
2: "PIPELINE_FAILURE_POLICY_FAIL_FAST", |
| 62 |
} |
| 63 |
PipelineFailurePolicy_value = map[string]int32{ |
| 64 |
"PIPELINE_FAILURE_POLICY_UNSPECIFIED": 0, |
| 65 |
"PIPELINE_FAILURE_POLICY_FAIL_SLOW": 1, |
| 66 |
"PIPELINE_FAILURE_POLICY_FAIL_FAST": 2, |
| 67 |
} |
| 68 |
) |
| 69 |
|
| 70 |
func (x PipelineFailurePolicy) Enum() *PipelineFailurePolicy { |
| 71 |
p := new(PipelineFailurePolicy) |
| 72 |
*p = x |
| 73 |
return p |
| 74 |
} |
| 75 |
|
| 76 |
func (x PipelineFailurePolicy) String() string { |
| 77 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 78 |
} |
| 79 |
|
| 80 |
func (PipelineFailurePolicy) Descriptor() protoreflect.EnumDescriptor { |
| 81 |
return file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_enumTypes[0].Descriptor() |
| 82 |
} |
| 83 |
|
| 84 |
func (PipelineFailurePolicy) Type() protoreflect.EnumType { |
| 85 |
return &file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_enumTypes[0] |
| 86 |
} |
| 87 |
|
| 88 |
func (x PipelineFailurePolicy) Number() protoreflect.EnumNumber { |
| 89 |
return protoreflect.EnumNumber(x) |
| 90 |
} |
| 91 |
|
| 92 |
|
| 93 |
func (PipelineFailurePolicy) EnumDescriptor() ([]byte, []int) { |
| 94 |
return file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescGZIP(), []int{0} |
| 95 |
} |
| 96 |
|
| 97 |
var File_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto protoreflect.FileDescriptor |
| 98 |
|
| 99 |
var file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDesc = []byte{ |
| 100 |
0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 101 |
0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 102 |
0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, |
| 103 |
0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 104 |
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, |
| 105 |
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 106 |
0x2a, 0x8e, 0x01, 0x0a, 0x15, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x61, 0x69, |
| 107 |
0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x27, 0x0a, 0x23, 0x50, 0x49, |
| 108 |
0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x50, |
| 109 |
0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 110 |
0x44, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, |
| 111 |
0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x46, |
| 112 |
0x41, 0x49, 0x4c, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x49, |
| 113 |
0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x50, |
| 114 |
0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x10, |
| 115 |
0x02, 0x42, 0xf1, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 116 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, |
| 117 |
0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x1a, 0x50, 0x69, 0x70, 0x65, 0x6c, |
| 118 |
0x69, 0x6e, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 119 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, |
| 120 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, |
| 121 |
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 122 |
0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, |
| 123 |
0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, |
| 124 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, |
| 125 |
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, |
| 126 |
0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, |
| 127 |
0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 128 |
0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 129 |
0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, |
| 130 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 131 |
} |
| 132 |
|
| 133 |
var ( |
| 134 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescOnce sync.Once |
| 135 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDesc |
| 136 |
) |
| 137 |
|
| 138 |
func file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescGZIP() []byte { |
| 139 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescOnce.Do(func() { |
| 140 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescData) |
| 141 |
}) |
| 142 |
return file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDescData |
| 143 |
} |
| 144 |
|
| 145 |
var file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 146 |
var file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_goTypes = []any{ |
| 147 |
(PipelineFailurePolicy)(0), |
| 148 |
} |
| 149 |
var file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_depIdxs = []int32{ |
| 150 |
0, |
| 151 |
0, |
| 152 |
0, |
| 153 |
0, |
| 154 |
0, |
| 155 |
} |
| 156 |
|
| 157 |
func init() { file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_init() } |
| 158 |
func file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_init() { |
| 159 |
if File_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto != nil { |
| 160 |
return |
| 161 |
} |
| 162 |
type x struct{} |
| 163 |
out := protoimpl.TypeBuilder{ |
| 164 |
File: protoimpl.DescBuilder{ |
| 165 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 166 |
RawDescriptor: file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDesc, |
| 167 |
NumEnums: 1, |
| 168 |
NumMessages: 0, |
| 169 |
NumExtensions: 0, |
| 170 |
NumServices: 0, |
| 171 |
}, |
| 172 |
GoTypes: file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_goTypes, |
| 173 |
DependencyIndexes: file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_depIdxs, |
| 174 |
EnumInfos: file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_enumTypes, |
| 175 |
}.Build() |
| 176 |
File_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto = out.File |
| 177 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_rawDesc = nil |
| 178 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_goTypes = nil |
| 179 |
file_google_cloud_aiplatform_v1beta1_pipeline_failure_policy_proto_depIdxs = nil |
| 180 |
} |