public static final class Lun.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder> implements LunOrBuilder
A storage volume logical unit number (LUN).Protobuf type
google.cloud.baremetalsolution.v2.Lun| Modifier and Type | Method and Description |
|---|---|
Lun.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Lun |
build() |
Lun |
buildPartial() |
Lun.Builder |
clear() |
Lun.Builder |
clearBootLun()
Display if this LUN is a boot LUN.
|
Lun.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Lun.Builder |
clearId()
An identifier for the LUN, generated by the backend.
|
Lun.Builder |
clearMultiprotocolType()
The LUN multiprotocol type ensures the characteristics of the LUN are
optimized for each operating system.
|
Lun.Builder |
clearName()
Output only.
|
Lun.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Lun.Builder |
clearShareable()
Display if this LUN can be shared between multiple physical servers.
|
Lun.Builder |
clearSizeGb()
The size of this LUN, in gigabytes.
|
Lun.Builder |
clearState()
The state of this storage volume.
|
Lun.Builder |
clearStorageType()
The storage type for this LUN.
|
Lun.Builder |
clearStorageVolume()
Display the storage volume for this LUN.
|
Lun.Builder |
clearWwid()
The WWID for this LUN.
|
Lun.Builder |
clone() |
boolean |
getBootLun()
Display if this LUN is a boot LUN.
|
Lun |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
String |
getWwid()
The WWID for this LUN.
|
com.google.protobuf.ByteString |
getWwidBytes()
The WWID for this LUN.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Lun.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Lun.Builder |
mergeFrom(Lun other) |
Lun.Builder |
mergeFrom(com.google.protobuf.Message other) |
Lun.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Lun.Builder |
setBootLun(boolean value)
Display if this LUN is a boot LUN.
|
Lun.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Lun.Builder |
setId(String value)
An identifier for the LUN, generated by the backend.
|
Lun.Builder |
setIdBytes(com.google.protobuf.ByteString value)
An identifier for the LUN, generated by the backend.
|
Lun.Builder |
setMultiprotocolType(Lun.MultiprotocolType value)
The LUN multiprotocol type ensures the characteristics of the LUN are
optimized for each operating system.
|
Lun.Builder |
setMultiprotocolTypeValue(int value)
The LUN multiprotocol type ensures the characteristics of the LUN are
optimized for each operating system.
|
Lun.Builder |
setName(String value)
Output only.
|
Lun.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Lun.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Lun.Builder |
setShareable(boolean value)
Display if this LUN can be shared between multiple physical servers.
|
Lun.Builder |
setSizeGb(long value)
The size of this LUN, in gigabytes.
|
Lun.Builder |
setState(Lun.State value)
The state of this storage volume.
|
Lun.Builder |
setStateValue(int value)
The state of this storage volume.
|
Lun.Builder |
setStorageType(Lun.StorageType value)
The storage type for this LUN.
|
Lun.Builder |
setStorageTypeValue(int value)
The storage type for this LUN.
|
Lun.Builder |
setStorageVolume(String value)
Display the storage volume for this LUN.
|
Lun.Builder |
setStorageVolumeBytes(com.google.protobuf.ByteString value)
Display the storage volume for this LUN.
|
Lun.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Lun.Builder |
setWwid(String value)
The WWID for this LUN.
|
Lun.Builder |
setWwidBytes(com.google.protobuf.ByteString value)
The WWID for this LUN.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Lun build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Lun buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Lun.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Lun.Builder>public Lun.Builder mergeFrom(Lun other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public Lun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Lun.Builder>IOExceptionpublic 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 Lun.Builder setName(String value)
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Lun.Builder clearName()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Lun.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public 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 Lun.Builder setId(String value)
An identifier for the LUN, generated by the backend.
string id = 10;value - The id to set.public Lun.Builder clearId()
An identifier for the LUN, generated by the backend.
string id = 10;public Lun.Builder setIdBytes(com.google.protobuf.ByteString value)
An identifier for the LUN, generated by the backend.
string id = 10;value - The bytes for id to set.public int getStateValue()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;getStateValue in interface LunOrBuilderpublic Lun.Builder setStateValue(int value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;value - The enum numeric value on the wire for state to set.public Lun.State getState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;getState in interface LunOrBuilderpublic Lun.Builder setState(Lun.State value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;value - The state to set.public Lun.Builder clearState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;public long getSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;getSizeGb in interface LunOrBuilderpublic Lun.Builder setSizeGb(long value)
The size of this LUN, in gigabytes.
int64 size_gb = 3;value - The sizeGb to set.public Lun.Builder clearSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;public 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.Builder setMultiprotocolTypeValue(int value)
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;value - The enum numeric value on the wire for multiprotocolType to set.public 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 Lun.Builder setMultiprotocolType(Lun.MultiprotocolType value)
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;value - The multiprotocolType to set.public Lun.Builder clearMultiprotocolType()
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;public 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 Lun.Builder setStorageVolume(String value)
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }value - The storageVolume to set.public Lun.Builder clearStorageVolume()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }public Lun.Builder setStorageVolumeBytes(com.google.protobuf.ByteString value)
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }value - The bytes for storageVolume to set.public boolean getShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;getShareable in interface LunOrBuilderpublic Lun.Builder setShareable(boolean value)
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;value - The shareable to set.public Lun.Builder clearShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;public boolean getBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;getBootLun in interface LunOrBuilderpublic Lun.Builder setBootLun(boolean value)
Display if this LUN is a boot LUN.
bool boot_lun = 7;value - The bootLun to set.public Lun.Builder clearBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;public int getStorageTypeValue()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;getStorageTypeValue in interface LunOrBuilderpublic Lun.Builder setStorageTypeValue(int value)
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;value - The enum numeric value on the wire for storageType to set.public Lun.StorageType getStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;getStorageType in interface LunOrBuilderpublic Lun.Builder setStorageType(Lun.StorageType value)
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;value - The storageType to set.public Lun.Builder clearStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;public 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 Lun.Builder setWwid(String value)
The WWID for this LUN.
string wwid = 9;value - The wwid to set.public Lun.Builder clearWwid()
The WWID for this LUN.
string wwid = 9;public Lun.Builder setWwidBytes(com.google.protobuf.ByteString value)
The WWID for this LUN.
string wwid = 9;value - The bytes for wwid to set.public final Lun.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>public final Lun.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>Copyright © 2022 Google LLC. All rights reserved.