Interface HttpRoute.RouteMatchOrBuilder (0.15.0)

public static interface HttpRoute.RouteMatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFullPathMatch()

public abstract 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
TypeDescription
String

The fullPathMatch.

getFullPathMatchBytes()

public abstract 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
TypeDescription
ByteString

The bytes for fullPathMatch.

getHeaders(int index)

public abstract 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.events.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
HttpRoute.HeaderMatch

getHeadersCount()

public abstract int getHeadersCount()

Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;

Returns
TypeDescription
int

getHeadersList()

public abstract List<HttpRoute.HeaderMatch> getHeadersList()

Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;

Returns
TypeDescription
List<HeaderMatch>

getHeadersOrBuilder(int index)

public abstract 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.events.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
HttpRoute.HeaderMatchOrBuilder

getHeadersOrBuilderList()

public abstract 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.events.cloud.networkservices.v1.HttpRoute.HeaderMatch headers = 5;

Returns
TypeDescription
List<? extends com.google.events.cloud.networkservices.v1.HttpRoute.HeaderMatchOrBuilder>

getIgnoreCase()

public abstract boolean getIgnoreCase()

Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

bool ignore_case = 4;

Returns
TypeDescription
boolean

The ignoreCase.

getPathMatchCase()

public abstract HttpRoute.RouteMatch.PathMatchCase getPathMatchCase()
Returns
TypeDescription
HttpRoute.RouteMatch.PathMatchCase

getPrefixMatch()

public abstract 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
TypeDescription
String

The prefixMatch.

getPrefixMatchBytes()

public abstract 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
TypeDescription
ByteString

The bytes for prefixMatch.

getQueryParameters(int index)

public abstract HttpRoute.QueryParameterMatch getQueryParameters(int index)

Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
HttpRoute.QueryParameterMatch

getQueryParametersCount()

public abstract int getQueryParametersCount()

Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;

Returns
TypeDescription
int

getQueryParametersList()

public abstract List<HttpRoute.QueryParameterMatch> getQueryParametersList()

Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;

Returns
TypeDescription
List<QueryParameterMatch>

getQueryParametersOrBuilder(int index)

public abstract HttpRoute.QueryParameterMatchOrBuilder getQueryParametersOrBuilder(int index)

Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
HttpRoute.QueryParameterMatchOrBuilder

getQueryParametersOrBuilderList()

public abstract List<? extends HttpRoute.QueryParameterMatchOrBuilder> getQueryParametersOrBuilderList()

Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

repeated .google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatch query_parameters = 6;

Returns
TypeDescription
List<? extends com.google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatchOrBuilder>

getRegexMatch()

public abstract 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
TypeDescription
String

The regexMatch.

getRegexMatchBytes()

public abstract 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
TypeDescription
ByteString

The bytes for regexMatch.

hasFullPathMatch()

public abstract 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
TypeDescription
boolean

Whether the fullPathMatch field is set.

hasPrefixMatch()

public abstract 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
TypeDescription
boolean

Whether the prefixMatch field is set.

hasRegexMatch()

public abstract 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
TypeDescription
boolean

Whether the regexMatch field is set.