// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/monitoring/v3/sort_order.proto

package monitoring

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 SortOrder int32

const (
	// Not specified.
	SortOrder_SORT_ORDER_UNSPECIFIED SortOrder = 0
	// Asceding sort order.
	SortOrder_ASC SortOrder = 1
	// Desceding sort order.
	SortOrder_DESC SortOrder = 2
)

// Enum value maps for SortOrder.
var (
	SortOrder_name = map[int32]string{
		0: "SORT_ORDER_UNSPECIFIED",
		1: "ASC",
		2: "DESC",
	}
	SortOrder_value = map[string]int32{
		"SORT_ORDER_UNSPECIFIED": 0,
		"ASC":                    1,
		"DESC":                   2,
	}
)

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

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

func (SortOrder) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_monitoring_v3_sort_order_proto_enumTypes[0].Descriptor()
}

func (SortOrder) Type() protoreflect.EnumType {
	return &file_yandex_cloud_monitoring_v3_sort_order_proto_enumTypes[0]
}

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

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

var File_yandex_cloud_monitoring_v3_sort_order_proto protoreflect.FileDescriptor

const file_yandex_cloud_monitoring_v3_sort_order_proto_rawDesc = "" +
	"\n" +
	"+yandex/cloud/monitoring/v3/sort_order.proto\x12\x1ayandex.cloud.monitoring.v3*:\n" +
	"\tSortOrder\x12\x1a\n" +
	"\x16SORT_ORDER_UNSPECIFIED\x10\x00\x12\a\n" +
	"\x03ASC\x10\x01\x12\b\n" +
	"\x04DESC\x10\x02Bk\n" +
	"\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3"

var (
	file_yandex_cloud_monitoring_v3_sort_order_proto_rawDescOnce sync.Once
	file_yandex_cloud_monitoring_v3_sort_order_proto_rawDescData []byte
)

func file_yandex_cloud_monitoring_v3_sort_order_proto_rawDescGZIP() []byte {
	file_yandex_cloud_monitoring_v3_sort_order_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_monitoring_v3_sort_order_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_monitoring_v3_sort_order_proto_rawDesc), len(file_yandex_cloud_monitoring_v3_sort_order_proto_rawDesc)))
	})
	return file_yandex_cloud_monitoring_v3_sort_order_proto_rawDescData
}

var file_yandex_cloud_monitoring_v3_sort_order_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_monitoring_v3_sort_order_proto_goTypes = []any{
	(SortOrder)(0), // 0: yandex.cloud.monitoring.v3.SortOrder
}
var file_yandex_cloud_monitoring_v3_sort_order_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_monitoring_v3_sort_order_proto_init() }
func file_yandex_cloud_monitoring_v3_sort_order_proto_init() {
	if File_yandex_cloud_monitoring_v3_sort_order_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_monitoring_v3_sort_order_proto_rawDesc), len(file_yandex_cloud_monitoring_v3_sort_order_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_monitoring_v3_sort_order_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_monitoring_v3_sort_order_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_monitoring_v3_sort_order_proto_enumTypes,
	}.Build()
	File_yandex_cloud_monitoring_v3_sort_order_proto = out.File
	file_yandex_cloud_monitoring_v3_sort_order_proto_goTypes = nil
	file_yandex_cloud_monitoring_v3_sort_order_proto_depIdxs = nil
}
