Package com.google.cloud.netapp.v1
Class Volume
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.netapp.v1.Volume
-
- All Implemented Interfaces:
VolumeOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Volume extends com.google.protobuf.GeneratedMessageV3 implements VolumeOrBuilder
Volume provides a filesystem that you can mount.
Protobuf typegoogle.cloud.netapp.v1.Volume
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Volume.Builder
Volume provides a filesystem that you can mount.static class
Volume.State
The volume states-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
String
getActiveDirectory()
Output only.com.google.protobuf.ByteString
getActiveDirectoryBytes()
Output only.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()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.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
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(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 Volume
parseFrom(ByteBuffer data)
static Volume
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Volume>
parser()
Volume.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_DETAILS_FIELD_NUMBER
public static final int STATE_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHARE_NAME_FIELD_NUMBER
public static final int SHARE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PSA_RANGE_FIELD_NUMBER
public static final int PSA_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STORAGE_POOL_FIELD_NUMBER
public static final int STORAGE_POOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_LEVEL_FIELD_NUMBER
public static final int SERVICE_LEVEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAPACITY_GIB_FIELD_NUMBER
public static final int CAPACITY_GIB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPORT_POLICY_FIELD_NUMBER
public static final int EXPORT_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOLS_FIELD_NUMBER
public static final int PROTOCOLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SMB_SETTINGS_FIELD_NUMBER
public static final int SMB_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOUNT_OPTIONS_FIELD_NUMBER
public static final int MOUNT_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIX_PERMISSIONS_FIELD_NUMBER
public static final int UNIX_PERMISSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNAPSHOT_POLICY_FIELD_NUMBER
public static final int SNAPSHOT_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNAP_RESERVE_FIELD_NUMBER
public static final int SNAP_RESERVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNAPSHOT_DIRECTORY_FIELD_NUMBER
public static final int SNAPSHOT_DIRECTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USED_GIB_FIELD_NUMBER
public static final int USED_GIB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_STYLE_FIELD_NUMBER
public static final int SECURITY_STYLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KERBEROS_ENABLED_FIELD_NUMBER
public static final int KERBEROS_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LDAP_ENABLED_FIELD_NUMBER
public static final int LDAP_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVE_DIRECTORY_FIELD_NUMBER
public static final int ACTIVE_DIRECTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTORE_PARAMETERS_FIELD_NUMBER
public static final int RESTORE_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KMS_CONFIG_FIELD_NUMBER
public static final int KMS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_TYPE_FIELD_NUMBER
public static final int ENCRYPTION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HAS_REPLICATION_FIELD_NUMBER
public static final int HAS_REPLICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTRICTED_ACTIONS_FIELD_NUMBER
public static final int RESTRICTED_ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Name of the volume
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceVolumeOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Name of the volume
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for name.
-
getStateValue
public int getStateValue()
Output only. State of the volume
.google.cloud.netapp.v1.Volume.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceVolumeOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
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];
- Specified by:
getState
in interfaceVolumeOrBuilder
- Returns:
- The state.
-
getStateDetails
public String getStateDetails()
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetails
in interfaceVolumeOrBuilder
- Returns:
- The stateDetails.
-
getStateDetailsBytes
public com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the volume
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetailsBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for stateDetails.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceVolumeOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceVolumeOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the volume
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceVolumeOrBuilder
-
getShareName
public String getShareName()
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getShareName
in interfaceVolumeOrBuilder
- Returns:
- The shareName.
-
getShareNameBytes
public com.google.protobuf.ByteString getShareNameBytes()
Required. Share name of the volume
string share_name = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getShareNameBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for shareName.
-
getPsaRange
public String getPsaRange()
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPsaRange
in interfaceVolumeOrBuilder
- Returns:
- The psaRange.
-
getPsaRangeBytes
public 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];
- Specified by:
getPsaRangeBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for psaRange.
-
getStoragePool
public String getStoragePool()
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getStoragePool
in interfaceVolumeOrBuilder
- Returns:
- The storagePool.
-
getStoragePoolBytes
public com.google.protobuf.ByteString getStoragePoolBytes()
Required. StoragePool name of the volume
string storage_pool = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getStoragePoolBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for storagePool.
-
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) = { ... }
- Specified by:
getNetwork
in interfaceVolumeOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public 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) = { ... }
- Specified by:
getNetworkBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for network.
-
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];
- Specified by:
getServiceLevelValue
in interfaceVolumeOrBuilder
- Returns:
- The enum numeric value on the wire for serviceLevel.
-
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];
- Specified by:
getServiceLevel
in interfaceVolumeOrBuilder
- Returns:
- The serviceLevel.
-
getCapacityGib
public long getCapacityGib()
Required. Capacity in GIB of the volume
int64 capacity_gib = 10 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCapacityGib
in interfaceVolumeOrBuilder
- Returns:
- The capacityGib.
-
hasExportPolicy
public boolean hasExportPolicy()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasExportPolicy
in interfaceVolumeOrBuilder
- Returns:
- Whether the exportPolicy field is set.
-
getExportPolicy
public ExportPolicy getExportPolicy()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getExportPolicy
in interfaceVolumeOrBuilder
- Returns:
- The exportPolicy.
-
getExportPolicyOrBuilder
public ExportPolicyOrBuilder getExportPolicyOrBuilder()
Optional. Export policy of the volume
.google.cloud.netapp.v1.ExportPolicy export_policy = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getExportPolicyOrBuilder
in interfaceVolumeOrBuilder
-
getProtocolsList
public List<Protocols> getProtocolsList()
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getProtocolsList
in interfaceVolumeOrBuilder
- Returns:
- A list containing the protocols.
-
getProtocolsCount
public int getProtocolsCount()
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getProtocolsCount
in interfaceVolumeOrBuilder
- Returns:
- The count of protocols.
-
getProtocols
public Protocols getProtocols(int index)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getProtocols
in interfaceVolumeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The 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];
- Specified by:
getProtocolsValueList
in interfaceVolumeOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for protocols.
-
getProtocolsValue
public int getProtocolsValue(int index)
Required. Protocols required for the volume
repeated .google.cloud.netapp.v1.Protocols protocols = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getProtocolsValue
in interfaceVolumeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of protocols at the given index.
-
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];
- Specified by:
getSmbSettingsList
in interfaceVolumeOrBuilder
- Returns:
- A list containing the smbSettings.
-
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];
- Specified by:
getSmbSettingsCount
in interfaceVolumeOrBuilder
- Returns:
- The count of smbSettings.
-
getSmbSettings
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];
- Specified by:
getSmbSettings
in interfaceVolumeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The 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];
- Specified by:
getSmbSettingsValueList
in interfaceVolumeOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for smbSettings.
-
getSmbSettingsValue
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];
- Specified by:
getSmbSettingsValue
in interfaceVolumeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of smbSettings at the given index.
-
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];
- Specified by:
getMountOptionsList
in interfaceVolumeOrBuilder
-
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];
- Specified by:
getMountOptionsOrBuilderList
in interfaceVolumeOrBuilder
-
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];
- Specified by:
getMountOptionsCount
in interfaceVolumeOrBuilder
-
getMountOptions
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];
- Specified by:
getMountOptions
in interfaceVolumeOrBuilder
-
getMountOptionsOrBuilder
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];
- Specified by:
getMountOptionsOrBuilder
in interfaceVolumeOrBuilder
-
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];
- Specified by:
getUnixPermissions
in interfaceVolumeOrBuilder
- Returns:
- The unixPermissions.
-
getUnixPermissionsBytes
public 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];
- Specified by:
getUnixPermissionsBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for unixPermissions.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:VolumeOrBuilder
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceVolumeOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceVolumeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceVolumeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceVolumeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceVolumeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Labels as key value pairs
map<string, string> labels = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceVolumeOrBuilder
-
getDescription
public String getDescription()
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceVolumeOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the volume
string description = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for description.
-
hasSnapshotPolicy
public boolean hasSnapshotPolicy()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSnapshotPolicy
in interfaceVolumeOrBuilder
- Returns:
- Whether the snapshotPolicy field is set.
-
getSnapshotPolicy
public SnapshotPolicy getSnapshotPolicy()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSnapshotPolicy
in interfaceVolumeOrBuilder
- Returns:
- The snapshotPolicy.
-
getSnapshotPolicyOrBuilder
public SnapshotPolicyOrBuilder getSnapshotPolicyOrBuilder()
Optional. SnapshotPolicy for a volume.
.google.cloud.netapp.v1.SnapshotPolicy snapshot_policy = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSnapshotPolicyOrBuilder
in interfaceVolumeOrBuilder
-
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];
- Specified by:
getSnapReserve
in interfaceVolumeOrBuilder
- Returns:
- 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];
- Specified by:
getSnapshotDirectory
in interfaceVolumeOrBuilder
- Returns:
- The snapshotDirectory.
-
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];
- Specified by:
getUsedGib
in interfaceVolumeOrBuilder
- Returns:
- The usedGib.
-
getSecurityStyleValue
public int getSecurityStyleValue()
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSecurityStyleValue
in interfaceVolumeOrBuilder
- Returns:
- The enum numeric value on the wire for securityStyle.
-
getSecurityStyle
public SecurityStyle getSecurityStyle()
Optional. Security Style of the Volume
.google.cloud.netapp.v1.SecurityStyle security_style = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSecurityStyle
in interfaceVolumeOrBuilder
- Returns:
- The securityStyle.
-
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];
- Specified by:
getKerberosEnabled
in interfaceVolumeOrBuilder
- Returns:
- The kerberosEnabled.
-
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];
- Specified by:
getLdapEnabled
in interfaceVolumeOrBuilder
- Returns:
- The ldapEnabled.
-
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) = { ... }
- Specified by:
getActiveDirectory
in interfaceVolumeOrBuilder
- Returns:
- The activeDirectory.
-
getActiveDirectoryBytes
public 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) = { ... }
- Specified by:
getActiveDirectoryBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for activeDirectory.
-
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];
- Specified by:
hasRestoreParameters
in interfaceVolumeOrBuilder
- Returns:
- Whether the restoreParameters field is set.
-
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];
- Specified by:
getRestoreParameters
in interfaceVolumeOrBuilder
- Returns:
- The restoreParameters.
-
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];
- Specified by:
getRestoreParametersOrBuilder
in interfaceVolumeOrBuilder
-
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) = { ... }
- Specified by:
getKmsConfig
in interfaceVolumeOrBuilder
- Returns:
- The kmsConfig.
-
getKmsConfigBytes
public 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) = { ... }
- Specified by:
getKmsConfigBytes
in interfaceVolumeOrBuilder
- Returns:
- The bytes for kmsConfig.
-
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];
- Specified by:
getEncryptionTypeValue
in interfaceVolumeOrBuilder
- Returns:
- The enum numeric value on the wire for encryptionType.
-
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];
- Specified by:
getEncryptionType
in interfaceVolumeOrBuilder
- Returns:
- The encryptionType.
-
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];
- Specified by:
getHasReplication
in interfaceVolumeOrBuilder
- Returns:
- The hasReplication.
-
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];
- Specified by:
getRestrictedActionsList
in interfaceVolumeOrBuilder
- Returns:
- A list containing the restrictedActions.
-
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];
- Specified by:
getRestrictedActionsCount
in interfaceVolumeOrBuilder
- Returns:
- The count of restrictedActions.
-
getRestrictedActions
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];
- Specified by:
getRestrictedActions
in interfaceVolumeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The 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];
- Specified by:
getRestrictedActionsValueList
in interfaceVolumeOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for restrictedActions.
-
getRestrictedActionsValue
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];
- Specified by:
getRestrictedActionsValue
in interfaceVolumeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of restrictedActions at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Volume parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Volume parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Volume parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Volume parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Volume parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Volume parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Volume parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Volume parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Volume parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Volume parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Volume parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Volume parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Volume.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Volume.Builder newBuilder()
-
newBuilder
public static Volume.Builder newBuilder(Volume prototype)
-
toBuilder
public Volume.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Volume.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Volume getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Volume> parser()
-
getParserForType
public com.google.protobuf.Parser<Volume> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Volume getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-