Class InstancesScopedList.Builder (1.54.0)

public static final class InstancesScopedList.Builder extends GeneratedMessageV3.Builder<InstancesScopedList.Builder> implements InstancesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstancesScopedList

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends Instance> values)

public InstancesScopedList.Builder addAllInstances(Iterable<? extends Instance> values)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

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

addInstances(Instance value)

public InstancesScopedList.Builder addInstances(Instance value)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
value Instance
Returns
Type Description
InstancesScopedList.Builder

addInstances(Instance.Builder builderForValue)

public InstancesScopedList.Builder addInstances(Instance.Builder builderForValue)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
InstancesScopedList.Builder

addInstances(int index, Instance value)

public InstancesScopedList.Builder addInstances(int index, Instance value)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameters
Name Description
index int
value Instance
Returns
Type Description
InstancesScopedList.Builder

addInstances(int index, Instance.Builder builderForValue)

public InstancesScopedList.Builder addInstances(int index, Instance.Builder builderForValue)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameters
Name Description
index int
builderForValue Instance.Builder
Returns
Type Description
InstancesScopedList.Builder

addInstancesBuilder()

public Instance.Builder addInstancesBuilder()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
Type Description
Instance.Builder

addInstancesBuilder(int index)

public Instance.Builder addInstancesBuilder(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
Instance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstancesScopedList build()
Returns
Type Description
InstancesScopedList

buildPartial()

public InstancesScopedList buildPartial()
Returns
Type Description
InstancesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public InstancesScopedList.Builder clearInstances()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
Type Description
InstancesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public InstancesScopedList.Builder clearWarning()

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Returns
Type Description
InstancesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public InstancesScopedList getDefaultInstanceForType()
Returns
Type Description
InstancesScopedList

getDescriptorForType()

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

getInstances(int index)

public Instance getInstances(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
Instance

getInstancesBuilder(int index)

public Instance.Builder getInstancesBuilder(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
Instance.Builder

getInstancesBuilderList()

public List<Instance.Builder> getInstancesBuilderList()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
Type Description
int

getInstancesList()

public List<Instance> getInstancesList()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
Type Description
List<Instance>

getInstancesOrBuilder(int index)

public InstanceOrBuilder getInstancesOrBuilder(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
InstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

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

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] Informational warning which replaces the list of instances 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(InstancesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public InstancesScopedList.Builder mergeWarning(Warning value)

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
InstancesScopedList.Builder

removeInstances(int index)

public InstancesScopedList.Builder removeInstances(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
InstancesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, Instance value)

public InstancesScopedList.Builder setInstances(int index, Instance value)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameters
Name Description
index int
value Instance
Returns
Type Description
InstancesScopedList.Builder

setInstances(int index, Instance.Builder builderForValue)

public InstancesScopedList.Builder setInstances(int index, Instance.Builder builderForValue)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameters
Name Description
index int
builderForValue Instance.Builder
Returns
Type Description
InstancesScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public InstancesScopedList.Builder setWarning(Warning value)

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
InstancesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public InstancesScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

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