Class InstanceGroupsScopedList.Builder (1.31.0)

public static final class InstanceGroupsScopedList.Builder extends GeneratedMessageV3.Builder<InstanceGroupsScopedList.Builder> implements InstanceGroupsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupsScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllInstanceGroups(Iterable<? extends InstanceGroup> values)

public InstanceGroupsScopedList.Builder addAllInstanceGroups(Iterable<? extends InstanceGroup> values)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InstanceGroup>
Returns
TypeDescription
InstanceGroupsScopedList.Builder

addInstanceGroups(InstanceGroup value)

public InstanceGroupsScopedList.Builder addInstanceGroups(InstanceGroup value)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
valueInstanceGroup
Returns
TypeDescription
InstanceGroupsScopedList.Builder

addInstanceGroups(InstanceGroup.Builder builderForValue)

public InstanceGroupsScopedList.Builder addInstanceGroups(InstanceGroup.Builder builderForValue)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
builderForValueInstanceGroup.Builder
Returns
TypeDescription
InstanceGroupsScopedList.Builder

addInstanceGroups(int index, InstanceGroup value)

public InstanceGroupsScopedList.Builder addInstanceGroups(int index, InstanceGroup value)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameters
NameDescription
indexint
valueInstanceGroup
Returns
TypeDescription
InstanceGroupsScopedList.Builder

addInstanceGroups(int index, InstanceGroup.Builder builderForValue)

public InstanceGroupsScopedList.Builder addInstanceGroups(int index, InstanceGroup.Builder builderForValue)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameters
NameDescription
indexint
builderForValueInstanceGroup.Builder
Returns
TypeDescription
InstanceGroupsScopedList.Builder

addInstanceGroupsBuilder()

public InstanceGroup.Builder addInstanceGroupsBuilder()

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Returns
TypeDescription
InstanceGroup.Builder

addInstanceGroupsBuilder(int index)

public InstanceGroup.Builder addInstanceGroupsBuilder(int index)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupsScopedList build()
Returns
TypeDescription
InstanceGroupsScopedList

buildPartial()

public InstanceGroupsScopedList buildPartial()
Returns
TypeDescription
InstanceGroupsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceGroups()

public InstanceGroupsScopedList.Builder clearInstanceGroups()

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Returns
TypeDescription
InstanceGroupsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstanceGroupsScopedList.Builder
Overrides

clearWarning()

public InstanceGroupsScopedList.Builder clearWarning()

[Output Only] An informational warning that replaces the list of instance groups when the list is empty.

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

Returns
TypeDescription
InstanceGroupsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupsScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceGroups(int index)

public InstanceGroup getInstanceGroups(int index)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroup

getInstanceGroupsBuilder(int index)

public InstanceGroup.Builder getInstanceGroupsBuilder(int index)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroup.Builder

getInstanceGroupsBuilderList()

public List<InstanceGroup.Builder> getInstanceGroupsBuilderList()

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Returns
TypeDescription
List<Builder>

getInstanceGroupsCount()

public int getInstanceGroupsCount()

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Returns
TypeDescription
int

getInstanceGroupsList()

public List<InstanceGroup> getInstanceGroupsList()

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Returns
TypeDescription
List<InstanceGroup>

getInstanceGroupsOrBuilder(int index)

public InstanceGroupOrBuilder getInstanceGroupsOrBuilder(int index)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupOrBuilder

getInstanceGroupsOrBuilderList()

public List<? extends InstanceGroupOrBuilder> getInstanceGroupsOrBuilderList()

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InstanceGroupOrBuilder>

getWarning()

public Warning getWarning()

[Output Only] An informational warning that replaces the list of instance groups 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] An informational warning that replaces the list of instance groups when the list is empty.

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

Returns
TypeDescription
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] An informational warning that replaces the list of instance groups when the list is empty.

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] An informational warning that replaces the list of instance groups 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(InstanceGroupsScopedList other)

public InstanceGroupsScopedList.Builder mergeFrom(InstanceGroupsScopedList other)
Parameter
NameDescription
otherInstanceGroupsScopedList
Returns
TypeDescription
InstanceGroupsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceGroupsScopedList.Builder
Overrides

mergeWarning(Warning value)

public InstanceGroupsScopedList.Builder mergeWarning(Warning value)

[Output Only] An informational warning that replaces the list of instance groups when the list is empty.

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

Parameter
NameDescription
valueWarning
Returns
TypeDescription
InstanceGroupsScopedList.Builder

removeInstanceGroups(int index)

public InstanceGroupsScopedList.Builder removeInstanceGroups(int index)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceGroups(int index, InstanceGroup value)

public InstanceGroupsScopedList.Builder setInstanceGroups(int index, InstanceGroup value)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameters
NameDescription
indexint
valueInstanceGroup
Returns
TypeDescription
InstanceGroupsScopedList.Builder

setInstanceGroups(int index, InstanceGroup.Builder builderForValue)

public InstanceGroupsScopedList.Builder setInstanceGroups(int index, InstanceGroup.Builder builderForValue)

[Output Only] The list of instance groups that are contained in this scope.

repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;

Parameters
NameDescription
indexint
builderForValueInstanceGroup.Builder
Returns
TypeDescription
InstanceGroupsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceGroupsScopedList.Builder
Overrides

setWarning(Warning value)

public InstanceGroupsScopedList.Builder setWarning(Warning value)

[Output Only] An informational warning that replaces the list of instance groups when the list is empty.

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

Parameter
NameDescription
valueWarning
Returns
TypeDescription
InstanceGroupsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public InstanceGroupsScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] An informational warning that replaces the list of instance groups when the list is empty.

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

Parameter
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
InstanceGroupsScopedList.Builder