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

package test

import (
	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)
)

// Configuration of a test.
type SingleAgentConfiguration struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the config.
	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// Agent selection criterion.
	AgentSelector *AgentSelector `protobuf:"bytes,2,opt,name=agent_selector,json=agentSelector,proto3" json:"agent_selector,omitempty"`
	// Additional files to be used during test execution, represented as `rel_path:file` pairs.
	//
	// `rel_path` can be either a simple file name, a relative path, or absolute path. Files are
	// downloaded by the agent to appropriate location.
	//
	// Use cases include:
	// - [Test Data files](/docs/load-testing/concepts/payload).
	// - Custom Pandora executable.
	// - JMeter executable or ".jmx" scenario.
	// - etc.
	Files         map[string]*FilePointer `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SingleAgentConfiguration) ProtoMessage() {}

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

func (x *SingleAgentConfiguration) GetConfigId() string {
	if x != nil {
		return x.ConfigId
	}
	return ""
}

func (x *SingleAgentConfiguration) GetAgentSelector() *AgentSelector {
	if x != nil {
		return x.AgentSelector
	}
	return nil
}

func (x *SingleAgentConfiguration) GetFiles() map[string]*FilePointer {
	if x != nil {
		return x.Files
	}
	return nil
}

var File_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDesc = "" +
	"\n" +
	"Eyandex/cloud/loadtesting/api/v1/test/single_agent_configuration.proto\x12$yandex.cloud.loadtesting.api.v1.test\x1a9yandex/cloud/loadtesting/api/v1/test/agent_selector.proto\x1a7yandex/cloud/loadtesting/api/v1/test/file_pointer.proto\"\xe1\x02\n" +
	"\x18SingleAgentConfiguration\x12\x1b\n" +
	"\tconfig_id\x18\x01 \x01(\tR\bconfigId\x12Z\n" +
	"\x0eagent_selector\x18\x02 \x01(\v23.yandex.cloud.loadtesting.api.v1.test.AgentSelectorR\ragentSelector\x12_\n" +
	"\x05files\x18\x03 \x03(\v2I.yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration.FilesEntryR\x05files\x1ak\n" +
	"\n" +
	"FilesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12G\n" +
	"\x05value\x18\x02 \x01(\v21.yandex.cloud.loadtesting.api.v1.test.FilePointerR\x05value:\x028\x01By\n" +
	"(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;testb\x06proto3"

var (
	file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_goTypes = []any{
	(*SingleAgentConfiguration)(nil), // 0: yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration
	nil,                              // 1: yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration.FilesEntry
	(*AgentSelector)(nil),            // 2: yandex.cloud.loadtesting.api.v1.test.AgentSelector
	(*FilePointer)(nil),              // 3: yandex.cloud.loadtesting.api.v1.test.FilePointer
}
var file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration.agent_selector:type_name -> yandex.cloud.loadtesting.api.v1.test.AgentSelector
	1, // 1: yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration.files:type_name -> yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration.FilesEntry
	3, // 2: yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration.FilesEntry.value:type_name -> yandex.cloud.loadtesting.api.v1.test.FilePointer
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto != nil {
		return
	}
	file_yandex_cloud_loadtesting_api_v1_test_agent_selector_proto_init()
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_depIdxs = nil
}
