Class TargetInstancesScopedList.Builder (1.53.0)

public static final class TargetInstancesScopedList.Builder extends GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder> implements TargetInstancesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.TargetInstancesScopedList

Static Methods

getDescriptor()

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

Methods

addAllTargetInstances(Iterable<? extends TargetInstance> values)

public TargetInstancesScopedList.Builder addAllTargetInstances(Iterable<? extends TargetInstance> values)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetInstances(TargetInstance value)

public TargetInstancesScopedList.Builder addTargetInstances(TargetInstance value)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
value TargetInstance
Returns
Type Description
TargetInstancesScopedList.Builder

addTargetInstances(TargetInstance.Builder builderForValue)

public TargetInstancesScopedList.Builder addTargetInstances(TargetInstance.Builder builderForValue)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
builderForValue TargetInstance.Builder
Returns
Type Description
TargetInstancesScopedList.Builder

addTargetInstances(int index, TargetInstance value)

public TargetInstancesScopedList.Builder addTargetInstances(int index, TargetInstance value)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameters
Name Description
index int
value TargetInstance
Returns
Type Description
TargetInstancesScopedList.Builder

addTargetInstances(int index, TargetInstance.Builder builderForValue)

public TargetInstancesScopedList.Builder addTargetInstances(int index, TargetInstance.Builder builderForValue)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameters
Name Description
index int
builderForValue TargetInstance.Builder
Returns
Type Description
TargetInstancesScopedList.Builder

addTargetInstancesBuilder()

public TargetInstance.Builder addTargetInstancesBuilder()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
Type Description
TargetInstance.Builder

addTargetInstancesBuilder(int index)

public TargetInstance.Builder addTargetInstancesBuilder(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
index int
Returns
Type Description
TargetInstance.Builder

build()

public TargetInstancesScopedList build()
Returns
Type Description
TargetInstancesScopedList

buildPartial()

public TargetInstancesScopedList buildPartial()
Returns
Type Description
TargetInstancesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetInstances()

public TargetInstancesScopedList.Builder clearTargetInstances()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
Type Description
TargetInstancesScopedList.Builder

clearWarning()

public TargetInstancesScopedList.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
TargetInstancesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public TargetInstancesScopedList getDefaultInstanceForType()
Returns
Type Description
TargetInstancesScopedList

getDescriptorForType()

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

getTargetInstances(int index)

public TargetInstance getTargetInstances(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
index int
Returns
Type Description
TargetInstance

getTargetInstancesBuilder(int index)

public TargetInstance.Builder getTargetInstancesBuilder(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
index int
Returns
Type Description
TargetInstance.Builder

getTargetInstancesBuilderList()

public List<TargetInstance.Builder> getTargetInstancesBuilderList()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
Type Description
List<Builder>

getTargetInstancesCount()

public int getTargetInstancesCount()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
Type Description
int

getTargetInstancesList()

public List<TargetInstance> getTargetInstancesList()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
Type Description
List<TargetInstance>

getTargetInstancesOrBuilder(int index)

public TargetInstanceOrBuilder getTargetInstancesOrBuilder(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
index int
Returns
Type Description
TargetInstanceOrBuilder

getTargetInstancesOrBuilderList()

public List<? extends TargetInstanceOrBuilder> getTargetInstancesOrBuilderList()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

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

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(TargetInstancesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public TargetInstancesScopedList.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
TargetInstancesScopedList.Builder

removeTargetInstances(int index)

public TargetInstancesScopedList.Builder removeTargetInstances(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
Name Description
index int
Returns
Type Description
TargetInstancesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetInstances(int index, TargetInstance value)

public TargetInstancesScopedList.Builder setTargetInstances(int index, TargetInstance value)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameters
Name Description
index int
value TargetInstance
Returns
Type Description
TargetInstancesScopedList.Builder

setTargetInstances(int index, TargetInstance.Builder builderForValue)

public TargetInstancesScopedList.Builder setTargetInstances(int index, TargetInstance.Builder builderForValue)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameters
Name Description
index int
builderForValue TargetInstance.Builder
Returns
Type Description
TargetInstancesScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public TargetInstancesScopedList.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
TargetInstancesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public TargetInstancesScopedList.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
TargetInstancesScopedList.Builder