// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        (unknown)
// source: tidb_mgmt_service/v1/migration_cluster.proto

package tidb_mgmt_servicev1

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	datatypev1 "github.com/tidbcloud/tidb-management-service/api/spec/datatype/v1"
	v1 "github.com/tidbcloud/tidb-management-service/api/spec/global/common/v1"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	"google.golang.org/protobuf/proto"
	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)
)

type MigrationCluster_State int32

const (
	MigrationCluster_STATE_UNSPECIFIED MigrationCluster_State = 0
	MigrationCluster_PENDING           MigrationCluster_State = 1 // Operation is queued and waiting to start
	MigrationCluster_RUNNING           MigrationCluster_State = 2 // Operation is currently executing
	MigrationCluster_SUCCEEDED         MigrationCluster_State = 3 // Operation completed successfully
	MigrationCluster_FAILED            MigrationCluster_State = 4 // Operation failed
)

// Enum value maps for MigrationCluster_State.
var (
	MigrationCluster_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "SUCCEEDED",
		4: "FAILED",
	}
	MigrationCluster_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"RUNNING":           2,
		"SUCCEEDED":         3,
		"FAILED":            4,
	}
)

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

func (x MigrationCluster_State) String() string {
	valueDesc := x.Descriptor().Values().ByNumber(x.Number())
	if proto.HasExtension(valueDesc.Options(), datatypev1.E_Name) {
		ext := proto.GetExtension(valueDesc.Options(), datatypev1.E_Name)
		s, ok := ext.(string)
		if ok && s != "" {
			return s
		}
	}
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (MigrationCluster_State) Descriptor() protoreflect.EnumDescriptor {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_enumTypes[0].Descriptor()
}

func (MigrationCluster_State) Type() protoreflect.EnumType {
	return &file_tidb_mgmt_service_v1_migration_cluster_proto_enumTypes[0]
}

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

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

type MigrationCluster_RestoreMode int32

const (
	MigrationCluster_MODE_UNSPECIFIED MigrationCluster_RestoreMode = 0
	MigrationCluster_SNAPSHOT         MigrationCluster_RestoreMode = 1
	MigrationCluster_PITR             MigrationCluster_RestoreMode = 2
)

// Enum value maps for MigrationCluster_RestoreMode.
var (
	MigrationCluster_RestoreMode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "SNAPSHOT",
		2: "PITR",
	}
	MigrationCluster_RestoreMode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"SNAPSHOT":         1,
		"PITR":             2,
	}
)

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

func (x MigrationCluster_RestoreMode) String() string {
	valueDesc := x.Descriptor().Values().ByNumber(x.Number())
	if proto.HasExtension(valueDesc.Options(), datatypev1.E_Name) {
		ext := proto.GetExtension(valueDesc.Options(), datatypev1.E_Name)
		s, ok := ext.(string)
		if ok && s != "" {
			return s
		}
	}
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (MigrationCluster_RestoreMode) Descriptor() protoreflect.EnumDescriptor {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_enumTypes[1].Descriptor()
}

func (MigrationCluster_RestoreMode) Type() protoreflect.EnumType {
	return &file_tidb_mgmt_service_v1_migration_cluster_proto_enumTypes[1]
}

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

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

type MigrationCluster struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// ID of the migration cluster
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the source cluster
	SourceClusterId uint64 `protobuf:"varint,2,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// ID of the backup of the source cluster
	BackupId uint64 `protobuf:"varint,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// ID of the target project where the migration cluster will be created
	// If not provided, the migration cluster will be created in the same project as the source cluster
	TargetProjectId uint64 `protobuf:"varint,4,opt,name=target_project_id,json=targetProjectId,proto3" json:"target_project_id,omitempty"`
	// Display Name of the migration cluster to be created
	ClusterDisplayName string `protobuf:"bytes,5,opt,name=cluster_display_name,json=clusterDisplayName,proto3" json:"cluster_display_name,omitempty"`
	// Configuration of the TiDB component in the migration cluster
	TidbNodeSetting *MigrationCluster_TidbNodeSetting `protobuf:"bytes,6,opt,name=tidb_node_setting,json=tidbNodeSetting,proto3" json:"tidb_node_setting,omitempty"`
	// Configuration of the TiKV component in the migration cluster
	TikvNodeSetting *MigrationCluster_StorageNodeSetting `protobuf:"bytes,7,opt,name=tikv_node_setting,json=tikvNodeSetting,proto3" json:"tikv_node_setting,omitempty"`
	// Configuration of the TiFlash component in the migration cluster
	TiflashNodeSetting *MigrationCluster_StorageNodeSetting `protobuf:"bytes,8,opt,name=tiflash_node_setting,json=tiflashNodeSetting,proto3" json:"tiflash_node_setting,omitempty"`
	// Configuration of the PD component in the migration cluster
	PdNodeSetting *MigrationCluster_PdNodeSetting `protobuf:"bytes,13,opt,name=pd_node_setting,json=pdNodeSetting,proto3" json:"pd_node_setting,omitempty"`
	BrVersion     string                          `protobuf:"bytes,9,opt,name=br_version,json=brVersion,proto3" json:"br_version,omitempty"`
	// Target version of the migration cluster to be upgraded to
	TargetClusterVersion string `protobuf:"bytes,10,opt,name=target_cluster_version,json=targetClusterVersion,proto3" json:"target_cluster_version,omitempty"`
	// Current state of the migration cluster provision operation
	State MigrationCluster_State `protobuf:"varint,11,opt,name=state,proto3,enum=tidb_mgmt_service.v1.MigrationCluster_State" json:"state,omitempty"`
	// ID of the target cluster created for migration
	TargetClusterId uint64 `protobuf:"varint,12,opt,name=target_cluster_id,json=targetClusterId,proto3" json:"target_cluster_id,omitempty"`
	BrImageTag      string `protobuf:"bytes,14,opt,name=br_image_tag,json=brImageTag,proto3" json:"br_image_tag,omitempty"`
	// Custom options for the BR command
	BrCustomOptions string `protobuf:"bytes,15,opt,name=br_custom_options,json=brCustomOptions,proto3" json:"br_custom_options,omitempty"`
	// Image tag for the TiDB component in the migration cluster during upgrade
	TidbImageTag string `protobuf:"bytes,16,opt,name=tidb_image_tag,json=tidbImageTag,proto3" json:"tidb_image_tag,omitempty"`
	// Image tag for the TiKV component in the migration cluster during upgrade
	TikvImageTag string `protobuf:"bytes,17,opt,name=tikv_image_tag,json=tikvImageTag,proto3" json:"tikv_image_tag,omitempty"`
	// Image tag for the PD component in the migration cluster during upgrade
	PdImageTag string `protobuf:"bytes,18,opt,name=pd_image_tag,json=pdImageTag,proto3" json:"pd_image_tag,omitempty"`
	// Image tag for the TiFlash component in the migration cluster during upgrade
	TiflashImageTag string `protobuf:"bytes,19,opt,name=tiflash_image_tag,json=tiflashImageTag,proto3" json:"tiflash_image_tag,omitempty"`
	// Image tag for the TiDB component in the migration cluster during creation
	CreateClusterTidbImageTag string `protobuf:"bytes,20,opt,name=create_cluster_tidb_image_tag,json=createClusterTidbImageTag,proto3" json:"create_cluster_tidb_image_tag,omitempty"`
	// Image tag for the TiKV component in the migration cluster during creation
	CreateClusterTikvImageTag string `protobuf:"bytes,21,opt,name=create_cluster_tikv_image_tag,json=createClusterTikvImageTag,proto3" json:"create_cluster_tikv_image_tag,omitempty"`
	// Image tag for the PD component in the migration cluster during creation
	CreateClusterPdImageTag string `protobuf:"bytes,22,opt,name=create_cluster_pd_image_tag,json=createClusterPdImageTag,proto3" json:"create_cluster_pd_image_tag,omitempty"`
	// Image tag for the TiFlash component in the migration cluster during creation
	CreateClusterTiflashImageTag string `protobuf:"bytes,23,opt,name=create_cluster_tiflash_image_tag,json=createClusterTiflashImageTag,proto3" json:"create_cluster_tiflash_image_tag,omitempty"`
	// Optional. Defaults to source cluster region.
	// Cross-region clone is only allowed within the same cloud provider.
	TargetRegionId v1.Region_Name `protobuf:"varint,24,opt,name=target_region_id,json=targetRegionId,proto3,enum=global.common.v1.Region_Name" json:"target_region_id,omitempty"`
	// Optional. Defaults to SNAPSHOT if unspecified.
	// Users should explicitly choose another restore mode when needed.
	RestoreMode MigrationCluster_RestoreMode `protobuf:"varint,25,opt,name=restore_mode,json=restoreMode,proto3,enum=tidb_mgmt_service.v1.MigrationCluster_RestoreMode" json:"restore_mode,omitempty"`
	// Optional. Defaults to target_region_id if unspecified.
	// The backup region is not required to be the same as target_region_id.
	BackupRegionId v1.Region_Name `protobuf:"varint,26,opt,name=backup_region_id,json=backupRegionId,proto3,enum=global.common.v1.Region_Name" json:"backup_region_id,omitempty"`
}

func (x *MigrationCluster) Reset() {
	*x = MigrationCluster{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *MigrationCluster) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MigrationCluster) ProtoMessage() {}

func (x *MigrationCluster) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MigrationCluster.ProtoReflect.Descriptor instead.
func (*MigrationCluster) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{0}
}

func (x *MigrationCluster) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *MigrationCluster) GetSourceClusterId() uint64 {
	if x != nil {
		return x.SourceClusterId
	}
	return 0
}

