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