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

package backup

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "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 GetAgentInstallCommandRequest_AgentInstallCommandType int32

const (
	GetAgentInstallCommandRequest_AGENT_INSTALL_COMMAND_TYPE_UNSPECIFIED GetAgentInstallCommandRequest_AgentInstallCommandType = 0
	GetAgentInstallCommandRequest_AGENT_INSTALL_BASH_EXTERNAL_VM         GetAgentInstallCommandRequest_AgentInstallCommandType = 1
	GetAgentInstallCommandRequest_AGENT_INSTALL_BASH_EXTERNAL_SERVER     GetAgentInstallCommandRequest_AgentInstallCommandType = 2
)

// Enum value maps for GetAgentInstallCommandRequest_AgentInstallCommandType.
var (
	GetAgentInstallCommandRequest_AgentInstallCommandType_name = map[int32]string{
		0: "AGENT_INSTALL_COMMAND_TYPE_UNSPECIFIED",
		1: "AGENT_INSTALL_BASH_EXTERNAL_VM",
		2: "AGENT_INSTALL_BASH_EXTERNAL_SERVER",
	}
	GetAgentInstallCommandRequest_AgentInstallCommandType_value = map[string]int32{
		"AGENT_INSTALL_COMMAND_TYPE_UNSPECIFIED": 0,
		"AGENT_INSTALL_BASH_EXTERNAL_VM":         1,
		"AGENT_INSTALL_BASH_EXTERNAL_SERVER":     2,
	}
)

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

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

func (GetAgentInstallCommandRequest_AgentInstallCommandType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_setup_service_proto_enumTypes[0].Descriptor()
}

func (GetAgentInstallCommandRequest_AgentInstallCommandType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_setup_service_proto_enumTypes[0]
}

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

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

type GetAgentInstallCommandRequest struct {
	state         protoimpl.MessageState                                `protogen:"open.v1"`
	FolderId      string                                                `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	Type          GetAgentInstallCommandRequest_AgentInstallCommandType `protobuf:"varint,2,opt,name=type,proto3,enum=yandex.cloud.backup.v1.GetAgentInstallCommandRequest_AgentInstallCommandType" json:"type,omitempty"`
	PolicyIds     []string                                              `protobuf:"bytes,3,rep,name=policy_ids,json=policyIds,proto3" json:"policy_ids,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetAgentInstallCommandRequest) ProtoMessage() {}

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

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

func (x *GetAgentInstallCommandRequest) GetType() GetAgentInstallCommandRequest_AgentInstallCommandType {
	if x != nil {
		return x.Type
	}
	return GetAgentInstallCommandRequest_AGENT_INSTALL_COMMAND_TYPE_UNSPECIFIED
}

func (x *GetAgentInstallCommandRequest) GetPolicyIds() []string {
	if x != nil {
		return x.PolicyIds
	}
	return nil
}

type GetAgentInstallCommandResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Command       string                 `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetAgentInstallCommandResponse) ProtoMessage() {}

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

func (x *GetAgentInstallCommandResponse) GetCommand() string {
	if x != nil {
		return x.Command
	}
	return ""
}

var File_yandex_cloud_backup_v1_setup_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_backup_v1_setup_service_proto_rawDesc = "" +
	"\n" +
	"*yandex/cloud/backup/v1/setup_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\"\xde\x02\n" +
	"\x1dGetAgentInstallCommandRequest\x12!\n" +
	"\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bfolderId\x12g\n" +
	"\x04type\x18\x02 \x01(\x0e2M.yandex.cloud.backup.v1.GetAgentInstallCommandRequest.AgentInstallCommandTypeB\x04\xe8\xc71\x01R\x04type\x12\x1d\n" +
	"\n" +
	"policy_ids\x18\x03 \x03(\tR\tpolicyIds\"\x91\x01\n" +
	"\x17AgentInstallCommandType\x12*\n" +
	"&AGENT_INSTALL_COMMAND_TYPE_UNSPECIFIED\x10\x00\x12\"\n" +
	"\x1eAGENT_INSTALL_BASH_EXTERNAL_VM\x10\x01\x12&\n" +
	"\"AGENT_INSTALL_BASH_EXTERNAL_SERVER\x10\x02\":\n" +
	"\x1eGetAgentInstallCommandResponse\x12\x18\n" +
	"\acommand\x18\x01 \x01(\tR\acommand2\xcc\x01\n" +
	"\fSetupService\x12\xbb\x01\n" +
	"\x16GetAgentInstallCommand\x125.yandex.cloud.backup.v1.GetAgentInstallCommandRequest\x1a6.yandex.cloud.backup.v1.GetAgentInstallCommandResponse\"2\x82\xd3\xe4\x93\x02,:\x01*\"'/backup/v1/setup/getAgentInstallCommandB_\n" +
	"\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3"

var (
	file_yandex_cloud_backup_v1_setup_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_backup_v1_setup_service_proto_rawDescData []byte
)

func file_yandex_cloud_backup_v1_setup_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_backup_v1_setup_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_backup_v1_setup_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_backup_v1_setup_service_proto_rawDesc), len(file_yandex_cloud_backup_v1_setup_service_proto_rawDesc)))
	})
	return file_yandex_cloud_backup_v1_setup_service_proto_rawDescData
}

var file_yandex_cloud_backup_v1_setup_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_backup_v1_setup_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_backup_v1_setup_service_proto_goTypes = []any{
	(GetAgentInstallCommandRequest_AgentInstallCommandType)(0), // 0: yandex.cloud.backup.v1.GetAgentInstallCommandRequest.AgentInstallCommandType
	(*GetAgentInstallCommandRequest)(nil),                      // 1: yandex.cloud.backup.v1.GetAgentInstallCommandRequest
	(*GetAgentInstallCommandResponse)(nil),                     // 2: yandex.cloud.backup.v1.GetAgentInstallCommandResponse
}
var file_yandex_cloud_backup_v1_setup_service_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.backup.v1.GetAgentInstallCommandRequest.type:type_name -> yandex.cloud.backup.v1.GetAgentInstallCommandRequest.AgentInstallCommandType
	1, // 1: yandex.cloud.backup.v1.SetupService.GetAgentInstallCommand:input_type -> yandex.cloud.backup.v1.GetAgentInstallCommandRequest
	2, // 2: yandex.cloud.backup.v1.SetupService.GetAgentInstallCommand:output_type -> yandex.cloud.backup.v1.GetAgentInstallCommandResponse
	2, // [2:3] is the sub-list for method output_type
	1, // [1:2] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_backup_v1_setup_service_proto_init() }
func file_yandex_cloud_backup_v1_setup_service_proto_init() {
	if File_yandex_cloud_backup_v1_setup_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_setup_service_proto_rawDesc), len(file_yandex_cloud_backup_v1_setup_service_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_backup_v1_setup_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_backup_v1_setup_service_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_backup_v1_setup_service_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_backup_v1_setup_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_backup_v1_setup_service_proto = out.File
	file_yandex_cloud_backup_v1_setup_service_proto_goTypes = nil
	file_yandex_cloud_backup_v1_setup_service_proto_depIdxs = nil
}
