public interface StoragePoolOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 10;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getActiveDirectory()
public abstract String getActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The activeDirectory. |
getActiveDirectoryBytes()
public abstract ByteString getActiveDirectoryBytes()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for activeDirectory. |
getCapacityGib()
public abstract long getCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
long | The capacityGib. |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
Description of the storage pool
string description = 9;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Description of the storage pool
string description = 9;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getEncryptionType()
public abstract 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 | |
---|---|
Type | Description |
EncryptionType | The encryptionType. |
getEncryptionTypeValue()
public abstract 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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for encryptionType. |
getGlobalAccessAllowed() (deprecated)
public abstract boolean getGlobalAccessAllowed()
Deprecated. google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See google/cloud/netapp/v1/storage_pool.proto;l=222
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];
Returns | |
---|---|
Type | Description |
boolean | The globalAccessAllowed. |
getKmsConfig()
public abstract String getKmsConfig()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The kmsConfig. |
getKmsConfigBytes()
public abstract ByteString getKmsConfigBytes()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kmsConfig. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Labels as key value pairs
map<string, string> labels = 10;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 10;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 10;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 10;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getLdapEnabled()
public abstract boolean getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;
Returns | |
---|---|
Type | Description |
boolean | The ldapEnabled. |
getName()
public abstract String getName()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public abstract 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 | |
---|---|
Type | Description |
String | The network. |
getNetworkBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getPsaRange()
public abstract String getPsaRange()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;
Returns | |
---|---|
Type | Description |
String | The psaRange. |
getPsaRangeBytes()
public abstract ByteString getPsaRangeBytes()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for psaRange. |
getServiceLevel()
public abstract ServiceLevel getServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ServiceLevel | The serviceLevel. |
getServiceLevelValue()
public abstract int getServiceLevelValue()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for serviceLevel. |
getState()
public abstract 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 | |
---|---|
Type | Description |
StoragePool.State | The state. |
getStateDetails()
public abstract String getStateDetails()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The stateDetails. |
getStateDetailsBytes()
public abstract ByteString getStateDetailsBytes()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stateDetails. |
getStateValue()
public abstract int getStateValue()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getVolumeCapacityGib()
public abstract 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 | |
---|---|
Type | Description |
long | The volumeCapacityGib. |
getVolumeCount()
public abstract int getVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The volumeCount. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasGlobalAccessAllowed() (deprecated)
public abstract boolean hasGlobalAccessAllowed()
Deprecated. google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See google/cloud/netapp/v1/storage_pool.proto;l=222
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];
Returns | |
---|---|
Type | Description |
boolean | Whether the globalAccessAllowed field is set. |