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

package baremetal

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	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 CreateMountedImageRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the server to mount image to.
	ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// ID of the image to mount.
	ImageId       string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateMountedImageRequest) ProtoMessage() {}

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

func (x *CreateMountedImageRequest) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

func (x *CreateMountedImageRequest) GetImageId() string {
	if x != nil {
		return x.ImageId
	}
	return ""
}

type DeleteMountedImageRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the server to unmount image from.
	ServerId      string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteMountedImageRequest) ProtoMessage() {}

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

func (x *DeleteMountedImageRequest) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

type GetMountedImageRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the server to get mounted image from.
	ServerId      string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetMountedImageRequest) ProtoMessage() {}

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

func (x *GetMountedImageRequest) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

type GetMountedImageResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the image that is mounted.
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// When mounted image expires.
	ExpiresAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetMountedImageResponse) Reset() {
	*x = GetMountedImageResponse{}
	mi := &file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetMountedImageResponse) ProtoMessage() {}

func (x *GetMountedImageResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_msgTypes[3]
	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 GetMountedImageResponse.ProtoReflect.Descriptor instead.
func (*GetMountedImageResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescGZIP(), []int{3}
}

func (x *GetMountedImageResponse) GetImageId() string {
	if x != nil {
		return x.ImageId
	}
	return ""
}

func (x *GetMountedImageResponse) GetExpiresAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ExpiresAt
	}
	return nil
}

var File_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDesc = "" +
	"\n" +
	":yandex/cloud/baremetal/v1alpha/mounted_image_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"_\n" +
	"\x19CreateMountedImageRequest\x12!\n" +
	"\tserver_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bserverId\x12\x1f\n" +
	"\bimage_id\x18\x02 \x01(\tB\x04\xe8\xc71\x01R\aimageId\">\n" +
	"\x19DeleteMountedImageRequest\x12!\n" +
	"\tserver_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bserverId\";\n" +
	"\x16GetMountedImageRequest\x12!\n" +
	"\tserver_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bserverId\"u\n" +
	"\x17GetMountedImageResponse\x12\x19\n" +
	"\bimage_id\x18\x01 \x01(\tR\aimageId\x129\n" +
	"\n" +
	"expires_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAtJ\x04\b\x02\x10\x032\xe3\x03\n" +
	"\x13MountedImageService\x12\x88\x01\n" +
	"\x06Create\x129.yandex.cloud.baremetal.v1alpha.CreateMountedImageRequest\x1a\x16.google.protobuf.Empty\"+\x82\xd3\xe4\x93\x02%:\x01*\" /baremetal/v1alpha/mountedImages\x12\x91\x01\n" +
	"\x06Delete\x129.yandex.cloud.baremetal.v1alpha.DeleteMountedImageRequest\x1a\x16.google.protobuf.Empty\"4\x82\xd3\xe4\x93\x02.*,/baremetal/v1alpha/mountedImages/{server_id}\x12\xac\x01\n" +
	"\x03Get\x126.yandex.cloud.baremetal.v1alpha.GetMountedImageRequest\x1a7.yandex.cloud.baremetal.v1alpha.GetMountedImageResponse\"4\x82\xd3\xe4\x93\x02.\x12,/baremetal/v1alpha/mountedImages/{server_id}Br\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_goTypes = []any{
	(*CreateMountedImageRequest)(nil), // 0: yandex.cloud.baremetal.v1alpha.CreateMountedImageRequest
	(*DeleteMountedImageRequest)(nil), // 1: yandex.cloud.baremetal.v1alpha.DeleteMountedImageRequest
	(*GetMountedImageRequest)(nil),    // 2: yandex.cloud.baremetal.v1alpha.GetMountedImageRequest
	(*GetMountedImageResponse)(nil),   // 3: yandex.cloud.baremetal.v1alpha.GetMountedImageResponse
	(*timestamppb.Timestamp)(nil),     // 4: google.protobuf.Timestamp
	(*emptypb.Empty)(nil),             // 5: google.protobuf.Empty
}
var file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_depIdxs = []int32{
	4, // 0: yandex.cloud.baremetal.v1alpha.GetMountedImageResponse.expires_at:type_name -> google.protobuf.Timestamp
	0, // 1: yandex.cloud.baremetal.v1alpha.MountedImageService.Create:input_type -> yandex.cloud.baremetal.v1alpha.CreateMountedImageRequest
	1, // 2: yandex.cloud.baremetal.v1alpha.MountedImageService.Delete:input_type -> yandex.cloud.baremetal.v1alpha.DeleteMountedImageRequest
	2, // 3: yandex.cloud.baremetal.v1alpha.MountedImageService.Get:input_type -> yandex.cloud.baremetal.v1alpha.GetMountedImageRequest
	5, // 4: yandex.cloud.baremetal.v1alpha.MountedImageService.Create:output_type -> google.protobuf.Empty
	5, // 5: yandex.cloud.baremetal.v1alpha.MountedImageService.Delete:output_type -> google.protobuf.Empty
	3, // 6: yandex.cloud.baremetal.v1alpha.MountedImageService.Get:output_type -> yandex.cloud.baremetal.v1alpha.GetMountedImageResponse
	4, // [4:7] is the sub-list for method output_type
	1, // [1:4] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_mounted_image_service_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_baremetal_v1alpha_mounted_image_service_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_mounted_image_service_proto_depIdxs = nil
}
