public static final class StoragePool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder> implements StoragePoolOrBuilder
Represents a zonal storage pool resource.Protobuf type
google.cloud.compute.v1.StoragePool| Modifier and Type | Method and Description |
|---|---|
StoragePool.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoragePool |
build() |
StoragePool |
buildPartial() |
StoragePool.Builder |
clear() |
StoragePool.Builder |
clearCapacityProvisioningType()
Provisioning type of the byte capacity of the pool.
|
StoragePool.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
StoragePool.Builder |
clearDescription()
An optional description of this resource.
|
StoragePool.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoragePool.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
StoragePool.Builder |
clearKind()
[Output Only] Type of the resource.
|
StoragePool.Builder |
clearLabelFingerprint()
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking.
|
StoragePool.Builder |
clearLabels() |
StoragePool.Builder |
clearName()
Name of the resource.
|
StoragePool.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoragePool.Builder |
clearPerformanceProvisioningType()
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
|
StoragePool.Builder |
clearPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool.
|
StoragePool.Builder |
clearPoolProvisionedIops()
Provisioned IOPS of the storage pool.
|
StoragePool.Builder |
clearPoolProvisionedThroughput()
Provisioned throughput of the storage pool.
|
StoragePool.Builder |
clearResourceStatus()
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
StoragePool.Builder |
clearSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
StoragePool.Builder |
clearState()
[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.
|
StoragePool.Builder |
clearStatus()
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
clearStoragePoolType()
Type of the storage pool.
|
StoragePool.Builder |
clearZone()
[Output Only] URL of the zone where the storage pool resides.
|
StoragePool.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to apply to this storage pool.
|
String |
getCapacityProvisioningType()
Provisioning type of the byte capacity of the pool.
|
com.google.protobuf.ByteString |
getCapacityProvisioningTypeBytes()
Provisioning type of the byte capacity of the pool.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
StoragePool |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
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.
|
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.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to this storage pool.
|
Map<String,String> |
getLabelsMap()
Labels to apply to this storage pool.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to this storage pool.
|
String |
getLabelsOrThrow(String key)
Labels to apply to this storage pool.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getPerformanceProvisioningType()
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
|
com.google.protobuf.ByteString |
getPerformanceProvisioningTypeBytes()
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
|
long |
getPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool.
|
long |
getPoolProvisionedIops()
Provisioned IOPS of the storage pool.
|
long |
getPoolProvisionedThroughput()
Provisioned throughput of the storage pool.
|
StoragePoolResourceStatus |
getResourceStatus()
[Output Only] Status information for the storage pool resource.
|
StoragePoolResourceStatus.Builder |
getResourceStatusBuilder()
[Output Only] Status information for the storage pool resource.
|
StoragePoolResourceStatusOrBuilder |
getResourceStatusOrBuilder()
[Output Only] Status information for the storage pool resource.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
com.google.protobuf.ByteString |
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.
|
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.
|
com.google.protobuf.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.
|
StoragePoolResourceStatus |
getStatus()
[Output Only] Status information for the storage pool resource.
|
StoragePoolResourceStatus.Builder |
getStatusBuilder()
[Output Only] Status information for the storage pool resource.
|
StoragePoolResourceStatusOrBuilder |
getStatusOrBuilder()
[Output Only] Status information for the storage pool resource.
|
String |
getStoragePoolType()
Type of the storage pool.
|
com.google.protobuf.ByteString |
getStoragePoolTypeBytes()
Type of the storage pool.
|
String |
getZone()
[Output Only] URL of the zone where the storage pool resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] URL of the zone where the storage pool resides.
|
boolean |
hasCapacityProvisioningType()
Provisioning type of the byte capacity of the pool.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
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.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasPerformanceProvisioningType()
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
|
boolean |
hasPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool.
|
boolean |
hasPoolProvisionedIops()
Provisioned IOPS of the storage pool.
|
boolean |
hasPoolProvisionedThroughput()
Provisioned throughput of the storage pool.
|
boolean |
hasResourceStatus()
[Output Only] Status information for the storage pool resource.
|
boolean |
hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
boolean |
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
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.
|
boolean |
hasStatus()
[Output Only] Status information for the storage pool resource.
|
boolean |
hasStoragePoolType()
Type of the storage pool.
|
boolean |
hasZone()
[Output Only] URL of the zone where the storage pool resides.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
StoragePool.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoragePool.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoragePool.Builder |
mergeFrom(StoragePool other) |
StoragePool.Builder |
mergeResourceStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
mergeStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoragePool.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to this storage pool.
|
StoragePool.Builder |
putLabels(String key,
String value)
Labels to apply to this storage pool.
|
StoragePool.Builder |
removeLabels(String key)
Labels to apply to this storage pool.
|
StoragePool.Builder |
setCapacityProvisioningType(String value)
Provisioning type of the byte capacity of the pool.
|
StoragePool.Builder |
setCapacityProvisioningTypeBytes(com.google.protobuf.ByteString value)
Provisioning type of the byte capacity of the pool.
|
StoragePool.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
StoragePool.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
StoragePool.Builder |
setDescription(String value)
An optional description of this resource.
|
StoragePool.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
StoragePool.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoragePool.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
StoragePool.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
StoragePool.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
StoragePool.Builder |
setLabelFingerprint(String value)
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking.
|
StoragePool.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking.
|
StoragePool.Builder |
setName(String value)
Name of the resource.
|
StoragePool.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
StoragePool.Builder |
setPerformanceProvisioningType(String value)
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
|
StoragePool.Builder |
setPerformanceProvisioningTypeBytes(com.google.protobuf.ByteString value)
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
|
StoragePool.Builder |
setPoolProvisionedCapacityGb(long value)
Size, in GiB, of the storage pool.
|
StoragePool.Builder |
setPoolProvisionedIops(long value)
Provisioned IOPS of the storage pool.
|
StoragePool.Builder |
setPoolProvisionedThroughput(long value)
Provisioned throughput of the storage pool.
|
StoragePool.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoragePool.Builder |
setResourceStatus(StoragePoolResourceStatus.Builder builderForValue)
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
setResourceStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
StoragePool.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
StoragePool.Builder |
setSelfLinkWithId(String value)
[Output Only] Server-defined URL for this resource's resource id.
|
StoragePool.Builder |
setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource's resource id.
|
StoragePool.Builder |
setState(String value)
[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.
|
StoragePool.Builder |
setStateBytes(com.google.protobuf.ByteString value)
[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.
|
StoragePool.Builder |
setStatus(StoragePoolResourceStatus.Builder builderForValue)
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
setStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
|
StoragePool.Builder |
setStoragePoolType(String value)
Type of the storage pool.
|
StoragePool.Builder |
setStoragePoolTypeBytes(com.google.protobuf.ByteString value)
Type of the storage pool.
|
StoragePool.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoragePool.Builder |
setZone(String value)
[Output Only] URL of the zone where the storage pool resides.
|
StoragePool.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the storage pool resides.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StoragePool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StoragePool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StoragePool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePool.Builder>public StoragePool.Builder mergeFrom(StoragePool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePool.Builder>IOExceptionpublic 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;hasCapacityProvisioningType in interface StoragePoolOrBuilderpublic 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;getCapacityProvisioningType in interface StoragePoolOrBuilderpublic 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;getCapacityProvisioningTypeBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setCapacityProvisioningType(String value)
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;value - The capacityProvisioningType to set.public StoragePool.Builder clearCapacityProvisioningType()
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;public StoragePool.Builder setCapacityProvisioningTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for capacityProvisioningType to set.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface StoragePoolOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public StoragePool.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public StoragePool.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface StoragePoolOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public StoragePool.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public StoragePool.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface StoragePoolOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface StoragePoolOrBuilderpublic StoragePool.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public StoragePool.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;hasKind in interface StoragePoolOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;getKind in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;getKindBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;value - The kind to set.public StoragePool.Builder clearKind()
[Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;public StoragePool.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;value - The bytes for kind to set.public 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;hasLabelFingerprint in interface StoragePoolOrBuilderpublic 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;getLabelFingerprint in interface StoragePoolOrBuilderpublic 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 error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setLabelFingerprint(String value)
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;value - The labelFingerprint to set.public StoragePool.Builder clearLabelFingerprint()
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;public StoragePool.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
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;value - The bytes for labelFingerprint to set.public int getLabelsCount()
StoragePoolOrBuilderLabels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;getLabelsCount in interface StoragePoolOrBuilderpublic 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;containsLabels in interface StoragePoolOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface StoragePoolOrBuilderpublic 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;getLabelsMap in interface StoragePoolOrBuilderpublic 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;getLabelsOrDefault in interface StoragePoolOrBuilderpublic 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;getLabelsOrThrow in interface StoragePoolOrBuilderpublic StoragePool.Builder clearLabels()
public StoragePool.Builder removeLabels(String key)
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public StoragePool.Builder putLabels(String key, String value)
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;public StoragePool.Builder putAllLabels(Map<String,String> values)
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;public 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]([-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;hasName in interface StoragePoolOrBuilderpublic 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]([-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;getName in interface StoragePoolOrBuilderpublic 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 with RFC1035. 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;getNameBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setName(String value)
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]([-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;value - The name to set.public StoragePool.Builder clearName()
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]([-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;public StoragePool.Builder setNameBytes(com.google.protobuf.ByteString value)
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]([-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;value - The bytes for name to set.public 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;hasPerformanceProvisioningType in interface StoragePoolOrBuilderpublic 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;getPerformanceProvisioningType in interface StoragePoolOrBuilderpublic 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;getPerformanceProvisioningTypeBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setPerformanceProvisioningType(String value)
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;value - The performanceProvisioningType to set.public StoragePool.Builder clearPerformanceProvisioningType()
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;public StoragePool.Builder setPerformanceProvisioningTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for performanceProvisioningType to set.public boolean hasPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
optional int64 pool_provisioned_capacity_gb = 478537682;hasPoolProvisionedCapacityGb in interface StoragePoolOrBuilderpublic long getPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
optional int64 pool_provisioned_capacity_gb = 478537682;getPoolProvisionedCapacityGb in interface StoragePoolOrBuilderpublic StoragePool.Builder setPoolProvisionedCapacityGb(long value)
Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
optional int64 pool_provisioned_capacity_gb = 478537682;value - The poolProvisionedCapacityGb to set.public StoragePool.Builder clearPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
optional int64 pool_provisioned_capacity_gb = 478537682;public boolean hasPoolProvisionedIops()
Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
optional int64 pool_provisioned_iops = 112092311;hasPoolProvisionedIops in interface StoragePoolOrBuilderpublic long getPoolProvisionedIops()
Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
optional int64 pool_provisioned_iops = 112092311;getPoolProvisionedIops in interface StoragePoolOrBuilderpublic StoragePool.Builder setPoolProvisionedIops(long value)
Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
optional int64 pool_provisioned_iops = 112092311;value - The poolProvisionedIops to set.public StoragePool.Builder clearPoolProvisionedIops()
Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
optional int64 pool_provisioned_iops = 112092311;public 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;hasPoolProvisionedThroughput in interface StoragePoolOrBuilderpublic 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;getPoolProvisionedThroughput in interface StoragePoolOrBuilderpublic StoragePool.Builder setPoolProvisionedThroughput(long value)
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;value - The poolProvisionedThroughput to set.public StoragePool.Builder clearPoolProvisionedThroughput()
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;public boolean hasResourceStatus()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
hasResourceStatus in interface StoragePoolOrBuilderpublic StoragePoolResourceStatus getResourceStatus()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
getResourceStatus in interface StoragePoolOrBuilderpublic StoragePool.Builder setResourceStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
public StoragePool.Builder setResourceStatus(StoragePoolResourceStatus.Builder builderForValue)
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
public StoragePool.Builder mergeResourceStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
public StoragePool.Builder clearResourceStatus()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
public StoragePoolResourceStatus.Builder getResourceStatusBuilder()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
public StoragePoolResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
getResourceStatusOrBuilder in interface StoragePoolOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface StoragePoolOrBuilderpublic String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLink in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public StoragePool.Builder clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;public StoragePool.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;hasSelfLinkWithId in interface StoragePoolOrBuilderpublic String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithId in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithIdBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setSelfLinkWithId(String value)
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;value - The selfLinkWithId to set.public StoragePool.Builder clearSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;public StoragePool.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;value - The bytes for selfLinkWithId to set.public 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;hasState in interface StoragePoolOrBuilderpublic 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;getState in interface StoragePoolOrBuilderpublic com.google.protobuf.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;getStateBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setState(String value)
[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;value - The state to set.public StoragePool.Builder clearState()
[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;public StoragePool.Builder setStateBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for state to set.public boolean hasStatus()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;hasStatus in interface StoragePoolOrBuilderpublic StoragePoolResourceStatus getStatus()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;getStatus in interface StoragePoolOrBuilderpublic StoragePool.Builder setStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;public StoragePool.Builder setStatus(StoragePoolResourceStatus.Builder builderForValue)
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;public StoragePool.Builder mergeStatus(StoragePoolResourceStatus value)
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;public StoragePool.Builder clearStatus()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;public StoragePoolResourceStatus.Builder getStatusBuilder()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;public StoragePoolResourceStatusOrBuilder getStatusOrBuilder()
[Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;getStatusOrBuilder in interface StoragePoolOrBuilderpublic boolean hasStoragePoolType()
Type of the storage pool.
optional string storage_pool_type = 285999289;hasStoragePoolType in interface StoragePoolOrBuilderpublic String getStoragePoolType()
Type of the storage pool.
optional string storage_pool_type = 285999289;getStoragePoolType in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getStoragePoolTypeBytes()
Type of the storage pool.
optional string storage_pool_type = 285999289;getStoragePoolTypeBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setStoragePoolType(String value)
Type of the storage pool.
optional string storage_pool_type = 285999289;value - The storagePoolType to set.public StoragePool.Builder clearStoragePoolType()
Type of the storage pool.
optional string storage_pool_type = 285999289;public StoragePool.Builder setStoragePoolTypeBytes(com.google.protobuf.ByteString value)
Type of the storage pool.
optional string storage_pool_type = 285999289;value - The bytes for storagePoolType to set.public 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;hasZone in interface StoragePoolOrBuilderpublic 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;getZone in interface StoragePoolOrBuilderpublic com.google.protobuf.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;getZoneBytes in interface StoragePoolOrBuilderpublic StoragePool.Builder setZone(String value)
[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;value - The zone to set.public StoragePool.Builder clearZone()
[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;public StoragePool.Builder setZoneBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for zone to set.public final StoragePool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public final StoragePool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>Copyright © 2025 Google LLC. All rights reserved.