@Generated(value="by GAPIC") @BetaApi public final class TCPHealthCheck extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
TCPHealthCheck.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
static TCPHealthCheck |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
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 |
getRequest()
The application data to send once the TCP connection has been established (default value is
empty).
|
String |
getResponse()
The bytes to match against the beginning of the response data.
|
int |
hashCode() |
static TCPHealthCheck.Builder |
newBuilder() |
static TCPHealthCheck.Builder |
newBuilder(TCPHealthCheck prototype) |
TCPHealthCheck.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 Integer getPort()
public String getPortName()
public String getPortSpecification()
If not specified, TCP health check follows behavior specified in port and portName fields.
public String getProxyHeader()
public String getRequest()
public String getResponse()
public static TCPHealthCheck.Builder newBuilder()
public static TCPHealthCheck.Builder newBuilder(TCPHealthCheck prototype)
public TCPHealthCheck.Builder toBuilder()
public static TCPHealthCheck getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.