Package com.google.cloud.compute.v1
Class RoutePolicyPolicyTerm.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
com.google.cloud.compute.v1.RoutePolicyPolicyTerm.Builder
- All Implemented Interfaces:
RoutePolicyPolicyTermOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RoutePolicyPolicyTerm
public static final class RoutePolicyPolicyTerm.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
implements RoutePolicyPolicyTermOrBuilder
Protobuf type
google.cloud.compute.v1.RoutePolicyPolicyTerm-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, Expr value) CEL expressions to evaluate to modify a route when this term matches.addActions(int index, Expr.Builder builderForValue) CEL expressions to evaluate to modify a route when this term matches.addActions(Expr value) CEL expressions to evaluate to modify a route when this term matches.addActions(Expr.Builder builderForValue) CEL expressions to evaluate to modify a route when this term matches.CEL expressions to evaluate to modify a route when this term matches.addActionsBuilder(int index) CEL expressions to evaluate to modify a route when this term matches.addAllActions(Iterable<? extends Expr> values) CEL expressions to evaluate to modify a route when this term matches.build()clear()CEL expressions to evaluate to modify a route when this term matches.CEL expression evaluated against a route to determine if this term applies.The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.getActions(int index) CEL expressions to evaluate to modify a route when this term matches.getActionsBuilder(int index) CEL expressions to evaluate to modify a route when this term matches.CEL expressions to evaluate to modify a route when this term matches.intCEL expressions to evaluate to modify a route when this term matches.CEL expressions to evaluate to modify a route when this term matches.getActionsOrBuilder(int index) CEL expressions to evaluate to modify a route when this term matches.List<? extends ExprOrBuilder>CEL expressions to evaluate to modify a route when this term matches.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMatch()CEL expression evaluated against a route to determine if this term applies.CEL expression evaluated against a route to determine if this term applies.CEL expression evaluated against a route to determine if this term applies.intThe evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.booleanhasMatch()CEL expression evaluated against a route to determine if this term applies.booleanThe evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RoutePolicyPolicyTerm other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMatch(Expr value) CEL expression evaluated against a route to determine if this term applies.removeActions(int index) CEL expressions to evaluate to modify a route when this term matches.setActions(int index, Expr value) CEL expressions to evaluate to modify a route when this term matches.setActions(int index, Expr.Builder builderForValue) CEL expressions to evaluate to modify a route when this term matches.CEL expression evaluated against a route to determine if this term applies.setMatch(Expr.Builder builderForValue) CEL expression evaluated against a route to determine if this term applies.setPriority(int value) The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RoutePolicyPolicyTerm.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
-
mergeFrom
public RoutePolicyPolicyTerm.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RoutePolicyPolicyTerm.Builder>- Throws:
IOException
-
getActionsList
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;- Specified by:
getActionsListin interfaceRoutePolicyPolicyTermOrBuilder
-
getActionsCount
public int getActionsCount()CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;- Specified by:
getActionsCountin interfaceRoutePolicyPolicyTermOrBuilder
-
getActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;- Specified by:
getActionsin interfaceRoutePolicyPolicyTermOrBuilder
-
setActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
setActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
addActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
addActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
addActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
addActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
addAllActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
clearActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
removeActions
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
getActionsBuilder
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
getActionsOrBuilder
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;- Specified by:
getActionsOrBuilderin interfaceRoutePolicyPolicyTermOrBuilder
-
getActionsOrBuilderList
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213;- Specified by:
getActionsOrBuilderListin interfaceRoutePolicyPolicyTermOrBuilder
-
addActionsBuilder
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
addActionsBuilder
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
getActionsBuilderList
CEL expressions to evaluate to modify a route when this term matches.
repeated .google.cloud.compute.v1.Expr actions = 448809213; -
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;- Specified by:
hasMatchin interfaceRoutePolicyPolicyTermOrBuilder- Returns:
- Whether the match field is set.
-
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;- Specified by:
getMatchin interfaceRoutePolicyPolicyTermOrBuilder- Returns:
- The match.
-
setMatch
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; -
setMatch
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; -
mergeMatch
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; -
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; -
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
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;- Specified by:
getMatchOrBuilderin interfaceRoutePolicyPolicyTermOrBuilder
-
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;- Specified by:
hasPriorityin interfaceRoutePolicyPolicyTermOrBuilder- Returns:
- Whether the priority field is set.
-
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;- Specified by:
getPriorityin interfaceRoutePolicyPolicyTermOrBuilder- Returns:
- The priority.
-
setPriority
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;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-