Compute Engine API v1beta13 (revision 19)



com.google.api.services.compute.model
Class Kernel

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.compute.model.Kernel
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Kernel
extends GenericJson

A kernel resource.

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

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Kernel()
           
 
Method Summary
 Kernel clone()
           
 String getCreationTimestamp()
          Creation timestamp in RFC3339 text format (output only).
 String getDescription()
          An optional textual description of the resource.
 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.
 String getSelfLink()
          Server defined URL for the resource (output only).
 Kernel set(String fieldName, Object value)
           
 Kernel setCreationTimestamp(String creationTimestamp)
          Creation timestamp in RFC3339 text format (output only).
 Kernel setDescription(String description)
          An optional textual description of the resource.
 Kernel setId(BigInteger id)
          Unique identifier for the resource; defined by the server (output only).
 Kernel setKind(String kind)
          Type of the resource.
 Kernel setName(String name)
          Name of the resource.
 Kernel setSelfLink(String selfLink)
          Server defined URL for the resource (output only).
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Kernel

public Kernel()
Method Detail

getCreationTimestamp

public String getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).

Returns:
value or null for none

setCreationTimestamp

public Kernel setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).

Parameters:
creationTimestamp - creationTimestamp or null for none

getDescription

public String getDescription()
An optional textual description of the resource.

Returns:
value or null for none

setDescription

public Kernel setDescription(String description)
An optional textual description of the resource.

Parameters:
description - description or null for none

getId

public BigInteger getId()
Unique identifier for the resource; defined by the server (output only).

Returns:
value or null for none

setId

public Kernel setId(BigInteger id)
Unique identifier for the resource; defined by the server (output only).

Parameters:
id - id or null for none

getKind

public String getKind()
Type of the resource.

Returns:
value or null for none

setKind

public Kernel setKind(String kind)
Type of the resource.

Parameters:
kind - kind or null for none

getName

public String getName()
Name of the resource.

Returns:
value or null for none

setName

public Kernel setName(String name)
Name of the resource.

Parameters:
name - name or null for none

getSelfLink

public String getSelfLink()
Server defined URL for the resource (output only).

Returns:
value or null for none

setSelfLink

public Kernel setSelfLink(String selfLink)
Server defined URL for the resource (output only).

Parameters:
selfLink - selfLink or null for none

set

public Kernel set(String fieldName,
                  Object value)
Overrides:
set in class GenericJson

clone

public Kernel clone()
Overrides:
clone in class GenericJson