public static final class AllocationResourceStatusHealthInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder> implements AllocationResourceStatusHealthInfoOrBuilder
Health information for the reservation.Protobuf type
google.cloud.compute.v1.AllocationResourceStatusHealthInfo| Modifier and Type | Method and Description |
|---|---|
AllocationResourceStatusHealthInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocationResourceStatusHealthInfo |
build() |
AllocationResourceStatusHealthInfo |
buildPartial() |
AllocationResourceStatusHealthInfo.Builder |
clear() |
AllocationResourceStatusHealthInfo.Builder |
clearDegradedBlockCount()
The number of reservation blocks that are degraded.
|
AllocationResourceStatusHealthInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AllocationResourceStatusHealthInfo.Builder |
clearHealthStatus()
The health status of the reservation.
|
AllocationResourceStatusHealthInfo.Builder |
clearHealthyBlockCount()
The number of reservation blocks that are healthy.
|
AllocationResourceStatusHealthInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocationResourceStatusHealthInfo.Builder |
clone() |
AllocationResourceStatusHealthInfo |
getDefaultInstanceForType() |
int |
getDegradedBlockCount()
The number of reservation blocks that are degraded.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHealthStatus()
The health status of the reservation.
|
com.google.protobuf.ByteString |
getHealthStatusBytes()
The health status of the reservation.
|
int |
getHealthyBlockCount()
The number of reservation blocks that are healthy.
|
boolean |
hasDegradedBlockCount()
The number of reservation blocks that are degraded.
|
boolean |
hasHealthStatus()
The health status of the reservation.
|
boolean |
hasHealthyBlockCount()
The number of reservation blocks that are healthy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocationResourceStatusHealthInfo.Builder |
mergeFrom(AllocationResourceStatusHealthInfo other) |
AllocationResourceStatusHealthInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocationResourceStatusHealthInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocationResourceStatusHealthInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AllocationResourceStatusHealthInfo.Builder |
setDegradedBlockCount(int value)
The number of reservation blocks that are degraded.
|
AllocationResourceStatusHealthInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocationResourceStatusHealthInfo.Builder |
setHealthStatus(String value)
The health status of the reservation.
|
AllocationResourceStatusHealthInfo.Builder |
setHealthStatusBytes(com.google.protobuf.ByteString value)
The health status of the reservation.
|
AllocationResourceStatusHealthInfo.Builder |
setHealthyBlockCount(int value)
The number of reservation blocks that are healthy.
|
AllocationResourceStatusHealthInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocationResourceStatusHealthInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocationResourceStatusHealthInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocationResourceStatusHealthInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocationResourceStatusHealthInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder mergeFrom(AllocationResourceStatusHealthInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public AllocationResourceStatusHealthInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocationResourceStatusHealthInfo.Builder>IOExceptionpublic boolean hasDegradedBlockCount()
The number of reservation blocks that are degraded.
optional int32 degraded_block_count = 514082636;hasDegradedBlockCount in interface AllocationResourceStatusHealthInfoOrBuilderpublic int getDegradedBlockCount()
The number of reservation blocks that are degraded.
optional int32 degraded_block_count = 514082636;getDegradedBlockCount in interface AllocationResourceStatusHealthInfoOrBuilderpublic AllocationResourceStatusHealthInfo.Builder setDegradedBlockCount(int value)
The number of reservation blocks that are degraded.
optional int32 degraded_block_count = 514082636;value - The degradedBlockCount to set.public AllocationResourceStatusHealthInfo.Builder clearDegradedBlockCount()
The number of reservation blocks that are degraded.
optional int32 degraded_block_count = 514082636;public boolean hasHealthStatus()
The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;hasHealthStatus in interface AllocationResourceStatusHealthInfoOrBuilderpublic String getHealthStatus()
The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;getHealthStatus in interface AllocationResourceStatusHealthInfoOrBuilderpublic 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;getHealthStatusBytes in interface AllocationResourceStatusHealthInfoOrBuilderpublic AllocationResourceStatusHealthInfo.Builder setHealthStatus(String value)
The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;value - The healthStatus to set.public AllocationResourceStatusHealthInfo.Builder clearHealthStatus()
The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;public AllocationResourceStatusHealthInfo.Builder setHealthStatusBytes(com.google.protobuf.ByteString value)
The health status of the reservation. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;value - The bytes for healthStatus to set.public boolean hasHealthyBlockCount()
The number of reservation blocks that are healthy.
optional int32 healthy_block_count = 223625019;hasHealthyBlockCount in interface AllocationResourceStatusHealthInfoOrBuilderpublic int getHealthyBlockCount()
The number of reservation blocks that are healthy.
optional int32 healthy_block_count = 223625019;getHealthyBlockCount in interface AllocationResourceStatusHealthInfoOrBuilderpublic AllocationResourceStatusHealthInfo.Builder setHealthyBlockCount(int value)
The number of reservation blocks that are healthy.
optional int32 healthy_block_count = 223625019;value - The healthyBlockCount to set.public AllocationResourceStatusHealthInfo.Builder clearHealthyBlockCount()
The number of reservation blocks that are healthy.
optional int32 healthy_block_count = 223625019;public final AllocationResourceStatusHealthInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>public final AllocationResourceStatusHealthInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationResourceStatusHealthInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.