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

package dp

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"
	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 BackupTypeEnum int32

const (
	BackupTypeEnum_BACKUP_TYPE_UNSPECIFIED BackupTypeEnum = 0
	BackupTypeEnum_MANUAL                  BackupTypeEnum = 1
	BackupTypeEnum_AUTO                    BackupTypeEnum = 2
)

// Enum value maps for BackupTypeEnum.
var (
	BackupTypeEnum_name = map[int32]string{
		0: "BACKUP_TYPE_UNSPECIFIED",
		1: "MANUAL",
		2: "AUTO",
	}
	BackupTypeEnum_value = map[string]int32{
		"BACKUP_TYPE_UNSPECIFIED": 0,
		"MANUAL":                  1,
		"AUTO":                    2,
	}
)

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

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

func (BackupTypeEnum) Descriptor() protoreflect.EnumDescriptor {
	return file_openapi_dp_backup_proto_enumTypes[0].Descriptor()
}

func (BackupTypeEnum) Type() protoreflect.EnumType {
	return &file_openapi_dp_backup_proto_enumTypes[0]
}

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

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

type ListBackupItem_StatusEnum int32

const (
	ListBackupItem_BACKUP_STATUS_UNSPECIFIED ListBackupItem_StatusEnum = 0
	ListBackupItem_PENDING                   ListBackupItem_StatusEnum = 1
	ListBackupItem_RUNNING                   ListBackupItem_StatusEnum = 2
	ListBackupItem_FAILED                    ListBackupItem_StatusEnum = 3
	ListBackupItem_SUCCESS                   ListBackupItem_StatusEnum = 4
)

// Enum value maps for ListBackupItem_StatusEnum.
var (
	ListBackupItem_StatusEnum_name = map[int32]string{
		0: "BACKUP_STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "FAILED",
		4: "SUCCESS",
	}
	ListBackupItem_StatusEnum_value = map[string]int32{
		"BACKUP_STATUS_UNSPECIFIED": 0,
		"PENDING":                   1,
		"RUNNING":                   2,
		"FAILED":                    3,
		"SUCCESS":                   4,
	}
)

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

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

func (ListBackupItem_StatusEnum) Descriptor() protoreflect.EnumDescriptor {
	return file_openapi_dp_backup_proto_enumTypes[1].Descriptor()
}

func (ListBackupItem_StatusEnum) Type() protoreflect.EnumType {
	return &file_openapi_dp_backup_proto_enumTypes[1]
}

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

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

type GetBackupOfClusterResp_StatusEnum int32

const (
	GetBackupOfClusterResp_BACKUP_STATUS_UNSPECIFIED GetBackupOfClusterResp_StatusEnum = 0
	GetBackupOfClusterResp_PENDING                   GetBackupOfClusterResp_StatusEnum = 1
	GetBackupOfClusterResp_RUNNING                   GetBackupOfClusterResp_StatusEnum = 2
	GetBackupOfClusterResp_FAILED                    GetBackupOfClusterResp_StatusEnum = 3
	GetBackupOfClusterResp_SUCCESS                   GetBackupOfClusterResp_StatusEnum = 4
)

// Enum value maps for GetBackupOfClusterResp_StatusEnum.
var (
	GetBackupOfClusterResp_StatusEnum_name = map[int32]string{
		0: "BACKUP_STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "FAILED",
		4: "SUCCESS",
	}
	GetBackupOfClusterResp_StatusEnum_value = map[string]int32{
		"BACKUP_STATUS_UNSPECIFIED": 0,
		"PENDING":                   1,
		"RUNNING":                   2,
		"FAILED":                    3,
		"SUCCESS":                   4,
	}
)

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

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

func (GetBackupOfClusterResp_StatusEnum) Descriptor() protoreflect.EnumDescriptor {
	return file_openapi_dp_backup_proto_enumTypes[2].Descriptor()
}

func (GetBackupOfClusterResp_StatusEnum) Type() protoreflect.EnumType {
	return &file_openapi_dp_backup_proto_enumTypes[2]
}

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

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

type ListBackupOfClusterReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Page          int32                  `protobuf:"varint,100,opt,name=page,proto3" json:"page,omitempty"`
	PageSize      int32                  `protobuf:"varint,101,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListBackupOfClusterReq) ProtoMessage() {}

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

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

func (x *ListBackupOfClusterReq) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

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

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

type ListBackupOfClusterResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Items         []*ListBackupItem      `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 *ListBackupOfClusterResp) Reset() {
	*x = ListBackupOfClusterResp{}
	mi := &file_openapi_dp_backup_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListBackupOfClusterResp) ProtoMessage() {}

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

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

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

