public static enum MigrationWorkflow.State extends Enum<MigrationWorkflow.State> implements com.google.protobuf.ProtocolMessageEnum
Possible migration workflow states.Protobuf enum
google.cloud.bigquery.migration.v2alpha.MigrationWorkflow.State| Enum Constant and Description |
|---|
COMPLETED
Workflow is complete.
|
DRAFT
Workflow is in draft status, i.e.
|
PAUSED
Workflow is paused.
|
RUNNING
Workflow is running (i.e.
|
STATE_UNSPECIFIED
Workflow state is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLETED_VALUE
Workflow is complete.
|
static int |
DRAFT_VALUE
Workflow is in draft status, i.e.
|
static int |
PAUSED_VALUE
Workflow is paused.
|
static int |
RUNNING_VALUE
Workflow is running (i.e.
|
static int |
STATE_UNSPECIFIED_VALUE
Workflow state is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static MigrationWorkflow.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<MigrationWorkflow.State> |
internalGetValueMap() |
static MigrationWorkflow.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MigrationWorkflow.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MigrationWorkflow.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationWorkflow.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationWorkflow.State STATE_UNSPECIFIED
Workflow state is unspecified.
STATE_UNSPECIFIED = 0;public static final MigrationWorkflow.State DRAFT
Workflow is in draft status, i.e. tasks are not yet eligible for execution.
DRAFT = 1;public static final MigrationWorkflow.State RUNNING
Workflow is running (i.e. tasks are eligible for execution).
RUNNING = 2;public static final MigrationWorkflow.State PAUSED
Workflow is paused. Tasks currently in progress may continue, but no further tasks will be scheduled.
PAUSED = 3;public static final MigrationWorkflow.State COMPLETED
Workflow is complete. There should not be any task in a non-terminal state, but if they are (e.g. forced termination), they will not be scheduled.
COMPLETED = 4;public static final MigrationWorkflow.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Workflow state is unspecified.
STATE_UNSPECIFIED = 0;public static final int DRAFT_VALUE
Workflow is in draft status, i.e. tasks are not yet eligible for execution.
DRAFT = 1;public static final int RUNNING_VALUE
Workflow is running (i.e. tasks are eligible for execution).
RUNNING = 2;public static final int PAUSED_VALUE
Workflow is paused. Tasks currently in progress may continue, but no further tasks will be scheduled.
PAUSED = 3;public static final int COMPLETED_VALUE
Workflow is complete. There should not be any task in a non-terminal state, but if they are (e.g. forced termination), they will not be scheduled.
COMPLETED = 4;public static MigrationWorkflow.State[] values()
for (MigrationWorkflow.State c : MigrationWorkflow.State.values()) System.out.println(c);
public static MigrationWorkflow.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 MigrationWorkflow.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MigrationWorkflow.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MigrationWorkflow.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 MigrationWorkflow.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.