Class InstanceGroupManagersDeleteInstancesRequest (1.53.0)

public final class InstanceGroupManagersDeleteInstancesRequest extends GeneratedMessageV3 implements InstanceGroupManagersDeleteInstancesRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest

Inheritance

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

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

SKIP_INSTANCES_ON_VALIDATION_ERROR_FIELD_NUMBER

public static final int SKIP_INSTANCES_ON_VALIDATION_ERROR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstanceGroupManagersDeleteInstancesRequest getDefaultInstance()
Returns
Type Description
InstanceGroupManagersDeleteInstancesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(InstanceGroupManagersDeleteInstancesRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InstanceGroupManagersDeleteInstancesRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersDeleteInstancesRequest

getInstances(int index)

public String getInstances(int index)

The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.

repeated string instances = 29097598;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The instances at the given index.

getInstancesBytes(int index)

public ByteString getInstancesBytes(int index)

The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.

repeated string instances = 29097598;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the instances at the given index.

getInstancesCount()

public int getInstancesCount()

The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.

repeated string instances = 29097598;

Returns
Type Description
int

The count of instances.

getInstancesList()

public ProtocolStringList getInstancesList()

The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.

repeated string instances = 29097598;

Returns
Type Description
ProtocolStringList

A list containing the instances.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipInstancesOnValidationError()

public boolean getSkipInstancesOnValidationError()

Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to false and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.

optional bool skip_instances_on_validation_error = 40631073;

Returns
Type Description
boolean

The skipInstancesOnValidationError.

hasSkipInstancesOnValidationError()

public boolean hasSkipInstancesOnValidationError()

Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to false and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.

optional bool skip_instances_on_validation_error = 40631073;

Returns
Type Description
boolean

Whether the skipInstancesOnValidationError 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 InstanceGroupManagersDeleteInstancesRequest.Builder newBuilderForType()
Returns
Type Description
InstanceGroupManagersDeleteInstancesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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