// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: dataflow/backup.proto

package dataflow

import (
	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	_ "github.com/tidbcloud/dataflow-service/idl/pbgen/proto/common"
	_ "go.buf.build/protocolbuffers/go/linuxgit/tidbcloud/base"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	_ "google.golang.org/genproto/googleapis/api/httpbody"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/known/anypb"
	_ "google.golang.org/protobuf/types/known/emptypb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 BackupSettingActionType int32

const (
	BackupSettingActionType_Edit_Region   BackupSettingActionType = 0
	BackupSettingActionType_Edit_PiTR     BackupSettingActionType = 1
	BackupSettingActionType_Edit_Schedule BackupSettingActionType = 2
)

// Enum value maps for BackupSettingActionType.
var (
	BackupSettingActionType_name = map[int32]string{
		0: "Edit_Region",
		1: "Edit_PiTR",
		2: "Edit_Schedule",
	}
	BackupSettingActionType_value = map[string]int32{
		"Edit_Region":   0,
		"Edit_PiTR":     1,
		"Edit_Schedule": 2,
	}
)

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

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

func (BackupSettingActionType) Descriptor() protoreflect.EnumDescriptor {
	return file_dataflow_backup_proto_enumTypes[0].Descriptor()
}

func (BackupSettingActionType) Type() protoreflect.EnumType {
	return &file_dataflow_backup_proto_enumTypes[0]
}

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

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

type SnapshotBackupScheduleType int32

const (
	SnapshotBackupScheduleType_Daily  SnapshotBackupScheduleType = 0
	SnapshotBackupScheduleType_Weekly SnapshotBackupScheduleType = 1
)

// Enum value maps for SnapshotBackupScheduleType.
var (
	SnapshotBackupScheduleType_name = map[int32]string{
		0: "Daily",
		1: "Weekly",
	}
	SnapshotBackupScheduleType_value = map[string]int32{
		"Daily":  0,
		"Weekly": 1,
	}
)

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

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

func (SnapshotBackupScheduleType) Descriptor() protoreflect.EnumDescriptor {
	return file_dataflow_backup_proto_enumTypes[1].Descriptor()
}

func (SnapshotBackupScheduleType) Type() protoreflect.EnumType {
	return &file_dataflow_backup_proto_enumTypes[1]
}

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

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

type BackupExport_Status int32

const (
	BackupExport_STATUS_UNSPECIFIED BackupExport_Status = 0
	BackupExport_PENDING            BackupExport_Status = 1
	BackupExport_RUNNING            BackupExport_Status = 2
	BackupExport_FAILED             BackupExport_Status = 3
	BackupExport_SUCCESS            BackupExport_Status = 4
	BackupExport_CANCELED           BackupExport_Status = 5
)

// Enum value maps for BackupExport_Status.
var (
	BackupExport_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "FAILED",
		4: "SUCCESS",
		5: "CANCELED",
	}
	BackupExport_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"RUNNING":            2,
		"FAILED":             3,
		"SUCCESS":            4,
		"CANCELED":           5,
	}
)

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

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

func (BackupExport_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_dataflow_backup_proto_enumTypes[2].Descriptor()
}

func (BackupExport_Status) Type() protoreflect.EnumType {
	return &file_dataflow_backup_proto_enumTypes[2]
}

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

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

// Serverless dedicated structures
type ListRestoresReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ClusterId     uint64                 `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	OrgId         uint64                 `protobuf:"varint,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Page          uint32                 `protobuf:"varint,100,opt,name=page,proto3" json:"page,omitempty"`
	PerPage       uint32                 `protobuf:"varint,101,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRestoresReq) Reset() {
	*x = ListRestoresReq{}
	mi := &file_dataflow_backup_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListRestoresReq) ProtoMessage() {}

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

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

func (x *ListRestoresReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

func (x *ListRestoresReq) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *ListRestoresReq) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *ListRestoresReq) GetPage() uint32 {
	if x != nil {
		return x.Page
	}
	return 0
}

func (x *ListRestoresReq) GetPerPage() uint32 {
	if x != nil {
		return x.PerPage
	}
	return 0
}

type ListRestoresResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Items         []*ListRestoresItem    `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Total         uint32                 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRestoresResp) Reset() {
	*x = ListRestoresResp{}
	mi := &file_dataflow_backup_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListRestoresResp) ProtoMessage() {}

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

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

func (x *ListRestoresResp) GetItems() []*ListRestoresItem {
	if x != nil {
		return x.Items
	}
	return nil
}

func (x *ListRestoresResp) GetTotal() uint32 {
	if x != nil {
		return x.Total
	}
	return 0
}

type ListRestoresItem struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Name          string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	RestoreMode   RestoreMode            `protobuf:"varint,4,opt,name=restore_mode,json=restoreMode,proto3,enum=dataflow.RestoreMode" json:"restore_mode,omitempty"`
	Status        RestoreStatus          `protobuf:"varint,5,opt,name=status,proto3,enum=dataflow.RestoreStatus" json:"status,omitempty"`
	Progress      float64                `protobuf:"fixed64,6,opt,name=progress,proto3" json:"progress,omitempty"`
	RestoreRegion string                 `protobuf:"bytes,7,opt,name=restore_region,json=restoreRegion,proto3" json:"restore_region,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	RestoredTs    *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=restored_ts,json=restoredTs,proto3" json:"restored_ts,omitempty"`
	RestoredTso   string                 `protobuf:"bytes,10,opt,name=restored_tso,json=restoredTso,proto3" json:"restored_tso,omitempty"`
	FinishedAt    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	BackupName    string                 `protobuf:"bytes,12,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRestoresItem) Reset() {
	*x = ListRestoresItem{}
	mi := &file_dataflow_backup_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListRestoresItem) ProtoMessage() {}

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

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

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

func (x *ListRestoresItem) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

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

func (x *ListRestoresItem) GetRestoreMode() RestoreMode {
	if x != nil {
		return x.RestoreMode
	}
	return RestoreMode_RESTORE_MODE_UNSPECIFIED
}

func (x *ListRestoresItem) GetStatus() RestoreStatus {
	if x != nil {
		return x.Status
	}
	return RestoreStatus_RESTORE_STATUS_UNSPECIFIED
}

func (x *ListRestoresItem) GetProgress() float64 {
	if x != nil {
		return x.Progress
	}
	return 0
}

func (x *ListRestoresItem) GetRestoreRegion() string {
	if x != nil {
		return x.RestoreRegion
	}
	return ""
}

func (x *ListRestoresItem) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *ListRestoresItem) GetRestoredTs() *timestamppb.Timestamp {
	if x != nil {
		return x.RestoredTs
	}
	return nil
}

func (x *ListRestoresItem) GetRestoredTso() string {
	if x != nil {
		return x.RestoredTso
	}
	return ""
}

func (x *ListRestoresItem) GetFinishedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.FinishedAt
	}
	return nil
}

func (x *ListRestoresItem) GetBackupName() string {
	if x != nil {
		return x.BackupName
	}
	return ""
}

type ModifyBackupSettingReqV2 struct {
	state                    protoimpl.MessageState    `protogen:"open.v1"`
	OrgId                    uint64                    `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId                uint64                    `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId                uint64                    `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	DryRun                   bool                      `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	SnapshotBackupSchedule   *SnapshotBackupSchedule   `protobuf:"bytes,5,opt,name=snapshot_backup_schedule,json=snapshotBackupSchedule,proto3,oneof" json:"snapshot_backup_schedule,omitempty"`
	ContinuousBackupSchedule *ContinuousBackupSchedule `protobuf:"bytes,6,opt,name=continuous_backup_schedule,json=continuousBackupSchedule,proto3,oneof" json:"continuous_backup_schedule,omitempty"`
	Regions                  []*RegionInfo             `protobuf:"bytes,7,rep,name=regions,proto3" json:"regions,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *ModifyBackupSettingReqV2) Reset() {
	*x = ModifyBackupSettingReqV2{}
	mi := &file_dataflow_backup_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ModifyBackupSettingReqV2) ProtoMessage() {}

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

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

