cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/pipeline_state.pb.go (about) 1 // Copyright 2025 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.35.2 18 // protoc v4.25.7 19 // source: google/cloud/aiplatform/v1beta1/pipeline_state.proto 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 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 // Describes the state of a pipeline. 38 type PipelineState int32 39 40 const ( 41 // The pipeline state is unspecified. 42 PipelineState_PIPELINE_STATE_UNSPECIFIED PipelineState = 0 43 // The pipeline has been created or resumed, and processing has not yet 44 // begun. 45 PipelineState_PIPELINE_STATE_QUEUED PipelineState = 1 46 // The service is preparing to run the pipeline. 47 PipelineState_PIPELINE_STATE_PENDING PipelineState = 2 48 // The pipeline is in progress. 49 PipelineState_PIPELINE_STATE_RUNNING PipelineState = 3 50 // The pipeline completed successfully. 51 PipelineState_PIPELINE_STATE_SUCCEEDED PipelineState = 4 52 // The pipeline failed. 53 PipelineState_PIPELINE_STATE_FAILED PipelineState = 5 54 // The pipeline is being cancelled. From this state, the pipeline may only go 55 // to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or 56 // PIPELINE_STATE_CANCELLED. 57 PipelineState_PIPELINE_STATE_CANCELLING PipelineState = 6 58 // The pipeline has been cancelled. 59 PipelineState_PIPELINE_STATE_CANCELLED PipelineState = 7 60 // The pipeline has been stopped, and can be resumed. 61 PipelineState_PIPELINE_STATE_PAUSED PipelineState = 8 62 ) 63 64 // Enum value maps for PipelineState. 65 var ( 66 PipelineState_name = map[int32]string{ 67 0: "PIPELINE_STATE_UNSPECIFIED", 68 1: "PIPELINE_STATE_QUEUED", 69 2: "PIPELINE_STATE_PENDING", 70 3: "PIPELINE_STATE_RUNNING", 71 4: "PIPELINE_STATE_SUCCEEDED", 72 5: "PIPELINE_STATE_FAILED", 73 6: "PIPELINE_STATE_CANCELLING", 74 7: "PIPELINE_STATE_CANCELLED", 75 8: "PIPELINE_STATE_PAUSED", 76 } 77 PipelineState_value = map[string]int32{ 78 "PIPELINE_STATE_UNSPECIFIED": 0, 79 "PIPELINE_STATE_QUEUED": 1, 80 "PIPELINE_STATE_PENDING": 2, 81 "PIPELINE_STATE_RUNNING": 3, 82 "PIPELINE_STATE_SUCCEEDED": 4, 83 "PIPELINE_STATE_FAILED": 5, 84 "PIPELINE_STATE_CANCELLING": 6, 85 "PIPELINE_STATE_CANCELLED": 7, 86 "PIPELINE_STATE_PAUSED": 8, 87 } 88 ) 89 90 func (x PipelineState) Enum() *PipelineState { 91 p := new(PipelineState) 92 *p = x 93 return p 94 } 95 96 func (x PipelineState) String() string { 97 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 98 } 99 100 func (PipelineState) Descriptor() protoreflect.EnumDescriptor { 101 return file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_enumTypes[0].Descriptor() 102 } 103 104 func (PipelineState) Type() protoreflect.EnumType { 105 return &file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_enumTypes[0] 106 } 107 108 func (x PipelineState) Number() protoreflect.EnumNumber { 109 return protoreflect.EnumNumber(x) 110 } 111 112 // Deprecated: Use PipelineState.Descriptor instead. 113 func (PipelineState) EnumDescriptor() ([]byte, []int) { 114 return file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescGZIP(), []int{0} 115 } 116 117 var File_google_cloud_aiplatform_v1beta1_pipeline_state_proto protoreflect.FileDescriptor 118 119 var file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDesc = []byte{ 120 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 121 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 122 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 123 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 124 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 125 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2a, 0x93, 0x02, 0x0a, 0x0d, 0x50, 0x69, 0x70, 0x65, 126 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x49, 0x50, 127 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 128 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 129 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 130 0x45, 0x44, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 131 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 132 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 133 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 134 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 135 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 136 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 137 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 138 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x49, 139 0x4e, 0x47, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 140 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 141 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 142 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x08, 0x42, 0xe9, 0x01, 143 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 144 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 145 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x12, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 146 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x63, 0x6c, 0x6f, 147 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 148 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 149 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 150 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 151 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 152 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 153 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 154 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 155 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 156 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 157 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 158 0x33, 159 } 160 161 var ( 162 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescOnce sync.Once 163 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDesc 164 ) 165 166 func file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescGZIP() []byte { 167 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescOnce.Do(func() { 168 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescData) 169 }) 170 return file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDescData 171 } 172 173 var file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 174 var file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_goTypes = []any{ 175 (PipelineState)(0), // 0: google.cloud.aiplatform.v1beta1.PipelineState 176 } 177 var file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_depIdxs = []int32{ 178 0, // [0:0] is the sub-list for method output_type 179 0, // [0:0] is the sub-list for method input_type 180 0, // [0:0] is the sub-list for extension type_name 181 0, // [0:0] is the sub-list for extension extendee 182 0, // [0:0] is the sub-list for field type_name 183 } 184 185 func init() { file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_init() } 186 func file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_init() { 187 if File_google_cloud_aiplatform_v1beta1_pipeline_state_proto != nil { 188 return 189 } 190 type x struct{} 191 out := protoimpl.TypeBuilder{ 192 File: protoimpl.DescBuilder{ 193 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 194 RawDescriptor: file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDesc, 195 NumEnums: 1, 196 NumMessages: 0, 197 NumExtensions: 0, 198 NumServices: 0, 199 }, 200 GoTypes: file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_goTypes, 201 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_depIdxs, 202 EnumInfos: file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_enumTypes, 203 }.Build() 204 File_google_cloud_aiplatform_v1beta1_pipeline_state_proto = out.File 205 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_rawDesc = nil 206 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_goTypes = nil 207 file_google_cloud_aiplatform_v1beta1_pipeline_state_proto_depIdxs = nil 208 }