Class TargetPoolsRemoveHealthCheckRequest.Builder (1.20.0)

public static final class TargetPoolsRemoveHealthCheckRequest.Builder extends GeneratedMessageV3.Builder<TargetPoolsRemoveHealthCheckRequest.Builder> implements TargetPoolsRemoveHealthCheckRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveHealthCheckRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllHealthChecks(Iterable<? extends HealthCheckReference> values)

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

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.HealthCheckReference>
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

addHealthChecks(HealthCheckReference value)

public TargetPoolsRemoveHealthCheckRequest.Builder addHealthChecks(HealthCheckReference value)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
valueHealthCheckReference
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

addHealthChecks(HealthCheckReference.Builder builderForValue)

public TargetPoolsRemoveHealthCheckRequest.Builder addHealthChecks(HealthCheckReference.Builder builderForValue)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

addHealthChecks(int index, HealthCheckReference value)

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

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameters
NameDescription
indexint
valueHealthCheckReference
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

addHealthChecks(int index, HealthCheckReference.Builder builderForValue)

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

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameters
NameDescription
indexint
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

addHealthChecksBuilder()

public HealthCheckReference.Builder addHealthChecksBuilder()

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Returns
TypeDescription
HealthCheckReference.Builder

addHealthChecksBuilder(int index)

public HealthCheckReference.Builder addHealthChecksBuilder(int index)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthCheckReference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetPoolsRemoveHealthCheckRequest build()
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest

buildPartial()

public TargetPoolsRemoveHealthCheckRequest buildPartial()
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TargetPoolsRemoveHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder
Overrides

clearHealthChecks()

public TargetPoolsRemoveHealthCheckRequest.Builder clearHealthChecks()

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetPoolsRemoveHealthCheckRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHealthChecks(int index)

public HealthCheckReference getHealthChecks(int index)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthCheckReference

getHealthChecksBuilder(int index)

public HealthCheckReference.Builder getHealthChecksBuilder(int index)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthCheckReference.Builder

getHealthChecksBuilderList()

public List<HealthCheckReference.Builder> getHealthChecksBuilderList()

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Returns
TypeDescription
List<Builder>

getHealthChecksCount()

public int getHealthChecksCount()

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Returns
TypeDescription
int

getHealthChecksList()

public List<HealthCheckReference> getHealthChecksList()

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Returns
TypeDescription
List<HealthCheckReference>

getHealthChecksOrBuilder(int index)

public HealthCheckReferenceOrBuilder getHealthChecksOrBuilder(int index)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthCheckReferenceOrBuilder

getHealthChecksOrBuilderList()

public List<? extends HealthCheckReferenceOrBuilder> getHealthChecksOrBuilderList()

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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(TargetPoolsRemoveHealthCheckRequest other)

public TargetPoolsRemoveHealthCheckRequest.Builder mergeFrom(TargetPoolsRemoveHealthCheckRequest other)
Parameter
NameDescription
otherTargetPoolsRemoveHealthCheckRequest
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetPoolsRemoveHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder
Overrides

removeHealthChecks(int index)

public TargetPoolsRemoveHealthCheckRequest.Builder removeHealthChecks(int index)

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthChecks(int index, HealthCheckReference value)

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

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameters
NameDescription
indexint
valueHealthCheckReference
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

setHealthChecks(int index, HealthCheckReference.Builder builderForValue)

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

Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check

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

Parameters
NameDescription
indexint
builderForValueHealthCheckReference.Builder
Returns
TypeDescription
TargetPoolsRemoveHealthCheckRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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