Class TargetPoolsAddHealthCheckRequest.Builder (1.62.0)

public static final class TargetPoolsAddHealthCheckRequest.Builder extends GeneratedMessageV3.Builder<TargetPoolsAddHealthCheckRequest.Builder> implements TargetPoolsAddHealthCheckRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolsAddHealthCheckRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllHealthChecks(Iterable<? extends HealthCheckReference> values)

public TargetPoolsAddHealthCheckRequest.Builder addAllHealthChecks(Iterable<? extends HealthCheckReference> values)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.HealthCheckReference>
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

addHealthChecks(HealthCheckReference value)

public TargetPoolsAddHealthCheckRequest.Builder addHealthChecks(HealthCheckReference value)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
value HealthCheckReference
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

addHealthChecks(HealthCheckReference.Builder builderForValue)

public TargetPoolsAddHealthCheckRequest.Builder addHealthChecks(HealthCheckReference.Builder builderForValue)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
builderForValue HealthCheckReference.Builder
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

addHealthChecks(int index, HealthCheckReference value)

public TargetPoolsAddHealthCheckRequest.Builder addHealthChecks(int index, HealthCheckReference value)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameters
Name Description
index int
value HealthCheckReference
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

addHealthChecks(int index, HealthCheckReference.Builder builderForValue)

public TargetPoolsAddHealthCheckRequest.Builder addHealthChecks(int index, HealthCheckReference.Builder builderForValue)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameters
Name Description
index int
builderForValue HealthCheckReference.Builder
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

addHealthChecksBuilder()

public HealthCheckReference.Builder addHealthChecksBuilder()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
Type Description
HealthCheckReference.Builder

addHealthChecksBuilder(int index)

public HealthCheckReference.Builder addHealthChecksBuilder(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckReference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetPoolsAddHealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

build()

public TargetPoolsAddHealthCheckRequest build()
Returns
Type Description
TargetPoolsAddHealthCheckRequest

buildPartial()

public TargetPoolsAddHealthCheckRequest buildPartial()
Returns
Type Description
TargetPoolsAddHealthCheckRequest

clear()

public TargetPoolsAddHealthCheckRequest.Builder clear()
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetPoolsAddHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

clearHealthChecks()

public TargetPoolsAddHealthCheckRequest.Builder clearHealthChecks()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetPoolsAddHealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

clone()

public TargetPoolsAddHealthCheckRequest.Builder clone()
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

getDefaultInstanceForType()

public TargetPoolsAddHealthCheckRequest getDefaultInstanceForType()
Returns
Type Description
TargetPoolsAddHealthCheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHealthChecks(int index)

public HealthCheckReference getHealthChecks(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckReference

getHealthChecksBuilder(int index)

public HealthCheckReference.Builder getHealthChecksBuilder(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckReference.Builder

getHealthChecksBuilderList()

public List<HealthCheckReference.Builder> getHealthChecksBuilderList()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
Type Description
List<Builder>

getHealthChecksCount()

public int getHealthChecksCount()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
Type Description
int

getHealthChecksList()

public List<HealthCheckReference> getHealthChecksList()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
Type Description
List<HealthCheckReference>

getHealthChecksOrBuilder(int index)

public HealthCheckReferenceOrBuilder getHealthChecksOrBuilder(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
index int
Returns
Type Description
HealthCheckReferenceOrBuilder

getHealthChecksOrBuilderList()

public List<? extends HealthCheckReferenceOrBuilder> getHealthChecksOrBuilderList()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.HealthCheckReferenceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetPoolsAddHealthCheckRequest other)

public TargetPoolsAddHealthCheckRequest.Builder mergeFrom(TargetPoolsAddHealthCheckRequest other)
Parameter
Name Description
other TargetPoolsAddHealthCheckRequest
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetPoolsAddHealthCheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TargetPoolsAddHealthCheckRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetPoolsAddHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

removeHealthChecks(int index)

public TargetPoolsAddHealthCheckRequest.Builder removeHealthChecks(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
Name Description
index int
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TargetPoolsAddHealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

setHealthChecks(int index, HealthCheckReference value)

public TargetPoolsAddHealthCheckRequest.Builder setHealthChecks(int index, HealthCheckReference value)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameters
Name Description
index int
value HealthCheckReference
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

setHealthChecks(int index, HealthCheckReference.Builder builderForValue)

public TargetPoolsAddHealthCheckRequest.Builder setHealthChecks(int index, HealthCheckReference.Builder builderForValue)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameters
Name Description
index int
builderForValue HealthCheckReference.Builder
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TargetPoolsAddHealthCheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetPoolsAddHealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetPoolsAddHealthCheckRequest.Builder
Overrides