Interface PurgeArtifactsResponseOrBuilder (3.47.0)

public interface PurgeArtifactsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPurgeCount()

public abstract long getPurgeCount()

The number of Artifacts that this request deleted (or, if force is false, the number of Artifacts that will be deleted). This can be an estimate.

int64 purge_count = 1;

Returns
Type Description
long

The purgeCount.

getPurgeSample(int index)

public abstract String getPurgeSample(int index)

A sample of the Artifact names that will be deleted. Only populated if force is set to false. The maximum number of samples is 100 (it is possible to return fewer).

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The purgeSample at the given index.

getPurgeSampleBytes(int index)

public abstract ByteString getPurgeSampleBytes(int index)

A sample of the Artifact names that will be deleted. Only populated if force is set to false. The maximum number of samples is 100 (it is possible to return fewer).

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the purgeSample at the given index.

getPurgeSampleCount()

public abstract int getPurgeSampleCount()

A sample of the Artifact names that will be deleted. Only populated if force is set to false. The maximum number of samples is 100 (it is possible to return fewer).

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

Returns
Type Description
int

The count of purgeSample.

getPurgeSampleList()

public abstract List<String> getPurgeSampleList()

A sample of the Artifact names that will be deleted. Only populated if force is set to false. The maximum number of samples is 100 (it is possible to return fewer).

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

Returns
Type Description
List<String>

A list containing the purgeSample.