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

package agent

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 GetTestRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	TestId        string                 `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetTestRequest) ProtoMessage() {}

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

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

type UpdateTestRequest struct {
	state      protoimpl.MessageState `protogen:"open.v1"`
	TestId     string                 `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
	Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
	Favorite bool `protobuf:"varint,6,opt,name=favorite,proto3" json:"favorite,omitempty"`
	// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
	TargetVersion    string `protobuf:"bytes,7,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
	ImbalancePoint   int64  `protobuf:"varint,8,opt,name=imbalance_point,json=imbalancePoint,proto3" json:"imbalance_point,omitempty"`
	ImbalanceTs      int64  `protobuf:"varint,9,opt,name=imbalance_ts,json=imbalanceTs,proto3" json:"imbalance_ts,omitempty"`
	ImbalanceComment string `protobuf:"bytes,10,opt,name=imbalance_comment,json=imbalanceComment,proto3" json:"imbalance_comment,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*UpdateTestRequest) ProtoMessage() {}

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

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

func (x *UpdateTestRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
func (x *UpdateTestRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
func (x *UpdateTestRequest) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
func (x *UpdateTestRequest) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
func (x *UpdateTestRequest) GetFavorite() bool {
	if x != nil {
		return x.Favorite
	}
	return false
}

// Deprecated: Marked as deprecated in yandex/cloud/loadtesting/agent/v1/test_service.proto.
func (x *UpdateTestRequest) GetTargetVersion() string {
	if x != nil {
		return x.TargetVersion
	}
	return ""
}

func (x *UpdateTestRequest) GetImbalancePoint() int64 {
	if x != nil {
		return x.ImbalancePoint
	}
	return 0
}

func (x *UpdateTestRequest) GetImbalanceTs() int64 {
	if x != nil {
		return x.ImbalanceTs
	}
	return 0
}

func (x *UpdateTestRequest) GetImbalanceComment() string {
	if x != nil {
		return x.ImbalanceComment
	}
	return ""
}

type UpdateTestMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	TestId        string                 `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateTestMetadata) ProtoMessage() {}

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

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

var File_yandex_cloud_loadtesting_agent_v1_test_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDesc = "" +
	"\n" +
	"4yandex/cloud/loadtesting/agent/v1/test_service.proto\x12!yandex.cloud.loadtesting.agent.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a,yandex/cloud/loadtesting/agent/v1/test.proto\"7\n" +
	"\x0eGetTestRequest\x12%\n" +
	"\atest_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x06testId\"\x92\x04\n" +
	"\x11UpdateTestRequest\x12%\n" +
	"\atest_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x06testId\x12;\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12\x16\n" +
	"\x04name\x18\x03 \x01(\tB\x02\x18\x01R\x04name\x12$\n" +
	"\vdescription\x18\x04 \x01(\tB\x02\x18\x01R\vdescription\x12\\\n" +
	"\x06labels\x18\x05 \x03(\v2@.yandex.cloud.loadtesting.agent.v1.UpdateTestRequest.LabelsEntryB\x02\x18\x01R\x06labels\x12\x1e\n" +
	"\bfavorite\x18\x06 \x01(\bB\x02\x18\x01R\bfavorite\x12)\n" +
	"\x0etarget_version\x18\a \x01(\tB\x02\x18\x01R\rtargetVersion\x12'\n" +
	"\x0fimbalance_point\x18\b \x01(\x03R\x0eimbalancePoint\x12!\n" +
	"\fimbalance_ts\x18\t \x01(\x03R\vimbalanceTs\x12+\n" +
	"\x11imbalance_comment\x18\n" +
	" \x01(\tR\x10imbalanceComment\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"-\n" +
	"\x12UpdateTestMetadata\x12\x17\n" +
	"\atest_id\x18\x01 \x01(\tR\x06testId2\xd4\x02\n" +
	"\vTestService\x12\x90\x01\n" +
	"\x03Get\x121.yandex.cloud.loadtesting.agent.v1.GetTestRequest\x1a'.yandex.cloud.loadtesting.agent.v1.Test\"-\x82\xd3\xe4\x93\x02'\x12%/loadtesting/agent/v1/tests/{test_id}\x12\xb1\x01\n" +
	"\x06Update\x124.yandex.cloud.loadtesting.agent.v1.UpdateTestRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2*\x1a\n" +
	"\x12UpdateTestMetadata\x12\x04Test\x82\xd3\xe4\x93\x02*:\x01*2%/loadtesting/agent/v1/tests/{test_id}Bt\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_test_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDescData
}

var file_yandex_cloud_loadtesting_agent_v1_test_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_loadtesting_agent_v1_test_service_proto_goTypes = []any{
	(*GetTestRequest)(nil),        // 0: yandex.cloud.loadtesting.agent.v1.GetTestRequest
	(*UpdateTestRequest)(nil),     // 1: yandex.cloud.loadtesting.agent.v1.UpdateTestRequest
	(*UpdateTestMetadata)(nil),    // 2: yandex.cloud.loadtesting.agent.v1.UpdateTestMetadata
	nil,                           // 3: yandex.cloud.loadtesting.agent.v1.UpdateTestRequest.LabelsEntry
	(*fieldmaskpb.FieldMask)(nil), // 4: google.protobuf.FieldMask
	(*Test)(nil),                  // 5: yandex.cloud.loadtesting.agent.v1.Test
	(*operation.Operation)(nil),   // 6: yandex.cloud.operation.Operation
}
var file_yandex_cloud_loadtesting_agent_v1_test_service_proto_depIdxs = []int32{
	4, // 0: yandex.cloud.loadtesting.agent.v1.UpdateTestRequest.update_mask:type_name -> google.protobuf.FieldMask
	3, // 1: yandex.cloud.loadtesting.agent.v1.UpdateTestRequest.labels:type_name -> yandex.cloud.loadtesting.agent.v1.UpdateTestRequest.LabelsEntry
	0, // 2: yandex.cloud.loadtesting.agent.v1.TestService.Get:input_type -> yandex.cloud.loadtesting.agent.v1.GetTestRequest
	1, // 3: yandex.cloud.loadtesting.agent.v1.TestService.Update:input_type -> yandex.cloud.loadtesting.agent.v1.UpdateTestRequest
	5, // 4: yandex.cloud.loadtesting.agent.v1.TestService.Get:output_type -> yandex.cloud.loadtesting.agent.v1.Test
	6, // 5: yandex.cloud.loadtesting.agent.v1.TestService.Update:output_type -> yandex.cloud.operation.Operation
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] 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_test_service_proto_init() }
func file_yandex_cloud_loadtesting_agent_v1_test_service_proto_init() {
	if File_yandex_cloud_loadtesting_agent_v1_test_service_proto != nil {
		return
	}
	file_yandex_cloud_loadtesting_agent_v1_test_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_agent_v1_test_service_proto_rawDesc), len(file_yandex_cloud_loadtesting_agent_v1_test_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_loadtesting_agent_v1_test_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_agent_v1_test_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_agent_v1_test_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_agent_v1_test_service_proto = out.File
	file_yandex_cloud_loadtesting_agent_v1_test_service_proto_goTypes = nil
	file_yandex_cloud_loadtesting_agent_v1_test_service_proto_depIdxs = nil
}
