Class HealthSourcesScopedList.Builder (1.101.0)

public static final class HealthSourcesScopedList.Builder extends GeneratedMessage.Builder<HealthSourcesScopedList.Builder> implements HealthSourcesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.HealthSourcesScopedList

Static Methods

getDescriptor()

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

Methods

addAllHealthSources(Iterable<? extends HealthSource> values)

public HealthSourcesScopedList.Builder addAllHealthSources(Iterable<? extends HealthSource> values)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

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

addHealthSources(HealthSource value)

public HealthSourcesScopedList.Builder addHealthSources(HealthSource value)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
value HealthSource
Returns
Type Description
HealthSourcesScopedList.Builder

addHealthSources(HealthSource.Builder builderForValue)

public HealthSourcesScopedList.Builder addHealthSources(HealthSource.Builder builderForValue)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
builderForValue HealthSource.Builder
Returns
Type Description
HealthSourcesScopedList.Builder

addHealthSources(int index, HealthSource value)

public HealthSourcesScopedList.Builder addHealthSources(int index, HealthSource value)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameters
Name Description
index int
value HealthSource
Returns
Type Description
HealthSourcesScopedList.Builder

addHealthSources(int index, HealthSource.Builder builderForValue)

public HealthSourcesScopedList.Builder addHealthSources(int index, HealthSource.Builder builderForValue)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameters
Name Description
index int
builderForValue HealthSource.Builder
Returns
Type Description
HealthSourcesScopedList.Builder

addHealthSourcesBuilder()

public HealthSource.Builder addHealthSourcesBuilder()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
HealthSource.Builder

addHealthSourcesBuilder(int index)

public HealthSource.Builder addHealthSourcesBuilder(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSource.Builder

build()

public HealthSourcesScopedList build()
Returns
Type Description
HealthSourcesScopedList

buildPartial()

public HealthSourcesScopedList buildPartial()
Returns
Type Description
HealthSourcesScopedList

clear()

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

clearHealthSources()

public HealthSourcesScopedList.Builder clearHealthSources()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
HealthSourcesScopedList.Builder

clearWarning()

public HealthSourcesScopedList.Builder clearWarning()

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

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

Returns
Type Description
HealthSourcesScopedList.Builder

getDefaultInstanceForType()

public HealthSourcesScopedList getDefaultInstanceForType()
Returns
Type Description
HealthSourcesScopedList

getDescriptorForType()

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

getHealthSources(int index)

public HealthSource getHealthSources(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSource

getHealthSourcesBuilder(int index)

public HealthSource.Builder getHealthSourcesBuilder(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSource.Builder

getHealthSourcesBuilderList()

public List<HealthSource.Builder> getHealthSourcesBuilderList()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
List<Builder>

getHealthSourcesCount()

public int getHealthSourcesCount()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
int

getHealthSourcesList()

public List<HealthSource> getHealthSourcesList()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
List<HealthSource>

getHealthSourcesOrBuilder(int index)

public HealthSourceOrBuilder getHealthSourcesOrBuilder(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSourceOrBuilder

getHealthSourcesOrBuilderList()

public List<? extends HealthSourceOrBuilder> getHealthSourcesOrBuilderList()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of health sources 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 health sources 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 health sources 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 health sources 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(HealthSourcesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeWarning(Warning value)

public HealthSourcesScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
HealthSourcesScopedList.Builder

removeHealthSources(int index)

public HealthSourcesScopedList.Builder removeHealthSources(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSourcesScopedList.Builder

setHealthSources(int index, HealthSource value)

public HealthSourcesScopedList.Builder setHealthSources(int index, HealthSource value)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameters
Name Description
index int
value HealthSource
Returns
Type Description
HealthSourcesScopedList.Builder

setHealthSources(int index, HealthSource.Builder builderForValue)

public HealthSourcesScopedList.Builder setHealthSources(int index, HealthSource.Builder builderForValue)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameters
Name Description
index int
builderForValue HealthSource.Builder
Returns
Type Description
HealthSourcesScopedList.Builder

setWarning(Warning value)

public HealthSourcesScopedList.Builder setWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
HealthSourcesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public HealthSourcesScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

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