Class InstanceGroupManagersSetTargetPoolsRequest (1.58.0)

public final class InstanceGroupManagersSetTargetPoolsRequest extends GeneratedMessageV3 implements InstanceGroupManagersSetTargetPoolsRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstanceGroupManagersSetTargetPoolsRequest

Static Fields

FINGERPRINT_FIELD_NUMBER

public static final int FINGERPRINT_FIELD_NUMBER
Field Value
Type Description
int

TARGET_POOLS_FIELD_NUMBER

public static final int TARGET_POOLS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstanceGroupManagersSetTargetPoolsRequest getDefaultInstance()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest

getDescriptor()

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

newBuilder()

public static InstanceGroupManagersSetTargetPoolsRequest.Builder newBuilder()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

newBuilder(InstanceGroupManagersSetTargetPoolsRequest prototype)

public static InstanceGroupManagersSetTargetPoolsRequest.Builder newBuilder(InstanceGroupManagersSetTargetPoolsRequest prototype)
Parameter
Name Description
prototype InstanceGroupManagersSetTargetPoolsRequest
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

parseDelimitedFrom(InputStream input)

public static InstanceGroupManagersSetTargetPoolsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetTargetPoolsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstanceGroupManagersSetTargetPoolsRequest> parser()
Returns
Type Description
Parser<InstanceGroupManagersSetTargetPoolsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest

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.

getParserForType()

public Parser<InstanceGroupManagersSetTargetPoolsRequest> getParserForType()
Returns
Type Description
Parser<InstanceGroupManagersSetTargetPoolsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstanceGroupManagersSetTargetPoolsRequest.Builder newBuilderForType()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceGroupManagersSetTargetPoolsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstanceGroupManagersSetTargetPoolsRequest.Builder toBuilder()
Returns
Type Description
InstanceGroupManagersSetTargetPoolsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException