// 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/agent/status.proto

package agent

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)
)

// Agent status.
type Status int32

const (
	// Status is not specified.
	Status_STATUS_UNSPECIFIED Status = 0
	// Agent is preparing a test to be executed.
	Status_PREPARING_TEST Status = 1
	// Agent is ready to take a test.
	Status_READY_FOR_TEST Status = 2
	// Agent is executing a test.
	Status_TESTING Status = 3
	// Agent application encountered an error and cannot operate normally.
	Status_TANK_FAILED Status = 4
	// Agent is waiting for resources to be allocated.
	Status_PROVISIONING Status = 5
	// Agent is being stopped.
	Status_STOPPING Status = 6
	// Agent is stopped.
	Status_STOPPED Status = 7
	// Agent is being started.
	Status_STARTING Status = 8
	// Agent is being restarted.
	Status_RESTARTING Status = 9
	// Agent is being updated.
	Status_UPDATING Status = 10
	// Agent encountered an error and cannot operate.
	Status_ERROR Status = 11
	// Agent is crashed and will be restarted automatically.
	Status_CRASHED Status = 12
	// Agent is being deleted.
	Status_DELETING Status = 13
	// Service is waiting for connection with agent to be established.
	Status_INITIALIZING_CONNECTION Status = 15
	// Service has lost connection with agent.
	Status_LOST_CONNECTION_WITH_AGENT Status = 16
	// Agent is uploading test artifacts.
	Status_UPLOADING_ARTIFACTS Status = 17
)

// Enum value maps for Status.
var (
	Status_name = map[int32]string{
		0:  "STATUS_UNSPECIFIED",
		1:  "PREPARING_TEST",
		2:  "READY_FOR_TEST",
		3:  "TESTING",
		4:  "TANK_FAILED",
		5:  "PROVISIONING",
		6:  "STOPPING",
		7:  "STOPPED",
		8:  "STARTING",
		9:  "RESTARTING",
		10: "UPDATING",
		11: "ERROR",
		12: "CRASHED",
		13: "DELETING",
		15: "INITIALIZING_CONNECTION",
		16: "LOST_CONNECTION_WITH_AGENT",
		17: "UPLOADING_ARTIFACTS",
	}
	Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":         0,
		"PREPARING_TEST":             1,
		"READY_FOR_TEST":             2,
		"TESTING":                    3,
		"TANK_FAILED":                4,
		"PROVISIONING":               5,
		"STOPPING":                   6,
		"STOPPED":                    7,
		"STARTING":                   8,
		"RESTARTING":                 9,
		"UPDATING":                   10,
		"ERROR":                      11,
		"CRASHED":                    12,
		"DELETING":                   13,
		"INITIALIZING_CONNECTION":    15,
		"LOST_CONNECTION_WITH_AGENT": 16,
		"UPLOADING_ARTIFACTS":        17,
	}
)

func (x Status) Enum() *Status {
	p := new(Status)
	*p = x
	return p
}

func (x Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_loadtesting_api_v1_agent_status_proto_enumTypes[0].Descriptor()
}

func (Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_loadtesting_api_v1_agent_status_proto_enumTypes[0]
}

func (x Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Status.Descriptor instead.
func (Status) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescGZIP(), []int{0}
}

var File_yandex_cloud_loadtesting_api_v1_agent_status_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDesc = "" +
	"\n" +
	"2yandex/cloud/loadtesting/api/v1/agent/status.proto\x12%yandex.cloud.loadtesting.api.v1.agent*\xbb\x02\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\x12\n" +
	"\x0ePREPARING_TEST\x10\x01\x12\x12\n" +
	"\x0eREADY_FOR_TEST\x10\x02\x12\v\n" +
	"\aTESTING\x10\x03\x12\x0f\n" +
	"\vTANK_FAILED\x10\x04\x12\x10\n" +
	"\fPROVISIONING\x10\x05\x12\f\n" +
	"\bSTOPPING\x10\x06\x12\v\n" +
	"\aSTOPPED\x10\a\x12\f\n" +
	"\bSTARTING\x10\b\x12\x0e\n" +
	"\n" +
	"RESTARTING\x10\t\x12\f\n" +
	"\bUPDATING\x10\n" +
	"\x12\t\n" +
	"\x05ERROR\x10\v\x12\v\n" +
	"\aCRASHED\x10\f\x12\f\n" +
	"\bDELETING\x10\r\x12\x1b\n" +
	"\x17INITIALIZING_CONNECTION\x10\x0f\x12\x1e\n" +
	"\x1aLOST_CONNECTION_WITH_AGENT\x10\x10\x12\x17\n" +
	"\x13UPLOADING_ARTIFACTS\x10\x11B|\n" +
	")yandex.cloud.api.loadtesting.api.v1.agentZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/agent;agentb\x06proto3"

var (
	file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_agent_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_loadtesting_api_v1_agent_status_proto_goTypes = []any{
	(Status)(0), // 0: yandex.cloud.loadtesting.api.v1.agent.Status
}
var file_yandex_cloud_loadtesting_api_v1_agent_status_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_yandex_cloud_loadtesting_api_v1_agent_status_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_agent_status_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_agent_status_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_agent_status_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_agent_status_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_agent_status_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_agent_status_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_loadtesting_api_v1_agent_status_proto_enumTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_agent_status_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_agent_status_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_agent_status_proto_depIdxs = nil
}