func (x *ModifyBackupSettingReqV2) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *ModifyBackupSettingReqV2) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *ModifyBackupSettingReqV2) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

func (x *ModifyBackupSettingReqV2) GetDryRun() bool {
	if x != nil {
		return x.DryRun
	}
	return false
}

func (x *ModifyBackupSettingReqV2) GetSnapshotBackupSchedule() *SnapshotBackupSchedule {
	if x != nil {
		return x.SnapshotBackupSchedule
	}
	return nil
}

func (x *ModifyBackupSettingReqV2) GetContinuousBackupSchedule() *ContinuousBackupSchedule {
	if x != nil {
		return x.ContinuousBackupSchedule
	}
	return nil
}

func (x *ModifyBackupSettingReqV2) GetRegions() []*RegionInfo {
	if x != nil {
		return x.Regions
	}
	return nil
}

type ModifyBackupSettingRespV2 struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ModifyBackupSettingRespV2) Reset() {
	*x = ModifyBackupSettingRespV2{}
	mi := &file_dataflow_backup_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ModifyBackupSettingRespV2) ProtoMessage() {}

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

// Deprecated: Use ModifyBackupSettingRespV2.ProtoReflect.Descriptor instead.
func (*ModifyBackupSettingRespV2) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{4}
}

type QueryBackupSettingReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OrgId         uint64                 `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *QueryBackupSettingReq) Reset() {
	*x = QueryBackupSettingReq{}
	mi := &file_dataflow_backup_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*QueryBackupSettingReq) ProtoMessage() {}

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

// Deprecated: Use QueryBackupSettingReq.ProtoReflect.Descriptor instead.
func (*QueryBackupSettingReq) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{5}
}

func (x *QueryBackupSettingReq) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *QueryBackupSettingReq) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *QueryBackupSettingReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

type QueryBackupSettingResp struct {
	state                    protoimpl.MessageState    `protogen:"open.v1"`
	Status                   BackupSettingStatus       `protobuf:"varint,1,opt,name=status,proto3,enum=dataflow.BackupSettingStatus" json:"status,omitempty"`
	Actions                  []BackupSettingActionType `protobuf:"varint,2,rep,packed,name=actions,proto3,enum=dataflow.BackupSettingActionType" json:"actions,omitempty"`
	SnapshotBackupSchedule   *SnapshotBackupSchedule   `protobuf:"bytes,3,opt,name=snapshot_backup_schedule,json=snapshotBackupSchedule,proto3,oneof" json:"snapshot_backup_schedule,omitempty"`
	ContinuousBackupSchedule *ContinuousBackupSchedule `protobuf:"bytes,4,opt,name=continuous_backup_schedule,json=continuousBackupSchedule,proto3,oneof" json:"continuous_backup_schedule,omitempty"`
	Regions                  []*RegionInfo             `protobuf:"bytes,5,rep,name=regions,proto3" json:"regions,omitempty"`
	CrrfStatus               CRRFStatus                `protobuf:"varint,6,opt,name=crrf_status,json=crrfStatus,proto3,enum=dataflow.CRRFStatus" json:"crrf_status,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *QueryBackupSettingResp) Reset() {
	*x = QueryBackupSettingResp{}
	mi := &file_dataflow_backup_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*QueryBackupSettingResp) ProtoMessage() {}

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

// Deprecated: Use QueryBackupSettingResp.ProtoReflect.Descriptor instead.
func (*QueryBackupSettingResp) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{6}
}

func (x *QueryBackupSettingResp) GetStatus() BackupSettingStatus {
	if x != nil {
		return x.Status
	}
	return BackupSettingStatus_Creating
}

func (x *QueryBackupSettingResp) GetActions() []BackupSettingActionType {
	if x != nil {
		return x.Actions
	}
	return nil
}

func (x *QueryBackupSettingResp) GetSnapshotBackupSchedule() *SnapshotBackupSchedule {
	if x != nil {
		return x.SnapshotBackupSchedule
	}
	return nil
}

func (x *QueryBackupSettingResp) GetContinuousBackupSchedule() *ContinuousBackupSchedule {
	if x != nil {
		return x.ContinuousBackupSchedule
	}
	return nil
}

func (x *QueryBackupSettingResp) GetRegions() []*RegionInfo {
	if x != nil {
		return x.Regions
	}
	return nil
}

func (x *QueryBackupSettingResp) GetCrrfStatus() CRRFStatus {
	if x != nil {
		return x.CrrfStatus
	}
	return CRRFStatus_CRRF_STATUS_UNSPECIFIED
}

type SnapshotBackupSchedule struct {
	state             protoimpl.MessageState     `protogen:"open.v1"`
	Disable           bool                       `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"`
	ScheduleType      SnapshotBackupScheduleType `protobuf:"varint,2,opt,name=schedule_type,json=scheduleType,proto3,enum=dataflow.SnapshotBackupScheduleType" json:"schedule_type,omitempty"`
	DailyScheduleTime string                     `protobuf:"bytes,3,opt,name=daily_schedule_time,json=dailyScheduleTime,proto3" json:"daily_schedule_time,omitempty"`
	WeeklySchedule    *WeeklySchedule            `protobuf:"bytes,4,opt,name=weekly_schedule,json=weeklySchedule,proto3" json:"weekly_schedule,omitempty"`
	RetentionPolicy   *RetentionPolicy           `protobuf:"bytes,5,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"`
	NextBackupTime    *timestamppb.Timestamp     `protobuf:"bytes,6,opt,name=next_backup_time,json=nextBackupTime,proto3" json:"next_backup_time,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *SnapshotBackupSchedule) Reset() {
	*x = SnapshotBackupSchedule{}
	mi := &file_dataflow_backup_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SnapshotBackupSchedule) ProtoMessage() {}

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

// Deprecated: Use SnapshotBackupSchedule.ProtoReflect.Descriptor instead.
func (*SnapshotBackupSchedule) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{7}
}

func (x *SnapshotBackupSchedule) GetDisable() bool {
	if x != nil {
		return x.Disable
	}
	return false
}

func (x *SnapshotBackupSchedule) GetScheduleType() SnapshotBackupScheduleType {
	if x != nil {
		return x.ScheduleType
	}
	return SnapshotBackupScheduleType_Daily
}

func (x *SnapshotBackupSchedule) GetDailyScheduleTime() string {
	if x != nil {
		return x.DailyScheduleTime
	}
	return ""
}

func (x *SnapshotBackupSchedule) GetWeeklySchedule() *WeeklySchedule {
	if x != nil {
		return x.WeeklySchedule
	}
	return nil
}

func (x *SnapshotBackupSchedule) GetRetentionPolicy() *RetentionPolicy {
	if x != nil {
		return x.RetentionPolicy
	}
	return nil
}

func (x *SnapshotBackupSchedule) GetNextBackupTime() *timestamppb.Timestamp {
	if x != nil {
		return x.NextBackupTime
	}
	return nil
}

type WeeklySchedule struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Days          []WeekDay              `protobuf:"varint,5,rep,packed,name=days,proto3,enum=dataflow.WeekDay" json:"days,omitempty"`
	ScheduleTime  string                 `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *WeeklySchedule) Reset() {
	*x = WeeklySchedule{}
	mi := &file_dataflow_backup_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*WeeklySchedule) ProtoMessage() {}

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

