Interface HttpRoute.RouteRuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HttpRoute.RouteRule, HttpRoute.RouteRule.Builder
Enclosing class:
HttpRoute

public static interface HttpRoute.RouteRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The detailed rule defining how to route matched traffic.
    The detailed rule defining how to route matched traffic.
    getMatches(int index)
    A list of matches define conditions used for matching the rule against incoming HTTP requests.
    int
    A list of matches define conditions used for matching the rule against incoming HTTP requests.
    A list of matches define conditions used for matching the rule against incoming HTTP requests.
    A list of matches define conditions used for matching the rule against incoming HTTP requests.
    A list of matches define conditions used for matching the rule against incoming HTTP requests.
    boolean
    The detailed rule defining how to route matched traffic.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMatchesList

      List<HttpRoute.RouteMatch> getMatchesList()
       A list of matches define conditions used for matching the rule against
       incoming HTTP requests. Each match is independent, i.e. this rule will be
       matched if ANY one of the matches is satisfied.
      
       If no matches field is specified, this rule will unconditionally match
       traffic.
      
       If a default rule is desired to be configured, add a rule with no matches
       specified to the end of the rules list.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1;
    • getMatches

      HttpRoute.RouteMatch getMatches(int index)
       A list of matches define conditions used for matching the rule against
       incoming HTTP requests. Each match is independent, i.e. this rule will be
       matched if ANY one of the matches is satisfied.
      
       If no matches field is specified, this rule will unconditionally match
       traffic.
      
       If a default rule is desired to be configured, add a rule with no matches
       specified to the end of the rules list.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1;
    • getMatchesCount

      int getMatchesCount()
       A list of matches define conditions used for matching the rule against
       incoming HTTP requests. Each match is independent, i.e. this rule will be
       matched if ANY one of the matches is satisfied.
      
       If no matches field is specified, this rule will unconditionally match
       traffic.
      
       If a default rule is desired to be configured, add a rule with no matches
       specified to the end of the rules list.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1;
    • getMatchesOrBuilderList

      List<? extends HttpRoute.RouteMatchOrBuilder> getMatchesOrBuilderList()
       A list of matches define conditions used for matching the rule against
       incoming HTTP requests. Each match is independent, i.e. this rule will be
       matched if ANY one of the matches is satisfied.
      
       If no matches field is specified, this rule will unconditionally match
       traffic.
      
       If a default rule is desired to be configured, add a rule with no matches
       specified to the end of the rules list.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1;
    • getMatchesOrBuilder

      HttpRoute.RouteMatchOrBuilder getMatchesOrBuilder(int index)
       A list of matches define conditions used for matching the rule against
       incoming HTTP requests. Each match is independent, i.e. this rule will be
       matched if ANY one of the matches is satisfied.
      
       If no matches field is specified, this rule will unconditionally match
       traffic.
      
       If a default rule is desired to be configured, add a rule with no matches
       specified to the end of the rules list.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.RouteMatch matches = 1;
    • hasAction

      boolean hasAction()
       The detailed rule defining how to route matched traffic.
       
      .google.cloud.networkservices.v1.HttpRoute.RouteAction action = 2;
      Returns:
      Whether the action field is set.
    • getAction

       The detailed rule defining how to route matched traffic.
       
      .google.cloud.networkservices.v1.HttpRoute.RouteAction action = 2;
      Returns:
      The action.
    • getActionOrBuilder

      HttpRoute.RouteActionOrBuilder getActionOrBuilder()
       The detailed rule defining how to route matched traffic.
       
      .google.cloud.networkservices.v1.HttpRoute.RouteAction action = 2;