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 Summary
Modifier and TypeMethodDescriptionThe HTTP request path value should exactly match this value.com.google.protobuf.ByteStringThe HTTP request path value should exactly match this value.getHeaders(int index) Specifies a list of HTTP request headers to match against.intSpecifies a list of HTTP request headers to match against.Specifies a list of HTTP request headers to match against.getHeadersOrBuilder(int index) Specifies a list of HTTP request headers to match against.List<? extends HttpRoute.HeaderMatchOrBuilder>Specifies a list of HTTP request headers to match against.booleanSpecifies if prefix_match and full_path_match matches are case sensitive.The HTTP request path value must begin with specified prefix_match.com.google.protobuf.ByteStringThe HTTP request path value must begin with specified prefix_match.getQueryParameters(int index) Specifies a list of query parameters to match against.intSpecifies a list of query parameters to match against.Specifies a list of query parameters to match against.getQueryParametersOrBuilder(int index) Specifies a list of query parameters to match against.List<? extends HttpRoute.QueryParameterMatchOrBuilder>Specifies a list of query parameters to match against.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.com.google.protobuf.ByteStringThe 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.booleanThe HTTP request path value should exactly match this value.booleanThe HTTP request path value must begin with specified prefix_match.booleanThe 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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
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
HttpRoute.RouteMatch.PathMatchCase getPathMatchCase()
-