public final class Lun extends com.google.protobuf.GeneratedMessageV3 implements LunOrBuilder
A storage volume logical unit number (LUN).Protobuf type
google.cloud.baremetalsolution.v2.Lun| Modifier and Type | Class and Description |
|---|---|
static class |
Lun.Builder
A storage volume logical unit number (LUN).
|
static class |
Lun.MultiprotocolType
Display the operating systems present for the LUN multiprotocol type.
|
static class |
Lun.State
The possible states for the LUN.
|
static class |
Lun.StorageType
The storage types for a LUN.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BOOT_LUN_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
MULTIPROTOCOL_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SHAREABLE_FIELD_NUMBER |
static int |
SIZE_GB_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
STORAGE_TYPE_FIELD_NUMBER |
static int |
STORAGE_VOLUME_FIELD_NUMBER |
static int |
WWID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getBootLun()
Display if this LUN is a boot LUN.
|
static Lun |
getDefaultInstance() |
Lun |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
An identifier for the LUN, generated by the backend.
|
com.google.protobuf.ByteString |
getIdBytes()
An identifier for the LUN, generated by the backend.
|
Lun.MultiprotocolType |
getMultiprotocolType()
The LUN multiprotocol type ensures the characteristics of the LUN are
optimized for each operating system.
|
int |
getMultiprotocolTypeValue()
The LUN multiprotocol type ensures the characteristics of the LUN are
optimized for each operating system.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Lun> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getShareable()
Display if this LUN can be shared between multiple physical servers.
|
long |
getSizeGb()
The size of this LUN, in gigabytes.
|
Lun.State |
getState()
The state of this storage volume.
|
int |
getStateValue()
The state of this storage volume.
|
Lun.StorageType |
getStorageType()
The storage type for this LUN.
|
int |
getStorageTypeValue()
The storage type for this LUN.
|
String |
getStorageVolume()
Display the storage volume for this LUN.
|
com.google.protobuf.ByteString |
getStorageVolumeBytes()
Display the storage volume for this LUN.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getWwid()
The WWID for this LUN.
|
com.google.protobuf.ByteString |
getWwidBytes()
The WWID for this LUN.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Lun.Builder |
newBuilder() |
static Lun.Builder |
newBuilder(Lun prototype) |
Lun.Builder |
newBuilderForType() |
protected Lun.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Lun |
parseDelimitedFrom(InputStream input) |
static Lun |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Lun |
parseFrom(byte[] data) |
static Lun |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Lun |
parseFrom(ByteBuffer data) |
static Lun |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Lun |
parseFrom(com.google.protobuf.ByteString data) |
static Lun |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Lun |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Lun |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Lun |
parseFrom(InputStream input) |
static Lun |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Lun> |
parser() |
Lun.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER
public static final int MULTIPROTOCOL_TYPE_FIELD_NUMBER
public static final int STORAGE_VOLUME_FIELD_NUMBER
public static final int SHAREABLE_FIELD_NUMBER
public static final int BOOT_LUN_FIELD_NUMBER
public static final int STORAGE_TYPE_FIELD_NUMBER
public static final int WWID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface LunOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface LunOrBuilderpublic String getId()
An identifier for the LUN, generated by the backend.
string id = 10;getId in interface LunOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
An identifier for the LUN, generated by the backend.
string id = 10;getIdBytes in interface LunOrBuilderpublic int getStateValue()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;getStateValue in interface LunOrBuilderpublic Lun.State getState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;getState in interface LunOrBuilderpublic long getSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;getSizeGb in interface LunOrBuilderpublic 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;getMultiprotocolTypeValue in interface LunOrBuilderpublic Lun.MultiprotocolType getMultiprotocolType()
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;getMultiprotocolType in interface LunOrBuilderpublic String getStorageVolume()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }getStorageVolume in interface LunOrBuilderpublic com.google.protobuf.ByteString getStorageVolumeBytes()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }getStorageVolumeBytes in interface LunOrBuilderpublic boolean getShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;getShareable in interface LunOrBuilderpublic boolean getBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;getBootLun in interface LunOrBuilderpublic int getStorageTypeValue()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;getStorageTypeValue in interface LunOrBuilderpublic Lun.StorageType getStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;getStorageType in interface LunOrBuilderpublic String getWwid()
The WWID for this LUN.
string wwid = 9;getWwid in interface LunOrBuilderpublic com.google.protobuf.ByteString getWwidBytes()
The WWID for this LUN.
string wwid = 9;getWwidBytes in interface LunOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Lun parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Lun parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Lun parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Lun parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Lun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Lun parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Lun parseFrom(InputStream input) throws IOException
IOExceptionpublic static Lun parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Lun parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Lun parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Lun parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Lun parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Lun.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Lun.Builder newBuilder()
public static Lun.Builder newBuilder(Lun prototype)
public Lun.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Lun.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Lun getDefaultInstance()
public static com.google.protobuf.Parser<Lun> parser()
public com.google.protobuf.Parser<Lun> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Lun getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.