Class InstanceGroupManagersSetTargetPoolsRequest.Builder (1.65.0)

public static final class InstanceGroupManagersSetTargetPoolsRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder> implements InstanceGroupManagersSetTargetPoolsRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest

Static Methods

getDescriptor()

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

Methods

addAllTargetPools(Iterable<String> values)

public InstanceGroupManagersSetTargetPoolsRequest.Builder addAllTargetPools(Iterable<String> values)

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Parameter
Name Description
values Iterable<String>

The targetPools to add.

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetPools(String value)

public InstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPools(String value)

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Parameter
Name Description
value String

The targetPools to add.

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

addTargetPoolsBytes(ByteString value)

public InstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPoolsBytes(ByteString value)

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Parameter
Name Description
value ByteString

The bytes of the targetPools to add.

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

build()

public InstanceGroupManagersSetTargetPoolsRequest build()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest

buildPartial()

public InstanceGroupManagersSetTargetPoolsRequest buildPartial()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFingerprint()

public InstanceGroupManagersSetTargetPoolsRequest.Builder clearFingerprint()

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

optional string fingerprint = 234678500;

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetPools()

public InstanceGroupManagersSetTargetPoolsRequest.Builder clearTargetPools()

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest

getDescriptorForType()

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

getFingerprint()

public String getFingerprint()

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

optional string fingerprint = 234678500;

Returns
Type Description
String

The fingerprint.

getFingerprintBytes()

public ByteString getFingerprintBytes()

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

optional string fingerprint = 234678500;

Returns
Type Description
ByteString

The bytes for fingerprint.

getTargetPools(int index)

public String getTargetPools(int index)

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetPools at the given index.

getTargetPoolsBytes(int index)

public ByteString getTargetPoolsBytes(int index)

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetPools at the given index.

getTargetPoolsCount()

public int getTargetPoolsCount()

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Returns
Type Description
int

The count of targetPools.

getTargetPoolsList()

public ProtocolStringList getTargetPoolsList()

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Returns
Type Description
ProtocolStringList

A list containing the targetPools.

hasFingerprint()

public boolean hasFingerprint()

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

optional string fingerprint = 234678500;

Returns
Type Description
boolean

Whether the fingerprint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagersSetTargetPoolsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFingerprint(String value)

public InstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprint(String value)

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

optional string fingerprint = 234678500;

Parameter
Name Description
value String

The fingerprint to set.

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

setFingerprintBytes(ByteString value)

public InstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprintBytes(ByteString value)

The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.

optional string fingerprint = 234678500;

Parameter
Name Description
value ByteString

The bytes for fingerprint to set.

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

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

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

setTargetPools(int index, String value)

public InstanceGroupManagersSetTargetPoolsRequest.Builder setTargetPools(int index, String value)

The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.

repeated string target_pools = 336072617;

Parameters
Name Description
index int

The index to set the value at.

value String

The targetPools to set.

Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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