Class RegionInstanceGroupManagersSetTargetPoolsRequest.Builder (1.65.0)

public static final class RegionInstanceGroupManagersSetTargetPoolsRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder> implements RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

Static Methods

getDescriptor()

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

Methods

addAllTargetPools(Iterable<String> values)

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

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

repeated string target_pools = 336072617;

Parameter
Name Description
values Iterable<String>

The targetPools to add.

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetPools(String value)

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPools(String value)

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

repeated string target_pools = 336072617;

Parameter
Name Description
value String

The targetPools to add.

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

addTargetPoolsBytes(ByteString value)

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPoolsBytes(ByteString value)

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

repeated string target_pools = 336072617;

Parameter
Name Description
value ByteString

The bytes of the targetPools to add.

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

build()

public RegionInstanceGroupManagersSetTargetPoolsRequest build()
Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest

buildPartial()

public RegionInstanceGroupManagersSetTargetPoolsRequest buildPartial()
Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFingerprint()

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder clearFingerprint()

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

optional string fingerprint = 234678500;

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetPools()

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder clearTargetPools()

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

repeated string target_pools = 336072617;

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RegionInstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest

getDescriptorForType()

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

getFingerprint()

public String getFingerprint()

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

optional string fingerprint = 234678500;

Returns
Type Description
String

The fingerprint.

getFingerprintBytes()

public ByteString getFingerprintBytes()

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

optional string fingerprint = 234678500;

Returns
Type Description
ByteString

The bytes for fingerprint.

getTargetPools(int index)

public String getTargetPools(int index)

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

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 URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

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 URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

repeated string target_pools = 336072617;

Returns
Type Description
int

The count of targetPools.

getTargetPoolsList()

public ProtocolStringList getTargetPoolsList()

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

repeated string target_pools = 336072617;

Returns
Type Description
ProtocolStringList

A list containing the targetPools.

hasFingerprint()

public boolean hasFingerprint()

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFingerprint(String value)

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprint(String value)

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

optional string fingerprint = 234678500;

Parameter
Name Description
value String

The fingerprint to set.

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

setFingerprintBytes(ByteString value)

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprintBytes(ByteString value)

Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.

optional string fingerprint = 234678500;

Parameter
Name Description
value ByteString

The bytes for fingerprint to set.

Returns
Type Description
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

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

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

setTargetPools(int index, String value)

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

The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

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
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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