Class TargetPoolsScopedList.Builder (1.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.TargetPool>
Returns
TypeDescription
TargetPoolsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetPoolsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTargetPool
Returns
TypeDescription
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
NameDescription
builderForValueTargetPool.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTargetPool
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTargetPool.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TargetPool.Builder

build()

public TargetPoolsScopedList build()
Returns
TypeDescription
TargetPoolsScopedList

buildPartial()

public TargetPoolsScopedList buildPartial()
Returns
TypeDescription
TargetPoolsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TargetPoolsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TargetPoolsScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetPoolsScopedList getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolsScopedList

getDescriptorForType()

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

public TargetPoolsScopedList.Builder mergeFrom(TargetPoolsScopedList other)
Parameter
NameDescription
otherTargetPoolsScopedList
Returns
TypeDescription
TargetPoolsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TargetPoolsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTargetPool
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTargetPool.Builder
Returns
TypeDescription
TargetPoolsScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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