public final class Volume extends com.google.protobuf.GeneratedMessageV3 implements VolumeOrBuilder
Volume provides a filesystem that you can mount.Protobuf type
google.cloud.netapp.v1.Volume| Modifier and Type | Class and Description |
|---|---|
static class |
Volume.Builder
Volume provides a filesystem that you can mount.
|
static class |
Volume.State
The volume states
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
String |
getActiveDirectory()
Output only.
|
com.google.protobuf.ByteString |
getActiveDirectoryBytes()
Output only.
|
BackupConfig |
getBackupConfig()
BackupConfig of the volume.
|
BackupConfigOrBuilder |
getBackupConfigOrBuilder()
BackupConfig of the volume.
|
long |
getCapacityGib()
Required.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Volume |
getDefaultInstance() |
Volume |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EncryptionType |
getEncryptionType()
Output only.
|
int |
getEncryptionTypeValue()
Output only.
|
ExportPolicy |
getExportPolicy()
Optional.
|
ExportPolicyOrBuilder |
getExportPolicyOrBuilder()
Optional.
|
boolean |
getHasReplication()
Output only.
|
boolean |
getKerberosEnabled()
Optional.
|
String |
getKmsConfig()
Output only.
|
com.google.protobuf.ByteString |
getKmsConfigBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
boolean |
getLdapEnabled()
Output only.
|
MountOption |
getMountOptions(int index)
Output only.
|
int |
getMountOptionsCount()
Output only.
|
List<MountOption> |
getMountOptionsList()
Output only.
|
MountOptionOrBuilder |
getMountOptionsOrBuilder(int index)
Output only.
|
List<? extends MountOptionOrBuilder> |
getMountOptionsOrBuilderList()
Output only.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
String |
getNetwork()
Output only.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Output only.
|
com.google.protobuf.Parser<Volume> |
getParserForType() |
Protocols |
getProtocols(int index)
Required.
|
int |
getProtocolsCount()
Required.
|
List<Protocols> |
getProtocolsList()
Required.
|
int |
getProtocolsValue(int index)
Required.
|
List<Integer> |
getProtocolsValueList()
Required.
|
String |
getPsaRange()
Output only.
|
com.google.protobuf.ByteString |
getPsaRangeBytes()
Output only.
|
RestoreParameters |
getRestoreParameters()
Optional.
|
RestoreParametersOrBuilder |
getRestoreParametersOrBuilder()
Optional.
|
RestrictedAction |
getRestrictedActions(int index)
Optional.
|
int |
getRestrictedActionsCount()
Optional.
|
List<RestrictedAction> |
getRestrictedActionsList()
Optional.
|
int |
getRestrictedActionsValue(int index)
Optional.
|
List<Integer> |
getRestrictedActionsValueList()
Optional.
|
SecurityStyle |
getSecurityStyle()
Optional.
|
int |
getSecurityStyleValue()
Optional.
|
int |
getSerializedSize() |
ServiceLevel |
getServiceLevel()
Output only.
|
int |
getServiceLevelValue()
Output only.
|
String |
getShareName()
Required.
|
com.google.protobuf.ByteString |
getShareNameBytes()
Required.
|
SMBSettings |
getSmbSettings(int index)
Optional.
|
int |
getSmbSettingsCount()
Optional.
|
List<SMBSettings> |
getSmbSettingsList()
Optional.
|
int |
getSmbSettingsValue(int index)
Optional.
|
List<Integer> |
getSmbSettingsValueList()
Optional.
|
double |
getSnapReserve()
Optional.
|
boolean |
getSnapshotDirectory()
Optional.
|
SnapshotPolicy |
getSnapshotPolicy()
Optional.
|
SnapshotPolicyOrBuilder |
getSnapshotPolicyOrBuilder()
Optional.
|
Volume.State |
getState()
Output only.
|
String |
getStateDetails()
Output only.
|
com.google.protobuf.ByteString |
getStateDetailsBytes()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getStoragePool()
Required.
|
com.google.protobuf.ByteString |
getStoragePoolBytes()
Required.
|
String |
getUnixPermissions()
Optional.
|
com.google.protobuf.ByteString |
getUnixPermissionsBytes()
Optional.
|
long |
getUsedGib()
Output only.
|
boolean |
hasBackupConfig()
BackupConfig of the volume.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasExportPolicy()
Optional.
|
int |
hashCode() |
boolean |
hasRestoreParameters()
Optional.
|
boolean |
hasSnapshotPolicy()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Volume.Builder |
newBuilder() |
static Volume.Builder |
newBuilder(Volume prototype) |
Volume.Builder |
newBuilderForType() |
protected Volume.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Volume |
parseDelimitedFrom(InputStream input) |
static Volume |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Volume |
parseFrom(byte[] data) |
static Volume |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Volume |
parseFrom(ByteBuffer data) |
static Volume |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Volume |
parseFrom(com.google.protobuf.ByteString data) |
static Volume |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Volume |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Volume |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Volume |
parseFrom(InputStream input) |
static Volume |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Volume> |
parser() |
Volume.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATE_DETAILS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int SHARE_NAME_FIELD_NUMBER
public static final int PSA_RANGE_FIELD_NUMBER
public static final int STORAGE_POOL_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int SERVICE_LEVEL_FIELD_NUMBER
public static final int CAPACITY_GIB_FIELD_NUMBER
public static final int EXPORT_POLICY_FIELD_NUMBER
public static final int PROTOCOLS_FIELD_NUMBER
public static final int SMB_SETTINGS_FIELD_NUMBER
public static final int MOUNT_OPTIONS_FIELD_NUMBER
public static final int UNIX_PERMISSIONS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int SNAPSHOT_POLICY_FIELD_NUMBER
public static final int SNAP_RESERVE_FIELD_NUMBER
public static final int SNAPSHOT_DIRECTORY_FIELD_NUMBER
public static final int USED_GIB_FIELD_NUMBER
public static final int SECURITY_STYLE_FIELD_NUMBER
public static final int KERBEROS_ENABLED_FIELD_NUMBER
public static final int LDAP_ENABLED_FIELD_NUMBER
public static final int ACTIVE_DIRECTORY_FIELD_NUMBER
public static final int RESTORE_PARAMETERS_FIELD_NUMBER
public static final int KMS_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_TYPE_FIELD_NUMBER
public static final int HAS_REPLICATION_FIELD_NUMBER
public static final int BACKUP_CONFIG_FIELD_NUMBER
public static final int RESTRICTED_ACTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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.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 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 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 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 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 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 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 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 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 long getCapacityGib()
Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];getCapacityGib in interface VolumeOrBuilderpublic 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Volume parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Volume parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Volume parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Volume parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Volume parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Volume parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Volume parseFrom(InputStream input) throws IOException
IOExceptionpublic static Volume parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Volume parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Volume parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Volume parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Volume parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Volume.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Volume.Builder newBuilder()
public static Volume.Builder newBuilder(Volume prototype)
public Volume.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Volume.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Volume getDefaultInstance()
public static com.google.protobuf.Parser<Volume> parser()
public com.google.protobuf.Parser<Volume> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Volume getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.