Interface InstanceGroupManagersDeleteInstancesRequestOrBuilder (1.17.0)

public interface InstanceGroupManagersDeleteInstancesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstances(int index)

public abstract 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].

repeated string instances = 29097598;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The instances at the given index.

getInstancesBytes(int index)

public abstract 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].

repeated string instances = 29097598;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the instances at the given index.

getInstancesCount()

public abstract 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].

repeated string instances = 29097598;

Returns
TypeDescription
int

The count of instances.

getInstancesList()

public abstract List<String> 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].

repeated string instances = 29097598;

Returns
TypeDescription
List<String>

A list containing the instances.

getSkipInstancesOnValidationError()

public abstract 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
TypeDescription
boolean

The skipInstancesOnValidationError.

hasSkipInstancesOnValidationError()

public abstract 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
TypeDescription
boolean

Whether the skipInstancesOnValidationError field is set.