// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        (unknown)
// source: tidb_cloud_open_api/common/v1beta1/clusterstate.proto

package commonv1beta1

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

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)
)

// Enum of possible states of a cluster.
type ClusterState int32

const (
	ClusterState_CLUSTER_STATE_UNSPECIFIED ClusterState = 0
	// Cluster is being created.
	ClusterState_CREATING ClusterState = 1
	// Cluster is being deleted.
	ClusterState_DELETING ClusterState = 2
	// Cluster is active for use.
	ClusterState_ACTIVE ClusterState = 3
	// Cluster data is being restored.
	ClusterState_RESTORING ClusterState = 4
	// Cluster is under maintenance.
	ClusterState_MAINTENANCE ClusterState = 5
	// Cluster has been deleted.
	ClusterState_DELETED ClusterState = 6
	// Cluster is not active, but not being deleted.
	ClusterState_INACTIVE ClusterState = 7
	// Cluster is being updated.
	// Only for Dedicated Cluster.
	ClusterState_UPGRADING ClusterState = 8
	// Cluster is being imported.
	// Only for Dedicated Cluster.
	ClusterState_IMPORTING ClusterState = 9
	// Cluster is being modified.
	// Only for Dedicated Cluster.
	ClusterState_MODIFYING ClusterState = 10
	// Cluster is being paused.
	// Only for Dedicated Cluster.
	ClusterState_PAUSING ClusterState = 11
	// Cluster is paused.
	// Only for Dedicated Cluster.
	ClusterState_PAUSED ClusterState = 12
	// Cluster is resuming.
	// Only for Dedicated Cluster.
	ClusterState_RESUMING ClusterState = 13
)

// Enum value maps for ClusterState.
var (
	ClusterState_name = map[int32]string{
		0:  "CLUSTER_STATE_UNSPECIFIED",
		1:  "CREATING",
		2:  "DELETING",
		3:  "ACTIVE",
		4:  "RESTORING",
		5:  "MAINTENANCE",
		6:  "DELETED",
		7:  "INACTIVE",
		8:  "UPGRADING",
		9:  "IMPORTING",
		10: "MODIFYING",
		11: "PAUSING",
		12: "PAUSED",
		13: "RESUMING",
	}
	ClusterState_value = map[string]int32{
		"CLUSTER_STATE_UNSPECIFIED": 0,
		"CREATING":                  1,
		"DELETING":                  2,
		"ACTIVE":                    3,
		"RESTORING":                 4,
		"MAINTENANCE":               5,
		"DELETED":                   6,
		"INACTIVE":                  7,
		"UPGRADING":                 8,
		"IMPORTING":                 9,
		"MODIFYING":                 10,
		"PAUSING":                   11,
		"PAUSED":                    12,
		"RESUMING":                  13,
	}
)

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

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

func (ClusterState) Descriptor() protoreflect.EnumDescriptor {
	return file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_enumTypes[0].Descriptor()
}

func (ClusterState) Type() protoreflect.EnumType {
	return &file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_enumTypes[0]
}

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

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

var File_tidb_cloud_open_api_common_v1beta1_clusterstate_proto protoreflect.FileDescriptor

var file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDesc = []byte{
	0x0a, 0x35, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6f, 0x70, 0x65,
	0x6e, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62,
	0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x74, 0x61, 0x74,
	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x63, 0x6c,
	0x6f, 0x75, 0x64, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
	0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2a, 0xe4, 0x01, 0x0a, 0x0c,
	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x19,
	0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e,
	0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43,
	0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c,
	0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56,
	0x45, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x49, 0x4e, 0x47,
	0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43,
	0x45, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x06,
	0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x07, 0x12, 0x0d,
	0x0a, 0x09, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x0d, 0x0a,
	0x09, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09,
	0x4d, 0x4f, 0x44, 0x49, 0x46, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, 0x50,
	0x41, 0x55, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 0x53,
	0x45, 0x44, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x55, 0x4d, 0x49, 0x4e, 0x47,
	0x10, 0x0d, 0x42, 0xc1, 0x02, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f,
	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63,
	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x11, 0x43,
	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
	0x50, 0x01, 0x5a, 0x66, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74,
	0x69, 0x64, 0x62, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x69, 0x64, 0x62, 0x2d, 0x6d, 0x61,
	0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x63,
	0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
	0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x6f, 0x6d,
	0x6d, 0x6f, 0x6e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x43, 0x58,
	0xaa, 0x02, 0x1f, 0x54, 0x69, 0x64, 0x62, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4f, 0x70, 0x65, 0x6e,
	0x41, 0x70, 0x69, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74,
	0x61, 0x31, 0xca, 0x02, 0x1f, 0x54, 0x69, 0x64, 0x62, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4f, 0x70,
	0x65, 0x6e, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62,
	0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x2b, 0x54, 0x69, 0x64, 0x62, 0x43, 0x6c, 0x6f, 0x75, 0x64,
	0x4f, 0x70, 0x65, 0x6e, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x56,
	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
	0x74, 0x61, 0xea, 0x02, 0x21, 0x54, 0x69, 0x64, 0x62, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4f, 0x70,
	0x65, 0x6e, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x56,
	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescOnce sync.Once
	file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescData = file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDesc
)

func file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescGZIP() []byte {
	file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescOnce.Do(func() {
		file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescData = protoimpl.X.CompressGZIP(file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescData)
	})
	return file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDescData
}

var file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_goTypes = []any{
	(ClusterState)(0), // 0: tidb_cloud_open_api.common.v1beta1.ClusterState
}
var file_tidb_cloud_open_api_common_v1beta1_clusterstate_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_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_init() }
func file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_init() {
	if File_tidb_cloud_open_api_common_v1beta1_clusterstate_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_goTypes,
		DependencyIndexes: file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_depIdxs,
		EnumInfos:         file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_enumTypes,
	}.Build()
	File_tidb_cloud_open_api_common_v1beta1_clusterstate_proto = out.File
	file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_rawDesc = nil
	file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_goTypes = nil
	file_tidb_cloud_open_api_common_v1beta1_clusterstate_proto_depIdxs = nil
}
