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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public GRPCHealthCheck clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.