public final class GRPCHealthCheck 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 |
|---|
GRPCHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
GRPCHealthCheck |
clone() |
String |
getGrpcServiceName()
The gRPC service name for the health check.
|
Integer |
getPort()
The 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.
|
GRPCHealthCheck |
set(String fieldName,
Object value) |
GRPCHealthCheck |
setGrpcServiceName(String grpcServiceName)
The gRPC service name for the health check.
|
GRPCHealthCheck |
setPort(Integer port)
The port number for the health check request.
|
GRPCHealthCheck |
setPortName(String portName)
Port name as defined in InstanceGroup#NamedPort#name.
|
GRPCHealthCheck |
setPortSpecification(String portSpecification)
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.
|
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 GenericJsonpublic GRPCHealthCheck clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.