Class GCRules.VersionRule

java.lang.Object
com.google.cloud.bigtable.admin.v2.models.GCRules.VersionRule
All Implemented Interfaces:
GCRules.GCRule
Enclosing class:
GCRules

public static final class GCRules.VersionRule extends Object implements GCRules.GCRule
Wrapper for building max versions rule
  • Method Details

    • getMaxVersions

      public int getMaxVersions()
      Gets the configured maximum versions
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toProto

      @InternalApi public com.google.bigtable.admin.v2.GcRule toProto()
      Specified by:
      toProto in interface GCRules.GCRule