Interface CleanupPolicyMostRecentVersionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CleanupPolicyMostRecentVersions,CleanupPolicyMostRecentVersions.Builder
@Generated
public interface CleanupPolicyMostRecentVersionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintMinimum number of versions to keep.getPackageNamePrefixes(int index) List of package name prefixes that will apply this rule.com.google.protobuf.ByteStringgetPackageNamePrefixesBytes(int index) List of package name prefixes that will apply this rule.intList of package name prefixes that will apply this rule.List of package name prefixes that will apply this rule.booleanMinimum number of versions to keep.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPackageNamePrefixesList
List of package name prefixes that will apply this rule.
repeated string package_name_prefixes = 1;- Returns:
- A list containing the packageNamePrefixes.
-
getPackageNamePrefixesCount
int getPackageNamePrefixesCount()List of package name prefixes that will apply this rule.
repeated string package_name_prefixes = 1;- Returns:
- The count of packageNamePrefixes.
-
getPackageNamePrefixes
List of package name prefixes that will apply this rule.
repeated string package_name_prefixes = 1;- Parameters:
index- The index of the element to return.- Returns:
- The packageNamePrefixes at the given index.
-
getPackageNamePrefixesBytes
com.google.protobuf.ByteString getPackageNamePrefixesBytes(int index) List of package name prefixes that will apply this rule.
repeated string package_name_prefixes = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the packageNamePrefixes at the given index.
-
hasKeepCount
boolean hasKeepCount()Minimum number of versions to keep.
optional int32 keep_count = 2;- Returns:
- Whether the keepCount field is set.
-
getKeepCount
int getKeepCount()Minimum number of versions to keep.
optional int32 keep_count = 2;- Returns:
- The keepCount.
-