public static final class RoutePolicyPolicyTerm.Builder extends GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder> implements RoutePolicyPolicyTermOrBuilder Protobuf type google.cloud.compute.v1.RoutePolicyPolicyTerm
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RoutePolicyPolicyTerm.BuilderImplements
RoutePolicyPolicyTermOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addActions(Expr value)
public RoutePolicyPolicyTerm.Builder addActions(Expr value)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
value |
Expr |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
addActions(Expr.Builder builderForValue)
public RoutePolicyPolicyTerm.Builder addActions(Expr.Builder builderForValue)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Expr.Builder |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
addActions(int index, Expr value)
public RoutePolicyPolicyTerm.Builder addActions(int index, Expr value)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Expr |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
addActions(int index, Expr.Builder builderForValue)
public RoutePolicyPolicyTerm.Builder addActions(int index, Expr.Builder builderForValue)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Expr.Builder |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
addActionsBuilder()
public Expr.Builder addActionsBuilder()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Returns | |
|---|---|
| Type | Description |
Expr.Builder |
|
addActionsBuilder(int index)
public Expr.Builder addActionsBuilder(int index)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Expr.Builder |
|
addAllActions(Iterable<? extends Expr> values)
public RoutePolicyPolicyTerm.Builder addAllActions(Iterable<? extends Expr> values)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.Expr> |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
build()
public RoutePolicyPolicyTerm build()| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm |
|
buildPartial()
public RoutePolicyPolicyTerm buildPartial()| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm |
|
clear()
public RoutePolicyPolicyTerm.Builder clear()| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
clearActions()
public RoutePolicyPolicyTerm.Builder clearActions()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
clearMatch()
public RoutePolicyPolicyTerm.Builder clearMatch()CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
clearPriority()
public RoutePolicyPolicyTerm.Builder clearPriority()The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
This builder for chaining. |
getActions(int index)
public Expr getActions(int index)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Expr |
|
getActionsBuilder(int index)
public Expr.Builder getActionsBuilder(int index)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Expr.Builder |
|
getActionsBuilderList()
public List<Expr.Builder> getActionsBuilderList()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getActionsCount()
public int getActionsCount()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Returns | |
|---|---|
| Type | Description |
int |
|
getActionsList()
public List<Expr> getActionsList()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Returns | |
|---|---|
| Type | Description |
List<Expr> |
|
getActionsOrBuilder(int index)
public ExprOrBuilder getActionsOrBuilder(int index)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ExprOrBuilder |
|
getActionsOrBuilderList()
public List<? extends ExprOrBuilder> getActionsOrBuilderList()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.ExprOrBuilder> |
|
getDefaultInstanceForType()
public RoutePolicyPolicyTerm getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMatch()
public Expr getMatch()CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Returns | |
|---|---|
| Type | Description |
Expr |
The match. |
getMatchBuilder()
public Expr.Builder getMatchBuilder()CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Returns | |
|---|---|
| Type | Description |
Expr.Builder |
|
getMatchOrBuilder()
public ExprOrBuilder getMatchOrBuilder()CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Returns | |
|---|---|
| Type | Description |
ExprOrBuilder |
|
getPriority()
public int getPriority()The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
int |
The priority. |
hasMatch()
public boolean hasMatch()CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the match field is set. |
hasPriority()
public boolean hasPriority()The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priority field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RoutePolicyPolicyTerm other)
public RoutePolicyPolicyTerm.Builder mergeFrom(RoutePolicyPolicyTerm other)| Parameter | |
|---|---|
| Name | Description |
other |
RoutePolicyPolicyTerm |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RoutePolicyPolicyTerm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RoutePolicyPolicyTerm.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
mergeMatch(Expr value)
public RoutePolicyPolicyTerm.Builder mergeMatch(Expr value)CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Parameter | |
|---|---|
| Name | Description |
value |
Expr |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
removeActions(int index)
public RoutePolicyPolicyTerm.Builder removeActions(int index)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
setActions(int index, Expr value)
public RoutePolicyPolicyTerm.Builder setActions(int index, Expr value)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Expr |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
setActions(int index, Expr.Builder builderForValue)
public RoutePolicyPolicyTerm.Builder setActions(int index, Expr.Builder builderForValue)CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Expr.Builder |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
setMatch(Expr value)
public RoutePolicyPolicyTerm.Builder setMatch(Expr value)CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Parameter | |
|---|---|
| Name | Description |
value |
Expr |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
setMatch(Expr.Builder builderForValue)
public RoutePolicyPolicyTerm.Builder setMatch(Expr.Builder builderForValue)CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes.
optional .google.cloud.compute.v1.Expr match = 103668165;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Expr.Builder |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
setPriority(int value)
public RoutePolicyPolicyTerm.Builder setPriority(int value)The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.
optional int32 priority = 445151652;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe priority to set. |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
This builder for chaining. |