public final class IntersectionRuleBuilder extends Object
This class ensures type safety when constructing composite rules, preventing the misuse of the standard builder's ambiguous setters.
| Constructor and Description |
|---|
IntersectionRuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
IntersectionRuleBuilder |
add(GcRule rule)
Adds a rule to the intersection.
|
GcRule |
build()
Builds the final GcRule proto.
|
public IntersectionRuleBuilder add(GcRule rule)
rule - The rule to add to the intersection.public GcRule build()
Copyright © 2026 Google LLC. All rights reserved.