Send feedback
Class TargetPoolInstanceHealth.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
public static final class TargetPoolInstanceHealth . Builder extends GeneratedMessageV3 . Builder<TargetPoolInstanceHealth . Builder > implements TargetPoolInstanceHealthOrBuilder
Protobuf type google.cloud.compute.v1.TargetPoolInstanceHealth
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllHealthStatus(Iterable<? extends HealthStatus> values)
public TargetPoolInstanceHealth . Builder addAllHealthStatus ( Iterable <? extends HealthStatus > values )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Name Description values Iterable <? extends com.google.cloud.compute.v1.HealthStatus >
Returns
addHealthStatus(HealthStatus value)
public TargetPoolInstanceHealth . Builder addHealthStatus ( HealthStatus value )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
addHealthStatus(HealthStatus.Builder builderForValue)
public TargetPoolInstanceHealth . Builder addHealthStatus ( HealthStatus . Builder builderForValue )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
addHealthStatus(int index, HealthStatus value)
public TargetPoolInstanceHealth . Builder addHealthStatus ( int index , HealthStatus value )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameters
Returns
addHealthStatus(int index, HealthStatus.Builder builderForValue)
public TargetPoolInstanceHealth . Builder addHealthStatus ( int index , HealthStatus . Builder builderForValue )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameters
Returns
addHealthStatusBuilder()
public HealthStatus . Builder addHealthStatusBuilder ()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns
addHealthStatusBuilder(int index)
public HealthStatus . Builder addHealthStatusBuilder ( int index )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolInstanceHealth . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public TargetPoolInstanceHealth build ()
Returns
buildPartial()
public TargetPoolInstanceHealth buildPartial ()
Returns
clear()
public TargetPoolInstanceHealth . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetPoolInstanceHealth . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearHealthStatus()
public TargetPoolInstanceHealth . Builder clearHealthStatus ()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns
clearKind()
public TargetPoolInstanceHealth . Builder clearKind ()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetPoolInstanceHealth . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public TargetPoolInstanceHealth . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public TargetPoolInstanceHealth getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getHealthStatus(int index)
public HealthStatus getHealthStatus ( int index )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
getHealthStatusBuilder(int index)
public HealthStatus . Builder getHealthStatusBuilder ( int index )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
getHealthStatusBuilderList()
public List<HealthStatus . Builder > getHealthStatusBuilderList ()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns
getHealthStatusCount()
public int getHealthStatusCount ()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns
getHealthStatusList()
public List<HealthStatus> getHealthStatusList ()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns
getHealthStatusOrBuilder(int index)
public HealthStatusOrBuilder getHealthStatusOrBuilder ( int index )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
getHealthStatusOrBuilderList()
public List <? extends HealthStatusOrBuilder > getHealthStatusOrBuilderList ()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns
Type Description List <? extends com.google.cloud.compute.v1.HealthStatusOrBuilder >
getKind()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns
Type Description String The kind.
getKindBytes()
public ByteString getKindBytes ()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns
hasKind()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns
Type Description boolean Whether the kind field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(TargetPoolInstanceHealth other)
public TargetPoolInstanceHealth . Builder mergeFrom ( TargetPoolInstanceHealth other )
Parameter
Returns
public TargetPoolInstanceHealth . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TargetPoolInstanceHealth . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolInstanceHealth . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeHealthStatus(int index)
public TargetPoolInstanceHealth . Builder removeHealthStatus ( int index )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolInstanceHealth . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setHealthStatus(int index, HealthStatus value)
public TargetPoolInstanceHealth . Builder setHealthStatus ( int index , HealthStatus value )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameters
Returns
setHealthStatus(int index, HealthStatus.Builder builderForValue)
public TargetPoolInstanceHealth . Builder setHealthStatus ( int index , HealthStatus . Builder builderForValue )
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameters
Returns
setKind(String value)
public TargetPoolInstanceHealth . Builder setKind ( String value )
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Parameter
Name Description value String
The kind to set.
Returns
setKindBytes(ByteString value)
public TargetPoolInstanceHealth . Builder setKindBytes ( ByteString value )
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Parameter
Name Description value ByteString
The bytes for kind to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetPoolInstanceHealth . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolInstanceHealth . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]