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

package tidb_mgmt_servicev1

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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 DataSynchronization_State int32

const (
	DataSynchronization_STATE_UNSPECIFIED DataSynchronization_State = 0
	DataSynchronization_PENDING           DataSynchronization_State = 1 // Operation is queued and waiting to start
	DataSynchronization_RUNNING           DataSynchronization_State = 2 // Operation is currently executing
	DataSynchronization_SUCCEEDED         DataSynchronization_State = 3 // Operation completed successfully
	DataSynchronization_FAILED            DataSynchronization_State = 4 // Operation failed
)

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

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

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

func (DataSynchronization_State) Descriptor() protoreflect.EnumDescriptor {
	return file_tidb_mgmt_service_v1_data_synchronization_proto_enumTypes[0].Descriptor()
}

func (DataSynchronization_State) Type() protoreflect.EnumType {
	return &file_tidb_mgmt_service_v1_data_synchronization_proto_enumTypes[0]
}

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

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

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

	// id is the unique identifier for the data synchronization.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// source_cluster_id is the unique identifier for the source cluster.
	SourceClusterId uint64 `protobuf:"varint,2,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// target_cluster_id is the unique identifier for the target cluster.
	// if the target cluster is not same project as the source cluster, the privatelink endpoint will be created between the source and target clusters.
	TargetClusterId uint64 `protobuf:"varint,3,opt,name=target_cluster_id,json=targetClusterId,proto3" json:"target_cluster_id,omitempty"`
	// target_tidb_group_id is the target TiDB node group id within the target cluster.
	// If not set (0), the default TiDB node group will be used.
	TargetTidbGroupId uint64 `protobuf:"varint,4,opt,name=target_tidb_group_id,json=targetTidbGroupId,proto3" json:"target_tidb_group_id,omitempty"`
	// name is the name of the data synchronization, which is used to create changefeed.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// description is the description of the data synchronization.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// state is the state of the data synchronization.
	State DataSynchronization_State `protobuf:"varint,7,opt,name=state,proto3,enum=tidb_mgmt_service.v1.DataSynchronization_State" json:"state,omitempty"`
	// rcu is the resource capacity unit quota for the data synchronization.
	// default rcu 256
	Rcu uint64 `protobuf:"varint,8,opt,name=rcu,proto3" json:"rcu,omitempty"`
	// start_tso is the start tso for the changefeed.
	// if start_tso is not set or empty, the changefeed will be created from the current time (FROM_NOW mode).
	// if start_tso is set, the changefeed will be created from that specific tso (FROM_TSO mode).
	StartTso string `protobuf:"bytes,9,opt,name=start_tso,json=startTso,proto3" json:"start_tso,omitempty"`
	// create_time is the time when the data synchronization was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// update_time is the time when the data synchronization was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// target_cluster_username is the username to use when creating changefeed.
	// if empty, the control plane will use the cloud_admin as the username.
	TargetClusterUsername string `protobuf:"bytes,12,opt,name=target_cluster_username,json=targetClusterUsername,proto3" json:"target_cluster_username,omitempty"`
	// target_cluster_password is the password to use when creating changefeed.
	// if the username is not empty, this password is required.
	TargetClusterPassword string `protobuf:"bytes,13,opt,name=target_cluster_password,json=targetClusterPassword,proto3" json:"target_cluster_password,omitempty"`
}

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

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

func (*DataSynchronization) ProtoMessage() {}

func (x *DataSynchronization) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_data_synchronization_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 DataSynchronization.ProtoReflect.Descriptor instead.
func (*DataSynchronization) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescGZIP(), []int{0}
}

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

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

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

func (x *DataSynchronization) GetTargetTidbGroupId() uint64 {
	if x != nil {
		return x.TargetTidbGroupId
	}
	return 0
}

func (x *DataSynchronization) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DataSynchronization) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *DataSynchronization) GetState() DataSynchronization_State {
	if x != nil {
		return x.State
	}
	return DataSynchronization_STATE_UNSPECIFIED
}

func (x *DataSynchronization) GetRcu() uint64 {
	if x != nil {
		return x.Rcu
	}
	return 0
}

func (x *DataSynchronization) GetStartTso() string {
	if x != nil {
		return x.StartTso
	}
	return ""
}

func (x *DataSynchronization) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *DataSynchronization) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *DataSynchronization) GetTargetClusterUsername() string {
	if x != nil {
		return x.TargetClusterUsername
	}
	return ""
}

func (x *DataSynchronization) GetTargetClusterPassword() string {
	if x != nil {
		return x.TargetClusterPassword
	}
	return ""
}

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

	DataSynchronization *DataSynchronization `protobuf:"bytes,1,opt,name=data_synchronization,json=dataSynchronization,proto3" json:"data_synchronization,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"`
}

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

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

func (*CreateDataSynchronizationRequest) ProtoMessage() {}

func (x *CreateDataSynchronizationRequest) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_data_synchronization_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 CreateDataSynchronizationRequest.ProtoReflect.Descriptor instead.
func (*CreateDataSynchronizationRequest) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescGZIP(), []int{1}
}

func (x *CreateDataSynchronizationRequest) GetDataSynchronization() *DataSynchronization {
	if x != nil {
		return x.DataSynchronization
	}
	return nil
}

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

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

	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

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

func (*GetDataSynchronizationRequest) ProtoMessage() {}

func (x *GetDataSynchronizationRequest) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_data_synchronization_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 GetDataSynchronizationRequest.ProtoReflect.Descriptor instead.
func (*GetDataSynchronizationRequest) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescGZIP(), []int{2}
}

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

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

	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

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

func (*DeleteDataSynchronizationRequest) ProtoMessage() {}

func (x *DeleteDataSynchronizationRequest) ProtoReflect() protoreflect.Message {
	mi := &file_tidb_mgmt_service_v1_data_synchronization_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 DeleteDataSynchronizationRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataSynchronizationRequest) Descriptor() ([]byte, []int) {
	return file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescGZIP(), []int{3}
}

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

var File_tidb_mgmt_service_v1_data_synchronization_proto protoreflect.FileDescriptor

var file_tidb_mgmt_service_v1_data_synchronization_proto_rawDesc = []byte{
	0x0a, 0x2f, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x79, 0x6e, 0x63,
	0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 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, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 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, 0xda, 0x05, 0x0a, 0x13, 0x44, 0x61, 0x74, 0x61, 0x53, 0x79, 0x6e,
	0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x2f, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x75,
	0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x03, 0xe0,
	0x41, 0x02, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
	0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x69,
	0x64, 0x62, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
	0x04, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x69,
	0x64, 0x62, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
	0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61,
	0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
	0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65,
	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x05, 0x73, 0x74, 0x61,
	0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f,
	0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
	0x44, 0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05,
	0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x72, 0x63, 0x75, 0x18, 0x08, 0x20, 0x01,
	0x28, 0x04, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x03, 0x72, 0x63, 0x75, 0x12, 0x20, 0x0a, 0x09,
	0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x73, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x73, 0x6f, 0x12, 0x40,
	0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
	0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
	0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
	0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
	0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
	0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x75,
	0x73, 0x74, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20,
	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
	0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
	0x3b, 0x0a, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
	0x72, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
	0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6c, 0x75,
	0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 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, 0xaf, 0x01, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
	0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73,
	0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74,
	0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61,
	0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
	0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72,
	0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x22, 0x34, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x53, 0x79,
	0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x22, 0x37, 0x0a, 0x20, 0x44, 0x65, 0x6c,
	0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69,
	0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0xf0, 0x03, 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68,
	0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x12, 0xa0, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
	0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
	0x36, 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, 0x44, 0x61, 0x74,
	0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d,
	0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
	0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
	0x6f, 0x6e, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22, 0x15, 0x2f,
	0x64, 0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
	0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
	0x33, 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, 0x44, 0x61, 0x74, 0x61, 0x53, 0x79,
	0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
	0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74,
	0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61,
	0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
	0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x53, 0x79,
	0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
	0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61,
	0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x12, 0x36, 0x2e, 0x74, 0x69, 0x64, 0x62, 0x5f, 0x6d, 0x67, 0x6d, 0x74, 0x5f, 0x73, 0x65,
	0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44,
	0x61, 0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
	0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
	0x79, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x64, 0x61, 0x74, 0x61,
	0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
	0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0xd7, 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, 0x18, 0x44, 0x61,
	0x74, 0x61, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 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_data_synchronization_proto_rawDescOnce sync.Once
	file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescData = file_tidb_mgmt_service_v1_data_synchronization_proto_rawDesc
)

func file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescGZIP() []byte {
	file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescOnce.Do(func() {
		file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescData = protoimpl.X.CompressGZIP(file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescData)
	})
	return file_tidb_mgmt_service_v1_data_synchronization_proto_rawDescData
}

var file_tidb_mgmt_service_v1_data_synchronization_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_tidb_mgmt_service_v1_data_synchronization_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_tidb_mgmt_service_v1_data_synchronization_proto_goTypes = []any{
	(DataSynchronization_State)(0),           // 0: tidb_mgmt_service.v1.DataSynchronization.State
	(*DataSynchronization)(nil),              // 1: tidb_mgmt_service.v1.DataSynchronization
	(*CreateDataSynchronizationRequest)(nil), // 2: tidb_mgmt_service.v1.CreateDataSynchronizationRequest
	(*GetDataSynchronizationRequest)(nil),    // 3: tidb_mgmt_service.v1.GetDataSynchronizationRequest
	(*DeleteDataSynchronizationRequest)(nil), // 4: tidb_mgmt_service.v1.DeleteDataSynchronizationRequest
	(*timestamppb.Timestamp)(nil),            // 5: google.protobuf.Timestamp
	(*emptypb.Empty)(nil),                    // 6: google.protobuf.Empty
}
var file_tidb_mgmt_service_v1_data_synchronization_proto_depIdxs = []int32{
	0, // 0: tidb_mgmt_service.v1.DataSynchronization.state:type_name -> tidb_mgmt_service.v1.DataSynchronization.State
	5, // 1: tidb_mgmt_service.v1.DataSynchronization.create_time:type_name -> google.protobuf.Timestamp
	5, // 2: tidb_mgmt_service.v1.DataSynchronization.update_time:type_name -> google.protobuf.Timestamp
	1, // 3: tidb_mgmt_service.v1.CreateDataSynchronizationRequest.data_synchronization:type_name -> tidb_mgmt_service.v1.DataSynchronization
	2, // 4: tidb_mgmt_service.v1.DataSynchronizationService.CreateDataSynchronization:input_type -> tidb_mgmt_service.v1.CreateDataSynchronizationRequest
	3, // 5: tidb_mgmt_service.v1.DataSynchronizationService.GetDataSynchronization:input_type -> tidb_mgmt_service.v1.GetDataSynchronizationRequest
	4, // 6: tidb_mgmt_service.v1.DataSynchronizationService.DeleteDataSynchronization:input_type -> tidb_mgmt_service.v1.DeleteDataSynchronizationRequest
	1, // 7: tidb_mgmt_service.v1.DataSynchronizationService.CreateDataSynchronization:output_type -> tidb_mgmt_service.v1.DataSynchronization
	1, // 8: tidb_mgmt_service.v1.DataSynchronizationService.GetDataSynchronization:output_type -> tidb_mgmt_service.v1.DataSynchronization
	6, // 9: tidb_mgmt_service.v1.DataSynchronizationService.DeleteDataSynchronization:output_type -> google.protobuf.Empty
	7, // [7:10] is the sub-list for method output_type
	4, // [4:7] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_tidb_mgmt_service_v1_data_synchronization_proto_init() }
func file_tidb_mgmt_service_v1_data_synchronization_proto_init() {
	if File_tidb_mgmt_service_v1_data_synchronization_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_tidb_mgmt_service_v1_data_synchronization_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*DataSynchronization); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_data_synchronization_proto_msgTypes[1].Exporter = func(v any, i int) any {
			switch v := v.(*CreateDataSynchronizationRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_data_synchronization_proto_msgTypes[2].Exporter = func(v any, i int) any {
			switch v := v.(*GetDataSynchronizationRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_tidb_mgmt_service_v1_data_synchronization_proto_msgTypes[3].Exporter = func(v any, i int) any {
			switch v := v.(*DeleteDataSynchronizationRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_tidb_mgmt_service_v1_data_synchronization_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_tidb_mgmt_service_v1_data_synchronization_proto_goTypes,
		DependencyIndexes: file_tidb_mgmt_service_v1_data_synchronization_proto_depIdxs,
		EnumInfos:         file_tidb_mgmt_service_v1_data_synchronization_proto_enumTypes,
		MessageInfos:      file_tidb_mgmt_service_v1_data_synchronization_proto_msgTypes,
	}.Build()
	File_tidb_mgmt_service_v1_data_synchronization_proto = out.File
	file_tidb_mgmt_service_v1_data_synchronization_proto_rawDesc = nil
	file_tidb_mgmt_service_v1_data_synchronization_proto_goTypes = nil
	file_tidb_mgmt_service_v1_data_synchronization_proto_depIdxs = nil
}
