// 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/test.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)
)

// Load Test.
//
// In context of the service, Test represents a single testing task/job.
type Test struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the test. Generated at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Configuration of the test.
	//
	// A test can have multiple configurations if it can be
	// executed on multiple agents simultaneously. For more information, see
	// [Load testing using multiple agents](/docs/load-testing/tutorials/loadtesting-multiply).
	Configurations []*SingleAgentConfiguration `protobuf:"bytes,2,rep,name=configurations,proto3" json:"configurations,omitempty"`
	// Test meta information. Name, description, etc.
	Details *Details `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	// Test execution information.
	Summary *Summary `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	// ID of the folder that the test belongs to.
	FolderId      string `protobuf:"bytes,5,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Test) ProtoMessage() {}

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

func (x *Test) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Test) GetConfigurations() []*SingleAgentConfiguration {
	if x != nil {
		return x.Configurations
	}
	return nil
}

func (x *Test) GetDetails() *Details {
	if x != nil {
		return x.Details
	}
	return nil
}

func (x *Test) GetSummary() *Summary {
	if x != nil {
		return x.Summary
	}
	return nil
}

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

var File_yandex_cloud_loadtesting_api_v1_test_test_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDesc = "" +
	"\n" +
	"/yandex/cloud/loadtesting/api/v1/test/test.proto\x12$yandex.cloud.loadtesting.api.v1.test\x1aEyandex/cloud/loadtesting/api/v1/test/single_agent_configuration.proto\x1a2yandex/cloud/loadtesting/api/v1/test/details.proto\x1a2yandex/cloud/loadtesting/api/v1/test/summary.proto\"\xad\x02\n" +
	"\x04Test\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12f\n" +
	"\x0econfigurations\x18\x02 \x03(\v2>.yandex.cloud.loadtesting.api.v1.test.SingleAgentConfigurationR\x0econfigurations\x12G\n" +
	"\adetails\x18\x03 \x01(\v2-.yandex.cloud.loadtesting.api.v1.test.DetailsR\adetails\x12G\n" +
	"\asummary\x18\x04 \x01(\v2-.yandex.cloud.loadtesting.api.v1.test.SummaryR\asummary\x12\x1b\n" +
	"\tfolder_id\x18\x05 \x01(\tR\bfolderIdBy\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_test_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_test_test_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_loadtesting_api_v1_test_test_proto_goTypes = []any{
	(*Test)(nil),                     // 0: yandex.cloud.loadtesting.api.v1.test.Test
	(*SingleAgentConfiguration)(nil), // 1: yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration
	(*Details)(nil),                  // 2: yandex.cloud.loadtesting.api.v1.test.Details
	(*Summary)(nil),                  // 3: yandex.cloud.loadtesting.api.v1.test.Summary
}
var file_yandex_cloud_loadtesting_api_v1_test_test_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.loadtesting.api.v1.test.Test.configurations:type_name -> yandex.cloud.loadtesting.api.v1.test.SingleAgentConfiguration
	2, // 1: yandex.cloud.loadtesting.api.v1.test.Test.details:type_name -> yandex.cloud.loadtesting.api.v1.test.Details
	3, // 2: yandex.cloud.loadtesting.api.v1.test.Test.summary:type_name -> yandex.cloud.loadtesting.api.v1.test.Summary
	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_test_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_test_test_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_test_test_proto != nil {
		return
	}
	file_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto_init()
	file_yandex_cloud_loadtesting_api_v1_test_details_proto_init()
	file_yandex_cloud_loadtesting_api_v1_test_summary_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_test_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_test_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_test_test_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_test_test_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_api_v1_test_test_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_test_test_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_test_test_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_test_test_proto_depIdxs = nil
}