func (x *MigrationCluster) GetBackupId() uint64 {
	if x != nil {
		return x.BackupId
	}
	return 0
}

func (x *MigrationCluster) GetTargetProjectId() uint64 {
	if x != nil {
		return x.TargetProjectId
	}
	return 0
}

func (x *MigrationCluster) GetClusterDisplayName() string {
	if x != nil {
		return x.ClusterDisplayName
	}
	return ""
}

func (x *MigrationCluster) GetTidbNodeSetting() *MigrationCluster_TidbNodeSetting {
	if x != nil {
		return x.TidbNodeSetting
	}
	return nil
}

func (x *MigrationCluster) GetTikvNodeSetting() *MigrationCluster_StorageNodeSetting {
	if x != nil {
		return x.TikvNodeSetting
	}
	return nil
}

func (x *MigrationCluster) GetTiflashNodeSetting() *MigrationCluster_StorageNodeSetting {
	if x != nil {
		return x.TiflashNodeSetting
	}
	return nil
}

func (x *MigrationCluster) GetPdNodeSetting() *MigrationCluster_PdNodeSetting {
	if x != nil {
		return x.PdNodeSetting
	}
	return nil
}

func (x *MigrationCluster) GetBrVersion() string {
	if x != nil {
		return x.BrVersion
	}
	return ""
}

func (x *MigrationCluster) GetTargetClusterVersion() string {
	if x != nil {
		return x.TargetClusterVersion
	}
	return ""
}

func (x *MigrationCluster) GetState() MigrationCluster_State {
	if x != nil {
		return x.State
	}
	return MigrationCluster_STATE_UNSPECIFIED
}

func (x *MigrationCluster) GetTargetClusterId() uint64 {
	if x != nil {
		return x.TargetClusterId
	}
	return 0
}

func (x *MigrationCluster) GetBrImageTag() string {
	if x != nil {
		return x.BrImageTag
	}
	return ""
}

func (x *MigrationCluster) GetBrCustomOptions() string {
	if x != nil {
		return x.BrCustomOptions
	}
	return ""
}

func (x *MigrationCluster) GetTidbImageTag() string {
	if x != nil {
		return x.TidbImageTag
	}
	return ""
}

func (x *MigrationCluster) GetTikvImageTag() string {
	if x != nil {
		return x.TikvImageTag
	}
	return ""
}

func (x *MigrationCluster) GetPdImageTag() string {
	if x != nil {
		return x.PdImageTag
	}
	return ""
}

func (x *MigrationCluster) GetTiflashImageTag() string {
	if x != nil {
		return x.TiflashImageTag
	}
	return ""
}

func (x *MigrationCluster) GetCreateClusterTidbImageTag() string {
	if x != nil {
		return x.CreateClusterTidbImageTag
	}
	return ""
}

func (x *MigrationCluster) GetCreateClusterTikvImageTag() string {
	if x != nil {
		return x.CreateClusterTikvImageTag
	}
	return ""
}

func (x *MigrationCluster) GetCreateClusterPdImageTag() string {
	if x != nil {
		return x.CreateClusterPdImageTag
	}
	return ""
}

func (x *MigrationCluster) GetCreateClusterTiflashImageTag() string {
	if x != nil {
		return x.CreateClusterTiflashImageTag
	}
	return ""
}

func (x *MigrationCluster) GetTargetRegionId() v1.Region_Name {
	if x != nil {
		return x.TargetRegionId
	}
	return v1.Region_Name(0)
}

func (x *MigrationCluster) GetRestoreMode() MigrationCluster_RestoreMode {
	if x != nil {
		return x.RestoreMode
	}
	return MigrationCluster_MODE_UNSPECIFIED
}

func (x *MigrationCluster) GetBackupRegionId() v1.Region_Name {
	if x != nil {
		return x.BackupRegionId
	}
	return v1.Region_Name(0)
}

type CreateMigrationClusterRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Details of the migration cluster to create
	MigrationCluster *MigrationCluster `protobuf:"bytes,1,opt,name=migration_cluster,json=migrationCluster,proto3" json:"migration_cluster,omitempty"`
	// If true, only validates the request and returns INVALID_ARGUMENT on failure,
	// without creating or starting the operation
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Strategy that controls how cluster configs are synchronized during migration cluster creation.
	ConfigSyncStrategy *ConfigSyncStrategy `protobuf:"bytes,3,opt,name=config_sync_strategy,json=configSyncStrategy,proto3" json:"config_sync_strategy,omitempty"`
}

func (x *CreateMigrationClusterRequest) Reset() {
	*x = CreateMigrationClusterRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *CreateMigrationClusterRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateMigrationClusterRequest) ProtoMessage() {}

func (x *CreateMigrationClusterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateMigrationClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateMigrationClusterRequest) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{1}
}

