Class Lun.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
- com.google.cloud.baremetalsolution.v2.Lun.Builder
-
- All Implemented Interfaces:
LunOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Lun
public static final class Lun.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder> implements LunOrBuilder
A storage volume logical unit number (LUN).
Protobuf typegoogle.cloud.baremetalsolution.v2.Lun
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Lun.Builder
addAllInstances(Iterable<String> values)
Output only.Lun.Builder
addInstances(String value)
Output only.Lun.Builder
addInstancesBytes(com.google.protobuf.ByteString value)
Output only.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
clearExpireTime()
Output only.Lun.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Lun.Builder
clearId()
An identifier for the LUN, generated by the backend.Lun.Builder
clearInstances()
Output only.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()
com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.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.String
getInstances(int index)
Output only.com.google.protobuf.ByteString
getInstancesBytes(int index)
Output only.int
getInstancesCount()
Output only.com.google.protobuf.ProtocolStringList
getInstancesList()
Output only.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.boolean
hasExpireTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Lun.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.Lun.Builder
mergeFrom(Lun other)
Lun.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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
setExpireTime(com.google.protobuf.Timestamp value)
Output only.Lun.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.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
setInstances(int index, String value)
Output only.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
clear
public Lun.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
getDefaultInstanceForType
public Lun getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Lun build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Lun buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Lun.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
setField
public Lun.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
clearField
public Lun.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
clearOneof
public Lun.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
setRepeatedField
public Lun.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
addRepeatedField
public Lun.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
mergeFrom
public Lun.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Lun.Builder>
-
mergeFrom
public Lun.Builder mergeFrom(Lun other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
mergeFrom
public Lun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Lun.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceLunOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceLunOrBuilder
- Returns:
- The bytes for name.
-
setName
public Lun.Builder setName(String value)
Output only. The name of the LUN.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
public String getId()
An identifier for the LUN, generated by the backend.
string id = 10;
- Specified by:
getId
in interfaceLunOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
An identifier for the LUN, generated by the backend.
string id = 10;
- Specified by:
getIdBytes
in interfaceLunOrBuilder
- Returns:
- The bytes for id.
-
setId
public Lun.Builder setId(String value)
An identifier for the LUN, generated by the backend.
string id = 10;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Lun.Builder clearId()
An identifier for the LUN, generated by the backend.
string id = 10;
- Returns:
- This builder for chaining.
-
setIdBytes
public Lun.Builder setIdBytes(com.google.protobuf.ByteString value)
An identifier for the LUN, generated by the backend.
string id = 10;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
- Specified by:
getStateValue
in interfaceLunOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Lun.Builder setStateValue(int value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Lun.State getState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
- Specified by:
getState
in interfaceLunOrBuilder
- Returns:
- The state.
-
setState
public Lun.Builder setState(Lun.State value)
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Lun.Builder clearState()
The state of this storage volume.
.google.cloud.baremetalsolution.v2.Lun.State state = 2;
- Returns:
- This builder for chaining.
-
getSizeGb
public long getSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;
- Specified by:
getSizeGb
in interfaceLunOrBuilder
- Returns:
- The sizeGb.
-
setSizeGb
public Lun.Builder setSizeGb(long value)
The size of this LUN, in gigabytes.
int64 size_gb = 3;
- Parameters:
value
- The sizeGb to set.- Returns:
- This builder for chaining.
-
clearSizeGb
public Lun.Builder clearSizeGb()
The size of this LUN, in gigabytes.
int64 size_gb = 3;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getMultiprotocolTypeValue
in interfaceLunOrBuilder
- Returns:
- The enum numeric value on the wire for multiprotocolType.
-
setMultiprotocolTypeValue
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;
- Parameters:
value
- The enum numeric value on the wire for multiprotocolType to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getMultiprotocolType
in interfaceLunOrBuilder
- Returns:
- The multiprotocolType.
-
setMultiprotocolType
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;
- Parameters:
value
- The multiprotocolType to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
getStorageVolume
public String getStorageVolume()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
- Specified by:
getStorageVolume
in interfaceLunOrBuilder
- Returns:
- The storageVolume.
-
getStorageVolumeBytes
public com.google.protobuf.ByteString getStorageVolumeBytes()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
- Specified by:
getStorageVolumeBytes
in interfaceLunOrBuilder
- Returns:
- The bytes for storageVolume.
-
setStorageVolume
public Lun.Builder setStorageVolume(String value)
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The storageVolume to set.- Returns:
- This builder for chaining.
-
clearStorageVolume
public Lun.Builder clearStorageVolume()
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setStorageVolumeBytes
public Lun.Builder setStorageVolumeBytes(com.google.protobuf.ByteString value)
Display the storage volume for this LUN.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for storageVolume to set.- Returns:
- This builder for chaining.
-
getShareable
public boolean getShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;
- Specified by:
getShareable
in interfaceLunOrBuilder
- Returns:
- The shareable.
-
setShareable
public Lun.Builder setShareable(boolean value)
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;
- Parameters:
value
- The shareable to set.- Returns:
- This builder for chaining.
-
clearShareable
public Lun.Builder clearShareable()
Display if this LUN can be shared between multiple physical servers.
bool shareable = 6;
- Returns:
- This builder for chaining.
-
getBootLun
public boolean getBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;
- Specified by:
getBootLun
in interfaceLunOrBuilder
- Returns:
- The bootLun.
-
setBootLun
public Lun.Builder setBootLun(boolean value)
Display if this LUN is a boot LUN.
bool boot_lun = 7;
- Parameters:
value
- The bootLun to set.- Returns:
- This builder for chaining.
-
clearBootLun
public Lun.Builder clearBootLun()
Display if this LUN is a boot LUN.
bool boot_lun = 7;
- Returns:
- This builder for chaining.
-
getStorageTypeValue
public int getStorageTypeValue()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
- Specified by:
getStorageTypeValue
in interfaceLunOrBuilder
- Returns:
- The enum numeric value on the wire for storageType.
-
setStorageTypeValue
public Lun.Builder setStorageTypeValue(int value)
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
- Parameters:
value
- The enum numeric value on the wire for storageType to set.- Returns:
- This builder for chaining.
-
getStorageType
public Lun.StorageType getStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
- Specified by:
getStorageType
in interfaceLunOrBuilder
- Returns:
- The storageType.
-
setStorageType
public Lun.Builder setStorageType(Lun.StorageType value)
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
- Parameters:
value
- The storageType to set.- Returns:
- This builder for chaining.
-
clearStorageType
public Lun.Builder clearStorageType()
The storage type for this LUN.
.google.cloud.baremetalsolution.v2.Lun.StorageType storage_type = 8;
- Returns:
- This builder for chaining.
-
getWwid
public String getWwid()
The WWID for this LUN.
string wwid = 9;
- Specified by:
getWwid
in interfaceLunOrBuilder
- Returns:
- The wwid.
-
getWwidBytes
public com.google.protobuf.ByteString getWwidBytes()
The WWID for this LUN.
string wwid = 9;
- Specified by:
getWwidBytes
in interfaceLunOrBuilder
- Returns:
- The bytes for wwid.
-
setWwid
public Lun.Builder setWwid(String value)
The WWID for this LUN.
string wwid = 9;
- Parameters:
value
- The wwid to set.- Returns:
- This builder for chaining.
-
clearWwid
public Lun.Builder clearWwid()
The WWID for this LUN.
string wwid = 9;
- Returns:
- This builder for chaining.
-
setWwidBytes
public Lun.Builder setWwidBytes(com.google.protobuf.ByteString value)
The WWID for this LUN.
string wwid = 9;
- Parameters:
value
- The bytes for wwid to set.- Returns:
- This builder for chaining.
-
hasExpireTime
public 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];
- Specified by:
hasExpireTime
in interfaceLunOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public 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];
- Specified by:
getExpireTime
in interfaceLunOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public Lun.Builder setExpireTime(com.google.protobuf.Timestamp value)
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];
-
setExpireTime
public Lun.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeExpireTime
public Lun.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
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];
-
clearExpireTime
public Lun.Builder clearExpireTime()
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];
-
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
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];
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
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];
- Specified by:
getExpireTimeOrBuilder
in interfaceLunOrBuilder
-
getInstancesList
public com.google.protobuf.ProtocolStringList getInstancesList()
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getInstancesList
in interfaceLunOrBuilder
- Returns:
- A list containing the instances.
-
getInstancesCount
public int getInstancesCount()
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getInstancesCount
in interfaceLunOrBuilder
- Returns:
- The count of instances.
-
getInstances
public 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) = { ... }
- Specified by:
getInstances
in interfaceLunOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The instances at the given index.
-
getInstancesBytes
public com.google.protobuf.ByteString getInstancesBytes(int index)
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getInstancesBytes
in interfaceLunOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-
setInstances
public Lun.Builder setInstances(int index, String value)
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
index
- The index to set the value at.value
- The instances to set.- Returns:
- This builder for chaining.
-
addInstances
public Lun.Builder addInstances(String value)
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The instances to add.- Returns:
- This builder for chaining.
-
addAllInstances
public Lun.Builder addAllInstances(Iterable<String> values)
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
values
- The instances to add.- Returns:
- This builder for chaining.
-
clearInstances
public Lun.Builder clearInstances()
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
addInstancesBytes
public Lun.Builder addInstancesBytes(com.google.protobuf.ByteString value)
Output only. Instances this Lun is attached to.
repeated string instances = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes of the instances to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Lun.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
mergeUnknownFields
public final Lun.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
-