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

getMaxAge()

public Duration getMaxAge()

Gets the configured maximum age

Returns
Type Description
org.threeten.bp.Duration

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