func (x *CreateMigrationClusterRequest) GetMigrationCluster() *MigrationCluster {
	if x != nil {
		return x.MigrationCluster
	}
	return nil
}

func (x *CreateMigrationClusterRequest) GetValidateOnly() bool {
	if x != nil {
		return x.ValidateOnly
	}
	return false
}

func (x *CreateMigrationClusterRequest) GetConfigSyncStrategy() *ConfigSyncStrategy {
	if x != nil {
		return x.ConfigSyncStrategy
	}
	return nil
}

type ConfigSyncStrategy struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// If true, fallback to backup when live config fetch fails.
	AllowFallbackToBackup bool `protobuf:"varint,1,opt,name=allow_fallback_to_backup,json=allowFallbackToBackup,proto3" json:"allow_fallback_to_backup,omitempty"`
	// If true, skip synchronizing system variables.
	SkipSystemVariables bool `protobuf:"varint,2,opt,name=skip_system_variables,json=skipSystemVariables,proto3" json:"skip_system_variables,omitempty"`
	// If true, skip synchronizing regular PD config.
	SkipPdConfig bool `protobuf:"varint,3,opt,name=skip_pd_config,json=skipPdConfig,proto3" json:"skip_pd_config,omitempty"`
	// If true, skip synchronizing PD server config.
	SkipPdServerConfig bool `protobuf:"varint,4,opt,name=skip_pd_server_config,json=skipPdServerConfig,proto3" json:"skip_pd_server_config,omitempty"`
	// If true, skip synchronizing placement rules.
	SkipPlacementRules bool `protobuf:"varint,5,opt,name=skip_placement_rules,json=skipPlacementRules,proto3" json:"skip_placement_rules,omitempty"`
	// If true, skip synchronizing store limits.
	SkipStoreLimits bool `protobuf:"varint,6,opt,name=skip_store_limits,json=skipStoreLimits,proto3" json:"skip_store_limits,omitempty"`
}

func (x *ConfigSyncStrategy) Reset() {
	*x = ConfigSyncStrategy{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ConfigSyncStrategy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ConfigSyncStrategy) ProtoMessage() {}

func (x *ConfigSyncStrategy) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ConfigSyncStrategy.ProtoReflect.Descriptor instead.
func (*ConfigSyncStrategy) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{2}
}

func (x *ConfigSyncStrategy) GetAllowFallbackToBackup() bool {
	if x != nil {
		return x.AllowFallbackToBackup
	}
	return false
}

func (x *ConfigSyncStrategy) GetSkipSystemVariables() bool {
	if x != nil {
		return x.SkipSystemVariables
	}
	return false
}

func (x *ConfigSyncStrategy) GetSkipPdConfig() bool {
	if x != nil {
		return x.SkipPdConfig
	}
	return false
}

func (x *ConfigSyncStrategy) GetSkipPdServerConfig() bool {
	if x != nil {
		return x.SkipPdServerConfig
	}
	return false
}

func (x *ConfigSyncStrategy) GetSkipPlacementRules() bool {
	if x != nil {
		return x.SkipPlacementRules
	}
	return false
}

func (x *ConfigSyncStrategy) GetSkipStoreLimits() bool {
	if x != nil {
		return x.SkipStoreLimits
	}
	return false
}

type GetMigrationClusterRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// ID of the migration cluster to retrieve
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (x *GetMigrationClusterRequest) Reset() {
	*x = GetMigrationClusterRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetMigrationClusterRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetMigrationClusterRequest) ProtoMessage() {}

func (x *GetMigrationClusterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetMigrationClusterRequest.ProtoReflect.Descriptor instead.
func (*GetMigrationClusterRequest) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{3}
}

func (x *GetMigrationClusterRequest) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

type MigrationCluster_TidbNodeSetting struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NodeSpecKey    string                            `protobuf:"bytes,1,opt,name=node_spec_key,json=nodeSpecKey,proto3" json:"node_spec_key,omitempty"`
	TidbNodeGroups []*MigrationCluster_TidbNodeGroup `protobuf:"bytes,2,rep,name=tidb_node_groups,json=tidbNodeGroups,proto3" json:"tidb_node_groups,omitempty"`
}

func (x *MigrationCluster_TidbNodeSetting) Reset() {
	*x = MigrationCluster_TidbNodeSetting{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *MigrationCluster_TidbNodeSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MigrationCluster_TidbNodeSetting) ProtoMessage() {}

func (x *MigrationCluster_TidbNodeSetting) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MigrationCluster_TidbNodeSetting.ProtoReflect.Descriptor instead.
func (*MigrationCluster_TidbNodeSetting) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{0, 0}
}

func (x *MigrationCluster_TidbNodeSetting) GetNodeSpecKey() string {
	if x != nil {
		return x.NodeSpecKey
	}
	return ""
}

