// 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/report_service.proto

package loadtesting

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	report "github.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/report"
	table "github.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/report/table"
	_ "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 GetTableReportRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the test for which report table will be returned.
	TestId        string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetTableReportRequest) ProtoMessage() {}

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

func (x *GetTableReportRequest) GetTestId() string {
	if x != nil {
		return x.TestId
	}
	return ""
}

type GetTableReportResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Status of report table.
	Status report.Status `protobuf:"varint,1,opt,name=status,proto3,enum=yandex.cloud.loadtesting.api.v1.report.Status" json:"status,omitempty"`
	// Result for all test cases combined ("overall" test case).
	Overall *table.Report `protobuf:"bytes,2,opt,name=overall,proto3" json:"overall,omitempty"`
	// Results for individual test cases, mapped as `case_name:report`.
	Cases         map[string]*table.Report `protobuf:"bytes,3,rep,name=cases,proto3" json:"cases,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetTableReportResponse) ProtoMessage() {}

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

func (x *GetTableReportResponse) GetStatus() report.Status {
	if x != nil {
		return x.Status
	}
	return report.Status(0)
}

func (x *GetTableReportResponse) GetOverall() *table.Report {
	if x != nil {
		return x.Overall
	}
	return nil
}

func (x *GetTableReportResponse) GetCases() map[string]*table.Report {
	if x != nil {
		return x.Cases
	}
	return nil
}

type CalculateReportKpiValuesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder containing tests.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Test filter selector to calculate KPI values for.
	TestFilter string `protobuf:"bytes,2,opt,name=test_filter,json=testFilter,proto3" json:"test_filter,omitempty"`
	// Test case to calculate KPI values for.
	//
	// If not specified, KPI values will be calculated for 'overall' case.
	TestCase string `protobuf:"bytes,3,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
	// KPI to be calculated.
	Kpi           *report.Kpi `protobuf:"bytes,4,opt,name=kpi,proto3" json:"kpi,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CalculateReportKpiValuesRequest) ProtoMessage() {}

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

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

func (x *CalculateReportKpiValuesRequest) GetTestFilter() string {
	if x != nil {
		return x.TestFilter
	}
	return ""
}

func (x *CalculateReportKpiValuesRequest) GetTestCase() string {
	if x != nil {
		return x.TestCase
	}
	return ""
}

func (x *CalculateReportKpiValuesRequest) GetKpi() *report.Kpi {
	if x != nil {
		return x.Kpi
	}
	return nil
}

type CalculateReportKpiValuesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Actual KPI values.
	Values        []*report.KpiValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CalculateReportKpiValuesResponse) ProtoMessage() {}

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

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

func (x *CalculateReportKpiValuesResponse) GetValues() []*report.KpiValue {
	if x != nil {
		return x.Values
	}
	return nil
}

var File_yandex_cloud_loadtesting_api_v1_report_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDesc = "" +
	"\n" +
	"4yandex/cloud/loadtesting/api/v1/report_service.proto\x12\x1fyandex.cloud.loadtesting.api.v1\x1a\x1cgoogle/api/annotations.proto\x1a0yandex/cloud/loadtesting/api/v1/report/kpi.proto\x1a6yandex/cloud/loadtesting/api/v1/report/kpi_value.proto\x1a9yandex/cloud/loadtesting/api/v1/report/table/report.proto\x1a3yandex/cloud/loadtesting/api/v1/report/status.proto\x1a\x1dyandex/cloud/validation.proto\"6\n" +
	"\x15GetTableReportRequest\x12\x1d\n" +
	"\atest_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\x06testId\"\xfa\x02\n" +
	"\x16GetTableReportResponse\x12F\n" +
	"\x06status\x18\x01 \x01(\x0e2..yandex.cloud.loadtesting.api.v1.report.StatusR\x06status\x12N\n" +
	"\aoverall\x18\x02 \x01(\v24.yandex.cloud.loadtesting.api.v1.report.table.ReportR\aoverall\x12X\n" +
	"\x05cases\x18\x03 \x03(\v2B.yandex.cloud.loadtesting.api.v1.GetTableReportResponse.CasesEntryR\x05cases\x1an\n" +
	"\n" +
	"CasesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12J\n" +
	"\x05value\x18\x02 \x01(\v24.yandex.cloud.loadtesting.api.v1.report.table.ReportR\x05value:\x028\x01\"\xea\x01\n" +
	"\x1fCalculateReportKpiValuesRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=54R\bfolderId\x12/\n" +
	"\vtest_filter\x18\x02 \x01(\tB\x0e\xe8\xc71\x01\x8a\xc81\x06<=1000R\n" +
	"testFilter\x12&\n" +
	"\ttest_case\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\btestCase\x12C\n" +
	"\x03kpi\x18\x04 \x01(\v2+.yandex.cloud.loadtesting.api.v1.report.KpiB\x04\xe8\xc71\x01R\x03kpi\"\x89\x01\n" +
	" CalculateReportKpiValuesResponse\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12H\n" +
	"\x06values\x18\x02 \x03(\v20.yandex.cloud.loadtesting.api.v1.report.KpiValueR\x06values2\x99\x03\n" +
	"\rReportService\x12\xb0\x01\n" +
	"\bGetTable\x126.yandex.cloud.loadtesting.api.v1.GetTableReportRequest\x1a7.yandex.cloud.loadtesting.api.v1.GetTableReportResponse\"3\x82\xd3\xe4\x93\x02-\x12+/loadtesting/api/v1/reports/{test_id}/table\x12\xd4\x01\n" +
	"\x12CalculateKpiValues\x12@.yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesRequest\x1aA.yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesResponse\"9\x82\xd3\xe4\x93\x023:\x01*\"./loadtesting/api/v1/reports/calculateKpiValuesBv\n" +
	"#yandex.cloud.api.loadtesting.api.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1;loadtestingb\x06proto3"

var (
	file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_report_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_yandex_cloud_loadtesting_api_v1_report_service_proto_goTypes = []any{
	(*GetTableReportRequest)(nil),            // 0: yandex.cloud.loadtesting.api.v1.GetTableReportRequest
	(*GetTableReportResponse)(nil),           // 1: yandex.cloud.loadtesting.api.v1.GetTableReportResponse
	(*CalculateReportKpiValuesRequest)(nil),  // 2: yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesRequest
	(*CalculateReportKpiValuesResponse)(nil), // 3: yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesResponse
	nil,                                      // 4: yandex.cloud.loadtesting.api.v1.GetTableReportResponse.CasesEntry
	(report.Status)(0),                       // 5: yandex.cloud.loadtesting.api.v1.report.Status
	(*table.Report)(nil),                     // 6: yandex.cloud.loadtesting.api.v1.report.table.Report
	(*report.Kpi)(nil),                       // 7: yandex.cloud.loadtesting.api.v1.report.Kpi
	(*report.KpiValue)(nil),                  // 8: yandex.cloud.loadtesting.api.v1.report.KpiValue
}
var file_yandex_cloud_loadtesting_api_v1_report_service_proto_depIdxs = []int32{
	5, // 0: yandex.cloud.loadtesting.api.v1.GetTableReportResponse.status:type_name -> yandex.cloud.loadtesting.api.v1.report.Status
	6, // 1: yandex.cloud.loadtesting.api.v1.GetTableReportResponse.overall:type_name -> yandex.cloud.loadtesting.api.v1.report.table.Report
	4, // 2: yandex.cloud.loadtesting.api.v1.GetTableReportResponse.cases:type_name -> yandex.cloud.loadtesting.api.v1.GetTableReportResponse.CasesEntry
	7, // 3: yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesRequest.kpi:type_name -> yandex.cloud.loadtesting.api.v1.report.Kpi
	8, // 4: yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesResponse.values:type_name -> yandex.cloud.loadtesting.api.v1.report.KpiValue
	6, // 5: yandex.cloud.loadtesting.api.v1.GetTableReportResponse.CasesEntry.value:type_name -> yandex.cloud.loadtesting.api.v1.report.table.Report
	0, // 6: yandex.cloud.loadtesting.api.v1.ReportService.GetTable:input_type -> yandex.cloud.loadtesting.api.v1.GetTableReportRequest
	2, // 7: yandex.cloud.loadtesting.api.v1.ReportService.CalculateKpiValues:input_type -> yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesRequest
	1, // 8: yandex.cloud.loadtesting.api.v1.ReportService.GetTable:output_type -> yandex.cloud.loadtesting.api.v1.GetTableReportResponse
	3, // 9: yandex.cloud.loadtesting.api.v1.ReportService.CalculateKpiValues:output_type -> yandex.cloud.loadtesting.api.v1.CalculateReportKpiValuesResponse
	8, // [8:10] is the sub-list for method output_type
	6, // [6:8] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_yandex_cloud_loadtesting_api_v1_report_service_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_report_service_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_report_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_api_v1_report_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_report_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_report_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_report_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_api_v1_report_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_report_service_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_report_service_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_report_service_proto_depIdxs = nil
}
