public final class Disk
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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Disk() |
Modifier and Type | Method and Description |
---|---|
Disk |
clone() |
java.lang.String |
getDiskType()
Disk storage type, as defined by Google Compute Engine.
|
java.lang.String |
getMountPoint()
Directory in a VM where disk is mounted.
|
java.lang.Integer |
getSizeGb()
Size of disk in GB.
|
Disk |
set(java.lang.String fieldName,
java.lang.Object value) |
Disk |
setDiskType(java.lang.String diskType)
Disk storage type, as defined by Google Compute Engine.
|
Disk |
setMountPoint(java.lang.String mountPoint)
Directory in a VM where disk is mounted.
|
Disk |
setSizeGb(java.lang.Integer sizeGb)
Size of disk in GB.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getDiskType()
null
for nonepublic Disk setDiskType(java.lang.String diskType)
diskType
- diskType or null
for nonepublic java.lang.String getMountPoint()
null
for nonepublic Disk setMountPoint(java.lang.String mountPoint)
mountPoint
- mountPoint or null
for nonepublic java.lang.Integer getSizeGb()
null
for nonepublic Disk setSizeGb(java.lang.Integer sizeGb)
sizeGb
- sizeGb or null
for nonepublic Disk set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Disk clone()
clone
in class com.google.api.client.json.GenericJson