Class GCRules.VersionRule (2.51.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
Name Description
o Object
Returns
Type Description
boolean
Overrides

getMaxVersions()

public int getMaxVersions()

Gets the configured maximum versions

Returns
Type Description
int

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toProto()

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

toString()

public String toString()
Returns
Type Description
String
Overrides