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