Interface HttpQueryParameterMatchOrBuilder (1.38.0)

public interface HttpQueryParameterMatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExactMatch()

public abstract String getExactMatch()

The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.

optional string exact_match = 457641093;

Returns
TypeDescription
String

The exactMatch.

getExactMatchBytes()

public abstract ByteString getExactMatchBytes()

The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.

optional string exact_match = 457641093;

Returns
TypeDescription
ByteString

The bytes for exactMatch.

getName()

public abstract String getName()

The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getPresentMatch()

public abstract boolean getPresentMatch()

Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.

optional bool present_match = 67435841;

Returns
TypeDescription
boolean

The presentMatch.

getRegexMatch()

public abstract String getRegexMatch()

The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

optional string regex_match = 107387853;

Returns
TypeDescription
String

The regexMatch.

getRegexMatchBytes()

public abstract ByteString getRegexMatchBytes()

The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

optional string regex_match = 107387853;

Returns
TypeDescription
ByteString

The bytes for regexMatch.

hasExactMatch()

public abstract boolean hasExactMatch()

The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.

optional string exact_match = 457641093;

Returns
TypeDescription
boolean

Whether the exactMatch field is set.

hasName()

public abstract boolean hasName()

The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasPresentMatch()

public abstract boolean hasPresentMatch()

Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.

optional bool present_match = 67435841;

Returns
TypeDescription
boolean

Whether the presentMatch field is set.

hasRegexMatch()

public abstract boolean hasRegexMatch()

The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

optional string regex_match = 107387853;

Returns
TypeDescription
boolean

Whether the regexMatch field is set.