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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RoutePolicyPolicyTerm.Builder>
    • getDefaultInstanceForType

      public RoutePolicyPolicyTerm getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RoutePolicyPolicyTerm build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RoutePolicyPolicyTerm buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RoutePolicyPolicyTerm.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RoutePolicyPolicyTerm.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RoutePolicyPolicyTerm.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getActionsList in interface RoutePolicyPolicyTermOrBuilder
    • 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:
      getActionsCount in interface RoutePolicyPolicyTermOrBuilder
    • getActions

      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;
      Specified by:
      getActions in interface RoutePolicyPolicyTermOrBuilder
    • setActions

      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;
    • setActions

      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;
    • addActions

      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;
    • addActions

      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;
    • addActions

      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

      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;
    • addAllActions

      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;
    • 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;
    • removeActions

      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;
    • getActionsBuilder

      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;
    • getActionsOrBuilder

      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;
      Specified by:
      getActionsOrBuilder in interface RoutePolicyPolicyTermOrBuilder
    • 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;
      Specified by:
      getActionsOrBuilderList in interface RoutePolicyPolicyTermOrBuilder
    • 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

      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;
    • 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;
    • 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:
      hasMatch in interface RoutePolicyPolicyTermOrBuilder
      Returns:
      Whether the match field is set.
    • 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;
      Specified by:
      getMatch in interface RoutePolicyPolicyTermOrBuilder
      Returns:
      The match.
    • setMatch

      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;
    • setMatch

      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;
    • mergeMatch

      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;
    • 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;
    • 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;
      Specified by:
      getMatchOrBuilder in interface RoutePolicyPolicyTermOrBuilder
    • 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:
      hasPriority in interface RoutePolicyPolicyTermOrBuilder
      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:
      getPriority in interface RoutePolicyPolicyTermOrBuilder
      Returns:
      The priority.
    • setPriority

      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;
      Parameters:
      value - The priority to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.