public static enum WorkflowMetadata.State extends Enum<WorkflowMetadata.State> implements com.google.protobuf.ProtocolMessageEnum
The operation state.Protobuf enum
google.cloud.dataproc.v1.WorkflowMetadata.State| Enum Constant and Description |
|---|
DONE
The operation is done; either cancelled or completed.
|
PENDING
The operation has been created.
|
RUNNING
The operation is running.
|
UNKNOWN
Unused.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DONE_VALUE
The operation is done; either cancelled or completed.
|
static int |
PENDING_VALUE
The operation has been created.
|
static int |
RUNNING_VALUE
The operation is running.
|
static int |
UNKNOWN_VALUE
Unused.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkflowMetadata.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<WorkflowMetadata.State> |
internalGetValueMap() |
static WorkflowMetadata.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WorkflowMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WorkflowMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowMetadata.State UNKNOWN
Unused.
UNKNOWN = 0;public static final WorkflowMetadata.State PENDING
The operation has been created.
PENDING = 1;public static final WorkflowMetadata.State RUNNING
The operation is running.
RUNNING = 2;public static final WorkflowMetadata.State DONE
The operation is done; either cancelled or completed.
DONE = 3;public static final WorkflowMetadata.State UNRECOGNIZED
public static final int UNKNOWN_VALUE
Unused.
UNKNOWN = 0;public static final int PENDING_VALUE
The operation has been created.
PENDING = 1;public static final int RUNNING_VALUE
The operation is running.
RUNNING = 2;public static final int DONE_VALUE
The operation is done; either cancelled or completed.
DONE = 3;public static WorkflowMetadata.State[] values()
for (WorkflowMetadata.State c : WorkflowMetadata.State.values()) System.out.println(c);
public static WorkflowMetadata.State 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static WorkflowMetadata.State valueOf(int value)
forNumber(int) instead.public static WorkflowMetadata.State forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<WorkflowMetadata.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static WorkflowMetadata.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.