Class InstanceGroupManagersScopedList.Builder (1.51.0)

public static final class InstanceGroupManagersScopedList.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersScopedList.Builder> implements InstanceGroupManagersScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersScopedList

Static Methods

getDescriptor()

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

Methods

addAllInstanceGroupManagers(Iterable<? extends InstanceGroupManager> values)

public InstanceGroupManagersScopedList.Builder addAllInstanceGroupManagers(Iterable<? extends InstanceGroupManager> values)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

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

addInstanceGroupManagers(InstanceGroupManager value)

public InstanceGroupManagersScopedList.Builder addInstanceGroupManagers(InstanceGroupManager value)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
valueInstanceGroupManager
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

addInstanceGroupManagers(InstanceGroupManager.Builder builderForValue)

public InstanceGroupManagersScopedList.Builder addInstanceGroupManagers(InstanceGroupManager.Builder builderForValue)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
builderForValueInstanceGroupManager.Builder
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

addInstanceGroupManagers(int index, InstanceGroupManager value)

public InstanceGroupManagersScopedList.Builder addInstanceGroupManagers(int index, InstanceGroupManager value)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameters
NameDescription
indexint
valueInstanceGroupManager
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

addInstanceGroupManagers(int index, InstanceGroupManager.Builder builderForValue)

public InstanceGroupManagersScopedList.Builder addInstanceGroupManagers(int index, InstanceGroupManager.Builder builderForValue)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameters
NameDescription
indexint
builderForValueInstanceGroupManager.Builder
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

addInstanceGroupManagersBuilder()

public InstanceGroupManager.Builder addInstanceGroupManagersBuilder()

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Returns
TypeDescription
InstanceGroupManager.Builder

addInstanceGroupManagersBuilder(int index)

public InstanceGroupManager.Builder addInstanceGroupManagersBuilder(int index)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManager.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagersScopedList build()
Returns
TypeDescription
InstanceGroupManagersScopedList

buildPartial()

public InstanceGroupManagersScopedList buildPartial()
Returns
TypeDescription
InstanceGroupManagersScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceGroupManagers()

public InstanceGroupManagersScopedList.Builder clearInstanceGroupManagers()

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public InstanceGroupManagersScopedList.Builder clearWarning()

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

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

Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagersScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagersScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceGroupManagers(int index)

public InstanceGroupManager getInstanceGroupManagers(int index)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManager

getInstanceGroupManagersBuilder(int index)

public InstanceGroupManager.Builder getInstanceGroupManagersBuilder(int index)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManager.Builder

getInstanceGroupManagersBuilderList()

public List<InstanceGroupManager.Builder> getInstanceGroupManagersBuilderList()

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Returns
TypeDescription
List<Builder>

getInstanceGroupManagersCount()

public int getInstanceGroupManagersCount()

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Returns
TypeDescription
int

getInstanceGroupManagersList()

public List<InstanceGroupManager> getInstanceGroupManagersList()

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Returns
TypeDescription
List<InstanceGroupManager>

getInstanceGroupManagersOrBuilder(int index)

public InstanceGroupManagerOrBuilder getInstanceGroupManagersOrBuilder(int index)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManagerOrBuilder

getInstanceGroupManagersOrBuilderList()

public List<? extends InstanceGroupManagerOrBuilder> getInstanceGroupManagersOrBuilderList()

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

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

getWarning()

public Warning getWarning()

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

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] The warning that replaces the list of managed 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(InstanceGroupManagersScopedList other)

public InstanceGroupManagersScopedList.Builder mergeFrom(InstanceGroupManagersScopedList other)
Parameter
NameDescription
otherInstanceGroupManagersScopedList
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public InstanceGroupManagersScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
NameDescription
valueWarning
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

removeInstanceGroupManagers(int index)

public InstanceGroupManagersScopedList.Builder removeInstanceGroupManagers(int index)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceGroupManagers(int index, InstanceGroupManager value)

public InstanceGroupManagersScopedList.Builder setInstanceGroupManagers(int index, InstanceGroupManager value)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameters
NameDescription
indexint
valueInstanceGroupManager
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

setInstanceGroupManagers(int index, InstanceGroupManager.Builder builderForValue)

public InstanceGroupManagersScopedList.Builder setInstanceGroupManagers(int index, InstanceGroupManager.Builder builderForValue)

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Parameters
NameDescription
indexint
builderForValueInstanceGroupManager.Builder
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public InstanceGroupManagersScopedList.Builder setWarning(Warning value)

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

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

Parameter
NameDescription
valueWarning
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder

setWarning(Warning.Builder builderForValue)

public InstanceGroupManagersScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
InstanceGroupManagersScopedList.Builder