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 Type
    Method
    Description
    int
    Minimum number of versions to keep.
    List of package name prefixes that will apply this rule.
    com.google.protobuf.ByteString
    List of package name prefixes that will apply this rule.
    int
    List of package name prefixes that will apply this rule.
    List of package name prefixes that will apply this rule.
    boolean
    Minimum number of versions to keep.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPackageNamePrefixesList

      List<String> 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

      String getPackageNamePrefixes(int index)
       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.