public static enum WorkflowMetadata.State extends Enum<WorkflowMetadata.State> implements 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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<WorkflowMetadata.State> |
internalGetValueMap() |
static WorkflowMetadata.State |
valueOf(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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static WorkflowMetadata.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static WorkflowMetadata.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<WorkflowMetadata.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static WorkflowMetadata.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.