// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/aiplatform/v1beta1/deployment_stage.proto

package aiplatformpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Stage field indicating the current progress of a deployment.
type DeploymentStage int32

const (
	// Default value. This value is unused.
	DeploymentStage_DEPLOYMENT_STAGE_UNSPECIFIED DeploymentStage = 0
	// The deployment is initializing and setting up the environment.
	DeploymentStage_STARTING_DEPLOYMENT DeploymentStage = 5
	// The deployment is preparing the model assets.
	DeploymentStage_PREPARING_MODEL DeploymentStage = 6
	// The deployment is creating the underlying serving cluster.
	DeploymentStage_CREATING_SERVING_CLUSTER DeploymentStage = 7
	// The deployment is adding nodes to the serving cluster.
	DeploymentStage_ADDING_NODES_TO_CLUSTER DeploymentStage = 8
	// The deployment is getting the container image for the model server.
	DeploymentStage_GETTING_CONTAINER_IMAGE DeploymentStage = 9
	// The deployment is starting the model server.
	DeploymentStage_STARTING_MODEL_SERVER DeploymentStage = 3
	// The deployment is performing finalization steps.
	DeploymentStage_FINISHING_UP DeploymentStage = 4
	// The deployment has terminated.
	DeploymentStage_DEPLOYMENT_TERMINATED DeploymentStage = 10
	// The deployment has succeeded.
	DeploymentStage_SUCCESSFULLY_DEPLOYED DeploymentStage = 11
	// The deployment has failed.
	DeploymentStage_FAILED_TO_DEPLOY DeploymentStage = 12
)

// Enum value maps for DeploymentStage.
var (
	DeploymentStage_name = map[int32]string{
		0:  "DEPLOYMENT_STAGE_UNSPECIFIED",
		5:  "STARTING_DEPLOYMENT",
		6:  "PREPARING_MODEL",
		7:  "CREATING_SERVING_CLUSTER",
		8:  "ADDING_NODES_TO_CLUSTER",
		9:  "GETTING_CONTAINER_IMAGE",
		3:  "STARTING_MODEL_SERVER",
		4:  "FINISHING_UP",
		10: "DEPLOYMENT_TERMINATED",
		11: "SUCCESSFULLY_DEPLOYED",
		12: "FAILED_TO_DEPLOY",
	}
	DeploymentStage_value = map[string]int32{
		"DEPLOYMENT_STAGE_UNSPECIFIED": 0,
		"STARTING_DEPLOYMENT":          5,
		"PREPARING_MODEL":              6,
		"CREATING_SERVING_CLUSTER":     7,
		"ADDING_NODES_TO_CLUSTER":      8,
		"GETTING_CONTAINER_IMAGE":      9,
		"STARTING_MODEL_SERVER":        3,
		"FINISHING_UP":                 4,
		"DEPLOYMENT_TERMINATED":        10,
		"SUCCESSFULLY_DEPLOYED":        11,
		"FAILED_TO_DEPLOY":             12,
	}
)

func (x DeploymentStage) Enum() *DeploymentStage {
	p := new(DeploymentStage)
	*p = x
	return p
}

func (x DeploymentStage) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (DeploymentStage) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_enumTypes[0].Descriptor()
}

func (DeploymentStage) Type() protoreflect.EnumType {
	return &file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_enumTypes[0]
}

func (x DeploymentStage) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use DeploymentStage.Descriptor instead.
func (DeploymentStage) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescGZIP(), []int{0}
}

var File_google_cloud_aiplatform_v1beta1_deployment_stage_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDesc = "" +
	"\n" +
	"6google/cloud/aiplatform/v1beta1/deployment_stage.proto\x12\x1fgoogle.cloud.aiplatform.v1beta1*\xb2\x02\n" +
	"\x0fDeploymentStage\x12 \n" +
	"\x1cDEPLOYMENT_STAGE_UNSPECIFIED\x10\x00\x12\x17\n" +
	"\x13STARTING_DEPLOYMENT\x10\x05\x12\x13\n" +
	"\x0fPREPARING_MODEL\x10\x06\x12\x1c\n" +
	"\x18CREATING_SERVING_CLUSTER\x10\a\x12\x1b\n" +
	"\x17ADDING_NODES_TO_CLUSTER\x10\b\x12\x1b\n" +
	"\x17GETTING_CONTAINER_IMAGE\x10\t\x12\x19\n" +
	"\x15STARTING_MODEL_SERVER\x10\x03\x12\x10\n" +
	"\fFINISHING_UP\x10\x04\x12\x19\n" +
	"\x15DEPLOYMENT_TERMINATED\x10\n" +
	"\x12\x19\n" +
	"\x15SUCCESSFULLY_DEPLOYED\x10\v\x12\x14\n" +
	"\x10FAILED_TO_DEPLOY\x10\fB\xeb\x01\n" +
	"#com.google.cloud.aiplatform.v1beta1B\x14DeploymentStageProtoP\x01ZCcloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb\xaa\x02\x1fGoogle.Cloud.AIPlatform.V1Beta1\xca\x02\x1fGoogle\\Cloud\\AIPlatform\\V1beta1\xea\x02\"Google::Cloud::AIPlatform::V1beta1b\x06proto3"

var (
	file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDesc), len(file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDescData
}

var file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_goTypes = []any{
	(DeploymentStage)(0), // 0: google.cloud.aiplatform.v1beta1.DeploymentStage
}
var file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_init() }
func file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_init() {
	if File_google_cloud_aiplatform_v1beta1_deployment_stage_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDesc), len(file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_depIdxs,
		EnumInfos:         file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_enumTypes,
	}.Build()
	File_google_cloud_aiplatform_v1beta1_deployment_stage_proto = out.File
	file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_goTypes = nil
	file_google_cloud_aiplatform_v1beta1_deployment_stage_proto_depIdxs = nil
}
