Class StoragePoolResourceStatus (1.54.0)

public final class StoragePoolResourceStatus extends GeneratedMessageV3 implements StoragePoolResourceStatusOrBuilder

[Output Only] Contains output only fields.

Protobuf type google.cloud.compute.v1.StoragePoolResourceStatus

Static Fields

DISK_COUNT_FIELD_NUMBER

public static final int DISK_COUNT_FIELD_NUMBER
Field Value
Type Description
int

LAST_RESIZE_TIMESTAMP_FIELD_NUMBER

public static final int LAST_RESIZE_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

MAX_TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER

public static final int MAX_TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER
Field Value
Type Description
int

POOL_USED_CAPACITY_BYTES_FIELD_NUMBER

public static final int POOL_USED_CAPACITY_BYTES_FIELD_NUMBER
Field Value
Type Description
int

POOL_USED_IOPS_FIELD_NUMBER

public static final int POOL_USED_IOPS_FIELD_NUMBER
Field Value
Type Description
int

POOL_USED_THROUGHPUT_FIELD_NUMBER

public static final int POOL_USED_THROUGHPUT_FIELD_NUMBER
Field Value
Type Description
int

POOL_USER_WRITTEN_BYTES_FIELD_NUMBER

public static final int POOL_USER_WRITTEN_BYTES_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER

public static final int TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_PROVISIONED_DISK_IOPS_FIELD_NUMBER

public static final int TOTAL_PROVISIONED_DISK_IOPS_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_PROVISIONED_DISK_THROUGHPUT_FIELD_NUMBER

public static final int TOTAL_PROVISIONED_DISK_THROUGHPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoragePoolResourceStatus getDefaultInstance()
Returns
Type Description
StoragePoolResourceStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StoragePoolResourceStatus.Builder newBuilder()
Returns
Type Description
StoragePoolResourceStatus.Builder

newBuilder(StoragePoolResourceStatus prototype)

public static StoragePoolResourceStatus.Builder newBuilder(StoragePoolResourceStatus prototype)
Parameter
Name Description
prototype StoragePoolResourceStatus
Returns
Type Description
StoragePoolResourceStatus.Builder

parseDelimitedFrom(InputStream input)

public static StoragePoolResourceStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoragePoolResourceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StoragePoolResourceStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoragePoolResourceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoragePoolResourceStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoragePoolResourceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoragePoolResourceStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoragePoolResourceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StoragePoolResourceStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoragePoolResourceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StoragePoolResourceStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoragePoolResourceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StoragePoolResourceStatus> parser()
Returns
Type Description
Parser<StoragePoolResourceStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StoragePoolResourceStatus getDefaultInstanceForType()
Returns
Type Description
StoragePoolResourceStatus

getDiskCount()

public long getDiskCount()

[Output Only] Number of disks used.

optional int64 disk_count = 182933485;

Returns
Type Description
long

The diskCount.

getLastResizeTimestamp()

public String getLastResizeTimestamp()

[Output Only] Timestamp of the last successful resize in RFC3339 text format.

optional string last_resize_timestamp = 500825556;

Returns
Type Description
String

The lastResizeTimestamp.

getLastResizeTimestampBytes()

public ByteString getLastResizeTimestampBytes()

[Output Only] Timestamp of the last successful resize in RFC3339 text format.

optional string last_resize_timestamp = 500825556;

Returns
Type Description
ByteString

The bytes for lastResizeTimestamp.

getMaxTotalProvisionedDiskCapacityGb()

public long getMaxTotalProvisionedDiskCapacityGb()

[Output Only] Maximum allowed aggregate disk size in gigabytes.

optional int64 max_total_provisioned_disk_capacity_gb = 165818207;

Returns
Type Description
long

The maxTotalProvisionedDiskCapacityGb.

getParserForType()

public Parser<StoragePoolResourceStatus> getParserForType()
Returns
Type Description
Parser<StoragePoolResourceStatus>
Overrides

getPoolUsedCapacityBytes()

public long getPoolUsedCapacityBytes()

[Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.

optional int64 pool_used_capacity_bytes = 510407877;

Returns
Type Description
long

The poolUsedCapacityBytes.

getPoolUsedIops()

public long getPoolUsedIops()

Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.

optional int64 pool_used_iops = 99558536;

Returns
Type Description
long

The poolUsedIops.

getPoolUsedThroughput()

public long getPoolUsedThroughput()

[Output Only] Sum of all the disks' provisioned throughput in MB/s.

optional int64 pool_used_throughput = 206130633;

Returns
Type Description
long

The poolUsedThroughput.

getPoolUserWrittenBytes()

public long getPoolUserWrittenBytes()

[Output Only] Amount of data written into the pool, before it is compacted.

optional int64 pool_user_written_bytes = 228964050;

Returns
Type Description
long

The poolUserWrittenBytes.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalProvisionedDiskCapacityGb()

public long getTotalProvisionedDiskCapacityGb()

[Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.

optional int64 total_provisioned_disk_capacity_gb = 520930980;

Returns
Type Description
long

The totalProvisionedDiskCapacityGb.

getTotalProvisionedDiskIops()

public long getTotalProvisionedDiskIops()

[Output Only] Sum of all the disks' provisioned IOPS.

optional int64 total_provisioned_disk_iops = 32812549;

Returns
Type Description
long

The totalProvisionedDiskIops.

getTotalProvisionedDiskThroughput()

public long getTotalProvisionedDiskThroughput()

[Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.

optional int64 total_provisioned_disk_throughput = 447677830;

Returns
Type Description
long

The totalProvisionedDiskThroughput.

hasDiskCount()

public boolean hasDiskCount()

[Output Only] Number of disks used.

optional int64 disk_count = 182933485;

Returns
Type Description
boolean

Whether the diskCount field is set.

hasLastResizeTimestamp()

public boolean hasLastResizeTimestamp()

[Output Only] Timestamp of the last successful resize in RFC3339 text format.

optional string last_resize_timestamp = 500825556;

Returns
Type Description
boolean

Whether the lastResizeTimestamp field is set.

hasMaxTotalProvisionedDiskCapacityGb()

public boolean hasMaxTotalProvisionedDiskCapacityGb()

[Output Only] Maximum allowed aggregate disk size in gigabytes.

optional int64 max_total_provisioned_disk_capacity_gb = 165818207;

Returns
Type Description
boolean

Whether the maxTotalProvisionedDiskCapacityGb field is set.

hasPoolUsedCapacityBytes()

public boolean hasPoolUsedCapacityBytes()

[Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.

optional int64 pool_used_capacity_bytes = 510407877;

Returns
Type Description
boolean

Whether the poolUsedCapacityBytes field is set.

hasPoolUsedIops()

public boolean hasPoolUsedIops()

Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.

optional int64 pool_used_iops = 99558536;

Returns
Type Description
boolean

Whether the poolUsedIops field is set.

hasPoolUsedThroughput()

public boolean hasPoolUsedThroughput()

[Output Only] Sum of all the disks' provisioned throughput in MB/s.

optional int64 pool_used_throughput = 206130633;

Returns
Type Description
boolean

Whether the poolUsedThroughput field is set.

hasPoolUserWrittenBytes()

public boolean hasPoolUserWrittenBytes()

[Output Only] Amount of data written into the pool, before it is compacted.

optional int64 pool_user_written_bytes = 228964050;

Returns
Type Description
boolean

Whether the poolUserWrittenBytes field is set.

hasTotalProvisionedDiskCapacityGb()

public boolean hasTotalProvisionedDiskCapacityGb()

[Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.

optional int64 total_provisioned_disk_capacity_gb = 520930980;

Returns
Type Description
boolean

Whether the totalProvisionedDiskCapacityGb field is set.

hasTotalProvisionedDiskIops()

public boolean hasTotalProvisionedDiskIops()

[Output Only] Sum of all the disks' provisioned IOPS.

optional int64 total_provisioned_disk_iops = 32812549;

Returns
Type Description
boolean

Whether the totalProvisionedDiskIops field is set.

hasTotalProvisionedDiskThroughput()

public boolean hasTotalProvisionedDiskThroughput()

[Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.

optional int64 total_provisioned_disk_throughput = 447677830;

Returns
Type Description
boolean

Whether the totalProvisionedDiskThroughput field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StoragePoolResourceStatus.Builder newBuilderForType()
Returns
Type Description
StoragePoolResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoragePoolResourceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StoragePoolResourceStatus.Builder toBuilder()
Returns
Type Description
StoragePoolResourceStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException