public static enum Compute.SnapshotField extends Enum<Compute.SnapshotField> implements FieldSelector
FieldSelector.Helper
Enum Constant and Description |
---|
CREATION_TIMESTAMP |
DESCRIPTION |
DISK_SIZE_GB |
ID |
LICENSES |
NAME |
SELF_LINK |
SOURCE_DISK |
SOURCE_DISK_ID |
STATUS |
STORAGE_BYTES |
STORAGE_BYTES_STATUS |
Modifier and Type | Method and Description |
---|---|
String |
getSelector()
Returns a string selector.
|
static Compute.SnapshotField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compute.SnapshotField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compute.SnapshotField CREATION_TIMESTAMP
public static final Compute.SnapshotField DESCRIPTION
public static final Compute.SnapshotField DISK_SIZE_GB
public static final Compute.SnapshotField ID
public static final Compute.SnapshotField LICENSES
public static final Compute.SnapshotField NAME
public static final Compute.SnapshotField SELF_LINK
public static final Compute.SnapshotField SOURCE_DISK
public static final Compute.SnapshotField SOURCE_DISK_ID
public static final Compute.SnapshotField STATUS
public static final Compute.SnapshotField STORAGE_BYTES
public static final Compute.SnapshotField STORAGE_BYTES_STATUS
public static Compute.SnapshotField[] values()
for (Compute.SnapshotField c : Compute.SnapshotField.values()) System.out.println(c);
public static Compute.SnapshotField 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.