Package com.google.cloud.compute.v1
Class StoragePool
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.StoragePool
- All Implemented Interfaces:
StoragePoolOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class StoragePool
extends com.google.protobuf.GeneratedMessage
implements StoragePoolOrBuilder
Represents a zonal storage pool resource.Protobuf type
google.cloud.compute.v1.StoragePool- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a zonal storage pool resource.static enumProvisioning type of the byte capacity of the pool.static enumProvisioning type of the performance-related parameters of the pool, such as throughput and IOPS.static enumOutput only.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels to apply to this storage pool.booleanProvisioning 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.static StoragePoolAn optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.DescriptorOutput 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.com.google.protobuf.Parser<StoragePool>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.intgetState()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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic StoragePool.Builderstatic StoragePool.BuildernewBuilder(StoragePool prototype) protected StoragePool.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StoragePoolparseDelimitedFrom(InputStream input) static StoragePoolparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolparseFrom(byte[] data) static StoragePoolparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolparseFrom(com.google.protobuf.ByteString data) static StoragePoolparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolparseFrom(com.google.protobuf.CodedInputStream input) static StoragePoolparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolparseFrom(InputStream input) static StoragePoolparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolparseFrom(ByteBuffer data) static StoragePoolparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoragePool>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CAPACITY_PROVISIONING_TYPE_FIELD_NUMBER
public static final int CAPACITY_PROVISIONING_TYPE_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
EXAPOOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER
public static final int EXAPOOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
PERFORMANCE_PROVISIONING_TYPE_FIELD_NUMBER
public static final int PERFORMANCE_PROVISIONING_TYPE_FIELD_NUMBER- See Also:
-
POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER
public static final int POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER- See Also:
-
POOL_PROVISIONED_IOPS_FIELD_NUMBER
public static final int POOL_PROVISIONED_IOPS_FIELD_NUMBER- See Also:
-
POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER
public static final int POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER- See Also:
-
RESOURCE_STATUS_FIELD_NUMBER
public static final int RESOURCE_STATUS_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
STORAGE_POOL_TYPE_FIELD_NUMBER
public static final int STORAGE_POOL_TYPE_FIELD_NUMBER- See Also:
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasCapacityProvisioningType
public 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;- Specified by:
hasCapacityProvisioningTypein interfaceStoragePoolOrBuilder- Returns:
- Whether the capacityProvisioningType field is set.
-
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;- Specified by:
getCapacityProvisioningTypein interfaceStoragePoolOrBuilder- Returns:
- The capacityProvisioningType.
-
getCapacityProvisioningTypeBytes
public 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;- Specified by:
getCapacityProvisioningTypeBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for capacityProvisioningType.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceStoragePoolOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceStoragePoolOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceStoragePoolOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceStoragePoolOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for description.
-
hasExapoolProvisionedCapacityGb
public 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;- Specified by:
hasExapoolProvisionedCapacityGbin interfaceStoragePoolOrBuilder- Returns:
- Whether the exapoolProvisionedCapacityGb field is set.
-
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;- Specified by:
getExapoolProvisionedCapacityGbin interfaceStoragePoolOrBuilder- Returns:
- The exapoolProvisionedCapacityGb.
-
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;- Specified by:
getExapoolProvisionedCapacityGbOrBuilderin interfaceStoragePoolOrBuilder
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceStoragePoolOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceStoragePoolOrBuilder- Returns:
- The id.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;- Specified by:
hasKindin interfaceStoragePoolOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;- Specified by:
getKindin interfaceStoragePoolOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#storagePool for storage pools.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for kind.
-
hasLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
optional string label_fingerprint = 178124825;- Specified by:
hasLabelFingerprintin interfaceStoragePoolOrBuilder- Returns:
- Whether the labelFingerprint field is set.
-
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;- Specified by:
getLabelFingerprintin interfaceStoragePoolOrBuilder- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
public 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;- Specified by:
getLabelFingerprintBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for labelFingerprint.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:StoragePoolOrBuilderLabels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceStoragePoolOrBuilder
-
containsLabels
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceStoragePoolOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceStoragePoolOrBuilder
-
getLabelsMap
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceStoragePoolOrBuilder
-
getLabelsOrDefault
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceStoragePoolOrBuilder
-
getLabelsOrThrow
Labels to apply to this storage pool. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceStoragePoolOrBuilder
-
hasName
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 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;- Specified by:
hasNamein interfaceStoragePoolOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfaceStoragePoolOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for name.
-
hasParams
public 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;- Specified by:
hasParamsin interfaceStoragePoolOrBuilder- Returns:
- Whether the params field is set.
-
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;- Specified by:
getParamsin interfaceStoragePoolOrBuilder- Returns:
- The params.
-
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;- Specified by:
getParamsOrBuilderin interfaceStoragePoolOrBuilder
-
hasPerformanceProvisioningType
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;- Specified by:
hasPerformanceProvisioningTypein interfaceStoragePoolOrBuilder- Returns:
- Whether the performanceProvisioningType field is set.
-
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;- Specified by:
getPerformanceProvisioningTypein interfaceStoragePoolOrBuilder- Returns:
- The performanceProvisioningType.
-
getPerformanceProvisioningTypeBytes
public 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;- Specified by:
getPerformanceProvisioningTypeBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for performanceProvisioningType.
-
hasPoolProvisionedCapacityGb
public 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;- Specified by:
hasPoolProvisionedCapacityGbin interfaceStoragePoolOrBuilder- Returns:
- Whether the poolProvisionedCapacityGb field is set.
-
getPoolProvisionedCapacityGb
public 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;- Specified by:
getPoolProvisionedCapacityGbin interfaceStoragePoolOrBuilder- Returns:
- The poolProvisionedCapacityGb.
-
hasPoolProvisionedIops
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;- Specified by:
hasPoolProvisionedIopsin interfaceStoragePoolOrBuilder- Returns:
- Whether the poolProvisionedIops field is set.
-
getPoolProvisionedIops
public long getPoolProvisionedIops()Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
optional int64 pool_provisioned_iops = 112092311;- Specified by:
getPoolProvisionedIopsin interfaceStoragePoolOrBuilder- Returns:
- The poolProvisionedIops.
-
hasPoolProvisionedThroughput
public 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;- Specified by:
hasPoolProvisionedThroughputin interfaceStoragePoolOrBuilder- Returns:
- Whether the poolProvisionedThroughput field is set.
-
getPoolProvisionedThroughput
public 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;- Specified by:
getPoolProvisionedThroughputin interfaceStoragePoolOrBuilder- Returns:
- The poolProvisionedThroughput.
-
hasResourceStatus
public boolean hasResourceStatus()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;- Specified by:
hasResourceStatusin interfaceStoragePoolOrBuilder- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;- Specified by:
getResourceStatusin interfaceStoragePoolOrBuilder- Returns:
- The resourceStatus.
-
getResourceStatusOrBuilder
Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;- Specified by:
getResourceStatusOrBuilderin interfaceStoragePoolOrBuilder
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceStoragePoolOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceStoragePoolOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
public boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Specified by:
hasSelfLinkWithIdin interfaceStoragePoolOrBuilder- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdin interfaceStoragePoolOrBuilder- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
public 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;- Specified by:
getSelfLinkWithIdBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for selfLinkWithId.
-
hasState
public 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;- Specified by:
hasStatein interfaceStoragePoolOrBuilder- Returns:
- Whether the state field is set.
-
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;- Specified by:
getStatein interfaceStoragePoolOrBuilder- Returns:
- The state.
-
getStateBytes
public 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;- Specified by:
getStateBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for state.
-
hasStatus
public boolean hasStatus()Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;- Specified by:
hasStatusin interfaceStoragePoolOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;- Specified by:
getStatusin interfaceStoragePoolOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
Output only. [Output Only] Status information for the storage pool resource.
optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;- Specified by:
getStatusOrBuilderin interfaceStoragePoolOrBuilder
-
hasStoragePoolType
public boolean hasStoragePoolType()Type of the storage pool.
optional string storage_pool_type = 285999289;- Specified by:
hasStoragePoolTypein interfaceStoragePoolOrBuilder- Returns:
- Whether the storagePoolType field is set.
-
getStoragePoolType
Type of the storage pool.
optional string storage_pool_type = 285999289;- Specified by:
getStoragePoolTypein interfaceStoragePoolOrBuilder- Returns:
- The storagePoolType.
-
getStoragePoolTypeBytes
public com.google.protobuf.ByteString getStoragePoolTypeBytes()Type of the storage pool.
optional string storage_pool_type = 285999289;- Specified by:
getStoragePoolTypeBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for storagePoolType.
-
hasZone
public 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;- Specified by:
hasZonein interfaceStoragePoolOrBuilder- Returns:
- Whether the zone field is set.
-
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;- Specified by:
getZonein interfaceStoragePoolOrBuilder- Returns:
- The zone.
-
getZoneBytes
public 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;- Specified by:
getZoneBytesin interfaceStoragePoolOrBuilder- Returns:
- The bytes for zone.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StoragePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StoragePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoragePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StoragePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StoragePool.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-