public static enum Compute.InstanceField extends Enum<Compute.InstanceField> implements FieldSelector
FieldSelector.Helper
Enum Constant and Description |
---|
CAN_IP_FORWARD |
CPU_PLATFORM |
CREATION_TIMESTAMP |
DESCRIPTION |
DISKS |
ID |
MACHINE_TYPE |
METADATA |
NAME |
NETWORK_INTERFACES |
SCHEDULING |
SELF_LINK |
SERVICE_ACCOUNTS |
STATUS |
STATUS_MESSAGE |
TAGS |
ZONE |
Modifier and Type | Method and Description |
---|---|
String |
getSelector()
Returns a string selector.
|
static Compute.InstanceField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compute.InstanceField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compute.InstanceField CAN_IP_FORWARD
public static final Compute.InstanceField CPU_PLATFORM
public static final Compute.InstanceField CREATION_TIMESTAMP
public static final Compute.InstanceField DESCRIPTION
public static final Compute.InstanceField DISKS
public static final Compute.InstanceField ID
public static final Compute.InstanceField MACHINE_TYPE
public static final Compute.InstanceField METADATA
public static final Compute.InstanceField NAME
public static final Compute.InstanceField NETWORK_INTERFACES
public static final Compute.InstanceField SCHEDULING
public static final Compute.InstanceField SELF_LINK
public static final Compute.InstanceField SERVICE_ACCOUNTS
public static final Compute.InstanceField STATUS
public static final Compute.InstanceField STATUS_MESSAGE
public static final Compute.InstanceField TAGS
public static final Compute.InstanceField ZONE
public static Compute.InstanceField[] values()
for (Compute.InstanceField c : Compute.InstanceField.values()) System.out.println(c);
public static Compute.InstanceField 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.