// Deprecated: Use WeeklySchedule.ProtoReflect.Descriptor instead.
func (*WeeklySchedule) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{8}
}

func (x *WeeklySchedule) GetDays() []WeekDay {
	if x != nil {
		return x.Days
	}
	return nil
}

func (x *WeeklySchedule) GetScheduleTime() string {
	if x != nil {
		return x.ScheduleTime
	}
	return ""
}

type RetentionPolicy struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	RetentionPeriod int64                  `protobuf:"varint,1,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *RetentionPolicy) Reset() {
	*x = RetentionPolicy{}
	mi := &file_dataflow_backup_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*RetentionPolicy) ProtoMessage() {}

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

// Deprecated: Use RetentionPolicy.ProtoReflect.Descriptor instead.
func (*RetentionPolicy) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{9}
}

func (x *RetentionPolicy) GetRetentionPeriod() int64 {
	if x != nil {
		return x.RetentionPeriod
	}
	return 0
}

type ContinuousBackupSchedule struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Enable        bool                   `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ContinuousBackupSchedule) Reset() {
	*x = ContinuousBackupSchedule{}
	mi := &file_dataflow_backup_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ContinuousBackupSchedule) ProtoMessage() {}

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

// Deprecated: Use ContinuousBackupSchedule.ProtoReflect.Descriptor instead.
func (*ContinuousBackupSchedule) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{10}
}

func (x *ContinuousBackupSchedule) GetEnable() bool {
	if x != nil {
		return x.Enable
	}
	return false
}

type GetBackupExportProfileReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OrgId         uint64                 `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	BackupId      uint64                 `protobuf:"varint,4,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetBackupExportProfileReq) Reset() {
	*x = GetBackupExportProfileReq{}
	mi := &file_dataflow_backup_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetBackupExportProfileReq) ProtoMessage() {}

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

// Deprecated: Use GetBackupExportProfileReq.ProtoReflect.Descriptor instead.
func (*GetBackupExportProfileReq) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{11}
}

func (x *GetBackupExportProfileReq) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *GetBackupExportProfileReq) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *GetBackupExportProfileReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

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

type GetBackupExportProfileResp struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// is the service account email which Storage Transfer Service will use to copy data from TiDB Cloud to the target storage.
	GcpServiceAccount string `protobuf:"bytes,1,opt,name=gcp_service_account,json=gcpServiceAccount,proto3" json:"gcp_service_account,omitempty"`
	S3RoleArn         string `protobuf:"bytes,2,opt,name=s3_role_arn,json=s3RoleArn,proto3" json:"s3_role_arn,omitempty"`
	AzBlobRoleArn     string `protobuf:"bytes,3,opt,name=az_blob_role_arn,json=azBlobRoleArn,proto3" json:"az_blob_role_arn,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *GetBackupExportProfileResp) Reset() {
	*x = GetBackupExportProfileResp{}
	mi := &file_dataflow_backup_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetBackupExportProfileResp) ProtoMessage() {}

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

// Deprecated: Use GetBackupExportProfileResp.ProtoReflect.Descriptor instead.
func (*GetBackupExportProfileResp) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{12}
}

func (x *GetBackupExportProfileResp) GetGcpServiceAccount() string {
	if x != nil {
		return x.GcpServiceAccount
	}
	return ""
}

func (x *GetBackupExportProfileResp) GetS3RoleArn() string {
	if x != nil {
		return x.S3RoleArn
	}
	return ""
}

func (x *GetBackupExportProfileResp) GetAzBlobRoleArn() string {
	if x != nil {
		return x.AzBlobRoleArn
	}
	return ""
}

type CreateBackupExportReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OrgId         uint64                 `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	BackupId      uint64                 `protobuf:"varint,4,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	BackupExport  *BackupExport          `protobuf:"bytes,5,opt,name=backup_export,json=backupExport,proto3" json:"backup_export,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateBackupExportReq) Reset() {
	*x = CreateBackupExportReq{}
	mi := &file_dataflow_backup_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateBackupExportReq) ProtoMessage() {}

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

// Deprecated: Use CreateBackupExportReq.ProtoReflect.Descriptor instead.
func (*CreateBackupExportReq) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{13}
}

func (x *CreateBackupExportReq) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *CreateBackupExportReq) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *CreateBackupExportReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

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

func (x *CreateBackupExportReq) GetBackupExport() *BackupExport {
	if x != nil {
		return x.BackupExport
	}
	return nil
}

type CreateBackupExportResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ExportId      uint64                 `protobuf:"varint,1,opt,name=export_id,json=exportId,proto3" json:"export_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateBackupExportResp) Reset() {
	*x = CreateBackupExportResp{}
	mi := &file_dataflow_backup_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateBackupExportResp) ProtoMessage() {}

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

// Deprecated: Use CreateBackupExportResp.ProtoReflect.Descriptor instead.
func (*CreateBackupExportResp) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{14}
}

func (x *CreateBackupExportResp) GetExportId() uint64 {
	if x != nil {
		return x.ExportId
	}
	return 0
}

type CancelBackupExportReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OrgId         uint64                 `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	BackupId      uint64                 `protobuf:"varint,4,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	ExportId      uint64                 `protobuf:"varint,5,opt,name=export_id,json=exportId,proto3" json:"export_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelBackupExportReq) Reset() {
	*x = CancelBackupExportReq{}
	mi := &file_dataflow_backup_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CancelBackupExportReq) ProtoMessage() {}

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

// Deprecated: Use CancelBackupExportReq.ProtoReflect.Descriptor instead.
func (*CancelBackupExportReq) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{15}
}

func (x *CancelBackupExportReq) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *CancelBackupExportReq) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *CancelBackupExportReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

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

func (x *CancelBackupExportReq) GetExportId() uint64 {
	if x != nil {
		return x.ExportId
	}
	return 0
}

type CancelBackupExportResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelBackupExportResp) Reset() {
	*x = CancelBackupExportResp{}
	mi := &file_dataflow_backup_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CancelBackupExportResp) ProtoMessage() {}

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

// Deprecated: Use CancelBackupExportResp.ProtoReflect.Descriptor instead.
func (*CancelBackupExportResp) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{16}
}

type ListBackupExportsReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OrgId         uint64                 `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Page          uint32                 `protobuf:"varint,100,opt,name=page,proto3" json:"page,omitempty"`
	PerPage       uint32                 `protobuf:"varint,101,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListBackupExportsReq) Reset() {
	*x = ListBackupExportsReq{}
	mi := &file_dataflow_backup_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListBackupExportsReq) ProtoMessage() {}

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

// Deprecated: Use ListBackupExportsReq.ProtoReflect.Descriptor instead.
func (*ListBackupExportsReq) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{17}
}

func (x *ListBackupExportsReq) GetOrgId() uint64 {
	if x != nil {
		return x.OrgId
	}
	return 0
}

func (x *ListBackupExportsReq) GetProjectId() uint64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *ListBackupExportsReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

func (x *ListBackupExportsReq) GetPage() uint32 {
	if x != nil {
		return x.Page
	}
	return 0
}

func (x *ListBackupExportsReq) GetPerPage() uint32 {
	if x != nil {
		return x.PerPage
	}
	return 0
}

type ListBackupExportsResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Total         uint64                 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items         []*BackupExport        `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListBackupExportsResp) Reset() {
	*x = ListBackupExportsResp{}
	mi := &file_dataflow_backup_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListBackupExportsResp) ProtoMessage() {}

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

// Deprecated: Use ListBackupExportsResp.ProtoReflect.Descriptor instead.
func (*ListBackupExportsResp) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{18}
}

func (x *ListBackupExportsResp) GetTotal() uint64 {
	if x != nil {
		return x.Total
	}
	return 0
}

func (x *ListBackupExportsResp) GetItems() []*BackupExport {
	if x != nil {
		return x.Items
	}
	return nil
}

type BackupExport struct {
	state      protoimpl.MessageState `protogen:"open.v1"`
	Id         uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	BackupId   uint64                 `protobuf:"varint,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	BackupName string                 `protobuf:"bytes,4,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
	BackupTs   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=backup_ts,json=backupTs,proto3" json:"backup_ts,omitempty"`
	Provider   string                 `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	Region     string                 `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
	// Types that are valid to be assigned to Storage:
	//
	//	*BackupExport_S3_
	//	*BackupExport_Gcs
	//	*BackupExport_AzBlob
	Storage    isBackupExport_Storage `protobuf_oneof:"storage"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	FinishedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	Status     BackupExport_Status    `protobuf:"varint,13,opt,name=status,proto3,enum=dataflow.BackupExport_Status" json:"status,omitempty"`
	StatusMsg  string                 `protobuf:"bytes,14,opt,name=status_msg,json=statusMsg,proto3" json:"status_msg,omitempty"`
	// error_msg describes the reason of the failure, it is only available when the status is FAILED
	ErrorMsg      string `protobuf:"bytes,15,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BackupExport) Reset() {
	*x = BackupExport{}
	mi := &file_dataflow_backup_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*BackupExport) ProtoMessage() {}

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

// Deprecated: Use BackupExport.ProtoReflect.Descriptor instead.
func (*BackupExport) Descriptor() ([]byte, []int) {
	return file_dataflow_backup_proto_rawDescGZIP(), []int{19}
}

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

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

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

func (x *BackupExport) GetBackupName() string {
	if x != nil {
		return x.BackupName
	}
	return ""
}

func (x *BackupExport) GetBackupTs() *timestamppb.Timestamp {
	if x != nil {
		return x.BackupTs
	}
	return nil
}

func (x *BackupExport) GetProvider() string {
	if x != nil {
		return x.Provider
	}
	return ""
}

func (x *BackupExport) GetRegion() string {
	if x != nil {
		return x.Region
	}
	return ""
}

func (x *BackupExport) GetStorage() isBackupExport_Storage {
	if x != nil {
		return x.Storage
	}
	return nil
}

func (x *BackupExport) GetS3() *BackupExport_S3 {
	if x != nil {
		if x, ok := x.Storage.(*BackupExport_S3_); ok {
			return x.S3
		}
	}
	return nil
}

func (x *BackupExport) GetGcs() *BackupExport_GCS {
	if x != nil {
		if x, ok := x.Storage.(*BackupExport_Gcs); ok {
			return x.Gcs
		}
	}
	return nil
}

func (x *BackupExport) GetAzBlob() *BackupExport_AZBlob {
	if x != nil {
		if x, ok := x.Storage.(*BackupExport_AzBlob); ok {
			return x.AzBlob
		}
	}
	return nil
}

func (x *BackupExport) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *BackupExport) GetFinishedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.FinishedAt
	}
	return nil
}

func (x *BackupExport) GetStatus() BackupExport_Status {
	if x != nil {
		return x.Status
	}
	return BackupExport_STATUS_UNSPECIFIED
}

func (x *BackupExport) GetStatusMsg() string {
	if x != nil {
		return x.StatusMsg
	}
	return ""
}

func (x *BackupExport) GetErrorMsg() string {
	if x != nil {
		return x.ErrorMsg
	}
	return ""
}

type isBackupExport_Storage interface {
	isBackupExport_Storage()
}

type BackupExport_S3_ struct {
	S3 *BackupExport_S3 `protobuf:"bytes,8,opt,name=s3,proto3,oneof"`
}

type BackupExport_Gcs struct {
	Gcs *BackupExport_GCS `protobuf:"bytes,9,opt,name=gcs,proto3,oneof"`
}

type BackupExport_AzBlob struct {
	AzBlob *BackupExport_AZBlob `protobuf:"bytes,10,opt,name=az_blob,json=azBlob,proto3,oneof"`
}

func (*BackupExport_S3_) isBackupExport_Storage() {}

func (*BackupExport_Gcs) isBackupExport_Storage() {}

func (*BackupExport_AzBlob) isBackupExport_Storage() {}

