public final class Instance
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 App Engine Admin 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 |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
Instance |
clone() |
java.lang.String |
getAppEngineRelease()
App Engine release this instance is running on.@OutputOnly
|
java.lang.String |
getAvailability()
Availability of the instance.@OutputOnly
|
java.lang.Integer |
getAverageLatency()
Average latency (ms) over the last minute.@OutputOnly
|
java.lang.Integer |
getErrors()
Number of errors since this instance was started.@OutputOnly
|
java.lang.String |
getId()
Relative name of the instance within the version.
|
java.lang.Long |
getMemoryUsage()
Total memory in use (bytes).@OutputOnly
|
java.lang.String |
getName()
Full path to the Instance resource in the API.
|
java.lang.Float |
getQps()
Average queries per second (QPS) over the last minute.@OutputOnly
|
java.lang.Integer |
getRequests()
Number of requests since this instance was started.@OutputOnly
|
java.lang.String |
getStartTime()
Time that this instance was started.@OutputOnly
|
java.lang.Boolean |
getVmDebugEnabled()
Whether this instance is in debug mode.
|
java.lang.String |
getVmId()
Virtual machine ID of this instance.
|
java.lang.String |
getVmIp()
The IP address of this instance.
|
java.lang.String |
getVmName()
Name of the virtual machine where this instance lives.
|
java.lang.String |
getVmStatus()
Status of the virtual machine where this instance lives.
|
java.lang.String |
getVmZoneName()
Zone where the virtual machine is located.
|
Instance |
set(java.lang.String fieldName,
java.lang.Object value) |
Instance |
setAppEngineRelease(java.lang.String appEngineRelease)
App Engine release this instance is running on.@OutputOnly
|
Instance |
setAvailability(java.lang.String availability)
Availability of the instance.@OutputOnly
|
Instance |
setAverageLatency(java.lang.Integer averageLatency)
Average latency (ms) over the last minute.@OutputOnly
|
Instance |
setErrors(java.lang.Integer errors)
Number of errors since this instance was started.@OutputOnly
|
Instance |
setId(java.lang.String id)
Relative name of the instance within the version.
|
Instance |
setMemoryUsage(java.lang.Long memoryUsage)
Total memory in use (bytes).@OutputOnly
|
Instance |
setName(java.lang.String name)
Full path to the Instance resource in the API.
|
Instance |
setQps(java.lang.Float qps)
Average queries per second (QPS) over the last minute.@OutputOnly
|
Instance |
setRequests(java.lang.Integer requests)
Number of requests since this instance was started.@OutputOnly
|
Instance |
setStartTime(java.lang.String startTime)
Time that this instance was started.@OutputOnly
|
Instance |
setVmDebugEnabled(java.lang.Boolean vmDebugEnabled)
Whether this instance is in debug mode.
|
Instance |
setVmId(java.lang.String vmId)
Virtual machine ID of this instance.
|
Instance |
setVmIp(java.lang.String vmIp)
The IP address of this instance.
|
Instance |
setVmName(java.lang.String vmName)
Name of the virtual machine where this instance lives.
|
Instance |
setVmStatus(java.lang.String vmStatus)
Status of the virtual machine where this instance lives.
|
Instance |
setVmZoneName(java.lang.String vmZoneName)
Zone where the virtual machine is located.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAppEngineRelease()
null
for nonepublic Instance setAppEngineRelease(java.lang.String appEngineRelease)
appEngineRelease
- appEngineRelease or null
for nonepublic java.lang.String getAvailability()
null
for nonepublic Instance setAvailability(java.lang.String availability)
availability
- availability or null
for nonepublic java.lang.Integer getAverageLatency()
null
for nonepublic Instance setAverageLatency(java.lang.Integer averageLatency)
averageLatency
- averageLatency or null
for nonepublic java.lang.Integer getErrors()
null
for nonepublic Instance setErrors(java.lang.Integer errors)
errors
- errors or null
for nonepublic java.lang.String getId()
null
for nonepublic Instance setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.Long getMemoryUsage()
null
for nonepublic Instance setMemoryUsage(java.lang.Long memoryUsage)
memoryUsage
- memoryUsage or null
for nonepublic java.lang.String getName()
null
for nonepublic Instance setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Float getQps()
null
for nonepublic Instance setQps(java.lang.Float qps)
qps
- qps or null
for nonepublic java.lang.Integer getRequests()
null
for nonepublic Instance setRequests(java.lang.Integer requests)
requests
- requests or null
for nonepublic java.lang.String getStartTime()
null
for nonepublic Instance setStartTime(java.lang.String startTime)
startTime
- startTime or null
for nonepublic java.lang.Boolean getVmDebugEnabled()
null
for nonepublic Instance setVmDebugEnabled(java.lang.Boolean vmDebugEnabled)
vmDebugEnabled
- vmDebugEnabled or null
for nonepublic java.lang.String getVmId()
null
for nonepublic Instance setVmId(java.lang.String vmId)
vmId
- vmId or null
for nonepublic java.lang.String getVmIp()
null
for nonepublic Instance setVmIp(java.lang.String vmIp)
vmIp
- vmIp or null
for nonepublic java.lang.String getVmName()
null
for nonepublic Instance setVmName(java.lang.String vmName)
vmName
- vmName or null
for nonepublic java.lang.String getVmStatus()
null
for nonepublic Instance setVmStatus(java.lang.String vmStatus)
vmStatus
- vmStatus or null
for nonepublic java.lang.String getVmZoneName()
null
for nonepublic Instance setVmZoneName(java.lang.String vmZoneName)
vmZoneName
- vmZoneName or null
for nonepublic Instance set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Instance clone()
clone
in class com.google.api.client.json.GenericJson