Class InstanceGroupsScopedList.Builder (1.58.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InstanceGroup>
Returns
Type Description
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
Name Description
value InstanceGroup
Returns
Type Description
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
Name Description
builderForValue InstanceGroup.Builder
Returns
Type Description
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
Name Description
index int
value InstanceGroup
Returns
Type Description
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
Name Description
index int
builderForValue InstanceGroup.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InstanceGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupsScopedList build()
Returns
Type Description
InstanceGroupsScopedList

buildPartial()

public InstanceGroupsScopedList buildPartial()
Returns
Type Description
InstanceGroupsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
InstanceGroupsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
InstanceGroupsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupsScopedList getDefaultInstanceForType()
Returns
Type Description
InstanceGroupsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
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(InstanceGroupsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Warning
Returns
Type Description
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
Name Description
index int
Returns
Type Description
InstanceGroupsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value InstanceGroup
Returns
Type Description
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
Name Description
index int
builderForValue InstanceGroup.Builder
Returns
Type Description
InstanceGroupsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Warning
Returns
Type Description
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
Name Description
builderForValue Warning.Builder
Returns
Type Description
InstanceGroupsScopedList.Builder