public final class Image 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: http://code.google.com/p/google-api-java-client/wiki/Json
Modifier and Type | Class and Description |
---|---|
static class |
Image.RawDisk
The raw disk image parameters.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
Long |
getArchiveSizeBytes()
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
|
String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
DeprecationStatus |
getDeprecated()
The deprecation status associated with this image.
|
String |
getDescription()
Textual description of the resource; provided by the client when the resource is created.
|
BigInteger |
getId()
Unique identifier for the resource; defined by the server (output only).
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
Image.RawDisk |
getRawDisk()
The raw disk image parameters.
|
String |
getSelfLink()
Server defined URL for the resource (output only).
|
String |
getSourceType()
Must be "RAW"; provided by the client when the disk image is created.
|
String |
getStatus()
Status of the image (output only).
|
Image |
set(String fieldName,
Object value) |
Image |
setArchiveSizeBytes(Long archiveSizeBytes)
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
|
Image |
setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
Image |
setDeprecated(DeprecationStatus deprecated)
The deprecation status associated with this image.
|
Image |
setDescription(String description)
Textual description of the resource; provided by the client when the resource is created.
|
Image |
setId(BigInteger id)
Unique identifier for the resource; defined by the server (output only).
|
Image |
setKind(String kind)
Type of the resource.
|
Image |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
Image |
setRawDisk(Image.RawDisk rawDisk)
The raw disk image parameters.
|
Image |
setSelfLink(String selfLink)
Server defined URL for the resource (output only).
|
Image |
setSourceType(String sourceType)
Must be "RAW"; provided by the client when the disk image is created.
|
Image |
setStatus(String status)
Status of the image (output only).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Long getArchiveSizeBytes()
null
for nonepublic Image setArchiveSizeBytes(Long archiveSizeBytes)
archiveSizeBytes
- archiveSizeBytes or null
for nonepublic String getCreationTimestamp()
null
for nonepublic Image setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic DeprecationStatus getDeprecated()
null
for nonepublic Image setDeprecated(DeprecationStatus deprecated)
deprecated
- deprecated or null
for nonepublic String getDescription()
null
for nonepublic Image setDescription(String description)
description
- description or null
for nonepublic BigInteger getId()
null
for nonepublic Image setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Image setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Image setName(String name)
name
- name or null
for nonepublic Image.RawDisk getRawDisk()
null
for nonepublic Image setRawDisk(Image.RawDisk rawDisk)
rawDisk
- rawDisk or null
for nonepublic String getSelfLink()
null
for nonepublic Image setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getSourceType()
null
for nonepublic Image setSourceType(String sourceType)
sourceType
- sourceType or null
for nonepublic String getStatus()
null
for nonepublic Image setStatus(String status)
status
- status or null
for nonepublic Image set(String fieldName, Object value)
set
in class GenericJson
public Image clone()
clone
in class GenericJson