blob: 6d737c9e79bb73f1439c3553c41e0f259227ccc2 [file] [edit]
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v6.33.2
// source: google/cloud/baremetalsolution/v2/lun.proto
package baremetalsolutionpb
import (
reflect "reflect"
sync "sync"
unsafe "unsafe"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
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)
)
// The possible states for the LUN.
type Lun_State int32
const (
// The LUN is in an unknown state.
Lun_STATE_UNSPECIFIED Lun_State = 0
// The LUN is being created.
Lun_CREATING Lun_State = 1
// The LUN is being updated.
Lun_UPDATING Lun_State = 2
// The LUN is ready for use.
Lun_READY Lun_State = 3
// The LUN has been requested to be deleted.
Lun_DELETING Lun_State = 4
// The LUN is in cool off state. It will be deleted after `expire_time`.
Lun_COOL_OFF Lun_State = 5
)
// Enum value maps for Lun_State.
var (
Lun_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "UPDATING",
3: "READY",
4: "DELETING",
5: "COOL_OFF",
}
Lun_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"UPDATING": 2,
"READY": 3,
"DELETING": 4,
"COOL_OFF": 5,
}
)
func (x Lun_State) Enum() *Lun_State {
p := new(Lun_State)
*p = x
return p
}
func (x Lun_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Lun_State) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes[0].Descriptor()
}
func (Lun_State) Type() protoreflect.EnumType {
return &file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes[0]
}
func (x Lun_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Lun_State.Descriptor instead.
func (Lun_State) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{0, 0}
}
// Display the operating systems present for the LUN multiprotocol type.
type Lun_MultiprotocolType int32
const (
// Server has no OS specified.
Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED Lun_MultiprotocolType = 0
// Server with Linux OS.
Lun_LINUX Lun_MultiprotocolType = 1
)
// Enum value maps for Lun_MultiprotocolType.
var (
Lun_MultiprotocolType_name = map[int32]string{
0: "MULTIPROTOCOL_TYPE_UNSPECIFIED",
1: "LINUX",
}
Lun_MultiprotocolType_value = map[string]int32{
"MULTIPROTOCOL_TYPE_UNSPECIFIED": 0,
"LINUX": 1,
}
)
func (x Lun_MultiprotocolType) Enum() *Lun_MultiprotocolType {
p := new(Lun_MultiprotocolType)
*p = x
return p
}
func (x Lun_MultiprotocolType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Lun_MultiprotocolType) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes[1].Descriptor()
}
func (Lun_MultiprotocolType) Type() protoreflect.EnumType {
return &file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes[1]
}
func (x Lun_MultiprotocolType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Lun_MultiprotocolType.Descriptor instead.
func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{0, 1}
}
// The storage types for a LUN.
type Lun_StorageType int32
const (
// The storage type for this LUN is unknown.
Lun_STORAGE_TYPE_UNSPECIFIED Lun_StorageType = 0
// This storage type for this LUN is SSD.
Lun_SSD Lun_StorageType = 1
// This storage type for this LUN is HDD.
Lun_HDD Lun_StorageType = 2
)
// Enum value maps for Lun_StorageType.
var (
Lun_StorageType_name = map[int32]string{
0: "STORAGE_TYPE_UNSPECIFIED",
1: "SSD",
2: "HDD",
}
Lun_StorageType_value = map[string]int32{
"STORAGE_TYPE_UNSPECIFIED": 0,
"SSD": 1,
"HDD": 2,
}
)
func (x Lun_StorageType) Enum() *Lun_StorageType {
p := new(Lun_StorageType)
*p = x
return p
}
func (x Lun_StorageType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Lun_StorageType) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes[2].Descriptor()
}
func (Lun_StorageType) Type() protoreflect.EnumType {
return &file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes[2]
}
func (x Lun_StorageType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Lun_StorageType.Descriptor instead.
func (Lun_StorageType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{0, 2}
}
// A storage volume logical unit number (LUN).
type Lun struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Output only. The name of the LUN.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An identifier for the LUN, generated by the backend.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
// The state of this storage volume.
State Lun_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Lun_State" json:"state,omitempty"`
// The size of this LUN, in gigabytes.
SizeGb int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// The LUN multiprotocol type ensures the characteristics of the LUN are
// optimized for each operating system.
MultiprotocolType Lun_MultiprotocolType `protobuf:"varint,4,opt,name=multiprotocol_type,json=multiprotocolType,proto3,enum=google.cloud.baremetalsolution.v2.Lun_MultiprotocolType" json:"multiprotocol_type,omitempty"`
// Display the storage volume for this LUN.
StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"`
// Display if this LUN can be shared between multiple physical servers.
Shareable bool `protobuf:"varint,6,opt,name=shareable,proto3" json:"shareable,omitempty"`
// Display if this LUN is a boot LUN.
BootLun bool `protobuf:"varint,7,opt,name=boot_lun,json=bootLun,proto3" json:"boot_lun,omitempty"`
// The storage type for this LUN.
StorageType Lun_StorageType `protobuf:"varint,8,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.Lun_StorageType" json:"storage_type,omitempty"`
// The WWID for this LUN.
Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"`
// Output only. Time after which LUN will be fully deleted.
// It is filled only for LUNs in COOL_OFF state.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. Instances this Lun is attached to.
Instances []string `protobuf:"bytes,12,rep,name=instances,proto3" json:"instances,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Lun) Reset() {
*x = Lun{}
mi := &file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Lun) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Lun) ProtoMessage() {}
func (x *Lun) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_baremetalsolution_v2_lun_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 Lun.ProtoReflect.Descriptor instead.
func (*Lun) Descriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{0}
}
func (x *Lun) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Lun) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Lun) GetState() Lun_State {
if x != nil {
return x.State
}
return Lun_STATE_UNSPECIFIED
}
func (x *Lun) GetSizeGb() int64 {
if x != nil {
return x.SizeGb
}
return 0
}
func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolType {
if x != nil {
return x.MultiprotocolType
}
return Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED
}
func (x *Lun) GetStorageVolume() string {
if x != nil {
return x.StorageVolume
}
return ""
}
func (x *Lun) GetShareable() bool {
if x != nil {
return x.Shareable
}
return false
}
func (x *Lun) GetBootLun() bool {
if x != nil {
return x.BootLun
}
return false
}
func (x *Lun) GetStorageType() Lun_StorageType {
if x != nil {
return x.StorageType
}
return Lun_STORAGE_TYPE_UNSPECIFIED
}
func (x *Lun) GetWwid() string {
if x != nil {
return x.Wwid
}
return ""
}
func (x *Lun) GetExpireTime() *timestamppb.Timestamp {
if x != nil {
return x.ExpireTime
}
return nil
}
func (x *Lun) GetInstances() []string {
if x != nil {
return x.Instances
}
return nil
}
// Message for requesting storage lun information.
type GetLunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetLunRequest) Reset() {
*x = GetLunRequest{}
mi := &file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetLunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetLunRequest) ProtoMessage() {}
func (x *GetLunRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_baremetalsolution_v2_lun_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 GetLunRequest.ProtoReflect.Descriptor instead.
func (*GetLunRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{1}
}
func (x *GetLunRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
// Message for requesting a list of storage volume luns.
type ListLunsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Required. Parent value for ListLunsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. The server might return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results from the server.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListLunsRequest) Reset() {
*x = ListLunsRequest{}
mi := &file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListLunsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListLunsRequest) ProtoMessage() {}
func (x *ListLunsRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_baremetalsolution_v2_lun_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 ListLunsRequest.ProtoReflect.Descriptor instead.
func (*ListLunsRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{2}
}
func (x *ListLunsRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
func (x *ListLunsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListLunsRequest) GetPageToken() string {
if x != nil {
return x.PageToken
}
return ""
}
// Response message containing the list of storage volume luns.
type ListLunsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The list of luns.
Luns []*Lun `protobuf:"bytes,1,rep,name=luns,proto3" json:"luns,omitempty"`
// A token identifying a page of results from the server.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListLunsResponse) Reset() {
*x = ListLunsResponse{}
mi := &file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListLunsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListLunsResponse) ProtoMessage() {}
func (x *ListLunsResponse) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_baremetalsolution_v2_lun_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 ListLunsResponse.ProtoReflect.Descriptor instead.
func (*ListLunsResponse) Descriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{3}
}
func (x *ListLunsResponse) GetLuns() []*Lun {
if x != nil {
return x.Luns
}
return nil
}
func (x *ListLunsResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
func (x *ListLunsResponse) GetUnreachable() []string {
if x != nil {
return x.Unreachable
}
return nil
}
// Request for skip lun cooloff and delete it.
type EvictLunRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Required. The name of the lun.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EvictLunRequest) Reset() {
*x = EvictLunRequest{}
mi := &file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EvictLunRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EvictLunRequest) ProtoMessage() {}
func (x *EvictLunRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes[4]
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 EvictLunRequest.ProtoReflect.Descriptor instead.
func (*EvictLunRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP(), []int{4}
}
func (x *EvictLunRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
var File_google_cloud_baremetalsolution_v2_lun_proto protoreflect.FileDescriptor
const file_google_cloud_baremetalsolution_v2_lun_proto_rawDesc = "" +
"\n" +
"+google/cloud/baremetalsolution/v2/lun.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd6\a\n" +
"\x03Lun\x12\x17\n" +
"\x04name\x18\x01 \x01(\tB\x03\xe0A\x03R\x04name\x12\x0e\n" +
"\x02id\x18\n" +
" \x01(\tR\x02id\x12B\n" +
"\x05state\x18\x02 \x01(\x0e2,.google.cloud.baremetalsolution.v2.Lun.StateR\x05state\x12\x17\n" +
"\asize_gb\x18\x03 \x01(\x03R\x06sizeGb\x12g\n" +
"\x12multiprotocol_type\x18\x04 \x01(\x0e28.google.cloud.baremetalsolution.v2.Lun.MultiprotocolTypeR\x11multiprotocolType\x12S\n" +
"\x0estorage_volume\x18\x05 \x01(\tB,\xfaA)\n" +
"'baremetalsolution.googleapis.com/VolumeR\rstorageVolume\x12\x1c\n" +
"\tshareable\x18\x06 \x01(\bR\tshareable\x12\x19\n" +
"\bboot_lun\x18\a \x01(\bR\abootLun\x12U\n" +
"\fstorage_type\x18\b \x01(\x0e22.google.cloud.baremetalsolution.v2.Lun.StorageTypeR\vstorageType\x12\x12\n" +
"\x04wwid\x18\t \x01(\tR\x04wwid\x12@\n" +
"\vexpire_time\x18\v \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
"expireTime\x12O\n" +
"\tinstances\x18\f \x03(\tB1\xe0A\x03\xfaA+\n" +
")baremetalsolution.googleapis.com/InstanceR\tinstances\"a\n" +
"\x05State\x12\x15\n" +
"\x11STATE_UNSPECIFIED\x10\x00\x12\f\n" +
"\bCREATING\x10\x01\x12\f\n" +
"\bUPDATING\x10\x02\x12\t\n" +
"\x05READY\x10\x03\x12\f\n" +
"\bDELETING\x10\x04\x12\f\n" +
"\bCOOL_OFF\x10\x05\"B\n" +
"\x11MultiprotocolType\x12\"\n" +
"\x1eMULTIPROTOCOL_TYPE_UNSPECIFIED\x10\x00\x12\t\n" +
"\x05LINUX\x10\x01\"=\n" +
"\vStorageType\x12\x1c\n" +
"\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\a\n" +
"\x03SSD\x10\x01\x12\a\n" +
"\x03HDD\x10\x02:n\xeaAk\n" +
"$baremetalsolution.googleapis.com/Lun\x12Cprojects/{project}/locations/{location}/volumes/{volume}/luns/{lun}\"Q\n" +
"\rGetLunRequest\x12@\n" +
"\x04name\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
"$baremetalsolution.googleapis.com/LunR\x04name\"\x96\x01\n" +
"\x0fListLunsRequest\x12G\n" +
"\x06parent\x18\x01 \x01(\tB/\xe0A\x02\xfaA)\n" +
"'baremetalsolution.googleapis.com/VolumeR\x06parent\x12\x1b\n" +
"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
"\n" +
"page_token\x18\x03 \x01(\tR\tpageToken\"\x98\x01\n" +
"\x10ListLunsResponse\x12:\n" +
"\x04luns\x18\x01 \x03(\v2&.google.cloud.baremetalsolution.v2.LunR\x04luns\x12&\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12 \n" +
"\vunreachable\x18\x03 \x03(\tR\vunreachable\"S\n" +
"\x0fEvictLunRequest\x12@\n" +
"\x04name\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
"$baremetalsolution.googleapis.com/LunR\x04nameB\xf7\x01\n" +
"%com.google.cloud.baremetalsolution.v2B\bLunProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
var (
file_google_cloud_baremetalsolution_v2_lun_proto_rawDescOnce sync.Once
file_google_cloud_baremetalsolution_v2_lun_proto_rawDescData []byte
)
func file_google_cloud_baremetalsolution_v2_lun_proto_rawDescGZIP() []byte {
file_google_cloud_baremetalsolution_v2_lun_proto_rawDescOnce.Do(func() {
file_google_cloud_baremetalsolution_v2_lun_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_baremetalsolution_v2_lun_proto_rawDesc), len(file_google_cloud_baremetalsolution_v2_lun_proto_rawDesc)))
})
return file_google_cloud_baremetalsolution_v2_lun_proto_rawDescData
}
var file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_google_cloud_baremetalsolution_v2_lun_proto_goTypes = []any{
(Lun_State)(0), // 0: google.cloud.baremetalsolution.v2.Lun.State
(Lun_MultiprotocolType)(0), // 1: google.cloud.baremetalsolution.v2.Lun.MultiprotocolType
(Lun_StorageType)(0), // 2: google.cloud.baremetalsolution.v2.Lun.StorageType
(*Lun)(nil), // 3: google.cloud.baremetalsolution.v2.Lun
(*GetLunRequest)(nil), // 4: google.cloud.baremetalsolution.v2.GetLunRequest
(*ListLunsRequest)(nil), // 5: google.cloud.baremetalsolution.v2.ListLunsRequest
(*ListLunsResponse)(nil), // 6: google.cloud.baremetalsolution.v2.ListLunsResponse
(*EvictLunRequest)(nil), // 7: google.cloud.baremetalsolution.v2.EvictLunRequest
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
}
var file_google_cloud_baremetalsolution_v2_lun_proto_depIdxs = []int32{
0, // 0: google.cloud.baremetalsolution.v2.Lun.state:type_name -> google.cloud.baremetalsolution.v2.Lun.State
1, // 1: google.cloud.baremetalsolution.v2.Lun.multiprotocol_type:type_name -> google.cloud.baremetalsolution.v2.Lun.MultiprotocolType
2, // 2: google.cloud.baremetalsolution.v2.Lun.storage_type:type_name -> google.cloud.baremetalsolution.v2.Lun.StorageType
8, // 3: google.cloud.baremetalsolution.v2.Lun.expire_time:type_name -> google.protobuf.Timestamp
3, // 4: google.cloud.baremetalsolution.v2.ListLunsResponse.luns:type_name -> google.cloud.baremetalsolution.v2.Lun
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_google_cloud_baremetalsolution_v2_lun_proto_init() }
func file_google_cloud_baremetalsolution_v2_lun_proto_init() {
if File_google_cloud_baremetalsolution_v2_lun_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_baremetalsolution_v2_lun_proto_rawDesc), len(file_google_cloud_baremetalsolution_v2_lun_proto_rawDesc)),
NumEnums: 3,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_google_cloud_baremetalsolution_v2_lun_proto_goTypes,
DependencyIndexes: file_google_cloud_baremetalsolution_v2_lun_proto_depIdxs,
EnumInfos: file_google_cloud_baremetalsolution_v2_lun_proto_enumTypes,
MessageInfos: file_google_cloud_baremetalsolution_v2_lun_proto_msgTypes,
}.Build()
File_google_cloud_baremetalsolution_v2_lun_proto = out.File
file_google_cloud_baremetalsolution_v2_lun_proto_goTypes = nil
file_google_cloud_baremetalsolution_v2_lun_proto_depIdxs = nil
}