Class InstanceGroupsRemoveInstancesRequest.Builder (1.57.0)

public static final class InstanceGroupsRemoveInstancesRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupsRemoveInstancesRequest.Builder> implements InstanceGroupsRemoveInstancesRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupsRemoveInstancesRequest

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends InstanceReference> values)

public InstanceGroupsRemoveInstancesRequest.Builder addAllInstances(Iterable<? extends InstanceReference> values)

The list of instances to remove from the instance group.

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

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

addInstances(InstanceReference value)

public InstanceGroupsRemoveInstancesRequest.Builder addInstances(InstanceReference value)

The list of instances to remove from the instance group.

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

Parameter
Name Description
value InstanceReference
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

addInstances(InstanceReference.Builder builderForValue)

public InstanceGroupsRemoveInstancesRequest.Builder addInstances(InstanceReference.Builder builderForValue)

The list of instances to remove from the instance group.

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

Parameter
Name Description
builderForValue InstanceReference.Builder
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

addInstances(int index, InstanceReference value)

public InstanceGroupsRemoveInstancesRequest.Builder addInstances(int index, InstanceReference value)

The list of instances to remove from the instance group.

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

Parameters
Name Description
index int
value InstanceReference
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

addInstances(int index, InstanceReference.Builder builderForValue)

public InstanceGroupsRemoveInstancesRequest.Builder addInstances(int index, InstanceReference.Builder builderForValue)

The list of instances to remove from the instance group.

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

Parameters
Name Description
index int
builderForValue InstanceReference.Builder
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

addInstancesBuilder()

public InstanceReference.Builder addInstancesBuilder()

The list of instances to remove from the instance group.

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

Returns
Type Description
InstanceReference.Builder

addInstancesBuilder(int index)

public InstanceReference.Builder addInstancesBuilder(int index)

The list of instances to remove from the instance group.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceReference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupsRemoveInstancesRequest build()
Returns
Type Description
InstanceGroupsRemoveInstancesRequest

buildPartial()

public InstanceGroupsRemoveInstancesRequest buildPartial()
Returns
Type Description
InstanceGroupsRemoveInstancesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public InstanceGroupsRemoveInstancesRequest.Builder clearInstances()

The list of instances to remove from the instance group.

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

Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstanceGroupsRemoveInstancesRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupsRemoveInstancesRequest

getDescriptorForType()

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

getInstances(int index)

public InstanceReference getInstances(int index)

The list of instances to remove from the instance group.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceReference

getInstancesBuilder(int index)

public InstanceReference.Builder getInstancesBuilder(int index)

The list of instances to remove from the instance group.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceReference.Builder

getInstancesBuilderList()

public List<InstanceReference.Builder> getInstancesBuilderList()

The list of instances to remove from the instance group.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

The list of instances to remove from the instance group.

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

Returns
Type Description
int

getInstancesList()

public List<InstanceReference> getInstancesList()

The list of instances to remove from the instance group.

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

Returns
Type Description
List<InstanceReference>

getInstancesOrBuilder(int index)

public InstanceReferenceOrBuilder getInstancesOrBuilder(int index)

The list of instances to remove from the instance group.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceReferenceOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceReferenceOrBuilder> getInstancesOrBuilderList()

The list of instances to remove from the instance group.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupsRemoveInstancesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public InstanceGroupsRemoveInstancesRequest.Builder removeInstances(int index)

The list of instances to remove from the instance group.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, InstanceReference value)

public InstanceGroupsRemoveInstancesRequest.Builder setInstances(int index, InstanceReference value)

The list of instances to remove from the instance group.

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

Parameters
Name Description
index int
value InstanceReference
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

setInstances(int index, InstanceReference.Builder builderForValue)

public InstanceGroupsRemoveInstancesRequest.Builder setInstances(int index, InstanceReference.Builder builderForValue)

The list of instances to remove from the instance group.

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

Parameters
Name Description
index int
builderForValue InstanceReference.Builder
Returns
Type Description
InstanceGroupsRemoveInstancesRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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