@Generated(value="by GAPIC") @BetaApi public final class HttpHeaderOption extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpHeaderOption.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpHeaderOption |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getHeaderName()
The name of the header.
|
String |
getHeaderValue()
The value of the header to add.
|
Boolean |
getReplace()
If false, headerValue is appended to any values that already exist for the header.
|
int |
hashCode() |
static HttpHeaderOption.Builder |
newBuilder() |
static HttpHeaderOption.Builder |
newBuilder(HttpHeaderOption prototype) |
HttpHeaderOption.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 getHeaderName()
public String getHeaderValue()
public Boolean getReplace()
public static HttpHeaderOption.Builder newBuilder()
public static HttpHeaderOption.Builder newBuilder(HttpHeaderOption prototype)
public HttpHeaderOption.Builder toBuilder()
public static HttpHeaderOption getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.