Interface RegionInstanceGroupManagersDeleteInstancesRequestOrBuilder (1.52.0)

public interface RegionInstanceGroupManagersDeleteInstancesRequestOrBuilder 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
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 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
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 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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the skipInstancesOnValidationError field is set.