Package com.google.cloud.compute.v1
Interface StoragePoolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoragePool,StoragePool.Builder
@Generated
public interface StoragePoolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels to apply to this storage pool.Provisioning type of the byte capacity of the pool.com.google.protobuf.ByteStringProvisioning type of the byte capacity of the pool.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.Output only.Output only.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking.com.google.protobuf.ByteStringA fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking.Deprecated.intLabels to apply to this storage pool.Labels to apply to this storage pool.getLabelsOrDefault(String key, String defaultValue) Labels to apply to this storage pool.getLabelsOrThrow(String key) Labels to apply to this storage pool.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.Input only.Input only.Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.com.google.protobuf.ByteStringProvisioning type of the performance-related parameters of the pool, such as throughput and IOPS.longSize of the storage pool in GiB.longProvisioned IOPS of the storage pool.longProvisioned throughput of the storage pool in MiB/s.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Type of the storage pool.com.google.protobuf.ByteStringType of the storage pool.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanProvisioning type of the byte capacity of the pool.booleanOutput only.booleanAn optional description of this resource.booleanOutput only.booleanhasId()Output only.booleanhasKind()Output only.booleanA fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking.booleanhasName()Name of the resource.booleanInput only.booleanProvisioning type of the performance-related parameters of the pool, such as throughput and IOPS.booleanSize of the storage pool in GiB.booleanProvisioned IOPS of the storage pool.booleanProvisioned throughput of the storage pool in MiB/s.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasState()Output only.booleanOutput only.booleanType of the storage pool.booleanhasZone()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCapacityProvisioningType
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:
- Whether the capacityProvisioningType field is set.
-
getCapacityProvisioningType
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:
- The capacityProvisioningType.
-
getCapacityProvisioningTypeBytes
com.google.protobuf.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:
- The bytes for capacityProvisioningType.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasExapoolProvisionedCapacityGb
boolean hasExapoolProvisionedCapacityGb()Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;- Returns:
- Whether the exapoolProvisionedCapacityGb field is set.
-
getExapoolProvisionedCapacityGb
StoragePoolExapoolProvisionedCapacityGb getExapoolProvisionedCapacityGb()Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;- Returns:
- The exapoolProvisionedCapacityGb.
-
getExapoolProvisionedCapacityGbOrBuilder
StoragePoolExapoolProvisionedCapacityGbOrBuilder getExapoolProvisionedCapacityGbOrBuilder()Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240; -
hasId
boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
optional string label_fingerprint = 178124825;- Returns:
- Whether the labelFingerprint field is set.
-
getLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
optional string label_fingerprint = 178124825;- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
com.google.protobuf.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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
optional string label_fingerprint = 178124825;- Returns:
- The bytes for labelFingerprint.
-
getLabelsCount
int getLabelsCount()Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
containsLabels
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
getLabelsOrDefault
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
getLabelsOrThrow
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
hasName
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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the name field is set.
-
getName
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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- The name.
-
getNameBytes
com.google.protobuf.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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for name.
-
hasParams
boolean hasParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;- Returns:
- Whether the params field is set.
-
getParams
StoragePoolParams getParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;- Returns:
- The params.
-
getParamsOrBuilder
StoragePoolParamsOrBuilder getParamsOrBuilder()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.StoragePoolParams params = 78313862; -
hasPerformanceProvisioningType
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:
- Whether the performanceProvisioningType field is set.
-
getPerformanceProvisioningType
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:
- The performanceProvisioningType.
-
getPerformanceProvisioningTypeBytes
com.google.protobuf.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:
- The bytes for performanceProvisioningType.
-
hasPoolProvisionedCapacityGb
boolean hasPoolProvisionedCapacityGb()Size of the storage pool in GiB. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
optional int64 pool_provisioned_capacity_gb = 478537682;- Returns:
- Whether the poolProvisionedCapacityGb field is set.
-
getPoolProvisionedCapacityGb
long getPoolProvisionedCapacityGb()Size of the storage pool in GiB. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
optional int64 pool_provisioned_capacity_gb = 478537682;- Returns:
- The poolProvisionedCapacityGb.
-
hasPoolProvisionedIops
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:
- Whether the poolProvisionedIops field is set.
-
getPoolProvisionedIops
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:
- The poolProvisionedIops.
-
hasPoolProvisionedThroughput
boolean hasPoolProvisionedThroughput()Provisioned throughput of the storage pool in MiB/s. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
optional int64 pool_provisioned_throughput = 169215640;- Returns:
- Whether the poolProvisionedThroughput field is set.
-
getPoolProvisionedThroughput
long getPoolProvisionedThroughput()Provisioned throughput of the storage pool in MiB/s. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
optional int64 pool_provisioned_throughput = 169215640;- Returns:
- The poolProvisionedThroughput.
-
hasResourceStatus
boolean hasResourceStatus()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
StoragePoolResourceStatus getResourceStatus()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;- Returns:
- The resourceStatus.
-
getResourceStatusOrBuilder
StoragePoolResourceStatusOrBuilder getResourceStatusOrBuilder()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; -
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- The bytes for selfLinkWithId.
-
hasState
boolean hasState()Output only. [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:
- Whether the state field is set.
-
getState
String getState()Output only. [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:
- The state.
-
getStateBytes
com.google.protobuf.ByteString getStateBytes()Output only. [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:
- The bytes for state.
-
hasStatus
boolean hasStatus()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
StoragePoolResourceStatus getStatus()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;- Returns:
- The status.
-
getStatusOrBuilder
StoragePoolResourceStatusOrBuilder getStatusOrBuilder()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; -
hasStoragePoolType
boolean hasStoragePoolType()Type of the storage pool.
optional string storage_pool_type = 285999289;- Returns:
- Whether the storagePoolType field is set.
-
getStoragePoolType
String getStoragePoolType()Type of the storage pool.
optional string storage_pool_type = 285999289;- Returns:
- The storagePoolType.
-
getStoragePoolTypeBytes
com.google.protobuf.ByteString getStoragePoolTypeBytes()Type of the storage pool.
optional string storage_pool_type = 285999289;- Returns:
- The bytes for storagePoolType.
-
hasZone
boolean hasZone()Output only. [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:
- Whether the zone field is set.
-
getZone
String getZone()Output only. [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:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()Output only. [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:
- The bytes for zone.
-