Class GCRules.DurationRule (2.37.0)

public static final class GCRules.DurationRule implements GCRules.GCRule

Wrapper for building max duration rule

Inheritance

Object > GCRules.DurationRule

Implements

GCRules.GCRule

Methods

equals(Object o)

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

getMaxAge()

public Duration getMaxAge()

Gets the configured maximum age

Returns
TypeDescription
org.threeten.bp.Duration

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