@Generated(value="by GAPIC") @BetaApi public final class HttpHealthCheck extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpHealthCheck.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
static HttpHealthCheck |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getHost()
The value of the host header in the HTTP 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 health check request.
|
String |
getResponse()
The string to match anywhere in the first 1024 bytes of the response body.
|
int |
hashCode() |
static HttpHealthCheck.Builder |
newBuilder() |
static HttpHealthCheck.Builder |
newBuilder(HttpHealthCheck prototype) |
HttpHealthCheck.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public String getHost()
public Integer getPort()
public String getPortName()
public String getPortSpecification()
If not specified, HTTP health check follows behavior specified in port and portName fields.
public String getProxyHeader()
public String getRequestPath()
public String getResponse()
public static HttpHealthCheck.Builder newBuilder()
public static HttpHealthCheck.Builder newBuilder(HttpHealthCheck prototype)
public HttpHealthCheck.Builder toBuilder()
public static HttpHealthCheck getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.