type BackupExport_S3 struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// is the target url of the S3 bucket, for example: s3://your-s3-bucket-name/dir1/dir2/dir3/
	TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	// The target region of the S3 bucket, for example: us-east-1
	Region        string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	DryRun        bool   `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BackupExport_S3) Reset() {
	*x = BackupExport_S3{}
	mi := &file_dataflow_backup_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*BackupExport_S3) ProtoMessage() {}

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

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

func (x *BackupExport_S3) GetTargetUri() string {
	if x != nil {
		return x.TargetUri
	}
	return ""
}

func (x *BackupExport_S3) GetRegion() string {
	if x != nil {
		return x.Region
	}
	return ""
}

func (x *BackupExport_S3) GetDryRun() bool {
	if x != nil {
		return x.DryRun
	}
	return false
}

type BackupExport_GCS struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// is the target url of the GCS bucket, for example: gs://your-gcs-bucket-name/dir1/dir2/dir3/
	TargetUri     string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BackupExport_GCS) Reset() {
	*x = BackupExport_GCS{}
	mi := &file_dataflow_backup_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*BackupExport_GCS) ProtoMessage() {}

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

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

func (x *BackupExport_GCS) GetTargetUri() string {
	if x != nil {
		return x.TargetUri
	}
	return ""
}

type BackupExport_AZBlob struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// is the target url of the AZBlob bucket, for example: https://your-azblob-bucket-name.blob.core.windows.net/your-container-name/dir1/dir2/dir3/
	TargetUri     string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BackupExport_AZBlob) Reset() {
	*x = BackupExport_AZBlob{}
	mi := &file_dataflow_backup_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*BackupExport_AZBlob) ProtoMessage() {}

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

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

func (x *BackupExport_AZBlob) GetTargetUri() string {
	if x != nil {
		return x.TargetUri
	}
	return ""
}

var File_dataflow_backup_proto protoreflect.FileDescriptor

const file_dataflow_backup_proto_rawDesc = "" +
	"\n" +
	"\x15dataflow/backup.proto\x12\bdataflow\x1a\x0fbase/base.proto\x1a\x1bbuf/validate/validate.proto\x1a\x13common/common.proto\x1a\x13dataflow/crrf.proto\x1a\x16dataflow/service.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x17validate/validate.proto\"\xbf\x01\n" +
	"\x0fListRestoresReq\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\x04R\tclusterId\x12\x15\n" +
	"\x06org_id\x18\x02 \x01(\x04R\x05orgId\x12\x1d\n" +
	"\n" +
	"project_id\x18\x03 \x01(\x04R\tprojectId\x12\x12\n" +
	"\x04page\x18d \x01(\rR\x04page\x12\x19\n" +
	"\bper_page\x18e \x01(\rR\aperPage:(\x92A%\n" +
	"#\xd2\x01\n" +
	"cluster_id\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\"q\n" +
	"\x10ListRestoresResp\x120\n" +
	"\x05items\x18\x01 \x03(\v2\x1a.dataflow.ListRestoresItemR\x05items\x12\x14\n" +
	"\x05total\x18\x02 \x01(\rR\x05total:\x15\x92A\x12\n" +
	"\x10\xd2\x01\x05items\xd2\x01\x05total\"\xfc\x03\n" +
	"\x10ListRestoresItem\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\x04R\tclusterId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x128\n" +
	"\frestore_mode\x18\x04 \x01(\x0e2\x15.dataflow.RestoreModeR\vrestoreMode\x12/\n" +
	"\x06status\x18\x05 \x01(\x0e2\x17.dataflow.RestoreStatusR\x06status\x12\x1a\n" +
	"\bprogress\x18\x06 \x01(\x01R\bprogress\x12%\n" +
	"\x0erestore_region\x18\a \x01(\tR\rrestoreRegion\x129\n" +
	"\n" +
	"created_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12;\n" +
	"\vrestored_ts\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"restoredTs\x12!\n" +
	"\frestored_tso\x18\n" +
	" \x01(\tR\vrestoredTso\x12;\n" +
	"\vfinished_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"finishedAt\x12\x1f\n" +
	"\vbackup_name\x18\f \x01(\tR\n" +
	"backupName\"\x81\x04\n" +
	"\x18ModifyBackupSettingReqV2\x12\x1e\n" +
	"\x06org_id\x18\x01 \x01(\x04B\a\xfaB\x042\x02 \x00R\x05orgId\x12&\n" +
	"\n" +
	"project_id\x18\x02 \x01(\x04B\a\xfaB\x042\x02 \x00R\tprojectId\x12&\n" +
	"\n" +
	"cluster_id\x18\x03 \x01(\x04B\a\xfaB\x042\x02 \x00R\tclusterId\x12\x17\n" +
	"\adry_run\x18\x04 \x01(\bR\x06dryRun\x12_\n" +
	"\x18snapshot_backup_schedule\x18\x05 \x01(\v2 .dataflow.SnapshotBackupScheduleH\x00R\x16snapshotBackupSchedule\x88\x01\x01\x12e\n" +
	"\x1acontinuous_backup_schedule\x18\x06 \x01(\v2\".dataflow.ContinuousBackupScheduleH\x01R\x18continuousBackupSchedule\x88\x01\x01\x12.\n" +
	"\aregions\x18\a \x03(\v2\x14.dataflow.RegionInfoR\aregions:(\x92A%\n" +
	"#\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\xd2\x01\n" +
	"cluster_idB\x1b\n" +
	"\x19_snapshot_backup_scheduleB\x1d\n" +
	"\x1b_continuous_backup_schedule\"\x1b\n" +
	"\x19ModifyBackupSettingRespV2\"\x96\x01\n" +
	"\x15QueryBackupSettingReq\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\x04R\x05orgId\x12\x1d\n" +
	"\n" +
	"project_id\x18\x02 \x01(\x04R\tprojectId\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x03 \x01(\x04R\tclusterId:(\x92A%\n" +
	"#\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\xd2\x01\n" +
	"cluster_id\"\xf7\x03\n" +
	"\x16QueryBackupSettingResp\x125\n" +
	"\x06status\x18\x01 \x01(\x0e2\x1d.dataflow.BackupSettingStatusR\x06status\x12;\n" +
	"\aactions\x18\x02 \x03(\x0e2!.dataflow.BackupSettingActionTypeR\aactions\x12_\n" +
	"\x18snapshot_backup_schedule\x18\x03 \x01(\v2 .dataflow.SnapshotBackupScheduleH\x00R\x16snapshotBackupSchedule\x88\x01\x01\x12e\n" +
	"\x1acontinuous_backup_schedule\x18\x04 \x01(\v2\".dataflow.ContinuousBackupScheduleH\x01R\x18continuousBackupSchedule\x88\x01\x01\x12.\n" +
	"\aregions\x18\x05 \x03(\v2\x14.dataflow.RegionInfoR\aregions\x125\n" +
	"\vcrrf_status\x18\x06 \x01(\x0e2\x14.dataflow.CRRFStatusR\n" +
	"crrfStatusB\x1b\n" +
	"\x19_snapshot_backup_scheduleB\x1d\n" +
	"\x1b_continuous_backup_schedule\"\xfc\x02\n" +
	"\x16SnapshotBackupSchedule\x12\x18\n" +
	"\adisable\x18\x01 \x01(\bR\adisable\x12I\n" +
	"\rschedule_type\x18\x02 \x01(\x0e2$.dataflow.SnapshotBackupScheduleTypeR\fscheduleType\x12.\n" +
	"\x13daily_schedule_time\x18\x03 \x01(\tR\x11dailyScheduleTime\x12A\n" +
	"\x0fweekly_schedule\x18\x04 \x01(\v2\x18.dataflow.WeeklyScheduleR\x0eweeklySchedule\x12D\n" +
	"\x10retention_policy\x18\x05 \x01(\v2\x19.dataflow.RetentionPolicyR\x0fretentionPolicy\x12D\n" +
	"\x10next_backup_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x0enextBackupTime\"\\\n" +
	"\x0eWeeklySchedule\x12%\n" +
	"\x04days\x18\x05 \x03(\x0e2\x11.dataflow.WeekDayR\x04days\x12#\n" +
	"\rschedule_time\x18\x03 \x01(\tR\fscheduleTime\"<\n" +
	"\x0fRetentionPolicy\x12)\n" +
	"\x10retention_period\x18\x01 \x01(\x03R\x0fretentionPeriod\"2\n" +
	"\x18ContinuousBackupSchedule\x12\x16\n" +
	"\x06enable\x18\x01 \x01(\bR\x06enable\"\xc3\x01\n" +
	"\x19GetBackupExportProfileReq\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\x04R\x05orgId\x12\x1d\n" +
	"\n" +
	"project_id\x18\x02 \x01(\x04R\tprojectId\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x03 \x01(\x04R\tclusterId\x12\x1b\n" +
	"\tbackup_id\x18\x04 \x01(\x04R\bbackupId:4\x92A1\n" +
	"/\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\xd2\x01\n" +
	"cluster_id\xd2\x01\tbackup_id\"\x95\x01\n" +
	"\x1aGetBackupExportProfileResp\x12.\n" +
	"\x13gcp_service_account\x18\x01 \x01(\tR\x11gcpServiceAccount\x12\x1e\n" +
	"\vs3_role_arn\x18\x02 \x01(\tR\ts3RoleArn\x12'\n" +
	"\x10az_blob_role_arn\x18\x03 \x01(\tR\razBlobRoleArn\"\xb7\x02\n" +
	"\x15CreateBackupExportReq\x12!\n" +
	"\x06org_id\x18\x01 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\x05orgId\x12)\n" +
	"\n" +
	"project_id\x18\x02 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\tprojectId\x12)\n" +
	"\n" +
	"cluster_id\x18\x03 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\tclusterId\x12'\n" +
	"\tbackup_id\x18\x04 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\bbackupId\x12F\n" +
	"\rbackup_export\x18\x05 \x01(\v2\x16.dataflow.BackupExportB\t\xe0A\x02\xbaH\x03\xc8\x01\x01R\fbackupExport:4\x92A1\n" +
	"/\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\xd2\x01\n" +
	"cluster_id\xd2\x01\tbackup_id\"5\n" +
	"\x16CreateBackupExportResp\x12\x1b\n" +
	"\texport_id\x18\x01 \x01(\x04R\bexportId\"\xa4\x02\n" +
	"\x15CancelBackupExportReq\x12!\n" +
	"\x06org_id\x18\x01 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\x05orgId\x12)\n" +
	"\n" +
	"project_id\x18\x02 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\tprojectId\x12)\n" +
	"\n" +
	"cluster_id\x18\x03 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\tclusterId\x12'\n" +
	"\tbackup_id\x18\x04 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\bbackupId\x12'\n" +
	"\texport_id\x18\x05 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\bexportId:@\x92A=\n" +
	";\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\xd2\x01\n" +
	"cluster_id\xd2\x01\tbackup_id\xd2\x01\texport_id\"\x18\n" +
	"\x16CancelBackupExportResp\"\xe8\x01\n" +
	"\x14ListBackupExportsReq\x12!\n" +
	"\x06org_id\x18\x01 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\x05orgId\x12)\n" +
	"\n" +
	"project_id\x18\x02 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\tprojectId\x12)\n" +
	"\n" +
	"cluster_id\x18\x03 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\tclusterId\x12\x12\n" +
	"\x04page\x18d \x01(\rR\x04page\x12\x19\n" +
	"\bper_page\x18e \x01(\rR\aperPage:(\x92A%\n" +
	"#\xd2\x01\x06org_id\xd2\x01\n" +
	"project_id\xd2\x01\n" +
	"cluster_id\"[\n" +
	"\x15ListBackupExportsResp\x12\x14\n" +
	"\x05total\x18\x01 \x01(\x04R\x05total\x12,\n" +
	"\x05items\x18\x02 \x03(\v2\x16.dataflow.BackupExportR\x05items\"\x9e\b\n" +
	"\fBackupExport\x12\x13\n" +
	"\x02id\x18\x01 \x01(\x04B\x03\xe0A\x03R\x02id\x12\x1f\n" +
	"\x04name\x18\x02 \x01(\tB\v\xe0A\x01\xbaH\x05r\x03\x18\x80\x01R\x04name\x12'\n" +
	"\tbackup_id\x18\x03 \x01(\x04B\n" +
	"\xe0A\x02\xbaH\x042\x02 \x00R\bbackupId\x12$\n" +
	"\vbackup_name\x18\x04 \x01(\tB\x03\xe0A\x03R\n" +
	"backupName\x12<\n" +
	"\tbackup_ts\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\bbackupTs\x12\x1f\n" +
	"\bprovider\x18\x06 \x01(\tB\x03\xe0A\x03R\bprovider\x12\x1b\n" +
	"\x06region\x18\a \x01(\tB\x03\xe0A\x03R\x06region\x120\n" +
	"\x02s3\x18\b \x01(\v2\x19.dataflow.BackupExport.S3B\x03\xe0A\x02H\x00R\x02s3\x123\n" +
	"\x03gcs\x18\t \x01(\v2\x1a.dataflow.BackupExport.GCSB\x03\xe0A\x02H\x00R\x03gcs\x12=\n" +
	"\aaz_blob\x18\n" +
	" \x01(\v2\x1d.dataflow.BackupExport.AZBlobB\x03\xe0A\x02H\x00R\x06azBlob\x12>\n" +
	"\n" +
	"created_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tcreatedAt\x12@\n" +
	"\vfinished_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"finishedAt\x12:\n" +
	"\x06status\x18\r \x01(\x0e2\x1d.dataflow.BackupExport.StatusB\x03\xe0A\x03R\x06status\x12\"\n" +
	"\n" +
	"status_msg\x18\x0e \x01(\tB\x03\xe0A\x03R\tstatusMsg\x12 \n" +
	"\terror_msg\x18\x0f \x01(\tB\x03\xe0A\x03R\berrorMsg\x1ay\n" +
	"\x02S3\x120\n" +
	"\n" +
	"target_uri\x18\x01 \x01(\tB\x11\xe0A\x02\xbaH\vr\t\x18\x80 B\x01/\x88\x01\x01R\ttargetUri\x12#\n" +
	"\x06region\x18\x02 \x01(\tB\v\xe0A\x02\xbaH\x05r\x03\x18\x80\x01R\x06region\x12\x1c\n" +
	"\adry_run\x18\x03 \x01(\bB\x03\xe0A\x01R\x06dryRun\x1a7\n" +
	"\x03GCS\x120\n" +
	"\n" +
	"target_uri\x18\x01 \x01(\tB\x11\xe0A\x02\xbaH\vr\t\x18\x80 B\x01/\x88\x01\x01R\ttargetUri\x1a:\n" +
	"\x06AZBlob\x120\n" +
	"\n" +
	"target_uri\x18\x01 \x01(\tB\x11\xe0A\x02\xbaH\vr\t\x18\x80 B\x01/\x88\x01\x01R\ttargetUri\"a\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aPENDING\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x02\x12\n" +
	"\n" +
	"\x06FAILED\x10\x03\x12\v\n" +
	"\aSUCCESS\x10\x04\x12\f\n" +
	"\bCANCELED\x10\x05B\x10\n" +
	"\astorage\x12\x05\xbaH\x02\b\x01*L\n" +
	"\x17BackupSettingActionType\x12\x0f\n" +
	"\vEdit_Region\x10\x00\x12\r\n" +
	"\tEdit_PiTR\x10\x01\x12\x11\n" +
	"\rEdit_Schedule\x10\x02*3\n" +
	"\x1aSnapshotBackupScheduleType\x12\t\n" +
	"\x05Daily\x10\x00\x12\n" +
	"\n" +
	"\x06Weekly\x10\x012\xee\v\n" +
	"\x14BackupConsoleService\x12\xd6\x01\n" +
	"\x13ModifyBackupSetting\x12\".dataflow.ModifyBackupSettingReqV2\x1a#.dataflow.ModifyBackupSettingRespV2\"v\x92A\x17*\x15ModifyBackupSettingV2\x82\xd3\xe4\x93\x02V:\x01*\"Q/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/backups/setting\x12\xcb\x01\n" +
	"\x12QueryBackupSetting\x12\x1f.dataflow.QueryBackupSettingReq\x1a .dataflow.QueryBackupSettingResp\"r\x92A\x16*\x14QueryBackupSettingV2\x82\xd3\xe4\x93\x02S\x12Q/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/backups/setting\x12\xac\x01\n" +
	"\fListRestores\x12\x19.dataflow.ListRestoresReq\x1a\x1a.dataflow.ListRestoresResp\"e\x92A\x10*\x0eListRestoresV2\x82\xd3\xe4\x93\x02L\x12J/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/restores\x12\xed\x01\n" +
	"\x16GetBackupExportProfile\x12#.dataflow.GetBackupExportProfileReq\x1a$.dataflow.GetBackupExportProfileResp\"\x87\x01\x92A\x18*\x16GetBackupExportProfile\x82\xd3\xe4\x93\x02f\x12d/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/backups/{backup_id}/export-profile\x12\xd8\x01\n" +
	"\x12CreateBackupExport\x12\x1f.dataflow.CreateBackupExportReq\x1a .dataflow.CreateBackupExportResp\"\x7f\x92A\x14*\x12CreateBackupExport\x82\xd3\xe4\x93\x02b:\x01*\"]/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/backups/{backup_id}/exports\x12\xec\x01\n" +
	"\x12CancelBackupExport\x12\x1f.dataflow.CancelBackupExportReq\x1a .dataflow.CancelBackupExportResp\"\x92\x01\x92A\x14*\x12CancelBackupExport\x82\xd3\xe4\x93\x02u:\x01*\"p/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/backups/{backup_id}/exports/{export_id}:cancel\x12\xc5\x01\n" +
	"\x11ListBackupExports\x12\x1e.dataflow.ListBackupExportsReq\x1a\x1f.dataflow.ListBackupExportsResp\"o\x92A\x13*\x11ListBackupExports\x82\xd3\xe4\x93\x02S\x12Q/api/v2/orgs/{org_id}/projects/{project_id}/clusters/{cluster_id}/backups/exportsB\x89\x02\x92A\xbc\x01\x12\x052\x030.1*\x01\x02ZY\n" +
	"W\n" +
	"\x06bearer\x12M\b\x02\x128Authentication token, prefixed by Bearer: Bearer <token>\x1a\rAuthorization \x02b\f\n" +
	"\n" +
	"\n" +
	"\x06bearer\x12\x00rG\n" +
	"\x16DBaaS Dataflow Service\x12-https://github.com/tidbcloud/dataflow-serviceZGgithub.com/tidbcloud/dataflow-service/idl/pbgen/proto/dataflow;dataflowb\x06proto3"

var (
	file_dataflow_backup_proto_rawDescOnce sync.Once
	file_dataflow_backup_proto_rawDescData []byte
)

func file_dataflow_backup_proto_rawDescGZIP() []byte {
	file_dataflow_backup_proto_rawDescOnce.Do(func() {
		file_dataflow_backup_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dataflow_backup_proto_rawDesc), len(file_dataflow_backup_proto_rawDesc)))
	})
	return file_dataflow_backup_proto_rawDescData
}

var file_dataflow_backup_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_dataflow_backup_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
var file_dataflow_backup_proto_goTypes = []any{
	(BackupSettingActionType)(0),       // 0: dataflow.BackupSettingActionType
	(SnapshotBackupScheduleType)(0),    // 1: dataflow.SnapshotBackupScheduleType
	(BackupExport_Status)(0),           // 2: dataflow.BackupExport.Status
	(*ListRestoresReq)(nil),            // 3: dataflow.ListRestoresReq
	(*ListRestoresResp)(nil),           // 4: dataflow.ListRestoresResp
	(*ListRestoresItem)(nil),           // 5: dataflow.ListRestoresItem
	(*ModifyBackupSettingReqV2)(nil),   // 6: dataflow.ModifyBackupSettingReqV2
	(*ModifyBackupSettingRespV2)(nil),  // 7: dataflow.ModifyBackupSettingRespV2
	(*QueryBackupSettingReq)(nil),      // 8: dataflow.QueryBackupSettingReq
	(*QueryBackupSettingResp)(nil),     // 9: dataflow.QueryBackupSettingResp
	(*SnapshotBackupSchedule)(nil),     // 10: dataflow.SnapshotBackupSchedule
	(*WeeklySchedule)(nil),             // 11: dataflow.WeeklySchedule
	(*RetentionPolicy)(nil),            // 12: dataflow.RetentionPolicy
	(*ContinuousBackupSchedule)(nil),   // 13: dataflow.ContinuousBackupSchedule
	(*GetBackupExportProfileReq)(nil),  // 14: dataflow.GetBackupExportProfileReq
	(*GetBackupExportProfileResp)(nil), // 15: dataflow.GetBackupExportProfileResp
	(*CreateBackupExportReq)(nil),      // 16: dataflow.CreateBackupExportReq
	(*CreateBackupExportResp)(nil),     // 17: dataflow.CreateBackupExportResp
	(*CancelBackupExportReq)(nil),      // 18: dataflow.CancelBackupExportReq
	(*CancelBackupExportResp)(nil),     // 19: dataflow.CancelBackupExportResp
	(*ListBackupExportsReq)(nil),       // 20: dataflow.ListBackupExportsReq
	(*ListBackupExportsResp)(nil),      // 21: dataflow.ListBackupExportsResp
	(*BackupExport)(nil),               // 22: dataflow.BackupExport
	(*BackupExport_S3)(nil),            // 23: dataflow.BackupExport.S3
	(*BackupExport_GCS)(nil),           // 24: dataflow.BackupExport.GCS
	(*BackupExport_AZBlob)(nil),        // 25: dataflow.BackupExport.AZBlob
	(RestoreMode)(0),                   // 26: dataflow.RestoreMode
	(RestoreStatus)(0),                 // 27: dataflow.RestoreStatus
	(*timestamppb.Timestamp)(nil),      // 28: google.protobuf.Timestamp
	(*RegionInfo)(nil),                 // 29: dataflow.RegionInfo
	(BackupSettingStatus)(0),           // 30: dataflow.BackupSettingStatus
	(CRRFStatus)(0),                    // 31: dataflow.CRRFStatus
	(WeekDay)(0),                       // 32: dataflow.WeekDay
}
var file_dataflow_backup_proto_depIdxs = []int32{
	5,  // 0: dataflow.ListRestoresResp.items:type_name -> dataflow.ListRestoresItem
	26, // 1: dataflow.ListRestoresItem.restore_mode:type_name -> dataflow.RestoreMode
	27, // 2: dataflow.ListRestoresItem.status:type_name -> dataflow.RestoreStatus
	28, // 3: dataflow.ListRestoresItem.created_at:type_name -> google.protobuf.Timestamp
	28, // 4: dataflow.ListRestoresItem.restored_ts:type_name -> google.protobuf.Timestamp
	28, // 5: dataflow.ListRestoresItem.finished_at:type_name -> google.protobuf.Timestamp
	10, // 6: dataflow.ModifyBackupSettingReqV2.snapshot_backup_schedule:type_name -> dataflow.SnapshotBackupSchedule
	13, // 7: dataflow.ModifyBackupSettingReqV2.continuous_backup_schedule:type_name -> dataflow.ContinuousBackupSchedule
	29, // 8: dataflow.ModifyBackupSettingReqV2.regions:type_name -> dataflow.RegionInfo
	30, // 9: dataflow.QueryBackupSettingResp.status:type_name -> dataflow.BackupSettingStatus
	0,  // 10: dataflow.QueryBackupSettingResp.actions:type_name -> dataflow.BackupSettingActionType
	10, // 11: dataflow.QueryBackupSettingResp.snapshot_backup_schedule:type_name -> dataflow.SnapshotBackupSchedule
	13, // 12: dataflow.QueryBackupSettingResp.continuous_backup_schedule:type_name -> dataflow.ContinuousBackupSchedule
	29, // 13: dataflow.QueryBackupSettingResp.regions:type_name -> dataflow.RegionInfo
	31, // 14: dataflow.QueryBackupSettingResp.crrf_status:type_name -> dataflow.CRRFStatus
	1,  // 15: dataflow.SnapshotBackupSchedule.schedule_type:type_name -> dataflow.SnapshotBackupScheduleType
	11, // 16: dataflow.SnapshotBackupSchedule.weekly_schedule:type_name -> dataflow.WeeklySchedule
	12, // 17: dataflow.SnapshotBackupSchedule.retention_policy:type_name -> dataflow.RetentionPolicy
	28, // 18: dataflow.SnapshotBackupSchedule.next_backup_time:type_name -> google.protobuf.Timestamp
	32, // 19: dataflow.WeeklySchedule.days:type_name -> dataflow.WeekDay
	22, // 20: dataflow.CreateBackupExportReq.backup_export:type_name -> dataflow.BackupExport
	22, // 21: dataflow.ListBackupExportsResp.items:type_name -> dataflow.BackupExport
	28, // 22: dataflow.BackupExport.backup_ts:type_name -> google.protobuf.Timestamp
	23, // 23: dataflow.BackupExport.s3:type_name -> dataflow.BackupExport.S3
	24, // 24: dataflow.BackupExport.gcs:type_name -> dataflow.BackupExport.GCS
	25, // 25: dataflow.BackupExport.az_blob:type_name -> dataflow.BackupExport.AZBlob
	28, // 26: dataflow.BackupExport.created_at:type_name -> google.protobuf.Timestamp
	28, // 27: dataflow.BackupExport.finished_at:type_name -> google.protobuf.Timestamp
	2,  // 28: dataflow.BackupExport.status:type_name -> dataflow.BackupExport.Status
	6,  // 29: dataflow.BackupConsoleService.ModifyBackupSetting:input_type -> dataflow.ModifyBackupSettingReqV2
	8,  // 30: dataflow.BackupConsoleService.QueryBackupSetting:input_type -> dataflow.QueryBackupSettingReq
	3,  // 31: dataflow.BackupConsoleService.ListRestores:input_type -> dataflow.ListRestoresReq
	14, // 32: dataflow.BackupConsoleService.GetBackupExportProfile:input_type -> dataflow.GetBackupExportProfileReq
	16, // 33: dataflow.BackupConsoleService.CreateBackupExport:input_type -> dataflow.CreateBackupExportReq
	18, // 34: dataflow.BackupConsoleService.CancelBackupExport:input_type -> dataflow.CancelBackupExportReq
	20, // 35: dataflow.BackupConsoleService.ListBackupExports:input_type -> dataflow.ListBackupExportsReq
	7,  // 36: dataflow.BackupConsoleService.ModifyBackupSetting:output_type -> dataflow.ModifyBackupSettingRespV2
	9,  // 37: dataflow.BackupConsoleService.QueryBackupSetting:output_type -> dataflow.QueryBackupSettingResp
	4,  // 38: dataflow.BackupConsoleService.ListRestores:output_type -> dataflow.ListRestoresResp
	15, // 39: dataflow.BackupConsoleService.GetBackupExportProfile:output_type -> dataflow.GetBackupExportProfileResp
	17, // 40: dataflow.BackupConsoleService.CreateBackupExport:output_type -> dataflow.CreateBackupExportResp
	19, // 41: dataflow.BackupConsoleService.CancelBackupExport:output_type -> dataflow.CancelBackupExportResp
	21, // 42: dataflow.BackupConsoleService.ListBackupExports:output_type -> dataflow.ListBackupExportsResp
	36, // [36:43] is the sub-list for method output_type
	29, // [29:36] is the sub-list for method input_type
	29, // [29:29] is the sub-list for extension type_name
	29, // [29:29] is the sub-list for extension extendee
	0,  // [0:29] is the sub-list for field type_name
}

func init() { file_dataflow_backup_proto_init() }
func file_dataflow_backup_proto_init() {
	if File_dataflow_backup_proto != nil {
		return
	}
	file_dataflow_crrf_proto_init()
	file_dataflow_service_proto_init()
	file_dataflow_backup_proto_msgTypes[3].OneofWrappers = []any{}
	file_dataflow_backup_proto_msgTypes[6].OneofWrappers = []any{}
	file_dataflow_backup_proto_msgTypes[19].OneofWrappers = []any{
		(*BackupExport_S3_)(nil),
		(*BackupExport_Gcs)(nil),
		(*BackupExport_AzBlob)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataflow_backup_proto_rawDesc), len(file_dataflow_backup_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   23,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_dataflow_backup_proto_goTypes,
		DependencyIndexes: file_dataflow_backup_proto_depIdxs,
		EnumInfos:         file_dataflow_backup_proto_enumTypes,
		MessageInfos:      file_dataflow_backup_proto_msgTypes,
	}.Build()
	File_dataflow_backup_proto = out.File
	file_dataflow_backup_proto_goTypes = nil
	file_dataflow_backup_proto_depIdxs = nil
}
