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
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
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
Returns
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
Returns
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
Returns
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
Returns
addInstancesBuilder()
public InstanceReference.Builder addInstancesBuilder()
URLs of the instances to be removed from target pool.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolsRemoveInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TargetPoolsRemoveInstanceRequest build()
Returns
buildPartial()
public TargetPoolsRemoveInstanceRequest buildPartial()
Returns
clear()
public TargetPoolsRemoveInstanceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetPoolsRemoveInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetPoolsRemoveInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TargetPoolsRemoveInstanceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TargetPoolsRemoveInstanceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
getInstancesCount()
public int getInstancesCount()
URLs of the instances to be removed from target pool.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
getInstancesList()
public List<InstanceReference> getInstancesList()
URLs of the instances to be removed from target pool.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TargetPoolsRemoveInstanceRequest other)
public TargetPoolsRemoveInstanceRequest.Builder mergeFrom(TargetPoolsRemoveInstanceRequest other)
Parameter
Returns
public TargetPoolsRemoveInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TargetPoolsRemoveInstanceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolsRemoveInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolsRemoveInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetPoolsRemoveInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolsRemoveInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides