Class InstanceGroupsRemoveInstancesRequest.Builder (1.49.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InstanceReference>
Returns
TypeDescription
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
NameDescription
valueInstanceReference
Returns
TypeDescription
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
NameDescription
builderForValueInstanceReference.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInstanceReference
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstanceReference.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstanceReference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupsRemoveInstancesRequest build()
Returns
TypeDescription
InstanceGroupsRemoveInstancesRequest

buildPartial()

public InstanceGroupsRemoveInstancesRequest buildPartial()
Returns
TypeDescription
InstanceGroupsRemoveInstancesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstanceGroupsRemoveInstancesRequest getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupsRemoveInstancesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupsRemoveInstancesRequest other)

public InstanceGroupsRemoveInstancesRequest.Builder mergeFrom(InstanceGroupsRemoveInstancesRequest other)
Parameter
NameDescription
otherInstanceGroupsRemoveInstancesRequest
Returns
TypeDescription
InstanceGroupsRemoveInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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