public static enum Compute.DiskField extends Enum<Compute.DiskField> implements FieldSelector
FieldSelector.Helper
Enum Constant and Description |
---|
CREATION_TIMESTAMP |
DESCRIPTION |
ID |
LAST_ATTACH_TIMESTAMP |
LAST_DETACH_TIMESTAMP |
LICENSES |
NAME |
OPTIONS |
SELF_LINK |
SIZE_GB |
SOURCE_IMAGE |
SOURCE_IMAGE_ID |
SOURCE_SNAPSHOT |
SOURCE_SNAPSHOT_ID |
STATUS |
TYPE |
USERS |
ZONE |
Modifier and Type | Method and Description |
---|---|
String |
getSelector()
Returns a string selector.
|
static Compute.DiskField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compute.DiskField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compute.DiskField CREATION_TIMESTAMP
public static final Compute.DiskField DESCRIPTION
public static final Compute.DiskField ID
public static final Compute.DiskField LAST_ATTACH_TIMESTAMP
public static final Compute.DiskField LAST_DETACH_TIMESTAMP
public static final Compute.DiskField LICENSES
public static final Compute.DiskField NAME
public static final Compute.DiskField OPTIONS
public static final Compute.DiskField SELF_LINK
public static final Compute.DiskField SIZE_GB
public static final Compute.DiskField SOURCE_IMAGE
public static final Compute.DiskField SOURCE_IMAGE_ID
public static final Compute.DiskField SOURCE_SNAPSHOT
public static final Compute.DiskField SOURCE_SNAPSHOT_ID
public static final Compute.DiskField STATUS
public static final Compute.DiskField TYPE
public static final Compute.DiskField USERS
public static final Compute.DiskField ZONE
public static Compute.DiskField[] values()
for (Compute.DiskField c : Compute.DiskField.values()) System.out.println(c);
public static Compute.DiskField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSelector()
FieldSelector
getSelector
in interface FieldSelector
Copyright © 2019 Google LLC. All rights reserved.