// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/loadtesting/api/v1/report/table/report.proto

package table

import (
	common "github.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/common"
	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)
)

// Aggregated test results.
type Report struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Total count of HTTP responses, grouped by HTTP response code.
	HttpCodes map[int64]int64 `protobuf:"bytes,1,rep,name=http_codes,json=httpCodes,proto3" json:"http_codes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	// Total count of network responses, grouped by response code.
	NetCodes map[int64]int64 `protobuf:"bytes,2,rep,name=net_codes,json=netCodes,proto3" json:"net_codes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	// Response time statistics, aggregated by quantiles.
	Quantiles     *common.Quantiles `protobuf:"bytes,3,opt,name=quantiles,proto3" json:"quantiles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Report) ProtoMessage() {}

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

func (x *Report) GetHttpCodes() map[int64]int64 {
	if x != nil {
		return x.HttpCodes
	}
	return nil
}

func (x *Report) GetNetCodes() map[int64]int64 {
	if x != nil {
		return x.NetCodes
	}
	return nil
}

func (x *Report) GetQuantiles() *common.Quantiles {
	if x != nil {
		return x.Quantiles
	}
	return nil
}

var File_yandex_cloud_loadtesting_api_v1_report_table_report_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDesc = "" +
	"\n" +
	"9yandex/cloud/loadtesting/api/v1/report/table/report.proto\x12,yandex.cloud.loadtesting.api.v1.report.table\x1a6yandex/cloud/loadtesting/api/v1/common/quantiles.proto\"\x99\x03\n" +
	"\x06Report\x12b\n" +
	"\n" +
	"http_codes\x18\x01 \x03(\v2C.yandex.cloud.loadtesting.api.v1.report.table.Report.HttpCodesEntryR\thttpCodes\x12_\n" +
	"\tnet_codes\x18\x02 \x03(\v2B.yandex.cloud.loadtesting.api.v1.report.table.Report.NetCodesEntryR\bnetCodes\x12O\n" +
	"\tquantiles\x18\x03 \x01(\v21.yandex.cloud.loadtesting.api.v1.common.QuantilesR\tquantiles\x1a<\n" +
	"\x0eHttpCodesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a;\n" +
	"\rNetCodesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01B\x8a\x01\n" +
	"0yandex.cloud.api.loadtesting.api.v1.report.tableZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/report/table;tableb\x06proto3"

var (
	file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_goTypes = []any{
	(*Report)(nil),           // 0: yandex.cloud.loadtesting.api.v1.report.table.Report
	nil,                      // 1: yandex.cloud.loadtesting.api.v1.report.table.Report.HttpCodesEntry
	nil,                      // 2: yandex.cloud.loadtesting.api.v1.report.table.Report.NetCodesEntry
	(*common.Quantiles)(nil), // 3: yandex.cloud.loadtesting.api.v1.common.Quantiles
}
var file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.loadtesting.api.v1.report.table.Report.http_codes:type_name -> yandex.cloud.loadtesting.api.v1.report.table.Report.HttpCodesEntry
	2, // 1: yandex.cloud.loadtesting.api.v1.report.table.Report.net_codes:type_name -> yandex.cloud.loadtesting.api.v1.report.table.Report.NetCodesEntry
	3, // 2: yandex.cloud.loadtesting.api.v1.report.table.Report.quantiles:type_name -> yandex.cloud.loadtesting.api.v1.common.Quantiles
	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_report_table_report_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_report_table_report_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_table_report_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_report_table_report_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_report_table_report_proto_depIdxs = nil
}
