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.BuilderaddAllInstances(Iterable<String> values)Output only.Lun.BuilderaddInstances(String value)Output only.Lun.BuilderaddInstancesBytes(com.google.protobuf.ByteString value)Output only.Lun.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Lunbuild()LunbuildPartial()Lun.Builderclear()Lun.BuilderclearBootLun()Display if this LUN is a boot LUN.Lun.BuilderclearExpireTime()Output only.Lun.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Lun.BuilderclearId()An identifier for the LUN, generated by the backend.Lun.BuilderclearInstances()Output only.Lun.BuilderclearMultiprotocolType()The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.Lun.BuilderclearName()Output only.Lun.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Lun.BuilderclearShareable()Display if this LUN can be shared between multiple physical servers.Lun.BuilderclearSizeGb()The size of this LUN, in gigabytes.Lun.BuilderclearState()The state of this storage volume.Lun.BuilderclearStorageType()The storage type for this LUN.Lun.BuilderclearStorageVolume()Display the storage volume for this LUN.Lun.BuilderclearWwid()The WWID for this LUN.Lun.Builderclone()booleangetBootLun()Display if this LUN is a boot LUN.LungetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.Timestamp.BuildergetExpireTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.StringgetId()An identifier for the LUN, generated by the backend.com.google.protobuf.ByteStringgetIdBytes()An identifier for the LUN, generated by the backend.StringgetInstances(int index)Output only.com.google.protobuf.ByteStringgetInstancesBytes(int index)Output only.intgetInstancesCount()Output only.com.google.protobuf.ProtocolStringListgetInstancesList()Output only.Lun.MultiprotocolTypegetMultiprotocolType()The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.intgetMultiprotocolTypeValue()The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.booleangetShareable()Display if this LUN can be shared between multiple physical servers.longgetSizeGb()The size of this LUN, in gigabytes.Lun.StategetState()The state of this storage volume.intgetStateValue()The state of this storage volume.Lun.StorageTypegetStorageType()The storage type for this LUN.intgetStorageTypeValue()The storage type for this LUN.StringgetStorageVolume()Display the storage volume for this LUN.com.google.protobuf.ByteStringgetStorageVolumeBytes()Display the storage volume for this LUN.StringgetWwid()The WWID for this LUN.com.google.protobuf.ByteStringgetWwidBytes()The WWID for this LUN.booleanhasExpireTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Lun.BuildermergeExpireTime(com.google.protobuf.Timestamp value)Output only.Lun.BuildermergeFrom(Lun other)Lun.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Lun.BuildermergeFrom(com.google.protobuf.Message other)Lun.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Lun.BuildersetBootLun(boolean value)Display if this LUN is a boot LUN.Lun.BuildersetExpireTime(com.google.protobuf.Timestamp value)Output only.Lun.BuildersetExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Lun.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Lun.BuildersetId(String value)An identifier for the LUN, generated by the backend.Lun.BuildersetIdBytes(com.google.protobuf.ByteString value)An identifier for the LUN, generated by the backend.Lun.BuildersetInstances(int index, String value)Output only.Lun.BuildersetMultiprotocolType(Lun.MultiprotocolType value)The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.Lun.BuildersetMultiprotocolTypeValue(int value)The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.Lun.BuildersetName(String value)Output only.Lun.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Lun.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Lun.BuildersetShareable(boolean value)Display if this LUN can be shared between multiple physical servers.Lun.BuildersetSizeGb(long value)The size of this LUN, in gigabytes.Lun.BuildersetState(Lun.State value)The state of this storage volume.Lun.BuildersetStateValue(int value)The state of this storage volume.Lun.BuildersetStorageType(Lun.StorageType value)The storage type for this LUN.Lun.BuildersetStorageTypeValue(int value)The storage type for this LUN.Lun.BuildersetStorageVolume(String value)Display the storage volume for this LUN.Lun.BuildersetStorageVolumeBytes(com.google.protobuf.ByteString value)Display the storage volume for this LUN.Lun.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Lun.BuildersetWwid(String value)The WWID for this LUN.Lun.BuildersetWwidBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
clear
public Lun.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
getDefaultInstanceForType
public Lun getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Lun build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Lun buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Lun.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
setField
public Lun.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
clearField
public Lun.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
clearOneof
public Lun.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
setRepeatedField
public Lun.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
addRepeatedField
public Lun.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
mergeFrom
public Lun.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Lun.Builder>
-
mergeFrom
public Lun.Builder mergeFrom(Lun other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getIdin 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:
getIdBytesin 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:
getStateValuein 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:
getStatein 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:
getSizeGbin 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:
getMultiprotocolTypeValuein 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:
getMultiprotocolTypein 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:
getStorageVolumein 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:
getStorageVolumeBytesin 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:
getShareablein 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:
getBootLunin 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:
getStorageTypeValuein 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:
getStorageTypein 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:
getWwidin interfaceLunOrBuilder- Returns:
- The wwid.
-
getWwidBytes
public com.google.protobuf.ByteString getWwidBytes()
The WWID for this LUN.
string wwid = 9;- Specified by:
getWwidBytesin 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:
hasExpireTimein 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:
getExpireTimein 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:
getExpireTimeOrBuilderin 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:
getInstancesListin 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:
getInstancesCountin 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:
getInstancesin 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:
getInstancesBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
mergeUnknownFields
public final Lun.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lun.Builder>
-
-