Class TargetPoolsRemoveInstanceRequest.Builder (1.41.0)

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

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveInstanceRequest

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

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
Overrides

build()

public TargetPoolsRemoveInstanceRequest build()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

buildPartial()

public TargetPoolsRemoveInstanceRequest buildPartial()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

clear()

public TargetPoolsRemoveInstanceRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetPoolsRemoveInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearInstances()

public TargetPoolsRemoveInstanceRequest.Builder clearInstances()

URLs of the instances to be removed from target pool.

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TargetPoolsRemoveInstanceRequest.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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