@Generated(value="by GAPIC") @BetaApi public final class HttpHeaderMatch extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpHeaderMatch.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpHeaderMatch |
getDefaultInstance() |
String |
getExactMatch()
The value should exactly match contents of exactMatch.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getHeaderName()
The name of the HTTP header to match.
|
Boolean |
getInvertMatch()
If set to false, the headerMatch is considered a match if the match criteria above are met.
|
String |
getPrefixMatch()
The value of the header must start with the contents of prefixMatch.
|
Boolean |
getPresentMatch()
A header with the contents of headerName must exist.
|
Int64RangeMatch |
getRangeMatch()
The header value must be an integer and its value must be in the range specified in rangeMatch.
|
String |
getRegexMatch()
The value of the header must match the regualar expression specified in regexMatch.
|
String |
getSuffixMatch()
The value of the header must end with the contents of suffixMatch.
|
int |
hashCode() |
static HttpHeaderMatch.Builder |
newBuilder() |
static HttpHeaderMatch.Builder |
newBuilder(HttpHeaderMatch prototype) |
HttpHeaderMatch.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getExactMatch()
public String getHeaderName()
public Boolean getInvertMatch()
public String getPrefixMatch()
public Boolean getPresentMatch()
public Int64RangeMatch getRangeMatch()
public String getRegexMatch()
public String getSuffixMatch()
public static HttpHeaderMatch.Builder newBuilder()
public static HttpHeaderMatch.Builder newBuilder(HttpHeaderMatch prototype)
public HttpHeaderMatch.Builder toBuilder()
public static HttpHeaderMatch getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.