public static enum InstanceInfo.InstanceField extends Enum<InstanceInfo.InstanceField> implements FieldSelector
FieldSelector.Helper
Enum Constant and Description |
---|
DISPLAY_NAME |
LABELS |
NODE_COUNT |
Modifier and Type | Method and Description |
---|---|
String |
getSelector()
Returns a string selector.
|
static InstanceInfo.InstanceField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceInfo.InstanceField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceInfo.InstanceField DISPLAY_NAME
public static final InstanceInfo.InstanceField NODE_COUNT
public static final InstanceInfo.InstanceField LABELS
public static InstanceInfo.InstanceField[] values()
for (InstanceInfo.InstanceField c : InstanceInfo.InstanceField.values()) System.out.println(c);
public static InstanceInfo.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.