Interface HttpRoute.RouteMatchOrBuilder

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

public static interface HttpRoute.RouteMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasFullPathMatch

      boolean hasFullPathMatch()
       The HTTP request path value should exactly match this value.
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string full_path_match = 1;
      Returns:
      Whether the fullPathMatch field is set.
    • getFullPathMatch

      String getFullPathMatch()
       The HTTP request path value should exactly match this value.
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string full_path_match = 1;
      Returns:
      The fullPathMatch.
    • getFullPathMatchBytes

      com.google.protobuf.ByteString getFullPathMatchBytes()
       The HTTP request path value should exactly match this value.
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string full_path_match = 1;
      Returns:
      The bytes for fullPathMatch.
    • hasPrefixMatch

      boolean hasPrefixMatch()
       The HTTP request path value must begin with specified prefix_match.
       prefix_match must begin with a /.
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string prefix_match = 2;
      Returns:
      Whether the prefixMatch field is set.
    • getPrefixMatch

      String getPrefixMatch()
       The HTTP request path value must begin with specified prefix_match.
       prefix_match must begin with a /.
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string prefix_match = 2;
      Returns:
      The prefixMatch.
    • getPrefixMatchBytes

      com.google.protobuf.ByteString getPrefixMatchBytes()
       The HTTP request path value must begin with specified prefix_match.
       prefix_match must begin with a /.
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string prefix_match = 2;
      Returns:
      The bytes for prefixMatch.
    • hasRegexMatch

      boolean hasRegexMatch()
       The HTTP request path value must satisfy the regular expression
       specified by regex_match after removing any query parameters and anchor
       supplied with the original URL. For regular expression grammar, please
       see https://github.com/google/re2/wiki/Syntax
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string regex_match = 3;
      Returns:
      Whether the regexMatch field is set.
    • getRegexMatch

      String getRegexMatch()
       The HTTP request path value must satisfy the regular expression
       specified by regex_match after removing any query parameters and anchor
       supplied with the original URL. For regular expression grammar, please
       see https://github.com/google/re2/wiki/Syntax
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string regex_match = 3;
      Returns:
      The regexMatch.
    • getRegexMatchBytes

      com.google.protobuf.ByteString getRegexMatchBytes()
       The HTTP request path value must satisfy the regular expression
       specified by regex_match after removing any query parameters and anchor
       supplied with the original URL. For regular expression grammar, please
       see https://github.com/google/re2/wiki/Syntax
      
       Only one of full_path_match, prefix_match, or regex_match should be
       used.
       
      string regex_match = 3;
      Returns:
      The bytes for regexMatch.
    • getIgnoreCase

      boolean getIgnoreCase()
       Specifies if prefix_match and full_path_match matches are case sensitive.
       The default value is false.
       
      bool ignore_case = 4;
      Returns:
      The ignoreCase.
    • getHeadersList

      List<HttpRoute.HeaderMatch> getHeadersList()
       Specifies a list of HTTP request headers to match against. ALL of the
       supplied headers must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;
    • getHeaders

      HttpRoute.HeaderMatch getHeaders(int index)
       Specifies a list of HTTP request headers to match against. ALL of the
       supplied headers must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;
    • getHeadersCount

      int getHeadersCount()
       Specifies a list of HTTP request headers to match against. ALL of the
       supplied headers must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;
    • getHeadersOrBuilderList

      List<? extends HttpRoute.HeaderMatchOrBuilder> getHeadersOrBuilderList()
       Specifies a list of HTTP request headers to match against. ALL of the
       supplied headers must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;
    • getHeadersOrBuilder

      HttpRoute.HeaderMatchOrBuilder getHeadersOrBuilder(int index)
       Specifies a list of HTTP request headers to match against. ALL of the
       supplied headers must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;
    • getQueryParametersList

      List<HttpRoute.QueryParameterMatch> getQueryParametersList()
       Specifies a list of query parameters to match against. ALL of the query
       parameters must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;
    • getQueryParameters

      HttpRoute.QueryParameterMatch getQueryParameters(int index)
       Specifies a list of query parameters to match against. ALL of the query
       parameters must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;
    • getQueryParametersCount

      int getQueryParametersCount()
       Specifies a list of query parameters to match against. ALL of the query
       parameters must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;
    • getQueryParametersOrBuilderList

      List<? extends HttpRoute.QueryParameterMatchOrBuilder> getQueryParametersOrBuilderList()
       Specifies a list of query parameters to match against. ALL of the query
       parameters must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;
    • getQueryParametersOrBuilder

      HttpRoute.QueryParameterMatchOrBuilder getQueryParametersOrBuilder(int index)
       Specifies a list of query parameters to match against. ALL of the query
       parameters must be matched.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;
    • getPathMatchCase