public static final class ReservationSubBlockHealthInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder> implements ReservationSubBlockHealthInfoOrBuilder
Health information for the reservation subBlock.Protobuf type
google.cloud.compute.v1.ReservationSubBlockHealthInfo| Modifier and Type | Method and Description |
|---|---|
ReservationSubBlockHealthInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReservationSubBlockHealthInfo |
build() |
ReservationSubBlockHealthInfo |
buildPartial() |
ReservationSubBlockHealthInfo.Builder |
clear() |
ReservationSubBlockHealthInfo.Builder |
clearDegradedHostCount()
The number of degraded hosts in the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
clearDegradedInfraCount()
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
|
ReservationSubBlockHealthInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReservationSubBlockHealthInfo.Builder |
clearHealthStatus()
The health status of the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
clearHealthyHostCount()
The number of healthy hosts in the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
clearHealthyInfraCount()
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
|
ReservationSubBlockHealthInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReservationSubBlockHealthInfo.Builder |
clone() |
ReservationSubBlockHealthInfo |
getDefaultInstanceForType() |
int |
getDegradedHostCount()
The number of degraded hosts in the reservation subBlock.
|
int |
getDegradedInfraCount()
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHealthStatus()
The health status of the reservation subBlock.
|
com.google.protobuf.ByteString |
getHealthStatusBytes()
The health status of the reservation subBlock.
|
int |
getHealthyHostCount()
The number of healthy hosts in the reservation subBlock.
|
int |
getHealthyInfraCount()
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
|
boolean |
hasDegradedHostCount()
The number of degraded hosts in the reservation subBlock.
|
boolean |
hasDegradedInfraCount()
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
|
boolean |
hasHealthStatus()
The health status of the reservation subBlock.
|
boolean |
hasHealthyHostCount()
The number of healthy hosts in the reservation subBlock.
|
boolean |
hasHealthyInfraCount()
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReservationSubBlockHealthInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReservationSubBlockHealthInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReservationSubBlockHealthInfo.Builder |
mergeFrom(ReservationSubBlockHealthInfo other) |
ReservationSubBlockHealthInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReservationSubBlockHealthInfo.Builder |
setDegradedHostCount(int value)
The number of degraded hosts in the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
setDegradedInfraCount(int value)
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
|
ReservationSubBlockHealthInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReservationSubBlockHealthInfo.Builder |
setHealthStatus(String value)
The health status of the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
setHealthStatusBytes(com.google.protobuf.ByteString value)
The health status of the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
setHealthyHostCount(int value)
The number of healthy hosts in the reservation subBlock.
|
ReservationSubBlockHealthInfo.Builder |
setHealthyInfraCount(int value)
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
|
ReservationSubBlockHealthInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReservationSubBlockHealthInfo.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<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.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<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReservationSubBlockHealthInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReservationSubBlockHealthInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReservationSubBlockHealthInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.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<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.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<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.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<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.Builder mergeFrom(ReservationSubBlockHealthInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder>public ReservationSubBlockHealthInfo.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<ReservationSubBlockHealthInfo.Builder>IOExceptionpublic boolean hasDegradedHostCount()
The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;hasDegradedHostCount in interface ReservationSubBlockHealthInfoOrBuilderpublic int getDegradedHostCount()
The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;getDegradedHostCount in interface ReservationSubBlockHealthInfoOrBuilderpublic ReservationSubBlockHealthInfo.Builder setDegradedHostCount(int value)
The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;value - The degradedHostCount to set.public ReservationSubBlockHealthInfo.Builder clearDegradedHostCount()
The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;public boolean hasDegradedInfraCount()
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;hasDegradedInfraCount in interface ReservationSubBlockHealthInfoOrBuilderpublic int getDegradedInfraCount()
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;getDegradedInfraCount in interface ReservationSubBlockHealthInfoOrBuilderpublic ReservationSubBlockHealthInfo.Builder setDegradedInfraCount(int value)
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;value - The degradedInfraCount to set.public ReservationSubBlockHealthInfo.Builder clearDegradedInfraCount()
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;public boolean hasHealthStatus()
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;hasHealthStatus in interface ReservationSubBlockHealthInfoOrBuilderpublic String getHealthStatus()
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;getHealthStatus in interface ReservationSubBlockHealthInfoOrBuilderpublic com.google.protobuf.ByteString getHealthStatusBytes()
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;getHealthStatusBytes in interface ReservationSubBlockHealthInfoOrBuilderpublic ReservationSubBlockHealthInfo.Builder setHealthStatus(String value)
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;value - The healthStatus to set.public ReservationSubBlockHealthInfo.Builder clearHealthStatus()
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;public ReservationSubBlockHealthInfo.Builder setHealthStatusBytes(com.google.protobuf.ByteString value)
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;value - The bytes for healthStatus to set.public boolean hasHealthyHostCount()
The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;hasHealthyHostCount in interface ReservationSubBlockHealthInfoOrBuilderpublic int getHealthyHostCount()
The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;getHealthyHostCount in interface ReservationSubBlockHealthInfoOrBuilderpublic ReservationSubBlockHealthInfo.Builder setHealthyHostCount(int value)
The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;value - The healthyHostCount to set.public ReservationSubBlockHealthInfo.Builder clearHealthyHostCount()
The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;public boolean hasHealthyInfraCount()
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;hasHealthyInfraCount in interface ReservationSubBlockHealthInfoOrBuilderpublic int getHealthyInfraCount()
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;getHealthyInfraCount in interface ReservationSubBlockHealthInfoOrBuilderpublic ReservationSubBlockHealthInfo.Builder setHealthyInfraCount(int value)
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;value - The healthyInfraCount to set.public ReservationSubBlockHealthInfo.Builder clearHealthyInfraCount()
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;public final ReservationSubBlockHealthInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder>public final ReservationSubBlockHealthInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReservationSubBlockHealthInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.