func (x *MigrationCluster_TidbNodeSetting) GetTidbNodeGroups() []*MigrationCluster_TidbNodeGroup {
	if x != nil {
		return x.TidbNodeGroups
	}
	return nil
}

type MigrationCluster_TidbNodeGroup struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	DisplayName    string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IsDefaultGroup bool   `protobuf:"varint,2,opt,name=is_default_group,json=isDefaultGroup,proto3" json:"is_default_group,omitempty"`
	NodeCount      *int32 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3,oneof" json:"node_count,omitempty"`
}

func (x *MigrationCluster_TidbNodeGroup) Reset() {
	*x = MigrationCluster_TidbNodeGroup{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *MigrationCluster_TidbNodeGroup) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MigrationCluster_TidbNodeGroup) ProtoMessage() {}

func (x *MigrationCluster_TidbNodeGroup) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MigrationCluster_TidbNodeGroup.ProtoReflect.Descriptor instead.
func (*MigrationCluster_TidbNodeGroup) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{0, 1}
}

func (x *MigrationCluster_TidbNodeGroup) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *MigrationCluster_TidbNodeGroup) GetIsDefaultGroup() bool {
	if x != nil {
		return x.IsDefaultGroup
	}
	return false
}

func (x *MigrationCluster_TidbNodeGroup) GetNodeCount() int32 {
	if x != nil && x.NodeCount != nil {
		return *x.NodeCount
	}
	return 0
}

type MigrationCluster_StorageNodeSetting struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NodeSpecKey string `protobuf:"bytes,1,opt,name=node_spec_key,json=nodeSpecKey,proto3" json:"node_spec_key,omitempty"`
	NodeCount   *int32 `protobuf:"varint,2,opt,name=node_count,json=nodeCount,proto3,oneof" json:"node_count,omitempty"`
}

func (x *MigrationCluster_StorageNodeSetting) Reset() {
	*x = MigrationCluster_StorageNodeSetting{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *MigrationCluster_StorageNodeSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MigrationCluster_StorageNodeSetting) ProtoMessage() {}

func (x *MigrationCluster_StorageNodeSetting) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MigrationCluster_StorageNodeSetting.ProtoReflect.Descriptor instead.
func (*MigrationCluster_StorageNodeSetting) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{0, 2}
}

func (x *MigrationCluster_StorageNodeSetting) GetNodeSpecKey() string {
	if x != nil {
		return x.NodeSpecKey
	}
	return ""
}

func (x *MigrationCluster_StorageNodeSetting) GetNodeCount() int32 {
	if x != nil && x.NodeCount != nil {
		return *x.NodeCount
	}
	return 0
}

type MigrationCluster_PdNodeSetting struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	NodeSpecKey string `protobuf:"bytes,1,opt,name=node_spec_key,json=nodeSpecKey,proto3" json:"node_spec_key,omitempty"`
}

func (x *MigrationCluster_PdNodeSetting) Reset() {
	*x = MigrationCluster_PdNodeSetting{}
	if protoimpl.UnsafeEnabled {
		mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *MigrationCluster_PdNodeSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MigrationCluster_PdNodeSetting) ProtoMessage() {}

func (x *MigrationCluster_PdNodeSetting) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MigrationCluster_PdNodeSetting.ProtoReflect.Descriptor instead.
func (*MigrationCluster_PdNodeSetting) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP(), []int{0, 3}
}

func (x *MigrationCluster_PdNodeSetting) GetNodeSpecKey() string {
	if x != nil {
		return x.NodeSpecKey
	}
	return ""
}

var File_tidb_mgmt_service_v1_migration_cluster_proto protoreflect.FileDescriptor