type ListBackupItem 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"`
	Description     string                    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type            BackupTypeEnum            `protobuf:"varint,4,opt,name=type,proto3,enum=openapi.BackupTypeEnum" json:"type,omitempty"`
	CreateTimestamp *timestamppb.Timestamp    `protobuf:"bytes,5,opt,name=create_timestamp,json=createTimestamp,proto3" json:"create_timestamp,omitempty"`
	Size            uint64                    `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Status          ListBackupItem_StatusEnum `protobuf:"varint,7,opt,name=status,proto3,enum=openapi.ListBackupItem_StatusEnum" json:"status,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*ListBackupItem) ProtoMessage() {}

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

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

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

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

func (x *ListBackupItem) GetType() BackupTypeEnum {
	if x != nil {
		return x.Type
	}
	return BackupTypeEnum_BACKUP_TYPE_UNSPECIFIED
}

func (x *ListBackupItem) GetCreateTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTimestamp
	}
	return nil
}

func (x *ListBackupItem) GetSize() uint64 {
	if x != nil {
		return x.Size
	}
	return 0
}

func (x *ListBackupItem) GetStatus() ListBackupItem_StatusEnum {
	if x != nil {
		return x.Status
	}
	return ListBackupItem_BACKUP_STATUS_UNSPECIFIED
}

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

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

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

func (*GetBackupOfClusterReq) ProtoMessage() {}

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

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

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

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

type GetBackupOfClusterResp 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"`
	Description     string                            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type            BackupTypeEnum                    `protobuf:"varint,4,opt,name=type,proto3,enum=openapi.BackupTypeEnum" json:"type,omitempty"`
	CreateTimestamp *timestamppb.Timestamp            `protobuf:"bytes,5,opt,name=create_timestamp,json=createTimestamp,proto3" json:"create_timestamp,omitempty"`
	Size            uint64                            `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Status          GetBackupOfClusterResp_StatusEnum `protobuf:"varint,7,opt,name=status,proto3,enum=openapi.GetBackupOfClusterResp_StatusEnum" json:"status,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*GetBackupOfClusterResp) ProtoMessage() {}

func (x *GetBackupOfClusterResp) ProtoReflect() protoreflect.Message {
	mi := &file_openapi_dp_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 GetBackupOfClusterResp.ProtoReflect.Descriptor instead.
func (*GetBackupOfClusterResp) Descriptor() ([]byte, []int) {
	return file_openapi_dp_backup_proto_rawDescGZIP(), []int{4}
}

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

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

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

func (x *GetBackupOfClusterResp) GetType() BackupTypeEnum {
	if x != nil {
		return x.Type
	}
	return BackupTypeEnum_BACKUP_TYPE_UNSPECIFIED
}

func (x *GetBackupOfClusterResp) GetCreateTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTimestamp
	}
	return nil
}

func (x *GetBackupOfClusterResp) GetSize() uint64 {
	if x != nil {
		return x.Size
	}
	return 0
}

func (x *GetBackupOfClusterResp) GetStatus() GetBackupOfClusterResp_StatusEnum {
	if x != nil {
		return x.Status
	}
	return GetBackupOfClusterResp_BACKUP_STATUS_UNSPECIFIED
}

type CreateBackupReq struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description   *string                `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	ProjectId     uint64                 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ClusterId     uint64                 `protobuf:"varint,4,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateBackupReq) ProtoMessage() {}

func (x *CreateBackupReq) ProtoReflect() protoreflect.Message {
	mi := &file_openapi_dp_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 CreateBackupReq.ProtoReflect.Descriptor instead.
func (*CreateBackupReq) Descriptor() ([]byte, []int) {
	return file_openapi_dp_backup_proto_rawDescGZIP(), []int{5}
}

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

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

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

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

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

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

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

func (*CreateBackupResp) ProtoMessage() {}

func (x *CreateBackupResp) ProtoReflect() protoreflect.Message {
	mi := &file_openapi_dp_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 CreateBackupResp.ProtoReflect.Descriptor instead.
func (*CreateBackupResp) Descriptor() ([]byte, []int) {
	return file_openapi_dp_backup_proto_rawDescGZIP(), []int{6}
}

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

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

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

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

func (*DeleteBackupReq) ProtoMessage() {}

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

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

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

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

var File_openapi_dp_backup_proto protoreflect.FileDescriptor

const file_openapi_dp_backup_proto_rawDesc = "" +
	"\n" +
	"\x17openapi/dp/backup.proto\x12\aopenapi\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x83\x05\n" +
	"\x16ListBackupOfClusterReq\x12<\n" +
	"\x04page\x18d \x01(\x05B(\x92A%2\x14The number of pages.:\x011J\x011i\x00\x00\x00\x00\x00\x00\xf0?R\x04page\x12O\n" +
	"\tpage_size\x18e \x01(\x05B2\x92A/2\x13The size of a page.:\x0210J\x0210Y\x00\x00\x00\x00\x00\x00Y@i\x00\x00\x00\x00\x00\x00\xf0?R\bpageSize\x12\xb9\x01\n" +
	"\n" +
	"project_id\x18\x01 \x01(\x04B\x99\x01\x92A\x95\x012\x8d\x01The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).J\x03\"1\"R\tprojectId\x12\xc2\x01\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\x04B\xa2\x01\x92A\x9e\x012\x96\x01The ID of your cluster. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).J\x03\"1\"R\tclusterId:Y\x92AV\n" +
	"T*\x16ListBackupOfClusterReq2-The request for listing backups of a cluster.\xd2\x01\n" +
	"cluster_id\"\x84\x02\n" +
	"\x17ListBackupOfClusterResp\x12M\n" +
	"\x05items\x18\x01 \x03(\v2\x17.openapi.ListBackupItemB\x1e\x92A\x1b2\x19The items of all backups.R\x05items\x12J\n" +
	"\x05total\x18\x02 \x01(\rB4\x92A12+The total number of backups in the project.J\x0210R\x05total:N\x92AK\n" +
	"I*\x17ListBackupOfClusterResp2.The response for listing backups of a cluster.\"\x95\n" +
	"\n" +
	"\x0eListBackupItem\x12N\n" +
	"\x02id\x18\x01 \x01(\x04B>\x92A;24The ID of the backup. It is generated by TiDB Cloud.J\x03\"1\"R\x02id\x12<\n" +
	"\x04name\x18\x02 \x01(\tB(\x92A%2\x17The name of the backup.J\n" +
	"\"backup-1\"R\x04name\x12\xe9\x01\n" +
	"\vdescription\x18\x03 \x01(\tB\xc6\x01\x92A\xc2\x012\x93\x01The description of the backup. It is specified by the user when taking a manual type backup. It helps you add additional information to the backup.J*\"backup for cluster upgrade in 2022/06/07\"R\vdescription\x12\xf7\x01\n" +
	"\x04type\x18\x04 \x01(\x0e2\x17.openapi.BackupTypeEnumB\xc9\x01\x92A\xc5\x012\xb8\x01The type of backup. TiDB Cloud only supports manual and auto backup. For more information, see [TiDB Cloud Documentation](https://docs.pingcap.com/tidbcloud/backup-and-restore#backup).J\b\"MANUAL\"R\x04type\x12\xdd\x02\n" +
	"\x10create_timestamp\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x95\x02\x92A\x91\x022\xf6\x01The creation time of the backup in UTC. The time format follows the [ISO8601](http://en.wikipedia.org/wiki/ISO_8601) standard, which is `YYYY-MM-DD` (year-month-day) + T +`HH:MM:SS` (hour-minutes-seconds) + Z. For example, `2020-01-01T00:00:00Z`.J\x16\"2020-01-01T00:00:00Z\"R\x0fcreateTimestamp\x12;\n" +
	"\x04size\x18\x06 \x01(\x04B'\x92A$2\x18The bytes of the backup.J\b\"102400\"R\x04size\x12a\n" +
	"\x06status\x18\a \x01(\x0e2\".openapi.ListBackupItem.StatusEnumB%\x92A\"2\x15The status of backup.J\t\"SUCCESS\"R\x06status\"^\n" +
	"\n" +
	"StatusEnum\x12\x1d\n" +
	"\x19BACKUP_STATUS_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:/\x92A,\n" +
	"**\x0eListBackupItem2\x18The item of backup list.\"\xb2\x04\n" +
	"\x15GetBackupOfClusterReq\x12\xb9\x01\n" +
	"\n" +
	"project_id\x18\x01 \x01(\x04B\x99\x01\x92A\x95\x012\x8d\x01The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).J\x03\"1\"R\tprojectId\x12\xbd\x01\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\x04B\x9d\x01\x92A\x99\x012\x96\x01The ID of your cluster. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).R\tclusterId\x127\n" +
	"\tbackup_id\x18\x03 \x01(\x04B\x1a\x92A\x172\x15The ID of the backup.R\bbackupId:d\x92Aa\n" +
	"_*\x15GetBackupOfClusterReq2-This request for getting backup of a cluster.\xd2\x01\tbackup_id\xd2\x01\n" +
	"cluster_id\"\xa4\n" +
	"\n" +
	"\x16GetBackupOfClusterResp\x12/\n" +
	"\x02id\x18\x01 \x01(\x04B\x1f\x92A\x1c2\x15The ID of the backup.J\x03\"1\"R\x02id\x12<\n" +
	"\x04name\x18\x02 \x01(\tB(\x92A%2\x17The name of the backup.J\n" +
	"\"backup-1\"R\x04name\x12\xe9\x01\n" +
	"\vdescription\x18\x03 \x01(\tB\xc6\x01\x92A\xc2\x012\x93\x01The description of the backup. It is specified by the user when taking a manual type backup. It helps you add additional information to the backup.J*\"backup for cluster upgrade in 2022/06/07\"R\vdescription\x12\xf7\x01\n" +
	"\x04type\x18\x04 \x01(\x0e2\x17.openapi.BackupTypeEnumB\xc9\x01\x92A\xc5\x012\xb8\x01The type of backup. TiDB Cloud only supports manual and auto backup. For more information, see [TiDB Cloud Documentation](https://docs.pingcap.com/tidbcloud/backup-and-restore#backup).J\b\"MANUAL\"R\x04type\x12\xdd\x02\n" +
	"\x10create_timestamp\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x95\x02\x92A\x91\x022\xf6\x01The creation time of the backup in UTC. The time format follows the [ISO8601](http://en.wikipedia.org/wiki/ISO_8601) standard, which is `YYYY-MM-DD` (year-month-day) + T +`HH:MM:SS` (hour-minutes-seconds) + Z. For example, `2020-01-01T00:00:00Z`.J\x16\"2020-01-01T00:00:00Z\"R\x0fcreateTimestamp\x12;\n" +
	"\x04size\x18\x06 \x01(\x04B'\x92A$2\x18The bytes of the backup.J\b\"102400\"R\x04size\x12i\n" +
	"\x06status\x18\a \x01(\x0e2*.openapi.GetBackupOfClusterResp.StatusEnumB%\x92A\"2\x15The status of backup.J\t\"SUCCESS\"R\x06status\"^\n" +
	"\n" +
	"StatusEnum\x12\x1d\n" +
	"\x19BACKUP_STATUS_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:M\x92AJ\n" +
	"H*\x16GetBackupOfClusterResp2.This response for getting backup of a cluster.\"\x9b\a\n" +
	"\x0fCreateBackupReq\x12\xc4\x01\n" +
	"\x04name\x18\x01 \x01(\tB\xaf\x01\x92A\xab\x012\x9c\x01Specify the name for a manual backup. It is recommended that you use a unique name, so that it is easy to distinguish the backup when you query the backups.J\n" +
	"\"backup-1\"R\x04name\x12\xac\x01\n" +
	"\vdescription\x18\x02 \x01(\tB\x84\x01\x92A\x80\x012rThe description of the backup. It helps you add additional information to the backup. Allows up to 256 characters.J\n" +
	"\"backup-1\"H\x00R\vdescription\x88\x01\x01\x12\xb9\x01\n" +
	"\n" +
	"project_id\x18\x03 \x01(\x04B\x99\x01\x92A\x95\x012\x8d\x01The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).J\x03\"1\"R\tprojectId\x12\xe8\x01\n" +
	"\n" +
	"cluster_id\x18\x04 \x01(\x04B\xc8\x01\x92A\xc4\x012\xbc\x01The ID of your cluster that you want to take a manual backup. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).J\x03\"1\"R\tclusterId:[\x92AX\n" +
	"V*\x0fCreateBackupReq2/This request for creating a MANUAL type backup.\xd2\x01\x04name\xd2\x01\n" +
	"cluster_idB\x0e\n" +
	"\f_description\"\x8e\x01\n" +
	"\x10CreateBackupResp\x12/\n" +
	"\x02id\x18\x01 \x01(\x04B\x1f\x92A\x1c2\x15The ID of the backup.J\x03\"1\"R\x02id:I\x92AF\n" +
	"D*\x10CreateBackupResp20This response for creating a MANUAL type backup.\"\x9b\x05\n" +
	"\x0fDeleteBackupReq\x12\xb9\x01\n" +
	"\n" +
	"project_id\x18\x01 \x01(\x04B\x99\x01\x92A\x95\x012\x8d\x01The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).J\x03\"1\"R\tprojectId\x12\xbd\x01\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\x04B\x9d\x01\x92A\x99\x012\x96\x01The ID of your cluster. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).R\tclusterId\x12\xb7\x01\n" +
	"\tbackup_id\x18\x03 \x01(\x04B\x99\x01\x92A\x95\x012\x92\x01The ID of the backup. You can get the backup ID from the response of [List all backups for a cluster](#tag/Project/operation/ListBackUpOfCluster).R\bbackupId:R\x92AO\n" +
	"M*\x0fDeleteBackupReq2!This request for deleting backup.\xd2\x01\tbackup_id\xd2\x01\n" +
	"cluster_id*C\n" +
	"\x0eBackupTypeEnum\x12\x1b\n" +
	"\x17BACKUP_TYPE_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06MANUAL\x10\x01\x12\b\n" +
	"\x04AUTO\x10\x022\x8f\x0f\n" +
	"\x06Backup\x12\x92\x03\n" +
	"\x13ListBackupOfCluster\x12\x1f.openapi.ListBackupOfClusterReq\x1a .openapi.ListBackupOfClusterResp\"\xb7\x02\x92A\xec\x01\x12\x1fList all backups for a cluster.\x1a\xb3\x01For TiDB Cloud Starter instances, you cannot manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.*\x13ListBackUpOfCluster\x82\xd3\xe4\x93\x02A\x12?/api/v1beta/projects/{project_id}/clusters/{cluster_id}/backups\x12\x96\x03\n" +
	"\x12GetBackupOfCluster\x12\x1e.openapi.GetBackupOfClusterReq\x1a\x1f.openapi.GetBackupOfClusterResp\"\xbe\x02\x92A\xe7\x01\x12\x1bGet a backup for a cluster.\x1a\xb3\x01For TiDB Cloud Starter instances, you cannot manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.*\x12GetBackupOfCluster\x82\xd3\xe4\x93\x02M\x12K/api/v1beta/projects/{project_id}/clusters/{cluster_id}/backups/{backup_id}\x12\xd2\x03\n" +
	"\fCreateBackup\x12\x18.openapi.CreateBackupReq\x1a\x19.openapi.CreateBackupResp\"\x8c\x03\x92A\xbe\x02\x12\x1eCreate a backup for a cluster.\x1a\x8d\x02- For TiDB Cloud Dedicated clusters, you can create as many manual backups as you need.\n" +
	"- For TiDB Cloud Starter instances, you cannot create backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.*\fCreateBackup\x82\xd3\xe4\x93\x02D:\x01*\"?/api/v1beta/projects/{project_id}/clusters/{cluster_id}/backups\x12\xfe\x02\n" +
	"\fDeleteBackup\x12\x18.openapi.DeleteBackupReq\x1a\x16.google.protobuf.Empty\"\xbb\x02\x92A\xe4\x01\x12\x1eDelete a backup for a cluster.\x1a\xb3\x01For TiDB Cloud Starter instances, you cannot manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.*\fDeleteBackup\x82\xd3\xe4\x93\x02M*K/api/v1beta/projects/{project_id}/clusters/{cluster_id}/backups/{backup_id}\x1a\x80\x02\x92A\xfc\x01\x12\xf9\x01Create, get, modify, and delete backups for TiDB clusters.\n" +
	"\n" +
	"For TiDB Cloud Starter instances, you cannot create or manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.B1Z/github.com/tidbcloud/idl/pbgen/proto/openapi/dpb\x06proto3"

var (
	file_openapi_dp_backup_proto_rawDescOnce sync.Once
	file_openapi_dp_backup_proto_rawDescData []byte
)

func file_openapi_dp_backup_proto_rawDescGZIP() []byte {
	file_openapi_dp_backup_proto_rawDescOnce.Do(func() {
		file_openapi_dp_backup_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_openapi_dp_backup_proto_rawDesc), len(file_openapi_dp_backup_proto_rawDesc)))
	})
	return file_openapi_dp_backup_proto_rawDescData
}

