public final class GRPCHealthCheck
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GRPCHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
GRPCHealthCheck |
clone() |
String |
getGrpcServiceName()
The gRPC service name for the health check.
|
Integer |
getPort()
The TCP port number to which the health check prober sends packets.
|
String |
getPortName()
Not supported.
|
String |
getPortSpecification()
Specifies how a port is selected for health checking.
|
GRPCHealthCheck |
set(String fieldName,
Object value) |
GRPCHealthCheck |
setGrpcServiceName(String grpcServiceName)
The gRPC service name for the health check.
|
GRPCHealthCheck |
setPort(Integer port)
The TCP port number to which the health check prober sends packets.
|
GRPCHealthCheck |
setPortName(String portName)
Not supported.
|
GRPCHealthCheck |
setPortSpecification(String portSpecification)
Specifies how a port is selected for health checking.
|
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 String getGrpcServiceName()
null for nonepublic GRPCHealthCheck setGrpcServiceName(String grpcServiceName)
grpcServiceName - grpcServiceName or null for nonepublic Integer getPort()
null for nonepublic GRPCHealthCheck setPort(Integer port)
port - port or null for nonepublic String getPortName()
null for nonepublic GRPCHealthCheck setPortName(String portName)
portName - portName or null for nonepublic String getPortSpecification()
null for nonepublic GRPCHealthCheck setPortSpecification(String portSpecification)
portSpecification - portSpecification or null for nonepublic GRPCHealthCheck set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GRPCHealthCheck clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.