Class TargetPoolsRemoveInstanceRequest.Builder (1.56.0)

public static final class TargetPoolsRemoveInstanceRequest.Builder extends GeneratedMessageV3.Builder<TargetPoolsRemoveInstanceRequest.Builder> implements TargetPoolsRemoveInstanceRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveInstanceRequest

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends InstanceReference> values)

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

URLs of the instances to be removed from target pool.

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

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

addInstances(InstanceReference value)

public TargetPoolsRemoveInstanceRequest.Builder addInstances(InstanceReference value)

URLs of the instances to be removed from target pool.

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

Parameter
Name Description
value InstanceReference
Returns
Type Description
TargetPoolsRemoveInstanceRequest.Builder

addInstances(InstanceReference.Builder builderForValue)

public TargetPoolsRemoveInstanceRequest.Builder addInstances(InstanceReference.Builder builderForValue)

URLs of the instances to be removed from target pool.

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

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

addInstances(int index, InstanceReference value)

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

URLs of the instances to be removed from target pool.

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

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

addInstances(int index, InstanceReference.Builder builderForValue)

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

URLs of the instances to be removed from target pool.

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

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

addInstancesBuilder()

public InstanceReference.Builder addInstancesBuilder()

URLs of the instances to be removed from target pool.

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

Returns
Type Description
InstanceReference.Builder

addInstancesBuilder(int index)

public InstanceReference.Builder addInstancesBuilder(int index)

URLs of the instances to be removed from target pool.

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 TargetPoolsRemoveInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetPoolsRemoveInstanceRequest.Builder
Overrides

build()

public TargetPoolsRemoveInstanceRequest build()
Returns
Type Description
TargetPoolsRemoveInstanceRequest

buildPartial()

public TargetPoolsRemoveInstanceRequest buildPartial()
Returns
Type Description
TargetPoolsRemoveInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public TargetPoolsRemoveInstanceRequest.Builder clearInstances()

URLs of the instances to be removed from target pool.

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

Returns
Type Description
TargetPoolsRemoveInstanceRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetPoolsRemoveInstanceRequest getDefaultInstanceForType()
Returns
Type Description
TargetPoolsRemoveInstanceRequest

getDescriptorForType()

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

getInstances(int index)

public InstanceReference getInstances(int index)

URLs of the instances to be removed from target pool.

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)

URLs of the instances to be removed from target pool.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceReference.Builder

getInstancesBuilderList()

public List<InstanceReference.Builder> getInstancesBuilderList()

URLs of the instances to be removed from target pool.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

URLs of the instances to be removed from target pool.

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

Returns
Type Description
int

getInstancesList()

public List<InstanceReference> getInstancesList()

URLs of the instances to be removed from target pool.

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

Returns
Type Description
List<InstanceReference>

getInstancesOrBuilder(int index)

public InstanceReferenceOrBuilder getInstancesOrBuilder(int index)

URLs of the instances to be removed from target pool.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceReferenceOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceReferenceOrBuilder> getInstancesOrBuilderList()

URLs of the instances to be removed from target pool.

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(TargetPoolsRemoveInstanceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public TargetPoolsRemoveInstanceRequest.Builder removeInstances(int index)

URLs of the instances to be removed from target pool.

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

Parameter
Name Description
index int
Returns
Type Description
TargetPoolsRemoveInstanceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, InstanceReference value)

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

URLs of the instances to be removed from target pool.

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

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

setInstances(int index, InstanceReference.Builder builderForValue)

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

URLs of the instances to be removed from target pool.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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