Class GCRules.UnionRule (2.44.0)

public static final class GCRules.UnionRule implements GCRules.GCRule

Fluent wrapper for Union rule. Allows far adding an hierarchy of rules with union as the root

Inheritance

Object > GCRules.UnionRule

Implements

GCRules.GCRule

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getRulesList()

public List<GCRules.GCRule> getRulesList()

Gets the list of child rules

Returns
Type Description
List<GCRule>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

rule(GCRules.GCRule rule)

public GCRules.UnionRule rule(GCRules.GCRule rule)

Adds a new GCRule

Parameter
Name Description
rule GCRules.GCRule
Returns
Type Description
GCRules.UnionRule

toProto()

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

toString()

public String toString()
Returns
Type Description
String
Overrides