Class TargetPoolsScopedList.Builder (1.53.0)

public static final class TargetPoolsScopedList.Builder extends GeneratedMessageV3.Builder<TargetPoolsScopedList.Builder> implements TargetPoolsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolsScopedList

Static Methods

getDescriptor()

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

Methods

addAllTargetPools(Iterable<? extends TargetPool> values)

public TargetPoolsScopedList.Builder addAllTargetPools(Iterable<? extends TargetPool> values)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetPools(TargetPool value)

public TargetPoolsScopedList.Builder addTargetPools(TargetPool value)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
value TargetPool
Returns
Type Description
TargetPoolsScopedList.Builder

addTargetPools(TargetPool.Builder builderForValue)

public TargetPoolsScopedList.Builder addTargetPools(TargetPool.Builder builderForValue)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
builderForValue TargetPool.Builder
Returns
Type Description
TargetPoolsScopedList.Builder

addTargetPools(int index, TargetPool value)

public TargetPoolsScopedList.Builder addTargetPools(int index, TargetPool value)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameters
Name Description
index int
value TargetPool
Returns
Type Description
TargetPoolsScopedList.Builder

addTargetPools(int index, TargetPool.Builder builderForValue)

public TargetPoolsScopedList.Builder addTargetPools(int index, TargetPool.Builder builderForValue)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameters
Name Description
index int
builderForValue TargetPool.Builder
Returns
Type Description
TargetPoolsScopedList.Builder

addTargetPoolsBuilder()

public TargetPool.Builder addTargetPoolsBuilder()

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Returns
Type Description
TargetPool.Builder

addTargetPoolsBuilder(int index)

public TargetPool.Builder addTargetPoolsBuilder(int index)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
index int
Returns
Type Description
TargetPool.Builder

build()

public TargetPoolsScopedList build()
Returns
Type Description
TargetPoolsScopedList

buildPartial()

public TargetPoolsScopedList buildPartial()
Returns
Type Description
TargetPoolsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetPools()

public TargetPoolsScopedList.Builder clearTargetPools()

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Returns
Type Description
TargetPoolsScopedList.Builder

clearWarning()

public TargetPoolsScopedList.Builder clearWarning()

Informational warning which replaces the list of addresses when the list is empty.

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

Returns
Type Description
TargetPoolsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public TargetPoolsScopedList getDefaultInstanceForType()
Returns
Type Description
TargetPoolsScopedList

getDescriptorForType()

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

getTargetPools(int index)

public TargetPool getTargetPools(int index)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
index int
Returns
Type Description
TargetPool

getTargetPoolsBuilder(int index)

public TargetPool.Builder getTargetPoolsBuilder(int index)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
index int
Returns
Type Description
TargetPool.Builder

getTargetPoolsBuilderList()

public List<TargetPool.Builder> getTargetPoolsBuilderList()

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Returns
Type Description
List<Builder>

getTargetPoolsCount()

public int getTargetPoolsCount()

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Returns
Type Description
int

getTargetPoolsList()

public List<TargetPool> getTargetPoolsList()

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Returns
Type Description
List<TargetPool>

getTargetPoolsOrBuilder(int index)

public TargetPoolOrBuilder getTargetPoolsOrBuilder(int index)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
index int
Returns
Type Description
TargetPoolOrBuilder

getTargetPoolsOrBuilderList()

public List<? extends TargetPoolOrBuilder> getTargetPoolsOrBuilderList()

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of addresses 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 addresses 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 addresses 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 addresses 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(TargetPoolsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public TargetPoolsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of addresses when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
TargetPoolsScopedList.Builder

removeTargetPools(int index)

public TargetPoolsScopedList.Builder removeTargetPools(int index)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameter
Name Description
index int
Returns
Type Description
TargetPoolsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetPools(int index, TargetPool value)

public TargetPoolsScopedList.Builder setTargetPools(int index, TargetPool value)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameters
Name Description
index int
value TargetPool
Returns
Type Description
TargetPoolsScopedList.Builder

setTargetPools(int index, TargetPool.Builder builderForValue)

public TargetPoolsScopedList.Builder setTargetPools(int index, TargetPool.Builder builderForValue)

A list of target pools contained in this scope.

repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;

Parameters
Name Description
index int
builderForValue TargetPool.Builder
Returns
Type Description
TargetPoolsScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public TargetPoolsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of addresses when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
TargetPoolsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public TargetPoolsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of addresses when the list is empty.

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

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