Class CompositeHealthChecksScopedList.Builder (1.101.0)

public static final class CompositeHealthChecksScopedList.Builder extends GeneratedMessage.Builder<CompositeHealthChecksScopedList.Builder> implements CompositeHealthChecksScopedListOrBuilder

Protobuf type google.cloud.compute.v1.CompositeHealthChecksScopedList

Static Methods

getDescriptor()

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

Methods

addAllCompositeHealthChecks(Iterable<? extends CompositeHealthCheck> values)

public CompositeHealthChecksScopedList.Builder addAllCompositeHealthChecks(Iterable<? extends CompositeHealthCheck> values)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

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

addCompositeHealthChecks(CompositeHealthCheck value)

public CompositeHealthChecksScopedList.Builder addCompositeHealthChecks(CompositeHealthCheck value)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
value CompositeHealthCheck
Returns
Type Description
CompositeHealthChecksScopedList.Builder

addCompositeHealthChecks(CompositeHealthCheck.Builder builderForValue)

public CompositeHealthChecksScopedList.Builder addCompositeHealthChecks(CompositeHealthCheck.Builder builderForValue)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
builderForValue CompositeHealthCheck.Builder
Returns
Type Description
CompositeHealthChecksScopedList.Builder

addCompositeHealthChecks(int index, CompositeHealthCheck value)

public CompositeHealthChecksScopedList.Builder addCompositeHealthChecks(int index, CompositeHealthCheck value)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameters
Name Description
index int
value CompositeHealthCheck
Returns
Type Description
CompositeHealthChecksScopedList.Builder

addCompositeHealthChecks(int index, CompositeHealthCheck.Builder builderForValue)

public CompositeHealthChecksScopedList.Builder addCompositeHealthChecks(int index, CompositeHealthCheck.Builder builderForValue)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameters
Name Description
index int
builderForValue CompositeHealthCheck.Builder
Returns
Type Description
CompositeHealthChecksScopedList.Builder

addCompositeHealthChecksBuilder()

public CompositeHealthCheck.Builder addCompositeHealthChecksBuilder()

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Returns
Type Description
CompositeHealthCheck.Builder

addCompositeHealthChecksBuilder(int index)

public CompositeHealthCheck.Builder addCompositeHealthChecksBuilder(int index)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthCheck.Builder

build()

public CompositeHealthChecksScopedList build()
Returns
Type Description
CompositeHealthChecksScopedList

buildPartial()

public CompositeHealthChecksScopedList buildPartial()
Returns
Type Description
CompositeHealthChecksScopedList

clear()

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

clearCompositeHealthChecks()

public CompositeHealthChecksScopedList.Builder clearCompositeHealthChecks()

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Returns
Type Description
CompositeHealthChecksScopedList.Builder

clearWarning()

public CompositeHealthChecksScopedList.Builder clearWarning()

Informational warning which replaces the list of composite health checks when the list is empty.

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

Returns
Type Description
CompositeHealthChecksScopedList.Builder

getCompositeHealthChecks(int index)

public CompositeHealthCheck getCompositeHealthChecks(int index)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthCheck

getCompositeHealthChecksBuilder(int index)

public CompositeHealthCheck.Builder getCompositeHealthChecksBuilder(int index)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthCheck.Builder

getCompositeHealthChecksBuilderList()

public List<CompositeHealthCheck.Builder> getCompositeHealthChecksBuilderList()

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Returns
Type Description
List<Builder>

getCompositeHealthChecksCount()

public int getCompositeHealthChecksCount()

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Returns
Type Description
int

getCompositeHealthChecksList()

public List<CompositeHealthCheck> getCompositeHealthChecksList()

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Returns
Type Description
List<CompositeHealthCheck>

getCompositeHealthChecksOrBuilder(int index)

public CompositeHealthCheckOrBuilder getCompositeHealthChecksOrBuilder(int index)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthCheckOrBuilder

getCompositeHealthChecksOrBuilderList()

public List<? extends CompositeHealthCheckOrBuilder> getCompositeHealthChecksOrBuilderList()

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

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

getDefaultInstanceForType()

public CompositeHealthChecksScopedList getDefaultInstanceForType()
Returns
Type Description
CompositeHealthChecksScopedList

getDescriptorForType()

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of composite health checks 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 composite health checks 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 composite health checks 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 composite health checks 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompositeHealthChecksScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeWarning(Warning value)

public CompositeHealthChecksScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of composite health checks when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
CompositeHealthChecksScopedList.Builder

removeCompositeHealthChecks(int index)

public CompositeHealthChecksScopedList.Builder removeCompositeHealthChecks(int index)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthChecksScopedList.Builder

setCompositeHealthChecks(int index, CompositeHealthCheck value)

public CompositeHealthChecksScopedList.Builder setCompositeHealthChecks(int index, CompositeHealthCheck value)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameters
Name Description
index int
value CompositeHealthCheck
Returns
Type Description
CompositeHealthChecksScopedList.Builder

setCompositeHealthChecks(int index, CompositeHealthCheck.Builder builderForValue)

public CompositeHealthChecksScopedList.Builder setCompositeHealthChecks(int index, CompositeHealthCheck.Builder builderForValue)

A list of CompositeHealthChecks contained in this scope.

repeated .google.cloud.compute.v1.CompositeHealthCheck composite_health_checks = 517891062;

Parameters
Name Description
index int
builderForValue CompositeHealthCheck.Builder
Returns
Type Description
CompositeHealthChecksScopedList.Builder

setWarning(Warning value)

public CompositeHealthChecksScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of composite health checks when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
CompositeHealthChecksScopedList.Builder

setWarning(Warning.Builder builderForValue)

public CompositeHealthChecksScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of composite health checks when the list is empty.

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

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