Interface PurgeDocumentsResponseOrBuilder (0.27.0)

public interface PurgeDocumentsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPurgeCount()

public abstract long getPurgeCount()

The total count of documents purged as a result of the operation.

int64 purge_count = 1;

Returns
TypeDescription
long

The purgeCount.

getPurgeSample(int index)

public abstract String getPurgeSample(int index)

A sample of document names that will be deleted. Only populated if force is set to false. A max of 100 names will be returned and the names are chosen at random.

repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The purgeSample at the given index.

getPurgeSampleBytes(int index)

public abstract ByteString getPurgeSampleBytes(int index)

A sample of document names that will be deleted. Only populated if force is set to false. A max of 100 names will be returned and the names are chosen at random.

repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the purgeSample at the given index.

getPurgeSampleCount()

public abstract int getPurgeSampleCount()

A sample of document names that will be deleted. Only populated if force is set to false. A max of 100 names will be returned and the names are chosen at random.

repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of purgeSample.

getPurgeSampleList()

public abstract List<String> getPurgeSampleList()

A sample of document names that will be deleted. Only populated if force is set to false. A max of 100 names will be returned and the names are chosen at random.

repeated string purge_sample = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
List<String>

A list containing the purgeSample.