Package com.google.cloud.compute.v1
Interface AllocationResourceStatusHealthInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocationResourceStatusHealthInfo,AllocationResourceStatusHealthInfo.Builder
@Generated
public interface AllocationResourceStatusHealthInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of reservation blocks that are degraded.The health status of the reservation.com.google.protobuf.ByteStringThe health status of the reservation.intThe number of reservation blocks that are healthy.booleanThe number of reservation blocks that are degraded.booleanThe health status of the reservation.booleanThe number of reservation blocks that are healthy.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDegradedBlockCount
boolean hasDegradedBlockCount()The number of reservation blocks that are degraded.
optional int32 degraded_block_count = 514082636;- Returns:
- Whether the degradedBlockCount field is set.
-
getDegradedBlockCount
int getDegradedBlockCount()The number of reservation blocks that are degraded.
optional int32 degraded_block_count = 514082636;- Returns:
- The degradedBlockCount.
-
hasHealthStatus
boolean hasHealthStatus()The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;- Returns:
- Whether the healthStatus field is set.
-
getHealthStatus
String getHealthStatus()The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;- Returns:
- The healthStatus.
-
getHealthStatusBytes
com.google.protobuf.ByteString getHealthStatusBytes()The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;- Returns:
- The bytes for healthStatus.
-
hasHealthyBlockCount
boolean hasHealthyBlockCount()The number of reservation blocks that are healthy.
optional int32 healthy_block_count = 223625019;- Returns:
- Whether the healthyBlockCount field is set.
-
getHealthyBlockCount
int getHealthyBlockCount()The number of reservation blocks that are healthy.
optional int32 healthy_block_count = 223625019;- Returns:
- The healthyBlockCount.
-