// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/backup/v1/provider_service.proto

package backup

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 ActivateProviderRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Activate provider for Folder iD.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Activate specific provider by name.
	//
	// For more information, please see [activate-provider](/docs/backup/quickstart#activate-provider)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Don't create default policies while activating the provider.
	SkipDefaultPolicy bool `protobuf:"varint,4,opt,name=skip_default_policy,json=skipDefaultPolicy,proto3" json:"skip_default_policy,omitempty"`
	// instance registration token for authorization
	InstanceRegistrationId string `protobuf:"bytes,5,opt,name=instance_registration_id,json=instanceRegistrationId,proto3" json:"instance_registration_id,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

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

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

func (*ActivateProviderRequest) ProtoMessage() {}

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

func (x *ActivateProviderRequest) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

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

func (x *ActivateProviderRequest) GetSkipDefaultPolicy() bool {
	if x != nil {
		return x.SkipDefaultPolicy
	}
	return false
}

func (x *ActivateProviderRequest) GetInstanceRegistrationId() string {
	if x != nil {
		return x.InstanceRegistrationId
	}
	return ""
}

type ActivateProviderMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Activate provider for folder specified by ID.
	FolderId      string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ActivateProviderMetadata) ProtoMessage() {}

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

func (x *ActivateProviderMetadata) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

type ListActivatedProvidersRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to find out the backup provider.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// instance registration token for authorization
	InstanceRegistrationId string `protobuf:"bytes,2,opt,name=instance_registration_id,json=instanceRegistrationId,proto3" json:"instance_registration_id,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

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

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

func (*ListActivatedProvidersRequest) ProtoMessage() {}

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

func (x *ListActivatedProvidersRequest) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *ListActivatedProvidersRequest) GetInstanceRegistrationId() string {
	if x != nil {
		return x.InstanceRegistrationId
	}
	return ""
}

type ListActivatedProvidersResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Folder ID.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the backup provider.
	Names         []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListActivatedProvidersResponse) ProtoMessage() {}

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

func (x *ListActivatedProvidersResponse) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *ListActivatedProvidersResponse) GetNames() []string {
	if x != nil {
		return x.Names
	}
	return nil
}

var File_yandex_cloud_backup_v1_provider_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_backup_v1_provider_service_proto_rawDesc = "" +
	"\n" +
	"-yandex/cloud/backup/v1/provider_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\xd4\x01\n" +
	"\x17ActivateProviderRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12\x18\n" +
	"\x04name\x18\x03 \x01(\tB\x04\xe8\xc71\x01R\x04name\x124\n" +
	"\x13skip_default_policy\x18\x04 \x01(\bB\x04\xe8\xc71\x00R\x11skipDefaultPolicy\x128\n" +
	"\x18instance_registration_id\x18\x05 \x01(\tR\x16instanceRegistrationIdJ\x04\b\x02\x10\x03\"E\n" +
	"\x18ActivateProviderMetadata\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\"\x84\x01\n" +
	"\x1dListActivatedProvidersRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x128\n" +
	"\x18instance_registration_id\x18\x02 \x01(\tR\x16instanceRegistrationId\"Y\n" +
	"\x1eListActivatedProvidersResponse\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12\x14\n" +
	"\x05names\x18\x03 \x03(\tR\x05namesJ\x04\b\x02\x10\x032\xf7\x02\n" +
	"\x0fProviderService\x12\xc4\x01\n" +
	"\bActivate\x12/.yandex.cloud.backup.v1.ActivateProviderRequest\x1a!.yandex.cloud.operation.Operation\"d\xb2\xd2*1\n" +
	"\x18ActivateProviderMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02):\x01*\"$/backup/v1/providers/{name}:activate\x12\x9c\x01\n" +
	"\rListActivated\x125.yandex.cloud.backup.v1.ListActivatedProvidersRequest\x1a6.yandex.cloud.backup.v1.ListActivatedProvidersResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/backup/v1/providersB_\n" +
	"\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3"

var (
	file_yandex_cloud_backup_v1_provider_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_backup_v1_provider_service_proto_rawDescData []byte
)

func file_yandex_cloud_backup_v1_provider_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_backup_v1_provider_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_backup_v1_provider_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_backup_v1_provider_service_proto_rawDesc), len(file_yandex_cloud_backup_v1_provider_service_proto_rawDesc)))
	})
	return file_yandex_cloud_backup_v1_provider_service_proto_rawDescData
}

var file_yandex_cloud_backup_v1_provider_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_backup_v1_provider_service_proto_goTypes = []any{
	(*ActivateProviderRequest)(nil),        // 0: yandex.cloud.backup.v1.ActivateProviderRequest
	(*ActivateProviderMetadata)(nil),       // 1: yandex.cloud.backup.v1.ActivateProviderMetadata
	(*ListActivatedProvidersRequest)(nil),  // 2: yandex.cloud.backup.v1.ListActivatedProvidersRequest
	(*ListActivatedProvidersResponse)(nil), // 3: yandex.cloud.backup.v1.ListActivatedProvidersResponse
	(*operation.Operation)(nil),            // 4: yandex.cloud.operation.Operation
}
var file_yandex_cloud_backup_v1_provider_service_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.backup.v1.ProviderService.Activate:input_type -> yandex.cloud.backup.v1.ActivateProviderRequest
	2, // 1: yandex.cloud.backup.v1.ProviderService.ListActivated:input_type -> yandex.cloud.backup.v1.ListActivatedProvidersRequest
	4, // 2: yandex.cloud.backup.v1.ProviderService.Activate:output_type -> yandex.cloud.operation.Operation
	3, // 3: yandex.cloud.backup.v1.ProviderService.ListActivated:output_type -> yandex.cloud.backup.v1.ListActivatedProvidersResponse
	2, // [2:4] is the sub-list for method output_type
	0, // [0:2] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_yandex_cloud_backup_v1_provider_service_proto_init() }
func file_yandex_cloud_backup_v1_provider_service_proto_init() {
	if File_yandex_cloud_backup_v1_provider_service_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_backup_v1_provider_service_proto_rawDesc), len(file_yandex_cloud_backup_v1_provider_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_backup_v1_provider_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_backup_v1_provider_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_backup_v1_provider_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_backup_v1_provider_service_proto = out.File
	file_yandex_cloud_backup_v1_provider_service_proto_goTypes = nil
	file_yandex_cloud_backup_v1_provider_service_proto_depIdxs = nil
}
