Interface BatchDeleteVersionsRequestOrBuilder (1.30.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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The validateOnly.