@Generated(value="by GAPIC") @BetaApi public final class Http2HealthCheck extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Http2HealthCheck.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static Http2HealthCheck |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getHost()
The value of the host header in the HTTP/2 health check request.
|
Integer |
getPort()
The TCP port number for the health check request.
|
String |
getPortName()
Port name as defined in InstanceGroup#NamedPort#name.
|
String |
getPortSpecification()
Specifies how port is selected for health checking, can be one of following values:
USE_FIXED_PORT: The port number in port is used for health checking.
|
String |
getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
|
String |
getRequestPath()
The request path of the HTTP/2 health check request.
|
String |
getResponse()
The string to match anywhere in the first 1024 bytes of the response body.
|
int |
hashCode() |
static Http2HealthCheck.Builder |
newBuilder() |
static Http2HealthCheck.Builder |
newBuilder(Http2HealthCheck prototype) |
Http2HealthCheck.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 getHost()
public Integer getPort()
public String getPortName()
public String getPortSpecification()
If not specified, HTTP2 health check follows behavior specified in port and portName fields.
public String getProxyHeader()
public String getRequestPath()
public String getResponse()
public static Http2HealthCheck.Builder newBuilder()
public static Http2HealthCheck.Builder newBuilder(Http2HealthCheck prototype)
public Http2HealthCheck.Builder toBuilder()
public static Http2HealthCheck getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.