Class HealthChecksScopedList.Builder (1.45.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.HealthCheck>
Returns
TypeDescription
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
NameDescription
valueHealthCheck
Returns
TypeDescription
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
NameDescription
builderForValueHealthCheck.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHealthCheck
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHealthCheck.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HealthCheck.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HealthChecksScopedList build()
Returns
TypeDescription
HealthChecksScopedList

buildPartial()

public HealthChecksScopedList buildPartial()
Returns
TypeDescription
HealthChecksScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public HealthChecksScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
HealthChecksScopedList.Builder

clone()

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

getDefaultInstanceForType()

public HealthChecksScopedList getDefaultInstanceForType()
Returns
TypeDescription
HealthChecksScopedList

getDescriptorForType()

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

getHealthChecksCount()

public int getHealthChecksCount()

A list of HealthChecks contained in this scope.

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

Returns
TypeDescription
int

getHealthChecksList()

public List<HealthCheck> getHealthChecksList()

A list of HealthChecks contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HealthChecksScopedList other)

public HealthChecksScopedList.Builder mergeFrom(HealthChecksScopedList other)
Parameter
NameDescription
otherHealthChecksScopedList
Returns
TypeDescription
HealthChecksScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final HealthChecksScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
HealthChecksScopedList.Builder