var file_tidb_mgmt_service_v1_migration_cluster_proto_rawDesc = []byte{
	0x0a, 0x2c, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14,
	0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76,
	0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
	0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f,
	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
	0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
	0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61,
	0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e,
	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f,
	0x12, 0x0a, 0x10, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73,
	0x74, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42,
	0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72,
	0x63, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x04, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x09, 0x62, 0x61, 0x63,
	0x6b, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x03, 0xe0, 0x41,
	0x01, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x11, 0x74,
	0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64,
	0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x74, 0x61, 0x72,
	0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x14,
	0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f,
	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x12, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
	0x61, 0x6d, 0x65, 0x12, 0x67, 0x0a, 0x11, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
	0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36,
	0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,
	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x54, 0x69, 0x64, 0x62, 0x4e, 0x6f, 0x64, 0x65, 0x53,
	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x74, 0x69, 0x64,
	0x62, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x6a, 0x0a, 0x11,
	0x74, 0x69, 0x6b, 0x76, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
	0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d,
	0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
	0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e,
	0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
	0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x74, 0x69, 0x6b, 0x76, 0x4e, 0x6f, 0x64,
	0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x70, 0x0a, 0x14, 0x74, 0x69, 0x66, 0x6c,
	0x61, 0x73, 0x68, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
	0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67,
	0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69,
	0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x53,
	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
	0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x74, 0x69, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x4e,
	0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x61, 0x0a, 0x0f, 0x70, 0x64,
	0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f,
	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x50, 0x64, 0x4e, 0x6f,
	0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d,
	0x70, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x22, 0x0a,
	0x0a, 0x62, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28,
	0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x62, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
	0x6e, 0x12, 0x39, 0x0a, 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x75, 0x73,
	0x74, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28,
	0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6c,
	0x75, 0x73, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x05,
	0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x74, 0x69,
	0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73,
	0x74, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05,
	0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f,
	0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04,
	0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6c, 0x75,
	0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0c, 0x62, 0x72, 0x5f, 0x69, 0x6d, 0x61,
	0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
	0x01, 0x52, 0x0a, 0x62, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x2f, 0x0a,
	0x11, 0x62, 0x72, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
	0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x62,
	0x72, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29,
	0x0a, 0x0e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67,
	0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x74, 0x69, 0x64,
	0x62, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x29, 0x0a, 0x0e, 0x74, 0x69, 0x6b,
	0x76, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28,
	0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x74, 0x69, 0x6b, 0x76, 0x49, 0x6d, 0x61, 0x67,
	0x65, 0x54, 0x61, 0x67, 0x12, 0x25, 0x0a, 0x0c, 0x70, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
	0x5f, 0x74, 0x61, 0x67, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
	0x0a, 0x70, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x2f, 0x0a, 0x11, 0x74,
	0x69, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67,
	0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x74, 0x69, 0x66,
	0x6c, 0x61, 0x73, 0x68, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x45, 0x0a, 0x1d,
	0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x74,
	0x69, 0x64, 0x62, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x14, 0x20,
	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x19, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x69, 0x64, 0x62, 0x49, 0x6d, 0x61, 0x67, 0x65,
	0x54, 0x61, 0x67, 0x12, 0x45, 0x0a, 0x1d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c,
	0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6b, 0x76, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
	0x5f, 0x74, 0x61, 0x67, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
	0x19, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x69,
	0x6b, 0x76, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x41, 0x0a, 0x1b, 0x63, 0x72,
	0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x64, 0x5f,
	0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x03, 0xe0, 0x41, 0x01, 0x52, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73,
	0x74, 0x65, 0x72, 0x50, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x4b, 0x0a,
	0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f,
	0x74, 0x69, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61,
	0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1c, 0x63, 0x72,
	0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x69, 0x66, 0x6c, 0x61,
	0x73, 0x68, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x61, 0x67, 0x12, 0x4c, 0x0a, 0x10, 0x74, 0x61,
	0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x18,
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x63, 0x6f,
	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4e,
	0x61, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
	0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74,
	0x6f, 0x72, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32,
	0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,
	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4d, 0x6f,
	0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
	0x4d, 0x6f, 0x64, 0x65, 0x12, 0x4c, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72,
	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d,
	0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76,
	0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x03, 0xe0,
	0x41, 0x01, 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
	0x49, 0x64, 0x1a, 0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x69, 0x64, 0x62, 0x4e, 0x6f, 0x64, 0x65, 0x53,
	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73,
	0x70, 0x65, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
	0x41, 0x01, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x4b, 0x65, 0x79, 0x12,
	0x63, 0x0a, 0x10, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x67, 0x72, 0x6f,
	0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x74, 0x69, 0x64, 0x62,
	0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31,
	0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
	0x72, 0x2e, 0x54, 0x69, 0x64, 0x62, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42,
	0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x74, 0x69, 0x64, 0x62, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
	0x6f, 0x75, 0x70, 0x73, 0x1a, 0x9e, 0x01, 0x0a, 0x0d, 0x54, 0x69, 0x64, 0x62, 0x4e, 0x6f, 0x64,
	0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
	0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
	0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d,
	0x0a, 0x10, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x67, 0x72, 0x6f,
	0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x69,
	0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x0a,
	0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f,
	0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x75, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
	0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a, 0x0d, 0x6e,
	0x6f, 0x64, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65,
	0x63, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75,
	0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52,
	0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a,
	0x0b, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x38, 0x0a, 0x0d,
	0x50, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a,
	0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x53,
	0x70, 0x65, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x53, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
	0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
	0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e,
	0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02,
	0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12,
	0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x22, 0x53, 0x0a, 0x0b, 0x52,
	0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f,
	0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
	0x12, 0x1a, 0x0a, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x01, 0x1a, 0x0c,
	0x82, 0xb5, 0x18, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x12, 0x12, 0x0a, 0x04,
	0x50, 0x49, 0x54, 0x52, 0x10, 0x02, 0x1a, 0x08, 0x82, 0xb5, 0x18, 0x04, 0x50, 0x49, 0x54, 0x52,
	0x22, 0x84, 0x02, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x12, 0x58, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
	0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
	0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c,
	0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72,
	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0d,
	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
	0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x5f, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
	0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74,
	0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
	0x69, 0x67, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x03,
	0xe0, 0x41, 0x01, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x79, 0x6e, 0x63, 0x53,
	0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0xd6, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66,
	0x69, 0x67, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3c,
	0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
	0x5f, 0x74, 0x6f, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
	0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, 0x61, 0x6c, 0x6c,
	0x62, 0x61, 0x63, 0x6b, 0x54, 0x6f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x37, 0x0a, 0x15,
	0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x61, 0x72, 0x69,
	0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01,
	0x52, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69,
	0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x70, 0x64,
	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0,
	0x41, 0x01, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x50, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
	0x12, 0x36, 0x0a, 0x15, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x70, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76,
	0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42,
	0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x73, 0x6b, 0x69, 0x70, 0x50, 0x64, 0x53, 0x65, 0x72, 0x76,
	0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a, 0x14, 0x73, 0x6b, 0x69, 0x70,
	0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73,
	0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x73, 0x6b, 0x69,
	0x70, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12,
	0x2f, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69,
	0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
	0x0f, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73,
	0x22, 0x31, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x13,
	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x02, 0x69, 0x64, 0x32, 0xc3, 0x02, 0x0a, 0x17, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
	0x94, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x74, 0x69, 0x64,
	0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	0x26, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a,
	0x01, 0x2a, 0x22, 0x12, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c,
	0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x90, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x69,
	0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x30,
	0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69,
	0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x1a, 0x26, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19,
	0x12, 0x17, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73,
	0x74, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0xd4, 0x02, 0x92, 0x41, 0x57, 0x0a,
	0x03, 0x32, 0x2e, 0x30, 0x12, 0x3d, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x20,
	0x50, 0x6c, 0x61, 0x6e, 0x65, 0x20, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x41,
	0x50, 0x49, 0x12, 0x1b, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x20, 0x50, 0x6c, 0x61, 0x6e,
	0x65, 0x20, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x41, 0x50, 0x49, 0x2e, 0x32,
	0x02, 0x76, 0x31, 0x22, 0x0e, 0x2f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x6d, 0x67, 0x6d, 0x74,
	0x2f, 0x76, 0x31, 0x2a, 0x01, 0x02, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x64, 0x62,
	0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31,
	0x42, 0x15, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74,
	0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 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, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f,
	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa,
	0x02, 0x12, 0x54, 0x69, 0x64, 0x62, 0x4d, 0x67, 0x6d, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x54, 0x69, 0x64, 0x62, 0x4d, 0x67, 0x6d, 0x74, 0x53,
	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x54, 0x69, 0x64, 0x62,
	0x4d, 0x67, 0x6d, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47,
	0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x54, 0x69, 0x64,
	0x62, 0x4d, 0x67, 0x6d, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31,
	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescOnce sync.Once
	file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescData = file_tidb_mgmt_service_v1_migration_cluster_proto_rawDesc
)

