Class RegionInstanceGroupManagersSetTargetPoolsRequest (1.31.0)

public final class RegionInstanceGroupManagersSetTargetPoolsRequest extends GeneratedMessageV3 implements RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest

Inheritance

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

Static Fields

FINGERPRINT_FIELD_NUMBER

public static final int FINGERPRINT_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_POOLS_FIELD_NUMBER

public static final int TARGET_POOLS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RegionInstanceGroupManagersSetTargetPoolsRequest getDefaultInstance()
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RegionInstanceGroupManagersSetTargetPoolsRequest.Builder newBuilder()
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

newBuilder(RegionInstanceGroupManagersSetTargetPoolsRequest prototype)

public static RegionInstanceGroupManagersSetTargetPoolsRequest.Builder newBuilder(RegionInstanceGroupManagersSetTargetPoolsRequest prototype)
Parameter
NameDescription
prototypeRegionInstanceGroupManagersSetTargetPoolsRequest
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

parseDelimitedFrom(InputStream input)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersSetTargetPoolsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RegionInstanceGroupManagersSetTargetPoolsRequest> parser()
Returns
TypeDescription
Parser<RegionInstanceGroupManagersSetTargetPoolsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RegionInstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest

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
TypeDescription
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
TypeDescription
ByteString

The bytes for fingerprint.

getParserForType()

public Parser<RegionInstanceGroupManagersSetTargetPoolsRequest> getParserForType()
Returns
TypeDescription
Parser<RegionInstanceGroupManagersSetTargetPoolsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the fingerprint field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder newBuilderForType()
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RegionInstanceGroupManagersSetTargetPoolsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder toBuilder()
Returns
TypeDescription
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException