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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetPoolsRemoveInstanceRequest build()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

buildPartial()

public TargetPoolsRemoveInstanceRequest buildPartial()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetPoolsRemoveInstanceRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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(TargetPoolsRemoveInstanceRequest other)

public TargetPoolsRemoveInstanceRequest.Builder mergeFrom(TargetPoolsRemoveInstanceRequest other)
Parameter
NameDescription
otherTargetPoolsRemoveInstanceRequest
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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