Class TargetPoolsAddHealthCheckRequest.Builder (1.25.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.HealthCheckReference>
Returns
TypeDescription
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
NameDescription
valueHealthCheckReference
Returns
TypeDescription
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
NameDescription
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHealthCheckReference
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HealthCheckReference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetPoolsAddHealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides

build()

public TargetPoolsAddHealthCheckRequest build()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest

buildPartial()

public TargetPoolsAddHealthCheckRequest buildPartial()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest

clear()

public TargetPoolsAddHealthCheckRequest.Builder clear()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetPoolsAddHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetPoolsAddHealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides

clone()

public TargetPoolsAddHealthCheckRequest.Builder clone()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides

getDefaultInstanceForType()

public TargetPoolsAddHealthCheckRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getHealthChecksCount()

public int getHealthChecksCount()

The HttpHealthCheck to add to the target pool.

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

Returns
TypeDescription
int

getHealthChecksList()

public List<HealthCheckReference> getHealthChecksList()

The HttpHealthCheck to add to the target pool.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.HealthCheckReferenceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetPoolsAddHealthCheckRequest other)

public TargetPoolsAddHealthCheckRequest.Builder mergeFrom(TargetPoolsAddHealthCheckRequest other)
Parameter
NameDescription
otherTargetPoolsAddHealthCheckRequest
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetPoolsAddHealthCheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TargetPoolsAddHealthCheckRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetPoolsAddHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TargetPoolsAddHealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueHealthCheckReference
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder

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

public TargetPoolsAddHealthCheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetPoolsAddHealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder
Overrides