- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Volume.Builder extends GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilderVolume provides a filesystem that you can mount.
Protobuf type google.cloud.netapp.v1.Volume
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Volume.BuilderImplements
VolumeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMountOptions(Iterable<? extends MountOption> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.MountOption> |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addAllProtocols(Iterable<? extends Protocols> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.Protocols>The protocols to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addAllProtocolsValue(Iterable<Integer> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for protocols to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addAllRestrictedActions(Iterable<? extends RestrictedAction> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.RestrictedAction>The restrictedActions to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addAllRestrictedActionsValue(Iterable<Integer> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for restrictedActions to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addAllSmbSettings(Iterable<? extends SMBSettings> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.SMBSettings>The smbSettings to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addAllSmbSettingsValue(Iterable<Integer> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for smbSettings to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addMountOptions(MountOption value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
MountOption |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addMountOptions(MountOption.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MountOption.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addMountOptions(int index, MountOption value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MountOption |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addMountOptions(int index, MountOption.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MountOption.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addMountOptionsBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
MountOption.Builder |
|
addMountOptionsBuilder(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MountOption.Builder |
|
addProtocols(Protocols value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ProtocolsThe protocols to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addProtocolsValue(int value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for protocols to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
addRestrictedActions(RestrictedAction value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
RestrictedActionThe restrictedActions to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addRestrictedActionsValue(int value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for restrictedActions to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addSmbSettings(SMBSettings value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
SMBSettingsThe smbSettings to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
addSmbSettingsValue(int value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for smbSettings to add. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
build()
public Volume build()| Returns | |
|---|---|
| Type | Description |
Volume |
|
buildPartial()
public Volume buildPartial()| Returns | |
|---|---|
| Type | Description |
Volume |
|
clear()
public Volume.Builder clear()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearActiveDirectory()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearBackupConfig()
public Volume.Builder clearBackupConfig()BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearCapacityGib()
public Volume.Builder clearCapacityGib()Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearCreateTime()
public Volume.Builder clearCreateTime()Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearDescription()
public Volume.Builder clearDescription()Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearEncryptionType()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearExportPolicy()
public Volume.Builder clearExportPolicy()Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Volume.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearHasReplication()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearKerberosEnabled()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearKmsConfig()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearLabels()
public Volume.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearLdapEnabled()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearMountOptions()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearName()
public Volume.Builder clearName()Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearNetwork()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Volume.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearProtocols()
public Volume.Builder clearProtocols()Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearPsaRange()
public Volume.Builder clearPsaRange()Output only. This field is not implemented. The values provided in this field are ignored.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearRestoreParameters()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearRestrictedActions()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearSecurityStyle()
public Volume.Builder clearSecurityStyle()Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearServiceLevel()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearShareName()
public Volume.Builder clearShareName()Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearSmbSettings()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearSnapReserve()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearSnapshotDirectory()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearSnapshotPolicy()
public Volume.Builder clearSnapshotPolicy()Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearState()
public Volume.Builder clearState()Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearStateDetails()
public Volume.Builder clearStateDetails()Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearStoragePool()
public Volume.Builder clearStoragePool()Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearUnixPermissions()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearUsedGib()
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];
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clone()
public Volume.Builder clone()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getActiveDirectory()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The activeDirectory. |
getActiveDirectoryBytes()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for activeDirectory. |
getBackupConfig()
public BackupConfig getBackupConfig()BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Returns | |
|---|---|
| Type | Description |
BackupConfig |
The backupConfig. |
getBackupConfigBuilder()
public BackupConfig.Builder getBackupConfigBuilder()BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Returns | |
|---|---|
| Type | Description |
BackupConfig.Builder |
|
getBackupConfigOrBuilder()
public BackupConfigOrBuilder getBackupConfigOrBuilder()BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Returns | |
|---|---|
| Type | Description |
BackupConfigOrBuilder |
|
getCapacityGib()
public long getCapacityGib()Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The capacityGib. |
getCreateTime()
public Timestamp getCreateTime()Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Volume |
|
getDescription()
public String getDescription()Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryptionType()
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];
| Returns | |
|---|---|
| Type | Description |
EncryptionType |
The encryptionType. |
getEncryptionTypeValue()
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for encryptionType. |
getExportPolicy()
public ExportPolicy getExportPolicy()Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportPolicy |
The exportPolicy. |
getExportPolicyBuilder()
public ExportPolicy.Builder getExportPolicyBuilder()Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportPolicy.Builder |
|
getExportPolicyOrBuilder()
public ExportPolicyOrBuilder getExportPolicyOrBuilder()Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportPolicyOrBuilder |
|
getHasReplication()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
The hasReplication. |
getKerberosEnabled()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
The kerberosEnabled. |
getKmsConfig()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The kmsConfig. |
getKmsConfigBytes()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsConfig. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLdapEnabled()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
The ldapEnabled. |
getMountOptions(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MountOption |
|
getMountOptionsBuilder(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MountOption.Builder |
|
getMountOptionsBuilderList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getMountOptionsCount()
public int getMountOptionsCount()Output only. Mount options of this volume
repeated .google.cloud.netapp.v1.MountOption mount_options = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMountOptionsList()
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];
| Returns | |
|---|---|
| Type | Description |
List<MountOption> |
|
getMountOptionsOrBuilder(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MountOptionOrBuilder |
|
getMountOptionsOrBuilderList()
public 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];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.netapp.v1.MountOptionOrBuilder> |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetwork()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for network. |
getProtocols(int index)
public Protocols getProtocols(int index)Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
Protocols |
The protocols at the given index. |
getProtocolsCount()
public int getProtocolsCount()Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of protocols. |
getProtocolsList()
public List<Protocols> getProtocolsList()Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Protocols> |
A list containing the protocols. |
getProtocolsValue(int index)
public int getProtocolsValue(int index)Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of protocols at the given index. |
getProtocolsValueList()
public List<Integer> getProtocolsValueList()Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for protocols. |
getPsaRange()
public String getPsaRange()Output only. This field is not implemented. The values provided in this field are ignored.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The psaRange. |
getPsaRangeBytes()
public ByteString getPsaRangeBytes()Output only. This field is not implemented. The values provided in this field are ignored.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for psaRange. |
getRestoreParameters()
public 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];
| Returns | |
|---|---|
| Type | Description |
RestoreParameters |
The restoreParameters. |
getRestoreParametersBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
RestoreParameters.Builder |
|
getRestoreParametersOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
RestoreParametersOrBuilder |
|
getRestrictedActions(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
RestrictedAction |
The restrictedActions at the given index. |
getRestrictedActionsCount()
public 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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of restrictedActions. |
getRestrictedActionsList()
public 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];
| Returns | |
|---|---|
| Type | Description |
List<RestrictedAction> |
A list containing the restrictedActions. |
getRestrictedActionsValue(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of restrictedActions at the given index. |
getRestrictedActionsValueList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for restrictedActions. |
getSecurityStyle()
public SecurityStyle getSecurityStyle()Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SecurityStyle |
The securityStyle. |
getSecurityStyleValue()
public int getSecurityStyleValue()Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for securityStyle. |
getServiceLevel()
public ServiceLevel getServiceLevel()Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServiceLevel |
The serviceLevel. |
getServiceLevelValue()
public int getServiceLevelValue()Output only. Service level of the volume
.google.cloud.netapp.v1.ServiceLevel service_level = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for serviceLevel. |
getShareName()
public String getShareName()Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The shareName. |
getShareNameBytes()
public ByteString getShareNameBytes()Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for shareName. |
getSmbSettings(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
SMBSettings |
The smbSettings at the given index. |
getSmbSettingsCount()
public int getSmbSettingsCount()Optional. SMB share settings for the volume.
repeated .google.cloud.netapp.v1.SMBSettings smb_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of smbSettings. |
getSmbSettingsList()
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];
| Returns | |
|---|---|
| Type | Description |
List<SMBSettings> |
A list containing the smbSettings. |
getSmbSettingsValue(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of smbSettings at the given index. |
getSmbSettingsValueList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for smbSettings. |
getSnapReserve()
public 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];
| Returns | |
|---|---|
| Type | Description |
double |
The snapReserve. |
getSnapshotDirectory()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
The snapshotDirectory. |
getSnapshotPolicy()
public SnapshotPolicy getSnapshotPolicy()Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SnapshotPolicy |
The snapshotPolicy. |
getSnapshotPolicyBuilder()
public SnapshotPolicy.Builder getSnapshotPolicyBuilder()Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SnapshotPolicy.Builder |
|
getSnapshotPolicyOrBuilder()
public SnapshotPolicyOrBuilder getSnapshotPolicyOrBuilder()Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SnapshotPolicyOrBuilder |
|
getState()
public Volume.State getState()Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Volume.State |
The state. |
getStateDetails()
public String getStateDetails()Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The stateDetails. |
getStateDetailsBytes()
public ByteString getStateDetailsBytes()Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stateDetails. |
getStateValue()
public int getStateValue()Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getStoragePool()
public String getStoragePool()Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The storagePool. |
getStoragePoolBytes()
public ByteString getStoragePoolBytes()Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for storagePool. |
getUnixPermissions()
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];
| Returns | |
|---|---|
| Type | Description |
String |
The unixPermissions. |
getUnixPermissionsBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unixPermissions. |
getUsedGib()
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];
| Returns | |
|---|---|
| Type | Description |
long |
The usedGib. |
hasBackupConfig()
public boolean hasBackupConfig()BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupConfig field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasExportPolicy()
public boolean hasExportPolicy()Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the exportPolicy field is set. |
hasRestoreParameters()
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the restoreParameters field is set. |
hasSnapshotPolicy()
public boolean hasSnapshotPolicy()Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the snapshotPolicy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupConfig(BackupConfig value)
public Volume.Builder mergeBackupConfig(BackupConfig value)BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupConfig |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeCreateTime(Timestamp value)
public Volume.Builder mergeCreateTime(Timestamp value)Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeExportPolicy(ExportPolicy value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportPolicy |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeFrom(Volume other)
public Volume.Builder mergeFrom(Volume other)| Parameter | |
|---|---|
| Name | Description |
other |
Volume |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Volume.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Volume.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeRestoreParameters(RestoreParameters value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreParameters |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeSnapshotPolicy(SnapshotPolicy value)
public Volume.Builder mergeSnapshotPolicy(SnapshotPolicy value)Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SnapshotPolicy |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
putAllLabels(Map<String,String> values)
public Volume.Builder putAllLabels(Map<String,String> values)Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
putLabels(String key, String value)
public Volume.Builder putLabels(String key, String value)Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
removeLabels(String key)
public Volume.Builder removeLabels(String key)Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
removeMountOptions(int index)
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setActiveDirectory(String value)
public 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe activeDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setActiveDirectoryBytes(ByteString value)
public Volume.Builder setActiveDirectoryBytes(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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for activeDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setBackupConfig(BackupConfig value)
public Volume.Builder setBackupConfig(BackupConfig value)BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupConfig |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setBackupConfig(BackupConfig.Builder builderForValue)
public Volume.Builder setBackupConfig(BackupConfig.Builder builderForValue)BackupConfig of the volume.
optional .google.cloud.netapp.v1.BackupConfig backup_config = 30;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setCapacityGib(long value)
public Volume.Builder setCapacityGib(long value)Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe capacityGib to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public Volume.Builder setCreateTime(Timestamp value)Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Volume.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setDescription(String value)
public Volume.Builder setDescription(String value)Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Volume.Builder setDescriptionBytes(ByteString value)Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setEncryptionType(EncryptionType value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionTypeThe encryptionType to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setEncryptionTypeValue(int value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for encryptionType to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setExportPolicy(ExportPolicy value)
public Volume.Builder setExportPolicy(ExportPolicy value)Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportPolicy |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setExportPolicy(ExportPolicy.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExportPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setHasReplication(boolean value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe hasReplication to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setKerberosEnabled(boolean value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe kerberosEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setKmsConfig(String value)
public 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kmsConfig to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setKmsConfigBytes(ByteString value)
public Volume.Builder setKmsConfigBytes(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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kmsConfig to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setLdapEnabled(boolean value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe ldapEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setMountOptions(int index, MountOption value)
public 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MountOption |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setMountOptions(int index, MountOption.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MountOption.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setName(String value)
public Volume.Builder setName(String value)Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Volume.Builder setNameBytes(ByteString value)Identifier. Name of the volume
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setNetwork(String value)
public 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public Volume.Builder setNetworkBytes(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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setProtocols(int index, Protocols value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
ProtocolsThe protocols to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setProtocolsValue(int index, int value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for protocols to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setPsaRange(String value)
public Volume.Builder setPsaRange(String value)Output only. This field is not implemented. The values provided in this field are ignored.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe psaRange to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setPsaRangeBytes(ByteString value)
public Volume.Builder setPsaRangeBytes(ByteString value)Output only. This field is not implemented. The values provided in this field are ignored.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for psaRange to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Volume.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setRestoreParameters(RestoreParameters value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreParameters |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setRestoreParameters(RestoreParameters.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RestoreParameters.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setRestrictedActions(int index, RestrictedAction value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
RestrictedActionThe restrictedActions to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setRestrictedActionsValue(int index, int value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for restrictedActions to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSecurityStyle(SecurityStyle value)
public Volume.Builder setSecurityStyle(SecurityStyle value)Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SecurityStyleThe securityStyle to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSecurityStyleValue(int value)
public Volume.Builder setSecurityStyleValue(int value)Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for securityStyle to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setServiceLevel(ServiceLevel value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceLevelThe serviceLevel to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setServiceLevelValue(int value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for serviceLevel to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setShareName(String value)
public Volume.Builder setShareName(String value)Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe shareName to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setShareNameBytes(ByteString value)
public Volume.Builder setShareNameBytes(ByteString value)Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for shareName to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSmbSettings(int index, SMBSettings value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
SMBSettingsThe smbSettings to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSmbSettingsValue(int index, int value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for smbSettings to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSnapReserve(double value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe snapReserve to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSnapshotDirectory(boolean value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe snapshotDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSnapshotPolicy(SnapshotPolicy value)
public Volume.Builder setSnapshotPolicy(SnapshotPolicy value)Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SnapshotPolicy |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setSnapshotPolicy(SnapshotPolicy.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SnapshotPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setState(Volume.State value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Volume.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setStateDetails(String value)
public Volume.Builder setStateDetails(String value)Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stateDetails to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setStateDetailsBytes(ByteString value)
public Volume.Builder setStateDetailsBytes(ByteString value)Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stateDetails to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setStateValue(int value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setStoragePool(String value)
public Volume.Builder setStoragePool(String value)Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe storagePool to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setStoragePoolBytes(ByteString value)
public Volume.Builder setStoragePoolBytes(ByteString value)Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for storagePool to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setUnixPermissions(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unixPermissions to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setUnixPermissionsBytes(ByteString value)
public Volume.Builder setUnixPermissionsBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unixPermissions to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setUsedGib(long value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe usedGib to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |