Interface StoragePoolOrBuilder (1.53.0)

public interface StoragePoolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels to apply to this storage pool. These can be later modified by the setLabels method.

map<string, string> labels = 500195327;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCapacityProvisioningType()

public abstract String getCapacityProvisioningType()

Provisioning type of the byte capacity of the pool. Check the CapacityProvisioningType enum for the list of possible values.

optional string capacity_provisioning_type = 251610375;

Returns
Type Description
String

The capacityProvisioningType.

getCapacityProvisioningTypeBytes()

public abstract ByteString getCapacityProvisioningTypeBytes()

Provisioning type of the byte capacity of the pool. Check the CapacityProvisioningType enum for the list of possible values.

optional string capacity_provisioning_type = 251610375;

Returns
Type Description
ByteString

The bytes for capacityProvisioningType.

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#storagePool for storage pools.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#storagePool for storage pools.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getLabelFingerprint()

public abstract String getLabelFingerprint()

A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.

optional string label_fingerprint = 178124825;

Returns
Type Description
String

The labelFingerprint.

getLabelFingerprintBytes()

public abstract ByteString getLabelFingerprintBytes()

A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.

optional string label_fingerprint = 178124825;

Returns
Type Description
ByteString

The bytes for labelFingerprint.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels to apply to this storage pool. These can be later modified by the setLabels method.

map<string, string> labels = 500195327;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels to apply to this storage pool. These can be later modified by the setLabels method.

map<string, string> labels = 500195327;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels to apply to this storage pool. These can be later modified by the setLabels method.

map<string, string> labels = 500195327;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels to apply to this storage pool. These can be later modified by the setLabels method.

map<string, string> labels = 500195327;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getPerformanceProvisioningType()

public abstract String getPerformanceProvisioningType()

Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Check the PerformanceProvisioningType enum for the list of possible values.

optional string performance_provisioning_type = 468553469;

Returns
Type Description
String

The performanceProvisioningType.

getPerformanceProvisioningTypeBytes()

public abstract ByteString getPerformanceProvisioningTypeBytes()

Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Check the PerformanceProvisioningType enum for the list of possible values.

optional string performance_provisioning_type = 468553469;

Returns
Type Description
ByteString

The bytes for performanceProvisioningType.

getPoolProvisionedCapacityGb()

public abstract long getPoolProvisionedCapacityGb()

Size, in GiB, of the storage pool.

optional int64 pool_provisioned_capacity_gb = 478537682;

Returns
Type Description
long

The poolProvisionedCapacityGb.

getPoolProvisionedIops()

public abstract long getPoolProvisionedIops()

Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.

optional int64 pool_provisioned_iops = 112092311;

Returns
Type Description
long

The poolProvisionedIops.

getPoolProvisionedThroughput()

public abstract long getPoolProvisionedThroughput()

Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.

optional int64 pool_provisioned_throughput = 169215640;

Returns
Type Description
long

The poolProvisionedThroughput.

getResourceStatus()

public abstract StoragePoolResourceStatus getResourceStatus()

[Output Only] Status information for the storage pool resource.

optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;

Returns
Type Description
StoragePoolResourceStatus

The resourceStatus.

getResourceStatusOrBuilder()

public abstract StoragePoolResourceStatusOrBuilder getResourceStatusOrBuilder()

[Output Only] Status information for the storage pool resource.

optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;

Returns
Type Description
StoragePoolResourceStatusOrBuilder
public abstract String getSelfLink()

[Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public abstract String getSelfLinkWithId()

[Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public abstract ByteString getSelfLinkWithIdBytes()

[Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
ByteString

The bytes for selfLinkWithId.

getState()

public abstract String getState()

[Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

[Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

getStatus()

public abstract StoragePoolResourceStatus getStatus()

[Output Only] Status information for the storage pool resource.

optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;

Returns
Type Description
StoragePoolResourceStatus

The status.

getStatusOrBuilder()

public abstract StoragePoolResourceStatusOrBuilder getStatusOrBuilder()

[Output Only] Status information for the storage pool resource.

optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;

Returns
Type Description
StoragePoolResourceStatusOrBuilder

getStoragePoolType()

public abstract String getStoragePoolType()

Type of the storage pool.

optional string storage_pool_type = 285999289;

Returns
Type Description
String

The storagePoolType.

getStoragePoolTypeBytes()

public abstract ByteString getStoragePoolTypeBytes()

Type of the storage pool.

optional string storage_pool_type = 285999289;

Returns
Type Description
ByteString

The bytes for storagePoolType.

getZone()

public abstract String getZone()

[Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

[Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasCapacityProvisioningType()

public abstract boolean hasCapacityProvisioningType()

Provisioning type of the byte capacity of the pool. Check the CapacityProvisioningType enum for the list of possible values.

optional string capacity_provisioning_type = 251610375;

Returns
Type Description
boolean

Whether the capacityProvisioningType field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#storagePool for storage pools.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasLabelFingerprint()

public abstract boolean hasLabelFingerprint()

A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.

optional string label_fingerprint = 178124825;

Returns
Type Description
boolean

Whether the labelFingerprint field is set.

hasName()

public abstract boolean hasName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasPerformanceProvisioningType()

public abstract boolean hasPerformanceProvisioningType()

Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Check the PerformanceProvisioningType enum for the list of possible values.

optional string performance_provisioning_type = 468553469;

Returns
Type Description
boolean

Whether the performanceProvisioningType field is set.

hasPoolProvisionedCapacityGb()

public abstract boolean hasPoolProvisionedCapacityGb()

Size, in GiB, of the storage pool.

optional int64 pool_provisioned_capacity_gb = 478537682;

Returns
Type Description
boolean

Whether the poolProvisionedCapacityGb field is set.

hasPoolProvisionedIops()

public abstract boolean hasPoolProvisionedIops()

Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.

optional int64 pool_provisioned_iops = 112092311;

Returns
Type Description
boolean

Whether the poolProvisionedIops field is set.

hasPoolProvisionedThroughput()

public abstract boolean hasPoolProvisionedThroughput()

Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.

optional int64 pool_provisioned_throughput = 169215640;

Returns
Type Description
boolean

Whether the poolProvisionedThroughput field is set.

hasResourceStatus()

public abstract boolean hasResourceStatus()

[Output Only] Status information for the storage pool resource.

optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;

Returns
Type Description
boolean

Whether the resourceStatus field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public abstract boolean hasSelfLinkWithId()

[Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
boolean

Whether the selfLinkWithId field is set.

hasState()

public abstract boolean hasState()

[Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

hasStatus()

public abstract boolean hasStatus()

[Output Only] Status information for the storage pool resource.

optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

hasStoragePoolType()

public abstract boolean hasStoragePoolType()

Type of the storage pool.

optional string storage_pool_type = 285999289;

Returns
Type Description
boolean

Whether the storagePoolType field is set.

hasZone()

public abstract boolean hasZone()

[Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string zone = 3744684;

Returns
Type Description
boolean

Whether the zone field is set.