public static final class RoutePolicyPolicyTerm.Builder extends GeneratedMessageV3.Builder<RoutePolicyPolicyTerm.Builder> implements RoutePolicyPolicyTermOrBuilder
Protobuf type google.cloud.compute.v1.RoutePolicyPolicyTerm
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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
|
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;
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
|
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;
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;
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
|
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutePolicyPolicyTerm.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RoutePolicyPolicyTerm build()
buildPartial()
public RoutePolicyPolicyTerm buildPartial()
clear()
public RoutePolicyPolicyTerm.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public RoutePolicyPolicyTerm.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutePolicyPolicyTerm.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public RoutePolicyPolicyTerm.Builder clone()
Overrides
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
|
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RoutePolicyPolicyTerm other)
public RoutePolicyPolicyTerm.Builder mergeFrom(RoutePolicyPolicyTerm other)
public RoutePolicyPolicyTerm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RoutePolicyPolicyTerm.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutePolicyPolicyTerm.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public RoutePolicyPolicyTerm.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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;
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 |
int
The priority to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RoutePolicyPolicyTerm.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RoutePolicyPolicyTerm.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides