public static enum MigrationTask.State extends Enum<MigrationTask.State> implements com.google.protobuf.ProtocolMessageEnum
Possible states of a migration task.Protobuf enum
google.cloud.bigquery.migration.v2alpha.MigrationTask.State| Enum Constant and Description |
|---|
FAILED
The task finished unsuccessfully.
|
ORCHESTRATING
The task is assigned to an orchestrator.
|
PAUSED
Tha task is paused.
|
PENDING
The task is waiting for orchestration.
|
RUNNING
The task is running, i.e.
|
STATE_UNSPECIFIED
The state is unspecified.
|
SUCCEEDED
The task finished successfully.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
The task finished unsuccessfully.
|
static int |
ORCHESTRATING_VALUE
The task is assigned to an orchestrator.
|
static int |
PAUSED_VALUE
Tha task is paused.
|
static int |
PENDING_VALUE
The task is waiting for orchestration.
|
static int |
RUNNING_VALUE
The task is running, i.e.
|
static int |
STATE_UNSPECIFIED_VALUE
The state is unspecified.
|
static int |
SUCCEEDED_VALUE
The task finished successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static MigrationTask.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<MigrationTask.State> |
internalGetValueMap() |
static MigrationTask.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MigrationTask.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MigrationTask.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationTask.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationTask.State STATE_UNSPECIFIED
The state is unspecified.
STATE_UNSPECIFIED = 0;public static final MigrationTask.State PENDING
The task is waiting for orchestration.
PENDING = 1;public static final MigrationTask.State ORCHESTRATING
The task is assigned to an orchestrator.
ORCHESTRATING = 2;public static final MigrationTask.State RUNNING
The task is running, i.e. its subtasks are ready for execution.
RUNNING = 3;public static final MigrationTask.State PAUSED
Tha task is paused. Assigned subtasks can continue, but no new subtasks will be scheduled.
PAUSED = 4;public static final MigrationTask.State SUCCEEDED
The task finished successfully.
SUCCEEDED = 5;public static final MigrationTask.State FAILED
The task finished unsuccessfully.
FAILED = 6;public static final MigrationTask.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state is unspecified.
STATE_UNSPECIFIED = 0;public static final int PENDING_VALUE
The task is waiting for orchestration.
PENDING = 1;public static final int ORCHESTRATING_VALUE
The task is assigned to an orchestrator.
ORCHESTRATING = 2;public static final int RUNNING_VALUE
The task is running, i.e. its subtasks are ready for execution.
RUNNING = 3;public static final int PAUSED_VALUE
Tha task is paused. Assigned subtasks can continue, but no new subtasks will be scheduled.
PAUSED = 4;public static final int SUCCEEDED_VALUE
The task finished successfully.
SUCCEEDED = 5;public static final int FAILED_VALUE
The task finished unsuccessfully.
FAILED = 6;public static MigrationTask.State[] values()
for (MigrationTask.State c : MigrationTask.State.values()) System.out.println(c);
public static MigrationTask.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 MigrationTask.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MigrationTask.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MigrationTask.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 MigrationTask.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.