Interface AllocationResourceStatusHealthInfoOrBuilder (1.82.0)

public interface AllocationResourceStatusHealthInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDegradedBlockCount()

public abstract int getDegradedBlockCount()

The number of reservation blocks that are degraded.

optional int32 degraded_block_count = 514082636;

Returns
Type Description
int

The degradedBlockCount.

getHealthStatus()

public abstract String getHealthStatus()

The health status of the reservation. Check the HealthStatus enum for the list of possible values.

optional string health_status = 380545845;

Returns
Type Description
String

The healthStatus.

getHealthStatusBytes()

public abstract ByteString getHealthStatusBytes()

The health status of the reservation. Check the HealthStatus enum for the list of possible values.

optional string health_status = 380545845;

Returns
Type Description
ByteString

The bytes for healthStatus.

getHealthyBlockCount()

public abstract int getHealthyBlockCount()

The number of reservation blocks that are healthy.

optional int32 healthy_block_count = 223625019;

Returns
Type Description
int

The healthyBlockCount.

hasDegradedBlockCount()

public abstract boolean hasDegradedBlockCount()

The number of reservation blocks that are degraded.

optional int32 degraded_block_count = 514082636;

Returns
Type Description
boolean

Whether the degradedBlockCount field is set.

hasHealthStatus()

public abstract boolean hasHealthStatus()

The health status of the reservation. Check the HealthStatus enum for the list of possible values.

optional string health_status = 380545845;

Returns
Type Description
boolean

Whether the healthStatus field is set.

hasHealthyBlockCount()

public abstract boolean hasHealthyBlockCount()

The number of reservation blocks that are healthy.

optional int32 healthy_block_count = 223625019;

Returns
Type Description
boolean

Whether the healthyBlockCount field is set.