Class GCRules.VersionRule (2.19.0)

public static final class GCRules.VersionRule implements GCRules.GCRule

Wrapper for building max versions rule

Inheritance

Object > GCRules.VersionRule

Implements

GCRules.GCRule

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getMaxVersions()

public int getMaxVersions()

Gets the configured maximum versions

Returns
TypeDescription
int

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toProto()

public GcRule toProto()
Returns
TypeDescription
com.google.bigtable.admin.v2.GcRule

toString()

public String toString()
Returns
TypeDescription
String
Overrides