public final class BackendService
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| Constructor and Description |
|---|
BackendService() |
| Modifier and Type | Method and Description |
|---|---|
BackendService |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this resource.
|
BackendService |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
|
java.util.List<Backend> |
getBackends()
The list of backends that serve this BackendService.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getFingerprint()
Fingerprint of this resource.
|
java.util.List<java.lang.String> |
getHealthChecks()
The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this
BackendService.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.Integer |
getPort()
Deprecated in favor of portName.
|
java.lang.String |
getPortName()
Name of backend port.
|
java.lang.String |
getProtocol()
The protocol this BackendService uses to communicate with backends.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the regional backend service resides.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.Integer |
getTimeoutSec()
How many seconds to wait for the backend before considering it a failed request.
|
BackendService |
set(java.lang.String fieldName,
java.lang.Object value) |
BackendService |
setBackends(java.util.List<Backend> backends)
The list of backends that serve this BackendService.
|
BackendService |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
BackendService |
setDescription(java.lang.String description)
An optional description of this resource.
|
BackendService |
setFingerprint(java.lang.String fingerprint)
Fingerprint of this resource.
|
BackendService |
setHealthChecks(java.util.List<java.lang.String> healthChecks)
The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this
BackendService.
|
BackendService |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
BackendService |
setKind(java.lang.String kind)
[Output Only] Type of resource.
|
BackendService |
setName(java.lang.String name)
Name of the resource.
|
BackendService |
setPort(java.lang.Integer port)
Deprecated in favor of portName.
|
BackendService |
setPortName(java.lang.String portName)
Name of backend port.
|
BackendService |
setProtocol(java.lang.String protocol)
The protocol this BackendService uses to communicate with backends.
|
BackendService |
setRegion(java.lang.String region)
[Output Only] URL of the region where the regional backend service resides.
|
BackendService |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
BackendService |
setTimeoutSec(java.lang.Integer timeoutSec)
How many seconds to wait for the backend before considering it a failed request.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<Backend> getBackends()
null for nonepublic BackendService setBackends(java.util.List<Backend> backends)
backends - backends or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic BackendService setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic BackendService setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public BackendService setFingerprint(java.lang.String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public BackendService encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public java.util.List<java.lang.String> getHealthChecks()
null for nonepublic BackendService setHealthChecks(java.util.List<java.lang.String> healthChecks)
healthChecks - healthChecks or null for nonepublic java.math.BigInteger getId()
null for nonepublic BackendService setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic BackendService setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic BackendService setName(java.lang.String name)
name - name or null for nonepublic java.lang.Integer getPort()
null for nonepublic BackendService setPort(java.lang.Integer port)
port - port or null for nonepublic java.lang.String getPortName()
null for nonepublic BackendService setPortName(java.lang.String portName)
portName - portName or null for nonepublic java.lang.String getProtocol()
null for nonepublic BackendService setProtocol(java.lang.String protocol)
protocol - protocol or null for nonepublic java.lang.String getRegion()
null for nonepublic BackendService setRegion(java.lang.String region)
region - region or null for nonepublic java.lang.String getSelfLink()
null for nonepublic BackendService setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Integer getTimeoutSec()
null for nonepublic BackendService setTimeoutSec(java.lang.Integer timeoutSec)
timeoutSec - timeoutSec or null for nonepublic BackendService set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic BackendService clone()
clone in class com.google.api.client.json.GenericJson