Interface BatchDeleteVersionsRequestOrBuilder (1.47.0)

public interface BatchDeleteVersionsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNames(int index)

public abstract String getNames(int index)

Required. The names of the versions to delete. A maximum of 10000 versions can be deleted in a batch.

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The names at the given index.

getNamesBytes(int index)

public abstract ByteString getNamesBytes(int index)

Required. The names of the versions to delete. A maximum of 10000 versions can be deleted in a batch.

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the names at the given index.

getNamesCount()

public abstract int getNamesCount()

Required. The names of the versions to delete. A maximum of 10000 versions can be deleted in a batch.

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of names.

getNamesList()

public abstract List<String> getNamesList()

Required. The names of the versions to delete. A maximum of 10000 versions can be deleted in a batch.

repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the names.

getParent()

public abstract String getParent()

The name of the repository holding all requested versions.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The name of the repository holding all requested versions.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

If true, the request is performed without deleting data, following AIP-163.

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.