public static final class Volume.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilder
Volume provides a filesystem that you can mount.Protobuf type
google.cloud.netapp.v1.VolumegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.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<Volume.Builder>public Volume getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Volume build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Volume buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Volume.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.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<Volume.Builder>public Volume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.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<Volume.Builder>public Volume.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<Volume.Builder>public Volume.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Volume.Builder>public Volume.Builder mergeFrom(Volume other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public Volume.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<Volume.Builder>IOExceptionpublic String getName()
Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getName in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getNameBytes in interface VolumeOrBuilderpublic Volume.Builder setName(String value)
Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];value - The name to set.public Volume.Builder clearName()
Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];public Volume.Builder setNameBytes(com.google.protobuf.ByteString value)
Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];value - The bytes for name to set.public int getStateValue()
Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface VolumeOrBuilderpublic Volume.Builder setStateValue(int value)
Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Volume.State getState()
Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface VolumeOrBuilderpublic Volume.Builder setState(Volume.State value)
Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Volume.Builder clearState()
Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getStateDetails()
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetails in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetailsBytes in interface VolumeOrBuilderpublic Volume.Builder setStateDetails(String value)
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The stateDetails to set.public Volume.Builder clearStateDetails()
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public Volume.Builder setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for stateDetails to set.public boolean hasCreateTime()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface VolumeOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface VolumeOrBuilderpublic Volume.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder clearCreateTime()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface VolumeOrBuilderpublic String getShareName()
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];getShareName in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getShareNameBytes()
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];getShareNameBytes in interface VolumeOrBuilderpublic Volume.Builder setShareName(String value)
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];value - The shareName to set.public Volume.Builder clearShareName()
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];public Volume.Builder setShareNameBytes(com.google.protobuf.ByteString value)
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];value - The bytes for shareName to set.public String getPsaRange()
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getPsaRange in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getPsaRangeBytes()
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getPsaRangeBytes in interface VolumeOrBuilderpublic Volume.Builder setPsaRange(String value)
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The psaRange to set.public Volume.Builder clearPsaRange()
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public Volume.Builder setPsaRangeBytes(com.google.protobuf.ByteString value)
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for psaRange to set.public String getStoragePool()
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getStoragePool in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getStoragePoolBytes()
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getStoragePoolBytes in interface VolumeOrBuilderpublic Volume.Builder setStoragePool(String value)
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The storagePool to set.public Volume.Builder clearStoragePool()
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public Volume.Builder setStoragePoolBytes(com.google.protobuf.ByteString value)
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for storagePool to set.public String getNetwork()
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getNetwork in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getNetworkBytes in interface VolumeOrBuilderpublic Volume.Builder setNetwork(String value)
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The network to set.public Volume.Builder clearNetwork()
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Volume.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for network to set.public int getServiceLevelValue()
Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceLevelValue in interface VolumeOrBuilderpublic Volume.Builder setServiceLevelValue(int value)
Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for serviceLevel to set.public ServiceLevel getServiceLevel()
Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceLevel in interface VolumeOrBuilderpublic Volume.Builder setServiceLevel(ServiceLevel value)
Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The serviceLevel to set.public Volume.Builder clearServiceLevel()
Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public long getCapacityGib()
Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];getCapacityGib in interface VolumeOrBuilderpublic Volume.Builder setCapacityGib(long value)
Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];value - The capacityGib to set.public Volume.Builder clearCapacityGib()
Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];public boolean hasExportPolicy()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
hasExportPolicy in interface VolumeOrBuilderpublic ExportPolicy getExportPolicy()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
getExportPolicy in interface VolumeOrBuilderpublic Volume.Builder setExportPolicy(ExportPolicy value)
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder setExportPolicy(ExportPolicy.Builder builderForValue)
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder mergeExportPolicy(ExportPolicy value)
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder clearExportPolicy()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
public ExportPolicy.Builder getExportPolicyBuilder()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
public ExportPolicyOrBuilder getExportPolicyOrBuilder()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
getExportPolicyOrBuilder in interface VolumeOrBuilderpublic List<Protocols> getProtocolsList()
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
getProtocolsList in interface VolumeOrBuilderpublic int getProtocolsCount()
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
getProtocolsCount in interface VolumeOrBuilderpublic Protocols getProtocols(int index)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
getProtocols in interface VolumeOrBuilderindex - The index of the element to return.public Volume.Builder setProtocols(int index, Protocols value)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
index - The index to set the value at.value - The protocols to set.public Volume.Builder addProtocols(Protocols value)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
value - The protocols to add.public Volume.Builder addAllProtocols(Iterable<? extends Protocols> values)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
values - The protocols to add.public Volume.Builder clearProtocols()
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
public List<Integer> getProtocolsValueList()
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
getProtocolsValueList in interface VolumeOrBuilderpublic int getProtocolsValue(int index)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
getProtocolsValue in interface VolumeOrBuilderindex - The index of the value to return.public Volume.Builder setProtocolsValue(int index, int value)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
index - The index to set the value at.value - The enum numeric value on the wire for protocols to set.public Volume.Builder addProtocolsValue(int value)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for protocols to add.public Volume.Builder addAllProtocolsValue(Iterable<Integer> values)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
values - The enum numeric values on the wire for protocols to add.public List<SMBSettings> getSmbSettingsList()
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
getSmbSettingsList in interface VolumeOrBuilderpublic int getSmbSettingsCount()
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
getSmbSettingsCount in interface VolumeOrBuilderpublic SMBSettings getSmbSettings(int index)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
getSmbSettings in interface VolumeOrBuilderindex - The index of the element to return.public Volume.Builder setSmbSettings(int index, SMBSettings value)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The smbSettings to set.public Volume.Builder addSmbSettings(SMBSettings value)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
value - The smbSettings to add.public Volume.Builder addAllSmbSettings(Iterable<? extends SMBSettings> values)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
values - The smbSettings to add.public Volume.Builder clearSmbSettings()
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
public List<Integer> getSmbSettingsValueList()
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
getSmbSettingsValueList in interface VolumeOrBuilderpublic int getSmbSettingsValue(int index)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
getSmbSettingsValue in interface VolumeOrBuilderindex - The index of the value to return.public Volume.Builder setSmbSettingsValue(int index, int value)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The enum numeric value on the wire for smbSettings to set.public Volume.Builder addSmbSettingsValue(int value)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for smbSettings to add.public Volume.Builder addAllSmbSettingsValue(Iterable<Integer> values)
Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
values - The enum numeric values on the wire for smbSettings to add.public List<MountOption> getMountOptionsList()
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMountOptionsList in interface VolumeOrBuilderpublic int getMountOptionsCount()
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMountOptionsCount in interface VolumeOrBuilderpublic MountOption getMountOptions(int index)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMountOptions in interface VolumeOrBuilderpublic Volume.Builder setMountOptions(int index, MountOption value)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder setMountOptions(int index, MountOption.Builder builderForValue)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder addMountOptions(MountOption value)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder addMountOptions(int index, MountOption value)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder addMountOptions(MountOption.Builder builderForValue)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder addMountOptions(int index, MountOption.Builder builderForValue)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder addAllMountOptions(Iterable<? extends MountOption> values)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder clearMountOptions()
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Volume.Builder removeMountOptions(int index)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MountOption.Builder getMountOptionsBuilder(int index)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MountOptionOrBuilder getMountOptionsOrBuilder(int index)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMountOptionsOrBuilder in interface VolumeOrBuilderpublic List<? extends MountOptionOrBuilder> getMountOptionsOrBuilderList()
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMountOptionsOrBuilderList in interface VolumeOrBuilderpublic MountOption.Builder addMountOptionsBuilder()
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MountOption.Builder addMountOptionsBuilder(int index)
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<MountOption.Builder> getMountOptionsBuilderList()
Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getUnixPermissions()
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
string unix_permissions = 15 [(.google.api.field_behavior) = OPTIONAL];getUnixPermissions in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getUnixPermissionsBytes()
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
string unix_permissions = 15 [(.google.api.field_behavior) = OPTIONAL];getUnixPermissionsBytes in interface VolumeOrBuilderpublic Volume.Builder setUnixPermissions(String value)
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
string unix_permissions = 15 [(.google.api.field_behavior) = OPTIONAL];value - The unixPermissions to set.public Volume.Builder clearUnixPermissions()
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
string unix_permissions = 15 [(.google.api.field_behavior) = OPTIONAL];public Volume.Builder setUnixPermissionsBytes(com.google.protobuf.ByteString value)
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
string unix_permissions = 15 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for unixPermissions to set.public int getLabelsCount()
VolumeOrBuilderOptional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];getLabelsCount in interface VolumeOrBuilderpublic boolean containsLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];containsLabels in interface VolumeOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface VolumeOrBuilderpublic Map<String,String> getLabelsMap()
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];getLabelsMap in interface VolumeOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrDefault in interface VolumeOrBuilderpublic String getLabelsOrThrow(String key)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrThrow in interface VolumeOrBuilderpublic Volume.Builder clearLabels()
public Volume.Builder removeLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];@Deprecated public Map<String,String> getMutableLabels()
public Volume.Builder putLabels(String key, String value)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];public Volume.Builder putAllLabels(Map<String,String> values)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];public String getDescription()
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface VolumeOrBuilderpublic Volume.Builder setDescription(String value)
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public Volume.Builder clearDescription()
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];public Volume.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public boolean hasSnapshotPolicy()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
hasSnapshotPolicy in interface VolumeOrBuilderpublic SnapshotPolicy getSnapshotPolicy()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
getSnapshotPolicy in interface VolumeOrBuilderpublic Volume.Builder setSnapshotPolicy(SnapshotPolicy value)
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder setSnapshotPolicy(SnapshotPolicy.Builder builderForValue)
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder mergeSnapshotPolicy(SnapshotPolicy value)
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder clearSnapshotPolicy()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
public SnapshotPolicy.Builder getSnapshotPolicyBuilder()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
public SnapshotPolicyOrBuilder getSnapshotPolicyOrBuilder()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
getSnapshotPolicyOrBuilder in interface VolumeOrBuilderpublic double getSnapReserve()
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
double snap_reserve = 19 [(.google.api.field_behavior) = OPTIONAL];getSnapReserve in interface VolumeOrBuilderpublic Volume.Builder setSnapReserve(double value)
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
double snap_reserve = 19 [(.google.api.field_behavior) = OPTIONAL];value - The snapReserve to set.public Volume.Builder clearSnapReserve()
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
double snap_reserve = 19 [(.google.api.field_behavior) = OPTIONAL];public boolean getSnapshotDirectory()
Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots.
bool snapshot_directory = 20 [(.google.api.field_behavior) = OPTIONAL];getSnapshotDirectory in interface VolumeOrBuilderpublic Volume.Builder setSnapshotDirectory(boolean value)
Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots.
bool snapshot_directory = 20 [(.google.api.field_behavior) = OPTIONAL];value - The snapshotDirectory to set.public Volume.Builder clearSnapshotDirectory()
Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots.
bool snapshot_directory = 20 [(.google.api.field_behavior) = OPTIONAL];public long getUsedGib()
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
int64 used_gib = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];getUsedGib in interface VolumeOrBuilderpublic Volume.Builder setUsedGib(long value)
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
int64 used_gib = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The usedGib to set.public Volume.Builder clearUsedGib()
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
int64 used_gib = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getSecurityStyleValue()
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
getSecurityStyleValue in interface VolumeOrBuilderpublic Volume.Builder setSecurityStyleValue(int value)
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for securityStyle to set.public SecurityStyle getSecurityStyle()
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
getSecurityStyle in interface VolumeOrBuilderpublic Volume.Builder setSecurityStyle(SecurityStyle value)
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
value - The securityStyle to set.public Volume.Builder clearSecurityStyle()
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
public boolean getKerberosEnabled()
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
bool kerberos_enabled = 23 [(.google.api.field_behavior) = OPTIONAL];getKerberosEnabled in interface VolumeOrBuilderpublic Volume.Builder setKerberosEnabled(boolean value)
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
bool kerberos_enabled = 23 [(.google.api.field_behavior) = OPTIONAL];value - The kerberosEnabled to set.public Volume.Builder clearKerberosEnabled()
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
bool kerberos_enabled = 23 [(.google.api.field_behavior) = OPTIONAL];public boolean getLdapEnabled()
Output only. Flag indicating if the volume is NFS LDAP enabled or not.
bool ldap_enabled = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];getLdapEnabled in interface VolumeOrBuilderpublic Volume.Builder setLdapEnabled(boolean value)
Output only. Flag indicating if the volume is NFS LDAP enabled or not.
bool ldap_enabled = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The ldapEnabled to set.public Volume.Builder clearLdapEnabled()
Output only. Flag indicating if the volume is NFS LDAP enabled or not.
bool ldap_enabled = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getActiveDirectory()
Output only. Specifies the ActiveDirectory name of a SMB volume.
string active_directory = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getActiveDirectory in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getActiveDirectoryBytes()
Output only. Specifies the ActiveDirectory name of a SMB volume.
string active_directory = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getActiveDirectoryBytes in interface VolumeOrBuilderpublic Volume.Builder setActiveDirectory(String value)
Output only. Specifies the ActiveDirectory name of a SMB volume.
string active_directory = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The activeDirectory to set.public Volume.Builder clearActiveDirectory()
Output only. Specifies the ActiveDirectory name of a SMB volume.
string active_directory = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Volume.Builder setActiveDirectoryBytes(com.google.protobuf.ByteString value)
Output only. Specifies the ActiveDirectory name of a SMB volume.
string active_directory = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for activeDirectory to set.public boolean hasRestoreParameters()
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
hasRestoreParameters in interface VolumeOrBuilderpublic RestoreParameters getRestoreParameters()
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
getRestoreParameters in interface VolumeOrBuilderpublic Volume.Builder setRestoreParameters(RestoreParameters value)
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder setRestoreParameters(RestoreParameters.Builder builderForValue)
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder mergeRestoreParameters(RestoreParameters value)
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
public Volume.Builder clearRestoreParameters()
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
public RestoreParameters.Builder getRestoreParametersBuilder()
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
public RestoreParametersOrBuilder getRestoreParametersOrBuilder()
Optional. Specifies the source of the volume to be created from.
.google.cloud.netapp.v1.RestoreParameters restore_parameters = 26 [(.google.api.field_behavior) = OPTIONAL];
getRestoreParametersOrBuilder in interface VolumeOrBuilderpublic String getKmsConfig()
Output only. Specifies the KMS config to be used for volume encryption.
string kms_config = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsConfig in interface VolumeOrBuilderpublic com.google.protobuf.ByteString getKmsConfigBytes()
Output only. Specifies the KMS config to be used for volume encryption.
string kms_config = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsConfigBytes in interface VolumeOrBuilderpublic Volume.Builder setKmsConfig(String value)
Output only. Specifies the KMS config to be used for volume encryption.
string kms_config = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The kmsConfig to set.public Volume.Builder clearKmsConfig()
Output only. Specifies the KMS config to be used for volume encryption.
string kms_config = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Volume.Builder setKmsConfigBytes(com.google.protobuf.ByteString value)
Output only. Specifies the KMS config to be used for volume encryption.
string kms_config = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for kmsConfig to set.public int getEncryptionTypeValue()
Output only. Specified the current volume encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionTypeValue in interface VolumeOrBuilderpublic Volume.Builder setEncryptionTypeValue(int value)
Output only. Specified the current volume encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for encryptionType to set.public EncryptionType getEncryptionType()
Output only. Specified the current volume encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionType in interface VolumeOrBuilderpublic Volume.Builder setEncryptionType(EncryptionType value)
Output only. Specified the current volume encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The encryptionType to set.public Volume.Builder clearEncryptionType()
Output only. Specified the current volume encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean getHasReplication()
Output only. Indicates whether the volume is part of a replication relationship.
bool has_replication = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];getHasReplication in interface VolumeOrBuilderpublic Volume.Builder setHasReplication(boolean value)
Output only. Indicates whether the volume is part of a replication relationship.
bool has_replication = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The hasReplication to set.public Volume.Builder clearHasReplication()
Output only. Indicates whether the volume is part of a replication relationship.
bool has_replication = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasBackupConfig()
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;hasBackupConfig in interface VolumeOrBuilderpublic BackupConfig getBackupConfig()
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;getBackupConfig in interface VolumeOrBuilderpublic Volume.Builder setBackupConfig(BackupConfig value)
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;public Volume.Builder setBackupConfig(BackupConfig.Builder builderForValue)
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;public Volume.Builder mergeBackupConfig(BackupConfig value)
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;public Volume.Builder clearBackupConfig()
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;public BackupConfig.Builder getBackupConfigBuilder()
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;public BackupConfigOrBuilder getBackupConfigOrBuilder()
BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;getBackupConfigOrBuilder in interface VolumeOrBuilderpublic List<RestrictedAction> getRestrictedActionsList()
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedActionsList in interface VolumeOrBuilderpublic int getRestrictedActionsCount()
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedActionsCount in interface VolumeOrBuilderpublic RestrictedAction getRestrictedActions(int index)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedActions in interface VolumeOrBuilderindex - The index of the element to return.public Volume.Builder setRestrictedActions(int index, RestrictedAction value)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The restrictedActions to set.public Volume.Builder addRestrictedActions(RestrictedAction value)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
value - The restrictedActions to add.public Volume.Builder addAllRestrictedActions(Iterable<? extends RestrictedAction> values)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
values - The restrictedActions to add.public Volume.Builder clearRestrictedActions()
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
public List<Integer> getRestrictedActionsValueList()
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedActionsValueList in interface VolumeOrBuilderpublic int getRestrictedActionsValue(int index)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedActionsValue in interface VolumeOrBuilderindex - The index of the value to return.public Volume.Builder setRestrictedActionsValue(int index, int value)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The enum numeric value on the wire for restrictedActions to set.public Volume.Builder addRestrictedActionsValue(int value)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for restrictedActions to add.public Volume.Builder addAllRestrictedActionsValue(Iterable<Integer> values)
Optional. List of actions that are restricted on this volume.
repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
values - The enum numeric values on the wire for restrictedActions to add.public final Volume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>public final Volume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>Copyright © 2024 Google LLC. All rights reserved.