Interface CleanupPolicyMostRecentVersionsOrBuilder (1.54.0)

public interface CleanupPolicyMostRecentVersionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeepCount()

public abstract int getKeepCount()

Minimum number of versions to keep.

optional int32 keep_count = 2;

Returns
Type Description
int

The keepCount.

getPackageNamePrefixes(int index)

public abstract String getPackageNamePrefixes(int index)

List of package name prefixes that will apply this rule.

repeated string package_name_prefixes = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The packageNamePrefixes at the given index.

getPackageNamePrefixesBytes(int index)

public abstract ByteString getPackageNamePrefixesBytes(int index)

List of package name prefixes that will apply this rule.

repeated string package_name_prefixes = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the packageNamePrefixes at the given index.

getPackageNamePrefixesCount()

public abstract int getPackageNamePrefixesCount()

List of package name prefixes that will apply this rule.

repeated string package_name_prefixes = 1;

Returns
Type Description
int

The count of packageNamePrefixes.

getPackageNamePrefixesList()

public abstract List<String> getPackageNamePrefixesList()

List of package name prefixes that will apply this rule.

repeated string package_name_prefixes = 1;

Returns
Type Description
List<String>

A list containing the packageNamePrefixes.

hasKeepCount()

public abstract boolean hasKeepCount()

Minimum number of versions to keep.

optional int32 keep_count = 2;

Returns
Type Description
boolean

Whether the keepCount field is set.