Interface CleanupPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CleanupPolicy, CleanupPolicy.Builder

@Generated public interface CleanupPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCondition

      boolean hasCondition()
       Policy condition for matching versions.
       
      .google.devtools.artifactregistry.v1.CleanupPolicyCondition condition = 2;
      Returns:
      Whether the condition field is set.
    • getCondition

      CleanupPolicyCondition getCondition()
       Policy condition for matching versions.
       
      .google.devtools.artifactregistry.v1.CleanupPolicyCondition condition = 2;
      Returns:
      The condition.
    • getConditionOrBuilder

      CleanupPolicyConditionOrBuilder getConditionOrBuilder()
       Policy condition for matching versions.
       
      .google.devtools.artifactregistry.v1.CleanupPolicyCondition condition = 2;
    • hasMostRecentVersions

      boolean hasMostRecentVersions()
       Policy condition for retaining a minimum number of versions. May only be
       specified with a Keep action.
       
      .google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersions most_recent_versions = 4;
      Returns:
      Whether the mostRecentVersions field is set.
    • getMostRecentVersions

      CleanupPolicyMostRecentVersions getMostRecentVersions()
       Policy condition for retaining a minimum number of versions. May only be
       specified with a Keep action.
       
      .google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersions most_recent_versions = 4;
      Returns:
      The mostRecentVersions.
    • getMostRecentVersionsOrBuilder

      CleanupPolicyMostRecentVersionsOrBuilder getMostRecentVersionsOrBuilder()
       Policy condition for retaining a minimum number of versions. May only be
       specified with a Keep action.
       
      .google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersions most_recent_versions = 4;
    • getId

      String getId()
       The user-provided ID of the cleanup policy.
       
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The user-provided ID of the cleanup policy.
       
      string id = 1;
      Returns:
      The bytes for id.
    • getActionValue

      int getActionValue()
       Policy action.
       
      .google.devtools.artifactregistry.v1.CleanupPolicy.Action action = 3;
      Returns:
      The enum numeric value on the wire for action.
    • getAction

       Policy action.
       
      .google.devtools.artifactregistry.v1.CleanupPolicy.Action action = 3;
      Returns:
      The action.
    • getConditionTypeCase

      CleanupPolicy.ConditionTypeCase getConditionTypeCase()