cloud.google.com/go/aiplatform@v1.106.0/apiv1/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/v1/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_v1_pipeline_state_proto_enumTypes[0].Descriptor()
   102  }
   103  
   104  func (PipelineState) Type() protoreflect.EnumType {
   105  	return &file_google_cloud_aiplatform_v1_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_v1_pipeline_state_proto_rawDescGZIP(), []int{0}
   115  }
   116  
   117  var File_google_cloud_aiplatform_v1_pipeline_state_proto protoreflect.FileDescriptor
   118  
   119  var file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc = []byte{
   120  	0x0a, 0x2f, 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, 0x2f, 0x70, 0x69, 0x70,
   122  	0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   123  	0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   124  	0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2a, 0x93, 0x02,
   125  	0x0a, 0x0d, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
   126  	0x1e, 0x0a, 0x1a, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54,
   127  	0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
   128  	0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54,
   129  	0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x49,
   130  	0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e,
   131  	0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49,
   132  	0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47,
   133  	0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53,
   134  	0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04,
   135  	0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41,
   136  	0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x50,
   137  	0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41,
   138  	0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x49,
   139  	0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e,
   140  	0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45,
   141  	0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45,
   142  	0x44, 0x10, 0x08, 0x42, 0xd0, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   143  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
   144  	0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65,
   145  	0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c,
   146  	0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
   147  	0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69,
   148  	0x76, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b,
   149  	0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47,
   150  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c,
   151  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67,
   152  	0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66,
   153  	0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
   154  	0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
   155  	0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   156  }
   157  
   158  var (
   159  	file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescOnce sync.Once
   160  	file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData = file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc
   161  )
   162  
   163  func file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescGZIP() []byte {
   164  	file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescOnce.Do(func() {
   165  		file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData)
   166  	})
   167  	return file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDescData
   168  }
   169  
   170  var file_google_cloud_aiplatform_v1_pipeline_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   171  var file_google_cloud_aiplatform_v1_pipeline_state_proto_goTypes = []any{
   172  	(PipelineState)(0), // 0: google.cloud.aiplatform.v1.PipelineState
   173  }
   174  var file_google_cloud_aiplatform_v1_pipeline_state_proto_depIdxs = []int32{
   175  	0, // [0:0] is the sub-list for method output_type
   176  	0, // [0:0] is the sub-list for method input_type
   177  	0, // [0:0] is the sub-list for extension type_name
   178  	0, // [0:0] is the sub-list for extension extendee
   179  	0, // [0:0] is the sub-list for field type_name
   180  }
   181  
   182  func init() { file_google_cloud_aiplatform_v1_pipeline_state_proto_init() }
   183  func file_google_cloud_aiplatform_v1_pipeline_state_proto_init() {
   184  	if File_google_cloud_aiplatform_v1_pipeline_state_proto != nil {
   185  		return
   186  	}
   187  	type x struct{}
   188  	out := protoimpl.TypeBuilder{
   189  		File: protoimpl.DescBuilder{
   190  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   191  			RawDescriptor: file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc,
   192  			NumEnums:      1,
   193  			NumMessages:   0,
   194  			NumExtensions: 0,
   195  			NumServices:   0,
   196  		},
   197  		GoTypes:           file_google_cloud_aiplatform_v1_pipeline_state_proto_goTypes,
   198  		DependencyIndexes: file_google_cloud_aiplatform_v1_pipeline_state_proto_depIdxs,
   199  		EnumInfos:         file_google_cloud_aiplatform_v1_pipeline_state_proto_enumTypes,
   200  	}.Build()
   201  	File_google_cloud_aiplatform_v1_pipeline_state_proto = out.File
   202  	file_google_cloud_aiplatform_v1_pipeline_state_proto_rawDesc = nil
   203  	file_google_cloud_aiplatform_v1_pipeline_state_proto_goTypes = nil
   204  	file_google_cloud_aiplatform_v1_pipeline_state_proto_depIdxs = nil
   205  }