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

package agent

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 RegisterRequest struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	ComputeInstanceId string                 `protobuf:"bytes,1,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	AgentVersion      string                 `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*RegisterRequest) ProtoMessage() {}

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

func (x *RegisterRequest) GetComputeInstanceId() string {
	if x != nil {
		return x.ComputeInstanceId
	}
	return ""
}

func (x *RegisterRequest) GetAgentVersion() string {
	if x != nil {
		return x.AgentVersion
	}
	return ""
}

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

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

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

func (*RegisterResponse) ProtoMessage() {}

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

func (x *RegisterResponse) GetAgentInstanceId() string {
	if x != nil {
		return x.AgentInstanceId
	}
	return ""
}

type ExternalAgentRegisterRequest struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	FolderId          string                 `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	ComputeInstanceId string                 `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	Name              string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	AgentVersion      string                 `protobuf:"bytes,4,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	Labels            map[string]string      `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*ExternalAgentRegisterRequest) ProtoMessage() {}

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

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

func (x *ExternalAgentRegisterRequest) GetComputeInstanceId() string {
	if x != nil {
		return x.ComputeInstanceId
	}
	return ""
}

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

func (x *ExternalAgentRegisterRequest) GetAgentVersion() string {
	if x != nil {
		return x.AgentVersion
	}
	return ""
}

func (x *ExternalAgentRegisterRequest) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

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

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

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

func (*ExternalAgentRegisterMetadata) ProtoMessage() {}

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

func (x *ExternalAgentRegisterMetadata) GetAgentInstanceId() string {
	if x != nil {
		return x.AgentInstanceId
	}
	return ""
}

var File_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDesc = "" +
	"\n" +
	"Byandex/cloud/loadtesting/agent/v1/agent_registration_service.proto\x12!yandex.cloud.loadtesting.agent.v1\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\"f\n" +
	"\x0fRegisterRequest\x12.\n" +
	"\x13compute_instance_id\x18\x01 \x01(\tR\x11computeInstanceId\x12#\n" +
	"\ragent_version\x18\x02 \x01(\tR\fagentVersion\">\n" +
	"\x10RegisterResponse\x12*\n" +
	"\x11agent_instance_id\x18\x01 \x01(\tR\x0fagentInstanceId\"\x82\x03\n" +
	"\x1cExternalAgentRegisterRequest\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12.\n" +
	"\x13compute_instance_id\x18\x02 \x01(\tR\x11computeInstanceId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12#\n" +
	"\ragent_version\x18\x04 \x01(\tR\fagentVersion\x12\xa0\x01\n" +
	"\x06labels\x18\x05 \x03(\v2K.yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest.LabelsEntryB;\xf2\xc71\v[-_0-9a-z]*\x82\xc81\x04<=64\x8a\xc81\x04<=63\xb2\xc81\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x041-63R\x06labels\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"K\n" +
	"\x1dExternalAgentRegisterMetadata\x12*\n" +
	"\x11agent_instance_id\x18\x01 \x01(\tR\x0fagentInstanceId2\xb2\x03\n" +
	"\x18AgentRegistrationService\x12\xa5\x01\n" +
	"\bRegister\x122.yandex.cloud.loadtesting.agent.v1.RegisterRequest\x1a3.yandex.cloud.loadtesting.agent.v1.RegisterResponse\"0\x82\xd3\xe4\x93\x02*:\x01*\"%/loadtesting/agent/v1/agents/register\x12\xed\x01\n" +
	"\x15ExternalAgentRegister\x12?.yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*.\n" +
	"\x1dExternalAgentRegisterMetadata\x12\rAgentInstance\x82\xd3\xe4\x93\x028:\x01*\"3/loadtesting/agent/v1/agents/externalAgentsRegisterBt\n" +
	"%yandex.cloud.api.loadtesting.agent.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/agent/v1;agentb\x06proto3"

var (
	file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDescData
}

var file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_goTypes = []any{
	(*RegisterRequest)(nil),               // 0: yandex.cloud.loadtesting.agent.v1.RegisterRequest
	(*RegisterResponse)(nil),              // 1: yandex.cloud.loadtesting.agent.v1.RegisterResponse
	(*ExternalAgentRegisterRequest)(nil),  // 2: yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest
	(*ExternalAgentRegisterMetadata)(nil), // 3: yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterMetadata
	nil,                                   // 4: yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest.LabelsEntry
	(*operation.Operation)(nil),           // 5: yandex.cloud.operation.Operation
}
var file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_depIdxs = []int32{
	4, // 0: yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest.labels:type_name -> yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest.LabelsEntry
	0, // 1: yandex.cloud.loadtesting.agent.v1.AgentRegistrationService.Register:input_type -> yandex.cloud.loadtesting.agent.v1.RegisterRequest
	2, // 2: yandex.cloud.loadtesting.agent.v1.AgentRegistrationService.ExternalAgentRegister:input_type -> yandex.cloud.loadtesting.agent.v1.ExternalAgentRegisterRequest
	1, // 3: yandex.cloud.loadtesting.agent.v1.AgentRegistrationService.Register:output_type -> yandex.cloud.loadtesting.agent.v1.RegisterResponse
	5, // 4: yandex.cloud.loadtesting.agent.v1.AgentRegistrationService.ExternalAgentRegister:output_type -> yandex.cloud.operation.Operation
	3, // [3:5] is the sub-list for method output_type
	1, // [1:3] 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_loadtesting_agent_v1_agent_registration_service_proto_init() }
func file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_init() {
	if File_yandex_cloud_loadtesting_agent_v1_agent_registration_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_loadtesting_agent_v1_agent_registration_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto = out.File
	file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_goTypes = nil
	file_yandex_cloud_loadtesting_agent_v1_agent_registration_service_proto_depIdxs = nil
}
