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

package agent

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "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 AddMetricRequest 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"`
	JobId             string                 `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Chunks            []*MetricChunk         `protobuf:"bytes,4,rep,name=chunks,proto3" json:"chunks,omitempty"`
	AgentInstanceId   string                 `protobuf:"bytes,5,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*AddMetricRequest) ProtoMessage() {}

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

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

func (x *AddMetricRequest) GetJobId() string {
	if x != nil {
		return x.JobId
	}
	return ""
}

func (x *AddMetricRequest) GetChunks() []*MetricChunk {
	if x != nil {
		return x.Chunks
	}
	return nil
}

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

type MetricChunk struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Data          []*Metric              `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Timestamp     int64                  `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Comment       string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	InstanceHost  string                 `protobuf:"bytes,4,opt,name=instance_host,json=instanceHost,proto3" json:"instance_host,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MetricChunk) ProtoMessage() {}

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

func (x *MetricChunk) GetData() []*Metric {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *MetricChunk) GetTimestamp() int64 {
	if x != nil {
		return x.Timestamp
	}
	return 0
}

func (x *MetricChunk) GetComment() string {
	if x != nil {
		return x.Comment
	}
	return ""
}

func (x *MetricChunk) GetInstanceHost() string {
	if x != nil {
		return x.InstanceHost
	}
	return ""
}

type Metric struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	MetricType    string                 `protobuf:"bytes,1,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
	MetricName    string                 `protobuf:"bytes,2,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	MetricValue   float64                `protobuf:"fixed64,3,opt,name=metric_value,json=metricValue,proto3" json:"metric_value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Metric) ProtoMessage() {}

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

func (x *Metric) GetMetricType() string {
	if x != nil {
		return x.MetricType
	}
	return ""
}

func (x *Metric) GetMetricName() string {
	if x != nil {
		return x.MetricName
	}
	return ""
}

func (x *Metric) GetMetricValue() float64 {
	if x != nil {
		return x.MetricValue
	}
	return 0
}

type AddMetricResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	MetricTrailId string                 `protobuf:"bytes,1,opt,name=metric_trail_id,json=metricTrailId,proto3" json:"metric_trail_id,omitempty"`
	Code          int64                  `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AddMetricResponse) ProtoMessage() {}

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

func (x *AddMetricResponse) GetMetricTrailId() string {
	if x != nil {
		return x.MetricTrailId
	}
	return ""
}

func (x *AddMetricResponse) GetCode() int64 {
	if x != nil {
		return x.Code
	}
	return 0
}

var File_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDesc = "" +
	"\n" +
	":yandex/cloud/loadtesting/agent/v1/monitoring_service.proto\x12!yandex.cloud.loadtesting.agent.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\"\xfd\x01\n" +
	"\x10AddMetricRequest\x128\n" +
	"\x13compute_instance_id\x18\x01 \x01(\tB\b\x8a\xc81\x04<=50R\x11computeInstanceId\x12#\n" +
	"\x06job_id\x18\x03 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05jobId\x12N\n" +
	"\x06chunks\x18\x04 \x03(\v2..yandex.cloud.loadtesting.agent.v1.MetricChunkB\x06\x82\xc81\x02>0R\x06chunks\x124\n" +
	"\x11agent_instance_id\x18\x05 \x01(\tB\b\x8a\xc81\x04<=50R\x0fagentInstanceIdJ\x04\b\x02\x10\x03\"\xb7\x01\n" +
	"\vMetricChunk\x12E\n" +
	"\x04data\x18\x01 \x03(\v2).yandex.cloud.loadtesting.agent.v1.MetricB\x06\x82\xc81\x02>0R\x04data\x12\x1c\n" +
	"\ttimestamp\x18\x02 \x01(\x03R\ttimestamp\x12\x18\n" +
	"\acomment\x18\x03 \x01(\tR\acomment\x12)\n" +
	"\rinstance_host\x18\x04 \x01(\tB\x04\xe8\xc71\x01R\finstanceHost\"y\n" +
	"\x06Metric\x12%\n" +
	"\vmetric_type\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\n" +
	"metricType\x12%\n" +
	"\vmetric_name\x18\x02 \x01(\tB\x04\xe8\xc71\x01R\n" +
	"metricName\x12!\n" +
	"\fmetric_value\x18\x03 \x01(\x01R\vmetricValue\"O\n" +
	"\x11AddMetricResponse\x12&\n" +
	"\x0fmetric_trail_id\x18\x01 \x01(\tR\rmetricTrailId\x12\x12\n" +
	"\x04code\x18\x02 \x01(\x03R\x04code2\xc8\x01\n" +
	"\x11MonitoringService\x12\xb2\x01\n" +
	"\tAddMetric\x123.yandex.cloud.loadtesting.agent.v1.AddMetricRequest\x1a4.yandex.cloud.loadtesting.agent.v1.AddMetricResponse\":\x82\xd3\xe4\x93\x024:\x01*\"//loadtesting/agent/v1/monitorings/reportMetricsBt\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_monitoring_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDescData
}

var file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_goTypes = []any{
	(*AddMetricRequest)(nil),  // 0: yandex.cloud.loadtesting.agent.v1.AddMetricRequest
	(*MetricChunk)(nil),       // 1: yandex.cloud.loadtesting.agent.v1.MetricChunk
	(*Metric)(nil),            // 2: yandex.cloud.loadtesting.agent.v1.Metric
	(*AddMetricResponse)(nil), // 3: yandex.cloud.loadtesting.agent.v1.AddMetricResponse
}
var file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.loadtesting.agent.v1.AddMetricRequest.chunks:type_name -> yandex.cloud.loadtesting.agent.v1.MetricChunk
	2, // 1: yandex.cloud.loadtesting.agent.v1.MetricChunk.data:type_name -> yandex.cloud.loadtesting.agent.v1.Metric
	0, // 2: yandex.cloud.loadtesting.agent.v1.MonitoringService.AddMetric:input_type -> yandex.cloud.loadtesting.agent.v1.AddMetricRequest
	3, // 3: yandex.cloud.loadtesting.agent.v1.MonitoringService.AddMetric:output_type -> yandex.cloud.loadtesting.agent.v1.AddMetricResponse
	3, // [3:4] is the sub-list for method output_type
	2, // [2:3] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_init() }
func file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_init() {
	if File_yandex_cloud_loadtesting_agent_v1_monitoring_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_monitoring_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto = out.File
	file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_goTypes = nil
	file_yandex_cloud_loadtesting_agent_v1_monitoring_service_proto_depIdxs = nil
}
