public final class HostsListResponse
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
| Modifier and Type | Class and Description |
|---|---|
static class |
HostsListResponse.Warning
An informational warning message.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HostsListResponse() |
| Modifier and Type | Method and Description |
|---|---|
HostsListResponse |
clone() |
String |
getEtag() |
String |
getId()
The unique identifier for the resource; defined by the server.
|
List<Host> |
getItems()
A list of host resources.
|
String |
getKind()
The type of resource.
|
String |
getNextPageToken()
This token allows you to get the next page of results for list requests.
|
String |
getSelfLink()
The server-defined URL for this resource.
|
List<String> |
getUnreachables()
Unreachable resources.
|
HostsListResponse.Warning |
getWarning()
An informational warning message.
|
HostsListResponse |
set(String fieldName,
Object value) |
HostsListResponse |
setEtag(String etag) |
HostsListResponse |
setId(String id)
The unique identifier for the resource; defined by the server.
|
HostsListResponse |
setItems(List<Host> items)
A list of host resources.
|
HostsListResponse |
setKind(String kind)
The type of resource.
|
HostsListResponse |
setNextPageToken(String nextPageToken)
This token allows you to get the next page of results for list requests.
|
HostsListResponse |
setSelfLink(String selfLink)
The server-defined URL for this resource.
|
HostsListResponse |
setUnreachables(List<String> unreachables)
Unreachable resources.
|
HostsListResponse |
setWarning(HostsListResponse.Warning warning)
An informational warning message.
|
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 getEtag()
null for nonepublic HostsListResponse setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic HostsListResponse setId(String id)
id - id or null for nonepublic HostsListResponse setItems(List<Host> items)
items - items or null for nonepublic String getKind()
null for nonepublic HostsListResponse setKind(String kind)
kind - kind or null for nonepublic String getNextPageToken()
null for nonepublic HostsListResponse setNextPageToken(String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic String getSelfLink()
null for nonepublic HostsListResponse setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic List<String> getUnreachables()
null for nonepublic HostsListResponse setUnreachables(List<String> unreachables)
unreachables - unreachables or null for nonepublic HostsListResponse.Warning getWarning()
null for nonepublic HostsListResponse setWarning(HostsListResponse.Warning warning)
warning - warning or null for nonepublic HostsListResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HostsListResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.