Class TargetInstancesScopedList.Builder (1.26.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.TargetInstance>
Returns
TypeDescription
TargetInstancesScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetInstancesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTargetInstance
Returns
TypeDescription
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
NameDescription
builderForValueTargetInstance.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTargetInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTargetInstance.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TargetInstance.Builder

build()

public TargetInstancesScopedList build()
Returns
TypeDescription
TargetInstancesScopedList

buildPartial()

public TargetInstancesScopedList buildPartial()
Returns
TypeDescription
TargetInstancesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetInstancesScopedList getDefaultInstanceForType()
Returns
TypeDescription
TargetInstancesScopedList

getDescriptorForType()

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

public TargetInstancesScopedList.Builder mergeFrom(TargetInstancesScopedList other)
Parameter
NameDescription
otherTargetInstancesScopedList
Returns
TypeDescription
TargetInstancesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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