- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class Lun.Builder extends GeneratedMessageV3.Builder<Lun.Builder> implements LunOrBuilder
A storage volume logical unit number (LUN).
Protobuf type google.cloud.baremetalsolution.v2.Lun
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Lun.BuilderImplements
LunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Lun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Lun.Builder |
build()
public Lun build()
Type | Description |
Lun |
buildPartial()
public Lun buildPartial()
Type | Description |
Lun |
clear()
public Lun.Builder clear()
Type | Description |
Lun.Builder |
clearBootLun()
public Lun.Builder clearBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;
Type | Description |
Lun.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Lun.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Lun.Builder |
clearMultiprotocolType()
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;
Type | Description |
Lun.Builder | This builder for chaining. |
clearName()
public Lun.Builder clearName()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Lun.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Lun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Lun.Builder |
clearShareable()
public Lun.Builder clearShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;
Type | Description |
Lun.Builder | This builder for chaining. |
clearSizeGb()
public Lun.Builder clearSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;
Type | Description |
Lun.Builder | This builder for chaining. |
clearState()
public Lun.Builder clearState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
Type | Description |
Lun.Builder | This builder for chaining. |
clearStorageType()
public Lun.Builder clearStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
Type | Description |
Lun.Builder | This builder for chaining. |
clearStorageVolume()
public Lun.Builder clearStorageVolume()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
Lun.Builder | This builder for chaining. |
clearWwid()
public Lun.Builder clearWwid()
The WWID for this LUN.
string wwid = 9;
Type | Description |
Lun.Builder | This builder for chaining. |
clone()
public Lun.Builder clone()
Type | Description |
Lun.Builder |
getBootLun()
public boolean getBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;
Type | Description |
boolean | The bootLun. |
getDefaultInstanceForType()
public Lun getDefaultInstanceForType()
Type | Description |
Lun |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMultiprotocolType()
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;
Type | Description |
Lun.MultiprotocolType | The multiprotocolType. |
getMultiprotocolTypeValue()
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;
Type | Description |
int | The enum numeric value on the wire for multiprotocolType. |
getName()
public String getName()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getShareable()
public boolean getShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;
Type | Description |
boolean | The shareable. |
getSizeGb()
public long getSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;
Type | Description |
long | The sizeGb. |
getState()
public Lun.State getState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
Type | Description |
Lun.State | The state. |
getStateValue()
public int getStateValue()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
Type | Description |
int | The enum numeric value on the wire for state. |
getStorageType()
public Lun.StorageType getStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
Type | Description |
Lun.StorageType | The storageType. |
getStorageTypeValue()
public int getStorageTypeValue()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
Type | Description |
int | The enum numeric value on the wire for storageType. |
getStorageVolume()
public String getStorageVolume()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The storageVolume. |
getStorageVolumeBytes()
public ByteString getStorageVolumeBytes()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for storageVolume. |
getWwid()
public String getWwid()
The WWID for this LUN.
string wwid = 9;
Type | Description |
String | The wwid. |
getWwidBytes()
public ByteString getWwidBytes()
The WWID for this LUN.
string wwid = 9;
Type | Description |
ByteString | The bytes for wwid. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Lun other)
public Lun.Builder mergeFrom(Lun other)
Name | Description |
other | Lun |
Type | Description |
Lun.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Lun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Lun.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Lun.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Lun.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Lun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Lun.Builder |
setBootLun(boolean value)
public Lun.Builder setBootLun(boolean value)
Display if this LUN is a boot LUN.
bool boot_lun = 7;
Name | Description |
value | boolean The bootLun to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Lun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Lun.Builder |
setMultiprotocolType(Lun.MultiprotocolType value)
public 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;
Name | Description |
value | Lun.MultiprotocolType The multiprotocolType to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setMultiprotocolTypeValue(int value)
public 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;
Name | Description |
value | int The enum numeric value on the wire for multiprotocolType to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setName(String value)
public Lun.Builder setName(String value)
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Lun.Builder setNameBytes(ByteString value)
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Lun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Lun.Builder |
setShareable(boolean value)
public Lun.Builder setShareable(boolean value)
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;
Name | Description |
value | boolean The shareable to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setSizeGb(long value)
public Lun.Builder setSizeGb(long value)
The size of this LUN, in gigabytes.
int64 size_gb = 3;
Name | Description |
value | long The sizeGb to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setState(Lun.State value)
public Lun.Builder setState(Lun.State value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
Name | Description |
value | Lun.State The state to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setStateValue(int value)
public Lun.Builder setStateValue(int value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setStorageType(Lun.StorageType value)
public Lun.Builder setStorageType(Lun.StorageType value)
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
Name | Description |
value | Lun.StorageType The storageType to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setStorageTypeValue(int value)
public Lun.Builder setStorageTypeValue(int value)
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
Name | Description |
value | int The enum numeric value on the wire for storageType to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setStorageVolume(String value)
public Lun.Builder setStorageVolume(String value)
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The storageVolume to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setStorageVolumeBytes(ByteString value)
public Lun.Builder setStorageVolumeBytes(ByteString value)
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for storageVolume to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Lun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Lun.Builder |
setWwid(String value)
public Lun.Builder setWwid(String value)
The WWID for this LUN.
string wwid = 9;
Name | Description |
value | String The wwid to set. |
Type | Description |
Lun.Builder | This builder for chaining. |
setWwidBytes(ByteString value)
public Lun.Builder setWwidBytes(ByteString value)
The WWID for this LUN.
string wwid = 9;
Name | Description |
value | ByteString The bytes for wwid to set. |
Type | Description |
Lun.Builder | This builder for chaining. |