Interface StoragePoolOrBuilder (0.9.0)

public interface StoragePoolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Description of the storage pool

string description = 9;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of the storage pool

string description = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for encryptionType.

getGlobalAccessAllowed()

public abstract 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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for kmsConfig.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs

map<string, string> labels = 10;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs

map<string, string> labels = 10;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLdapEnabled()

public abstract boolean getLdapEnabled()

Flag indicating if the pool is NFS LDAP enabled or not.

bool ldap_enabled = 14;

Returns
TypeDescription
boolean

The ldapEnabled.

getName()

public abstract String getName()

Output only. Name of the storage pool

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Name of the storage pool

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the createTime field is set.

hasGlobalAccessAllowed()

public abstract 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
TypeDescription
boolean

Whether the globalAccessAllowed field is set.