var file_openapi_dp_backup_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_openapi_dp_backup_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_openapi_dp_backup_proto_goTypes = []any{
	(BackupTypeEnum)(0),                    // 0: openapi.BackupTypeEnum
	(ListBackupItem_StatusEnum)(0),         // 1: openapi.ListBackupItem.StatusEnum
	(GetBackupOfClusterResp_StatusEnum)(0), // 2: openapi.GetBackupOfClusterResp.StatusEnum
	(*ListBackupOfClusterReq)(nil),         // 3: openapi.ListBackupOfClusterReq
	(*ListBackupOfClusterResp)(nil),        // 4: openapi.ListBackupOfClusterResp
	(*ListBackupItem)(nil),                 // 5: openapi.ListBackupItem
	(*GetBackupOfClusterReq)(nil),          // 6: openapi.GetBackupOfClusterReq
	(*GetBackupOfClusterResp)(nil),         // 7: openapi.GetBackupOfClusterResp
	(*CreateBackupReq)(nil),                // 8: openapi.CreateBackupReq
	(*CreateBackupResp)(nil),               // 9: openapi.CreateBackupResp
	(*DeleteBackupReq)(nil),                // 10: openapi.DeleteBackupReq
	(*timestamppb.Timestamp)(nil),          // 11: google.protobuf.Timestamp
	(*emptypb.Empty)(nil),                  // 12: google.protobuf.Empty
}
var file_openapi_dp_backup_proto_depIdxs = []int32{
	5,  // 0: openapi.ListBackupOfClusterResp.items:type_name -> openapi.ListBackupItem
	0,  // 1: openapi.ListBackupItem.type:type_name -> openapi.BackupTypeEnum
	11, // 2: openapi.ListBackupItem.create_timestamp:type_name -> google.protobuf.Timestamp
	1,  // 3: openapi.ListBackupItem.status:type_name -> openapi.ListBackupItem.StatusEnum
	0,  // 4: openapi.GetBackupOfClusterResp.type:type_name -> openapi.BackupTypeEnum
	11, // 5: openapi.GetBackupOfClusterResp.create_timestamp:type_name -> google.protobuf.Timestamp
	2,  // 6: openapi.GetBackupOfClusterResp.status:type_name -> openapi.GetBackupOfClusterResp.StatusEnum
	3,  // 7: openapi.Backup.ListBackupOfCluster:input_type -> openapi.ListBackupOfClusterReq
	6,  // 8: openapi.Backup.GetBackupOfCluster:input_type -> openapi.GetBackupOfClusterReq
	8,  // 9: openapi.Backup.CreateBackup:input_type -> openapi.CreateBackupReq
	10, // 10: openapi.Backup.DeleteBackup:input_type -> openapi.DeleteBackupReq
	4,  // 11: openapi.Backup.ListBackupOfCluster:output_type -> openapi.ListBackupOfClusterResp
	7,  // 12: openapi.Backup.GetBackupOfCluster:output_type -> openapi.GetBackupOfClusterResp
	9,  // 13: openapi.Backup.CreateBackup:output_type -> openapi.CreateBackupResp
	12, // 14: openapi.Backup.DeleteBackup:output_type -> google.protobuf.Empty
	11, // [11:15] is the sub-list for method output_type
	7,  // [7:11] is the sub-list for method input_type
	7,  // [7:7] is the sub-list for extension type_name
	7,  // [7:7] is the sub-list for extension extendee
	0,  // [0:7] is the sub-list for field type_name
}

func init() { file_openapi_dp_backup_proto_init() }
func file_openapi_dp_backup_proto_init() {
	if File_openapi_dp_backup_proto != nil {
		return
	}
	file_openapi_dp_backup_proto_msgTypes[5].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_openapi_dp_backup_proto_rawDesc), len(file_openapi_dp_backup_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_openapi_dp_backup_proto_goTypes,
		DependencyIndexes: file_openapi_dp_backup_proto_depIdxs,
		EnumInfos:         file_openapi_dp_backup_proto_enumTypes,
		MessageInfos:      file_openapi_dp_backup_proto_msgTypes,
	}.Build()
	File_openapi_dp_backup_proto = out.File
	file_openapi_dp_backup_proto_goTypes = nil
	file_openapi_dp_backup_proto_depIdxs = nil
}
