Package com.google.cloud.netapp.v1
Interface StoragePoolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoragePool
,StoragePool.Builder
public interface StoragePoolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels as key value pairsString
getActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.com.google.protobuf.ByteString
getActiveDirectoryBytes()
Specifies the Active Directory to be used for creating a SMB volume.long
getCapacityGib()
Required.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Description of the storage poolcom.google.protobuf.ByteString
getDescriptionBytes()
Description of the storage poolEncryptionType
getEncryptionType()
Output only.int
getEncryptionTypeValue()
Output only.boolean
getGlobalAccessAllowed()
Optional.String
getKmsConfig()
Specifies the KMS config to be used for volume encryption.com.google.protobuf.ByteString
getKmsConfigBytes()
Specifies the KMS config to be used for volume encryption.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairsMap<String,String>
getLabelsMap()
Labels as key value pairsString
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairsString
getLabelsOrThrow(String key)
Labels as key value pairsboolean
getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNetwork()
Required.com.google.protobuf.ByteString
getNetworkBytes()
Required.String
getPsaRange()
Name of the Private Service Access allocated range.com.google.protobuf.ByteString
getPsaRangeBytes()
Name of the Private Service Access allocated range.ServiceLevel
getServiceLevel()
Required.int
getServiceLevelValue()
Required.StoragePool.State
getState()
Output only.String
getStateDetails()
Output only.com.google.protobuf.ByteString
getStateDetailsBytes()
Output only.int
getStateValue()
Output only.long
getVolumeCapacityGib()
Output only.int
getVolumeCount()
Output only.boolean
hasCreateTime()
Output only.boolean
hasGlobalAccessAllowed()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getServiceLevelValue
int getServiceLevelValue()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for serviceLevel.
-
getServiceLevel
ServiceLevel getServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The serviceLevel.
-
getCapacityGib
long getCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The capacityGib.
-
getVolumeCapacityGib
long getVolumeCapacityGib()
Output only. Allocated size of all volumes in GIB in the storage pool
int64 volume_capacity_gib = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The volumeCapacityGib.
-
getVolumeCount
int getVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The volumeCount.
-
getStateValue
int getStateValue()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
StoragePool.State getState()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getStateDetails
String getStateDetails()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The stateDetails.
-
getStateDetailsBytes
com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for stateDetails.
-
hasCreateTime
boolean hasCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDescription
String getDescription()
Description of the storage pool
string description = 9;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the storage pool
string description = 9;
- Returns:
- The bytes for description.
-
getLabelsCount
int getLabelsCount()
Labels as key value pairs
map<string, string> labels = 10;
-
containsLabels
boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 10;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 10;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 10;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 10;
-
getNetwork
String getNetwork()
Required. VPC Network name. Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
Required. VPC Network name. Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for network.
-
getActiveDirectory
String getActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }
- Returns:
- The activeDirectory.
-
getActiveDirectoryBytes
com.google.protobuf.ByteString getActiveDirectoryBytes()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for activeDirectory.
-
getKmsConfig
String getKmsConfig()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }
- Returns:
- The kmsConfig.
-
getKmsConfigBytes
com.google.protobuf.ByteString getKmsConfigBytes()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for kmsConfig.
-
getLdapEnabled
boolean getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;
- Returns:
- The ldapEnabled.
-
getPsaRange
String getPsaRange()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;
- Returns:
- The psaRange.
-
getPsaRangeBytes
com.google.protobuf.ByteString getPsaRangeBytes()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;
- Returns:
- The bytes for psaRange.
-
getEncryptionTypeValue
int getEncryptionTypeValue()
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for encryptionType.
-
getEncryptionType
EncryptionType getEncryptionType()
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The encryptionType.
-
hasGlobalAccessAllowed
boolean hasGlobalAccessAllowed()
Optional. Allows SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the globalAccessAllowed field is set.
-
getGlobalAccessAllowed
boolean getGlobalAccessAllowed()
Optional. Allows SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The globalAccessAllowed.
-
-