Class TargetPoolsRemoveInstanceRequest (1.40.0)

public final class TargetPoolsRemoveInstanceRequest extends GeneratedMessageV3 implements TargetPoolsRemoveInstanceRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveInstanceRequest

Inheritance

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

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetPoolsRemoveInstanceRequest getDefaultInstance()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

getDescriptor()

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

newBuilder()

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

newBuilder(TargetPoolsRemoveInstanceRequest prototype)

public static TargetPoolsRemoveInstanceRequest.Builder newBuilder(TargetPoolsRemoveInstanceRequest prototype)
Parameter
NameDescription
prototypeTargetPoolsRemoveInstanceRequest
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetPoolsRemoveInstanceRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest

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

getInstancesCount()

public int getInstancesCount()

URLs of the instances to be removed from target pool.

repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;

Returns
TypeDescription
int

getInstancesList()

public List<InstanceReference> getInstancesList()

URLs of the instances to be removed from target pool.

repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;

Returns
TypeDescription
List<InstanceReference>

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

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
TypeDescription
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 TargetPoolsRemoveInstanceRequest.Builder newBuilderForType()
Returns
TypeDescription
TargetPoolsRemoveInstanceRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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