func file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescGZIP() []byte {
	file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescOnce.Do(func() {
		file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescData)
	})
	return file_tidb_mgmt_service_v1_migration_cluster_proto_rawDescData
}

var file_tidb_mgmt_service_v1_migration_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_tidb_mgmt_service_v1_migration_cluster_proto_goTypes = []any{
	(MigrationCluster_State)(0),                 // 0: tidb_mgmt_service.v1.MigrationCluster.State
	(MigrationCluster_RestoreMode)(0),           // 1: tidb_mgmt_service.v1.MigrationCluster.RestoreMode
	(*MigrationCluster)(nil),                    // 2: tidb_mgmt_service.v1.MigrationCluster
	(*CreateMigrationClusterRequest)(nil),       // 3: tidb_mgmt_service.v1.CreateMigrationClusterRequest
	(*ConfigSyncStrategy)(nil),                  // 4: tidb_mgmt_service.v1.ConfigSyncStrategy
	(*GetMigrationClusterRequest)(nil),          // 5: tidb_mgmt_service.v1.GetMigrationClusterRequest
	(*MigrationCluster_TidbNodeSetting)(nil),    // 6: tidb_mgmt_service.v1.MigrationCluster.TidbNodeSetting
	(*MigrationCluster_TidbNodeGroup)(nil),      // 7: tidb_mgmt_service.v1.MigrationCluster.TidbNodeGroup
	(*MigrationCluster_StorageNodeSetting)(nil), // 8: tidb_mgmt_service.v1.MigrationCluster.StorageNodeSetting
	(*MigrationCluster_PdNodeSetting)(nil),      // 9: tidb_mgmt_service.v1.MigrationCluster.PdNodeSetting
	(v1.Region_Name)(0),                         // 10: global.common.v1.Region.Name
}
var file_tidb_mgmt_service_v1_migration_cluster_proto_depIdxs = []int32{
	6,  // 0: tidb_mgmt_service.v1.MigrationCluster.tidb_node_setting:type_name -> tidb_mgmt_service.v1.MigrationCluster.TidbNodeSetting
	8,  // 1: tidb_mgmt_service.v1.MigrationCluster.tikv_node_setting:type_name -> tidb_mgmt_service.v1.MigrationCluster.StorageNodeSetting
	8,  // 2: tidb_mgmt_service.v1.MigrationCluster.tiflash_node_setting:type_name -> tidb_mgmt_service.v1.MigrationCluster.StorageNodeSetting
	9,  // 3: tidb_mgmt_service.v1.MigrationCluster.pd_node_setting:type_name -> tidb_mgmt_service.v1.MigrationCluster.PdNodeSetting
	0,  // 4: tidb_mgmt_service.v1.MigrationCluster.state:type_name -> tidb_mgmt_service.v1.MigrationCluster.State
	10, // 5: tidb_mgmt_service.v1.MigrationCluster.target_region_id:type_name -> global.common.v1.Region.Name
	1,  // 6: tidb_mgmt_service.v1.MigrationCluster.restore_mode:type_name -> tidb_mgmt_service.v1.MigrationCluster.RestoreMode
	10, // 7: tidb_mgmt_service.v1.MigrationCluster.backup_region_id:type_name -> global.common.v1.Region.Name
	2,  // 8: tidb_mgmt_service.v1.CreateMigrationClusterRequest.migration_cluster:type_name -> tidb_mgmt_service.v1.MigrationCluster
	4,  // 9: tidb_mgmt_service.v1.CreateMigrationClusterRequest.config_sync_strategy:type_name -> tidb_mgmt_service.v1.ConfigSyncStrategy
	7,  // 10: tidb_mgmt_service.v1.MigrationCluster.TidbNodeSetting.tidb_node_groups:type_name -> tidb_mgmt_service.v1.MigrationCluster.TidbNodeGroup
	3,  // 11: tidb_mgmt_service.v1.MigrationClusterService.CreateMigrationCluster:input_type -> tidb_mgmt_service.v1.CreateMigrationClusterRequest
	5,  // 12: tidb_mgmt_service.v1.MigrationClusterService.GetMigrationCluster:input_type -> tidb_mgmt_service.v1.GetMigrationClusterRequest
	2,  // 13: tidb_mgmt_service.v1.MigrationClusterService.CreateMigrationCluster:output_type -> tidb_mgmt_service.v1.MigrationCluster
	2,  // 14: tidb_mgmt_service.v1.MigrationClusterService.GetMigrationCluster:output_type -> tidb_mgmt_service.v1.MigrationCluster
	13, // [13:15] is the sub-list for method output_type
	11, // [11:13] is the sub-list for method input_type
	11, // [11:11] is the sub-list for extension type_name
	11, // [11:11] is the sub-list for extension extendee
	0,  // [0:11] is the sub-list for field type_name
}

