Class HealthChecksScopedList.Builder (1.52.0)

public static final class HealthChecksScopedList.Builder extends GeneratedMessageV3.Builder<HealthChecksScopedList.Builder> implements HealthChecksScopedListOrBuilder

Protobuf type google.cloud.compute.v1.HealthChecksScopedList

Static Methods

getDescriptor()

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

Methods

addAllHealthChecks(Iterable<? extends HealthCheck> values)

public HealthChecksScopedList.Builder addAllHealthChecks(Iterable<? extends HealthCheck> values)

A list of HealthChecks contained in this scope.

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

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

addHealthChecks(HealthCheck value)

public HealthChecksScopedList.Builder addHealthChecks(HealthCheck value)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
value HealthCheck
Returns
Type Description
HealthChecksScopedList.Builder

addHealthChecks(HealthCheck.Builder builderForValue)

public HealthChecksScopedList.Builder addHealthChecks(HealthCheck.Builder builderForValue)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
builderForValue HealthCheck.Builder
Returns
Type Description
HealthChecksScopedList.Builder

addHealthChecks(int index, HealthCheck value)

public HealthChecksScopedList.Builder addHealthChecks(int index, HealthCheck value)

A list of HealthChecks contained in this scope.

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

Parameters
Name Description
index int
value HealthCheck
Returns
Type Description
HealthChecksScopedList.Builder

addHealthChecks(int index, HealthCheck.Builder builderForValue)

public HealthChecksScopedList.Builder addHealthChecks(int index, HealthCheck.Builder builderForValue)

A list of HealthChecks contained in this scope.

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

Parameters
Name Description
index int
builderForValue HealthCheck.Builder
Returns
Type Description
HealthChecksScopedList.Builder

addHealthChecksBuilder()

public HealthCheck.Builder addHealthChecksBuilder()

A list of HealthChecks contained in this scope.

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

Returns
Type Description
HealthCheck.Builder

addHealthChecksBuilder(int index)

public HealthCheck.Builder addHealthChecksBuilder(int index)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
index int
Returns
Type Description
HealthCheck.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HealthChecksScopedList build()
Returns
Type Description
HealthChecksScopedList

buildPartial()

public HealthChecksScopedList buildPartial()
Returns
Type Description
HealthChecksScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHealthChecks()

public HealthChecksScopedList.Builder clearHealthChecks()

A list of HealthChecks contained in this scope.

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

Returns
Type Description
HealthChecksScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public HealthChecksScopedList.Builder clearWarning()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
HealthChecksScopedList.Builder

clone()

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

getDefaultInstanceForType()

public HealthChecksScopedList getDefaultInstanceForType()
Returns
Type Description
HealthChecksScopedList

getDescriptorForType()

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

getHealthChecks(int index)

public HealthCheck getHealthChecks(int index)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
index int
Returns
Type Description
HealthCheck

getHealthChecksBuilder(int index)

public HealthCheck.Builder getHealthChecksBuilder(int index)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
index int
Returns
Type Description
HealthCheck.Builder

getHealthChecksBuilderList()

public List<HealthCheck.Builder> getHealthChecksBuilderList()

A list of HealthChecks contained in this scope.

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

Returns
Type Description
List<Builder>

getHealthChecksCount()

public int getHealthChecksCount()

A list of HealthChecks contained in this scope.

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

Returns
Type Description
int

getHealthChecksList()

public List<HealthCheck> getHealthChecksList()

A list of HealthChecks contained in this scope.

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

Returns
Type Description
List<HealthCheck>

getHealthChecksOrBuilder(int index)

public HealthCheckOrBuilder getHealthChecksOrBuilder(int index)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
index int
Returns
Type Description
HealthCheckOrBuilder

getHealthChecksOrBuilderList()

public List<? extends HealthCheckOrBuilder> getHealthChecksOrBuilderList()

A list of HealthChecks contained in this scope.

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

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HealthChecksScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public HealthChecksScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
HealthChecksScopedList.Builder

removeHealthChecks(int index)

public HealthChecksScopedList.Builder removeHealthChecks(int index)

A list of HealthChecks contained in this scope.

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

Parameter
Name Description
index int
Returns
Type Description
HealthChecksScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthChecks(int index, HealthCheck value)

public HealthChecksScopedList.Builder setHealthChecks(int index, HealthCheck value)

A list of HealthChecks contained in this scope.

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

Parameters
Name Description
index int
value HealthCheck
Returns
Type Description
HealthChecksScopedList.Builder

setHealthChecks(int index, HealthCheck.Builder builderForValue)

public HealthChecksScopedList.Builder setHealthChecks(int index, HealthCheck.Builder builderForValue)

A list of HealthChecks contained in this scope.

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

Parameters
Name Description
index int
builderForValue HealthCheck.Builder
Returns
Type Description
HealthChecksScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public HealthChecksScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
HealthChecksScopedList.Builder

setWarning(Warning.Builder builderForValue)

public HealthChecksScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of backend services when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
HealthChecksScopedList.Builder