Package com.google.cloud.compute.v1
Class ReservationSubBlockHealthInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockHealthInfo.Builder>
com.google.cloud.compute.v1.ReservationSubBlockHealthInfo.Builder
- All Implemented Interfaces:
ReservationSubBlockHealthInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationSubBlockHealthInfo
public static final class ReservationSubBlockHealthInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockHealthInfo.Builder>
implements ReservationSubBlockHealthInfoOrBuilder
Health information for the reservation subBlock.Protobuf type
google.cloud.compute.v1.ReservationSubBlockHealthInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of degraded hosts in the reservation subBlock.The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.The health status of the reservation subBlock.The number of healthy hosts in the reservation subBlock.The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.intThe number of degraded hosts in the reservation subBlock.intThe number of degraded infrastructure (e.g NV link domain) in the reservation subblock.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe health status of the reservation subBlock.com.google.protobuf.ByteStringThe health status of the reservation subBlock.intThe number of healthy hosts in the reservation subBlock.intThe number of healthy infrastructure (e.g NV link domain) in the reservation subblock.booleanThe number of degraded hosts in the reservation subBlock.booleanThe number of degraded infrastructure (e.g NV link domain) in the reservation subblock.booleanThe health status of the reservation subBlock.booleanThe number of healthy hosts in the reservation subBlock.booleanThe number of healthy infrastructure (e.g NV link domain) in the reservation subblock.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDegradedHostCount(int value) The number of degraded hosts in the reservation subBlock.setDegradedInfraCount(int value) The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.setHealthStatus(String value) The health status of the reservation subBlock.setHealthStatusBytes(com.google.protobuf.ByteString value) The health status of the reservation subBlock.setHealthyHostCount(int value) The number of healthy hosts in the reservation subBlock.setHealthyInfraCount(int value) The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockHealthInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockHealthInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockHealthInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationSubBlockHealthInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockHealthInfo.Builder>
-
mergeFrom
public ReservationSubBlockHealthInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationSubBlockHealthInfo.Builder>- Throws:
IOException
-
hasDegradedHostCount
public boolean hasDegradedHostCount()The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;- Specified by:
hasDegradedHostCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- Whether the degradedHostCount field is set.
-
getDegradedHostCount
public int getDegradedHostCount()The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;- Specified by:
getDegradedHostCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- The degradedHostCount.
-
setDegradedHostCount
The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;- Parameters:
value- The degradedHostCount to set.- Returns:
- This builder for chaining.
-
clearDegradedHostCount
The number of degraded hosts in the reservation subBlock.
optional int32 degraded_host_count = 535025001;- Returns:
- This builder for chaining.
-
hasDegradedInfraCount
public boolean hasDegradedInfraCount()The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;- Specified by:
hasDegradedInfraCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- Whether the degradedInfraCount field is set.
-
getDegradedInfraCount
public int getDegradedInfraCount()The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;- Specified by:
getDegradedInfraCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- The degradedInfraCount.
-
setDegradedInfraCount
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;- Parameters:
value- The degradedInfraCount to set.- Returns:
- This builder for chaining.
-
clearDegradedInfraCount
The number of degraded infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 degraded_infra_count = 138638927;- Returns:
- This builder for chaining.
-
hasHealthStatus
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;- Specified by:
hasHealthStatusin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- Whether the healthStatus field is set.
-
getHealthStatus
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;- Specified by:
getHealthStatusin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- The healthStatus.
-
getHealthStatusBytes
public 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;- Specified by:
getHealthStatusBytesin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- The bytes for healthStatus.
-
setHealthStatus
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;- Parameters:
value- The healthStatus to set.- Returns:
- This builder for chaining.
-
clearHealthStatus
The health status of the reservation subBlock. Check the HealthStatus enum for the list of possible values.
optional string health_status = 380545845;- Returns:
- This builder for chaining.
-
setHealthStatusBytes
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;- Parameters:
value- The bytes for healthStatus to set.- Returns:
- This builder for chaining.
-
hasHealthyHostCount
public boolean hasHealthyHostCount()The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;- Specified by:
hasHealthyHostCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- Whether the healthyHostCount field is set.
-
getHealthyHostCount
public int getHealthyHostCount()The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;- Specified by:
getHealthyHostCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- The healthyHostCount.
-
setHealthyHostCount
The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;- Parameters:
value- The healthyHostCount to set.- Returns:
- This builder for chaining.
-
clearHealthyHostCount
The number of healthy hosts in the reservation subBlock.
optional int32 healthy_host_count = 40739738;- Returns:
- This builder for chaining.
-
hasHealthyInfraCount
public boolean hasHealthyInfraCount()The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;- Specified by:
hasHealthyInfraCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- Whether the healthyInfraCount field is set.
-
getHealthyInfraCount
public int getHealthyInfraCount()The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;- Specified by:
getHealthyInfraCountin interfaceReservationSubBlockHealthInfoOrBuilder- Returns:
- The healthyInfraCount.
-
setHealthyInfraCount
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;- Parameters:
value- The healthyInfraCount to set.- Returns:
- This builder for chaining.
-
clearHealthyInfraCount
The number of healthy infrastructure (e.g NV link domain) in the reservation subblock.
optional int32 healthy_infra_count = 385052222;- Returns:
- This builder for chaining.
-