Send feedback
Class RoutePolicyPolicyTerm (1.86.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class RoutePolicyPolicyTerm extends GeneratedMessageV3 implements RoutePolicyPolicyTermOrBuilder
Protobuf type google.cloud.compute.v1.RoutePolicyPolicyTerm
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
Field Value
Type
Description
int
MATCH_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER
Field Value
Type
Description
int
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static RoutePolicyPolicyTerm getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RoutePolicyPolicyTerm . Builder newBuilder ()
newBuilder(RoutePolicyPolicyTerm prototype)
public static RoutePolicyPolicyTerm . Builder newBuilder ( RoutePolicyPolicyTerm prototype )
public static RoutePolicyPolicyTerm parseDelimitedFrom ( InputStream input )
public static RoutePolicyPolicyTerm parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RoutePolicyPolicyTerm parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RoutePolicyPolicyTerm parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RoutePolicyPolicyTerm parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RoutePolicyPolicyTerm parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RoutePolicyPolicyTerm parseFrom ( CodedInputStream input )
public static RoutePolicyPolicyTerm parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RoutePolicyPolicyTerm parseFrom ( InputStream input )
public static RoutePolicyPolicyTerm parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RoutePolicyPolicyTerm parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RoutePolicyPolicyTerm parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RoutePolicyPolicyTerm> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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
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 ()
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.
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;
getParserForType()
public Parser<RoutePolicyPolicyTerm> getParserForType ()
Overrides
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.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RoutePolicyPolicyTerm . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RoutePolicyPolicyTerm . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public RoutePolicyPolicyTerm . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]