public final class UDPHealthCheck extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UDPHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
UDPHealthCheck |
clone() |
Integer |
getPort()
The UDP port number for the health check request.
|
String |
getPortName()
Port name as defined in InstanceGroup#NamedPort#name.
|
String |
getRequest()
Raw data of request to send in payload of UDP packet.
|
String |
getResponse()
The bytes to match against the beginning of the response data.
|
UDPHealthCheck |
set(String fieldName,
Object value) |
UDPHealthCheck |
setPort(Integer port)
The UDP port number for the health check request.
|
UDPHealthCheck |
setPortName(String portName)
Port name as defined in InstanceGroup#NamedPort#name.
|
UDPHealthCheck |
setRequest(String request)
Raw data of request to send in payload of UDP packet.
|
UDPHealthCheck |
setResponse(String response)
The bytes to match against the beginning of the response data.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getPort()
null for nonepublic UDPHealthCheck setPort(Integer port)
port - port or null for nonepublic String getPortName()
null for nonepublic UDPHealthCheck setPortName(String portName)
portName - portName or null for nonepublic String getRequest()
null for nonepublic UDPHealthCheck setRequest(String request)
request - request or null for nonepublic String getResponse()
null for nonepublic UDPHealthCheck setResponse(String response)
response - response or null for nonepublic UDPHealthCheck set(String fieldName, Object value)
set in class GenericJsonpublic UDPHealthCheck clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.