1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/aiplatform/v1/pipeline_state.proto 20 21package aiplatform 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37) 38 39// Describes the state of a pipeline. 40type PipelineState int32 41 42const ( 43 // The pipeline state is unspecified. 44 PipelineState_PIPELINE_STATE_UNSPECIFIED PipelineState = 0 45 // The pipeline has been created or resumed, and processing has not yet 46 // begun. 47 PipelineState_PIPELINE_STATE_QUEUED PipelineState = 1 48 // The service is preparing to run the pipeline. 49 PipelineState_PIPELINE_STATE_PENDING PipelineState = 2 50 // The pipeline is in progress. 51 PipelineState_PIPELINE_STATE_RUNNING PipelineState = 3 52 // The pipeline completed successfully. 53 PipelineState_PIPELINE_STATE_SUCCEEDED PipelineState = 4 54 // The pipeline failed. 55 PipelineState_PIPELINE_STATE_FAILED PipelineState = 5 56 // The pipeline is being cancelled. From this state, the pipeline may only go 57 // to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or 58 // PIPELINE_STATE_CANCELLED. 59 PipelineState_PIPELINE_STATE_CANCELLING PipelineState = 6 60 // The pipeline has been cancelled. 61 PipelineState_PIPELINE_STATE_CANCELLED PipelineState = 7 62 // The pipeline has been stopped, and can be resumed. 63 PipelineState_PIPELINE_STATE_PAUSED PipelineState = 8 64) 65 66// Enum value maps for PipelineState. 67var ( 68 PipelineState_name = map[int32]string{ 69 0: "PIPELINE_STATE_UNSPECIFIED", 70 1: "PIPELINE_STATE_QUEUED", 71 2: "PIPELINE_STATE_PENDING", 72 3: "PIPELINE_STATE_RUNNING", 73 4: "PIPELINE_STATE_SUCCEEDED", 74 5: "PIPELINE_STATE_FAILED", 75 6: "PIPELINE_STATE_CANCELLING", 76 7: "PIPELINE_STATE_CANCELLED", 77 8: "PIPELINE_STATE_PAUSED", 78 } 79 PipelineState_value = map[string]int32{ 80 "PIPELINE_STATE_UNSPECIFIED": 0, 81 "PIPELINE_STATE_QUEUED": 1, 82 "PIPELINE_STATE_PENDING": 2, 83 "PIPELINE_STATE_RUNNING": 3, 84 "PIPELINE_STATE_SUCCEEDED": 4, 85 "PIPELINE_STATE_FAILED": 5, 86 "PIPELINE_STATE_CANCELLING": 6, 87 "PIPELINE_STATE_CANCELLED": 7, 88 "PIPELINE_STATE_PAUSED": 8, 89 } 90) 91 92func (x PipelineState) Enum() *PipelineState { 93 p := new(PipelineState) 94 *p = x 95 return p 96} 97 98func (x PipelineState) String() string { 99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 100} 101 102func (PipelineState) Descriptor() protoreflect.EnumDescriptor { 103 return file_google_cloud_aiplatform_v1_pipeline_state_proto_enumTypes[0].Descriptor() 104} 105 106func (PipelineState) Type() protoreflect.EnumType { 107 return &file_google_cloud_aiplatform_v1_pipeline_state_proto_enumTypes[0] 108} 109 110func (x PipelineState) Number() protoreflect.EnumNumber { 111 return protoreflect.EnumNumber(x) 112} 113 114// Deprecated: Use PipelineState.Descriptor instead. 115func (PipelineState) EnumDescriptor() ([]byte, []int) { 116 return file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescGZIP(), []int{0} 117} 118 119var File_google_cloud_aiplatform_v1_pipeline_state_proto protoreflect.FileDescriptor 120 121var file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc = []byte{ 122 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 123 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x69, 0x70, 124 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 125 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 126 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 127 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 128 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x93, 0x02, 0x0a, 0x0d, 129 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 130 0x1a, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 131 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 132 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 133 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x49, 0x50, 0x45, 134 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 135 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 136 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 137 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 138 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x19, 139 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 140 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x49, 0x50, 141 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 142 0x45, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x49, 0x50, 0x45, 143 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 144 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 145 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 146 0x08, 0x42, 0xd6, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 147 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 148 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 149 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 150 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 151 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 152 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 153 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 154 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 155 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 156 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 157 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 158 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 159 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 160 0x6f, 0x33, 161} 162 163var ( 164 file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescOnce sync.Once 165 file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData = file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc 166) 167 168func file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescGZIP() []byte { 169 file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescOnce.Do(func() { 170 file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData) 171 }) 172 return file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData 173} 174 175var file_google_cloud_aiplatform_v1_pipeline_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 176var file_google_cloud_aiplatform_v1_pipeline_state_proto_goTypes = []interface{}{ 177 (PipelineState)(0), // 0: google.cloud.aiplatform.v1.PipelineState 178} 179var file_google_cloud_aiplatform_v1_pipeline_state_proto_depIdxs = []int32{ 180 0, // [0:0] is the sub-list for method output_type 181 0, // [0:0] is the sub-list for method input_type 182 0, // [0:0] is the sub-list for extension type_name 183 0, // [0:0] is the sub-list for extension extendee 184 0, // [0:0] is the sub-list for field type_name 185} 186 187func init() { file_google_cloud_aiplatform_v1_pipeline_state_proto_init() } 188func file_google_cloud_aiplatform_v1_pipeline_state_proto_init() { 189 if File_google_cloud_aiplatform_v1_pipeline_state_proto != nil { 190 return 191 } 192 type x struct{} 193 out := protoimpl.TypeBuilder{ 194 File: protoimpl.DescBuilder{ 195 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 196 RawDescriptor: file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc, 197 NumEnums: 1, 198 NumMessages: 0, 199 NumExtensions: 0, 200 NumServices: 0, 201 }, 202 GoTypes: file_google_cloud_aiplatform_v1_pipeline_state_proto_goTypes, 203 DependencyIndexes: file_google_cloud_aiplatform_v1_pipeline_state_proto_depIdxs, 204 EnumInfos: file_google_cloud_aiplatform_v1_pipeline_state_proto_enumTypes, 205 }.Build() 206 File_google_cloud_aiplatform_v1_pipeline_state_proto = out.File 207 file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc = nil 208 file_google_cloud_aiplatform_v1_pipeline_state_proto_goTypes = nil 209 file_google_cloud_aiplatform_v1_pipeline_state_proto_depIdxs = nil 210} 211