func init() { file_tidb_mgmt_service_v1_migration_cluster_proto_init() }
func file_tidb_mgmt_service_v1_migration_cluster_proto_init() {
	if File_tidb_mgmt_service_v1_migration_cluster_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*MigrationCluster); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[1].Exporter = func(v any, i int) any {
			switch v := v.(*CreateMigrationClusterRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[2].Exporter = func(v any, i int) any {
			switch v := v.(*ConfigSyncStrategy); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[3].Exporter = func(v any, i int) any {
			switch v := v.(*GetMigrationClusterRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[4].Exporter = func(v any, i int) any {
			switch v := v.(*MigrationCluster_TidbNodeSetting); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[5].Exporter = func(v any, i int) any {
			switch v := v.(*MigrationCluster_TidbNodeGroup); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[6].Exporter = func(v any, i int) any {
			switch v := v.(*MigrationCluster_StorageNodeSetting); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[7].Exporter = func(v any, i int) any {
			switch v := v.(*MigrationCluster_PdNodeSetting); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[5].OneofWrappers = []any{}
	file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes[6].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_tidb_mgmt_service_v1_migration_cluster_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_tidb_mgmt_service_v1_migration_cluster_proto_goTypes,
		DependencyIndexes: file_tidb_mgmt_service_v1_migration_cluster_proto_depIdxs,
		EnumInfos:         file_tidb_mgmt_service_v1_migration_cluster_proto_enumTypes,
		MessageInfos:      file_tidb_mgmt_service_v1_migration_cluster_proto_msgTypes,
	}.Build()
	File_tidb_mgmt_service_v1_migration_cluster_proto = out.File
	file_tidb_mgmt_service_v1_migration_cluster_proto_rawDesc = nil
	file_tidb_mgmt_service_v1_migration_cluster_proto_goTypes = nil
	file_tidb_mgmt_service_v1_migration_cluster_proto_depIdxs = nil
}
