/*
* Copyright 2024 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
*
* https://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.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/baremetalsolution/v2/lun.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.baremetalsolution.v2;
public interface LunOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.Lun)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The name of the LUN.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The name of the LUN.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* An identifier for the LUN, generated by the backend.
*
*
* string id = 10;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* An identifier for the LUN, generated by the backend.
*
*
* string id = 10;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* The state of this storage volume.
*
*
* .google.cloud.baremetalsolution.v2.Lun.State state = 2;
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* The state of this storage volume.
*
*
* .google.cloud.baremetalsolution.v2.Lun.State state = 2;
*
* @return The state.
*/
com.google.cloud.baremetalsolution.v2.Lun.State getState();
/**
*
*
*
* The size of this LUN, in gigabytes.
*
*
* int64 size_gb = 3;
*
* @return The sizeGb.
*/
long getSizeGb();
/**
*
*
*
* The LUN multiprotocol type ensures the characteristics of the LUN are
* optimized for each operating system.
*
*
* .google.cloud.baremetalsolution.v2.Lun.MultiprotocolType multiprotocol_type = 4;
*
* @return The enum numeric value on the wire for multiprotocolType.
*/
int getMultiprotocolTypeValue();
/**
*
*
*
* The LUN multiprotocol type ensures the characteristics of the LUN are
* optimized for each operating system.
*
*
* .google.cloud.baremetalsolution.v2.Lun.MultiprotocolType multiprotocol_type = 4;
*
* @return The multiprotocolType.
*/
com.google.cloud.baremetalsolution.v2.Lun.MultiprotocolType getMultiprotocolType();
/**
*
*
*
* Display the storage volume for this LUN.
*
*
* string storage_volume = 5 [(.google.api.resource_reference) = { ... }
*
* @return The storageVolume.
*/
java.lang.String getStorageVolume();
/**
*
*
*
* Display the storage volume for this LUN.
*
*
* string storage_volume = 5 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for storageVolume.
*/
com.google.protobuf.ByteString getStorageVolumeBytes();
/**
*
*
*
* Display if this LUN can be shared between multiple physical servers.
*
*
* bool shareable = 6;
*
* @return The shareable.
*/
boolean getShareable();
/**
*
*
*
* Display if this LUN is a boot LUN.
*
*
* bool boot_lun = 7;
*
* @return The bootLun.
*/
boolean getBootLun();
/**
*
*
*
* The storage type for this LUN.
*
*
* .google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
*
* @return The enum numeric value on the wire for storageType.
*/
int getStorageTypeValue();
/**
*
*
*
* The storage type for this LUN.
*
*
* .google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
*
* @return The storageType.
*/
com.google.cloud.baremetalsolution.v2.Lun.StorageType getStorageType();
/**
*
*
*
* The WWID for this LUN.
*
*
* string wwid = 9;
*
* @return The wwid.
*/
java.lang.String getWwid();
/**
*
*
*
* The WWID for this LUN.
*
*
* string wwid = 9;
*
* @return The bytes for wwid.
*/
com.google.protobuf.ByteString getWwidBytes();
/**
*
*
*
* Output only. Time after which LUN will be fully deleted.
* It is filled only for LUNs in COOL_OFF state.
*
*
* .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the expireTime field is set.
*/
boolean hasExpireTime();
/**
*
*
*
* Output only. Time after which LUN will be fully deleted.
* It is filled only for LUNs in COOL_OFF state.
*
*
* .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The expireTime.
*/
com.google.protobuf.Timestamp getExpireTime();
/**
*
*
*
* Output only. Time after which LUN will be fully deleted.
* It is filled only for LUNs in COOL_OFF state.
*
*
* .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
/**
*
*
*
* Output only. Instances this Lun is attached to.
*
*
*
* repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return A list containing the instances.
*/
java.util.List getInstancesList();
/**
*
*
*
* Output only. Instances this Lun is attached to.
*
*
*
* repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The count of instances.
*/
int getInstancesCount();
/**
*
*
*
* Output only. Instances this Lun is attached to.
*
*
*
* repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @param index The index of the element to return.
* @return The instances at the given index.
*/
java.lang.String getInstances(int index);
/**
*
*
*
* Output only. Instances this Lun is attached to.
*
*
*
* repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @param index The index of the value to return.
* @return The bytes of the instances at the given index.
*/
com.google.protobuf.ByteString getInstancesBytes(int index);
}