Class StoragePoolResourceStatus.Builder (1.65.0)

public static final class StoragePoolResourceStatus.Builder extends GeneratedMessageV3.Builder<StoragePoolResourceStatus.Builder> implements StoragePoolResourceStatusOrBuilder

[Output Only] Contains output only fields.

Protobuf type google.cloud.compute.v1.StoragePoolResourceStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StoragePoolResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

build()

public StoragePoolResourceStatus build()
Returns
Type Description
StoragePoolResourceStatus

buildPartial()

public StoragePoolResourceStatus buildPartial()
Returns
Type Description
StoragePoolResourceStatus

clear()

public StoragePoolResourceStatus.Builder clear()
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

clearDiskCount()

public StoragePoolResourceStatus.Builder clearDiskCount()

[Output Only] Number of disks used.

optional int64 disk_count = 182933485;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StoragePoolResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

clearLastResizeTimestamp()

public StoragePoolResourceStatus.Builder clearLastResizeTimestamp()

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

optional string last_resize_timestamp = 500825556;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearMaxTotalProvisionedDiskCapacityGb()

public StoragePoolResourceStatus.Builder clearMaxTotalProvisionedDiskCapacityGb()

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

optional int64 max_total_provisioned_disk_capacity_gb = 165818207;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StoragePoolResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

clearPoolUsedCapacityBytes()

public StoragePoolResourceStatus.Builder clearPoolUsedCapacityBytes()

[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
StoragePoolResourceStatus.Builder

This builder for chaining.

clearPoolUsedIops()

public StoragePoolResourceStatus.Builder clearPoolUsedIops()

[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.

optional int64 pool_used_iops = 99558536;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearPoolUsedThroughput()

public StoragePoolResourceStatus.Builder clearPoolUsedThroughput()

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

optional int64 pool_used_throughput = 206130633;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearPoolUserWrittenBytes()

public StoragePoolResourceStatus.Builder clearPoolUserWrittenBytes()

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

optional int64 pool_user_written_bytes = 228964050;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearTotalProvisionedDiskCapacityGb()

public StoragePoolResourceStatus.Builder clearTotalProvisionedDiskCapacityGb()

[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
StoragePoolResourceStatus.Builder

This builder for chaining.

clearTotalProvisionedDiskIops()

public StoragePoolResourceStatus.Builder clearTotalProvisionedDiskIops()

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

optional int64 total_provisioned_disk_iops = 32812549;

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

clearTotalProvisionedDiskThroughput()

public StoragePoolResourceStatus.Builder clearTotalProvisionedDiskThroughput()

[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
StoragePoolResourceStatus.Builder

This builder for chaining.

clone()

public StoragePoolResourceStatus.Builder clone()
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public StoragePoolResourceStatus getDefaultInstanceForType()
Returns
Type Description
StoragePoolResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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()

[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.

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.

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()

[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StoragePoolResourceStatus other)

public StoragePoolResourceStatus.Builder mergeFrom(StoragePoolResourceStatus other)
Parameter
Name Description
other StoragePoolResourceStatus
Returns
Type Description
StoragePoolResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StoragePoolResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StoragePoolResourceStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StoragePoolResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

setDiskCount(long value)

public StoragePoolResourceStatus.Builder setDiskCount(long value)

[Output Only] Number of disks used.

optional int64 disk_count = 182933485;

Parameter
Name Description
value long

The diskCount to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StoragePoolResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

setLastResizeTimestamp(String value)

public StoragePoolResourceStatus.Builder setLastResizeTimestamp(String value)

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

optional string last_resize_timestamp = 500825556;

Parameter
Name Description
value String

The lastResizeTimestamp to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setLastResizeTimestampBytes(ByteString value)

public StoragePoolResourceStatus.Builder setLastResizeTimestampBytes(ByteString value)

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

optional string last_resize_timestamp = 500825556;

Parameter
Name Description
value ByteString

The bytes for lastResizeTimestamp to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setMaxTotalProvisionedDiskCapacityGb(long value)

public StoragePoolResourceStatus.Builder setMaxTotalProvisionedDiskCapacityGb(long value)

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

optional int64 max_total_provisioned_disk_capacity_gb = 165818207;

Parameter
Name Description
value long

The maxTotalProvisionedDiskCapacityGb to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setPoolUsedCapacityBytes(long value)

public StoragePoolResourceStatus.Builder setPoolUsedCapacityBytes(long value)

[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;

Parameter
Name Description
value long

The poolUsedCapacityBytes to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setPoolUsedIops(long value)

public StoragePoolResourceStatus.Builder setPoolUsedIops(long value)

[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.

optional int64 pool_used_iops = 99558536;

Parameter
Name Description
value long

The poolUsedIops to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setPoolUsedThroughput(long value)

public StoragePoolResourceStatus.Builder setPoolUsedThroughput(long value)

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

optional int64 pool_used_throughput = 206130633;

Parameter
Name Description
value long

The poolUsedThroughput to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setPoolUserWrittenBytes(long value)

public StoragePoolResourceStatus.Builder setPoolUserWrittenBytes(long value)

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

optional int64 pool_user_written_bytes = 228964050;

Parameter
Name Description
value long

The poolUserWrittenBytes to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StoragePoolResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides

setTotalProvisionedDiskCapacityGb(long value)

public StoragePoolResourceStatus.Builder setTotalProvisionedDiskCapacityGb(long value)

[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;

Parameter
Name Description
value long

The totalProvisionedDiskCapacityGb to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setTotalProvisionedDiskIops(long value)

public StoragePoolResourceStatus.Builder setTotalProvisionedDiskIops(long value)

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

optional int64 total_provisioned_disk_iops = 32812549;

Parameter
Name Description
value long

The totalProvisionedDiskIops to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setTotalProvisionedDiskThroughput(long value)

public StoragePoolResourceStatus.Builder setTotalProvisionedDiskThroughput(long value)

[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;

Parameter
Name Description
value long

The totalProvisionedDiskThroughput to set.

Returns
Type Description
StoragePoolResourceStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final StoragePoolResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StoragePoolResourceStatus.Builder
Overrides