Class GCRules.UnionRule (2.20.2)

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
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getRulesList()

public List<GCRules.GCRule> getRulesList()

Gets the list of child rules

Returns
TypeDescription
List<GCRule>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

rule(GCRules.GCRule rule)

public GCRules.UnionRule rule(GCRules.GCRule rule)

Adds a new GCRule

Parameter
NameDescription
ruleGCRules.GCRule
Returns
TypeDescription
GCRules.UnionRule

toProto()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides