public static enum TopologyAPI.TopologyState extends java.lang.Enum<TopologyAPI.TopologyState>
heron.proto.api.TopologyState
Enum Constant and Description |
---|
KILLED
KILLED = 3; |
PAUSED
PAUSED = 2; |
RUNNING
RUNNING = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
KILLED_VALUE
KILLED = 3; |
static int |
PAUSED_VALUE
PAUSED = 2; |
static int |
RUNNING_VALUE
RUNNING = 1; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static |
internalGetValueMap() |
static TopologyAPI.TopologyState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TopologyAPI.TopologyState |
valueOf(int value) |
static TopologyAPI.TopologyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TopologyAPI.TopologyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyAPI.TopologyState RUNNING
RUNNING = 1;
public static final TopologyAPI.TopologyState PAUSED
PAUSED = 2;
public static final TopologyAPI.TopologyState KILLED
KILLED = 3;
public static final int RUNNING_VALUE
RUNNING = 1;
public static final int PAUSED_VALUE
PAUSED = 2;
public static final int KILLED_VALUE
KILLED = 3;
public static TopologyAPI.TopologyState[] values()
for (TopologyAPI.TopologyState c : TopologyAPI.TopologyState.values()) System.out.println(c);
public static TopologyAPI.TopologyState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
public static TopologyAPI.TopologyState valueOf(int value)
public staticinternalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TopologyAPI.TopologyState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)