// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/clouddesktop/v1/desktop_image.proto

package clouddesktop

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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 DesktopImage_Status int32

const (
	DesktopImage_STATUS_UNSPECIFIED DesktopImage_Status = 0
	// Image is being created.
	DesktopImage_CREATING DesktopImage_Status = 1
	// Image is ready to use.
	DesktopImage_ACTIVE DesktopImage_Status = 2
	// Image is being deleted.
	DesktopImage_DELETING DesktopImage_Status = 3
)

// Enum value maps for DesktopImage_Status.
var (
	DesktopImage_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
	}
	DesktopImage_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"DELETING":           3,
	}
)

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

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

func (DesktopImage_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_clouddesktop_v1_desktop_image_proto_enumTypes[0].Descriptor()
}

func (DesktopImage_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_clouddesktop_v1_desktop_image_proto_enumTypes[0]
}

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

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

// A desktop image resource.
type DesktopImage struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the image.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the image belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Status of the image.
	Status DesktopImage_Status `protobuf:"varint,5,opt,name=status,proto3,enum=yandex.cloud.clouddesktop.v1.api.DesktopImage_Status" json:"status,omitempty"`
	// Name of the image.
	Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the image.
	Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Size of the image, specified in bytes.
	StorageSize int64 `protobuf:"varint,14,opt,name=storage_size,json=storageSize,proto3" json:"storage_size,omitempty"`
	// Minimum disk size in bytes required to use the image.
	MinDiskSize   int64 `protobuf:"varint,15,opt,name=min_disk_size,json=minDiskSize,proto3" json:"min_disk_size,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DesktopImage) ProtoMessage() {}

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

func (x *DesktopImage) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *DesktopImage) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *DesktopImage) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *DesktopImage) GetStatus() DesktopImage_Status {
	if x != nil {
		return x.Status
	}
	return DesktopImage_STATUS_UNSPECIFIED
}

func (x *DesktopImage) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DesktopImage) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *DesktopImage) GetStorageSize() int64 {
	if x != nil {
		return x.StorageSize
	}
	return 0
}

func (x *DesktopImage) GetMinDiskSize() int64 {
	if x != nil {
		return x.MinDiskSize
	}
	return 0
}

var File_yandex_cloud_clouddesktop_v1_desktop_image_proto protoreflect.FileDescriptor

const file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDesc = "" +
	"\n" +
	"0yandex/cloud/clouddesktop/v1/desktop_image.proto\x12 yandex.cloud.clouddesktop.v1.api\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x04\n" +
	"\fDesktopImage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x02 \x01(\tR\bfolderId\x129\n" +
	"\n" +
	"created_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12M\n" +
	"\x06status\x18\x05 \x01(\x0e25.yandex.cloud.clouddesktop.v1.api.DesktopImage.StatusR\x06status\x12\x12\n" +
	"\x04name\x18\v \x01(\tR\x04name\x12R\n" +
	"\x06labels\x18\r \x03(\v2:.yandex.cloud.clouddesktop.v1.api.DesktopImage.LabelsEntryR\x06labels\x12!\n" +
	"\fstorage_size\x18\x0e \x01(\x03R\vstorageSize\x12\"\n" +
	"\rmin_disk_size\x18\x0f \x01(\x03R\vminDiskSize\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"H\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bCREATING\x10\x01\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x02\x12\f\n" +
	"\bDELETING\x10\x03J\x04\b\x03\x10\x04J\x04\b\x06\x10\vJ\x04\b\f\x10\rBq\n" +
	" yandex.cloud.api.clouddesktop.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/clouddesktop/v1;clouddesktopb\x06proto3"

var (
	file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDescOnce sync.Once
	file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDescData []byte
)

func file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDescGZIP() []byte {
	file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDesc), len(file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDesc)))
	})
	return file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDescData
}

var file_yandex_cloud_clouddesktop_v1_desktop_image_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_clouddesktop_v1_desktop_image_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_clouddesktop_v1_desktop_image_proto_goTypes = []any{
	(DesktopImage_Status)(0),      // 0: yandex.cloud.clouddesktop.v1.api.DesktopImage.Status
	(*DesktopImage)(nil),          // 1: yandex.cloud.clouddesktop.v1.api.DesktopImage
	nil,                           // 2: yandex.cloud.clouddesktop.v1.api.DesktopImage.LabelsEntry
	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
}
var file_yandex_cloud_clouddesktop_v1_desktop_image_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.clouddesktop.v1.api.DesktopImage.created_at:type_name -> google.protobuf.Timestamp
	0, // 1: yandex.cloud.clouddesktop.v1.api.DesktopImage.status:type_name -> yandex.cloud.clouddesktop.v1.api.DesktopImage.Status
	2, // 2: yandex.cloud.clouddesktop.v1.api.DesktopImage.labels:type_name -> yandex.cloud.clouddesktop.v1.api.DesktopImage.LabelsEntry
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_yandex_cloud_clouddesktop_v1_desktop_image_proto_init() }
func file_yandex_cloud_clouddesktop_v1_desktop_image_proto_init() {
	if File_yandex_cloud_clouddesktop_v1_desktop_image_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_clouddesktop_v1_desktop_image_proto_rawDesc), len(file_yandex_cloud_clouddesktop_v1_desktop_image_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_clouddesktop_v1_desktop_image_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_clouddesktop_v1_desktop_image_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_clouddesktop_v1_desktop_image_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_clouddesktop_v1_desktop_image_proto_msgTypes,
	}.Build()
	File_yandex_cloud_clouddesktop_v1_desktop_image_proto = out.File
	file_yandex_cloud_clouddesktop_v1_desktop_image_proto_goTypes = nil
	file_yandex_cloud_clouddesktop_v1_desktop_image_proto_depIdxs = nil
}
