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

package test

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

type Status int32

const (
	// Status is unspecified.
	Status_STATUS_UNSPECIFIED Status = 0
	// Test has been created, but not started by any agent.
	Status_CREATED Status = 1
	// Execution stage: initialization.
	Status_INITIATED Status = 2
	// Execution stage: data preparation and warm-up.
	Status_PREPARING Status = 3
	// Execution stage: load generation.
	Status_RUNNING Status = 4
	// Execution stage: termination.
	Status_FINISHING Status = 5
	// Test is done.
	Status_DONE Status = 6
	// Execution stage: results post-processing.
	Status_POST_PROCESSING Status = 7
	// Test has failed due to some error.
	Status_FAILED Status = 8
	// Test is being stopped.
	Status_STOPPING Status = 9
	// Test has been stopped by user.
	Status_STOPPED Status = 10
	// Test has been stopped automatically by satisfying autostop condition.
	Status_AUTOSTOPPED Status = 11
	// Execution stage: waiting for a trigger to start.
	Status_WAITING Status = 12
	// Test is being deleted.
	Status_DELETING Status = 13
	// Test status has not been reported in a while during execution stage.
	//
	// Means that either an agent is too busy to send it, got offline, or failed without
	// reporting a final status.
	Status_LOST Status = 14
	// Test has been cancelled.
	Status_CANCELLED Status = 15
)

// Enum value maps for Status.
var (
	Status_name = map[int32]string{
		0:  "STATUS_UNSPECIFIED",
		1:  "CREATED",
		2:  "INITIATED",
		3:  "PREPARING",
		4:  "RUNNING",
		5:  "FINISHING",
		6:  "DONE",
		7:  "POST_PROCESSING",
		8:  "FAILED",
		9:  "STOPPING",
		10: "STOPPED",
		11: "AUTOSTOPPED",
		12: "WAITING",
		13: "DELETING",
		14: "LOST",
		15: "CANCELLED",
	}
	Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATED":            1,
		"INITIATED":          2,
		"PREPARING":          3,
		"RUNNING":            4,
		"FINISHING":          5,
		"DONE":               6,
		"POST_PROCESSING":    7,
		"FAILED":             8,
		"STOPPING":           9,
		"STOPPED":            10,
		"AUTOSTOPPED":        11,
		"WAITING":            12,
		"DELETING":           13,
		"LOST":               14,
		"CANCELLED":          15,
	}
)

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_test_status_proto_enumTypes[0].Descriptor()
}

func (Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_loadtesting_api_v1_test_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_test_status_proto_rawDescGZIP(), []int{0}
}

var File_yandex_cloud_loadtesting_api_v1_test_status_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDesc = "" +
	"\n" +
	"1yandex/cloud/loadtesting/api/v1/test/status.proto\x12$yandex.cloud.loadtesting.api.v1.test*\xf2\x01\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aCREATED\x10\x01\x12\r\n" +
	"\tINITIATED\x10\x02\x12\r\n" +
	"\tPREPARING\x10\x03\x12\v\n" +
	"\aRUNNING\x10\x04\x12\r\n" +
	"\tFINISHING\x10\x05\x12\b\n" +
	"\x04DONE\x10\x06\x12\x13\n" +
	"\x0fPOST_PROCESSING\x10\a\x12\n" +
	"\n" +
	"\x06FAILED\x10\b\x12\f\n" +
	"\bSTOPPING\x10\t\x12\v\n" +
	"\aSTOPPED\x10\n" +
	"\x12\x0f\n" +
	"\vAUTOSTOPPED\x10\v\x12\v\n" +
	"\aWAITING\x10\f\x12\f\n" +
	"\bDELETING\x10\r\x12\b\n" +
	"\x04LOST\x10\x0e\x12\r\n" +
	"\tCANCELLED\x10\x0fBy\n" +
	"(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;testb\x06proto3"

var (
	file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_test_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_loadtesting_api_v1_test_status_proto_goTypes = []any{
	(Status)(0), // 0: yandex.cloud.loadtesting.api.v1.test.Status
}
var file_yandex_cloud_loadtesting_api_v1_test_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_test_status_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_test_status_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_test_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_test_status_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_status_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_test_status_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_test_status_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_loadtesting_api_v1_test_status_proto_enumTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_test_status_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_test_status_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_test_status_proto_depIdxs = nil
}
