Class InstancesScopedList.Builder (1.9.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Instance>
Returns
TypeDescription
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
NameDescription
valueInstance
Returns
TypeDescription
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
NameDescription
builderForValueInstance.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstance.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Instance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstancesScopedList build()
Returns
TypeDescription
InstancesScopedList

buildPartial()

public InstancesScopedList buildPartial()
Returns
TypeDescription
InstancesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InstancesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InstancesScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstancesScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstancesScopedList

getDescriptorForType()

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

public InstancesScopedList.Builder mergeFrom(InstancesScopedList other)
Parameter
NameDescription
otherInstancesScopedList
Returns
TypeDescription
InstancesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public InstancesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstance.Builder
Returns
TypeDescription
InstancesScopedList.Builder

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

public InstancesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstancesScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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