public static enum MigrationJob.Phase extends Enum<MigrationJob.Phase> implements com.google.protobuf.ProtocolMessageEnum
The current migration job phase.Protobuf enum
google.cloud.clouddms.v1.MigrationJob.Phase| Enum Constant and Description |
|---|
CDC
The migration job is CDC phase.
|
FULL_DUMP
The migration job is in the full dump phase.
|
PHASE_UNSPECIFIED
The phase of the migration job is unknown.
|
PREPARING_THE_DUMP
Only RDS flow - the sources writes stopped, waiting for dump to begin
|
PROMOTE_IN_PROGRESS
The migration job is running the promote phase.
|
UNRECOGNIZED |
WAITING_FOR_SOURCE_WRITES_TO_STOP
Only RDS flow - waiting for source writes to stop
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CDC_VALUE
The migration job is CDC phase.
|
static int |
FULL_DUMP_VALUE
The migration job is in the full dump phase.
|
static int |
PHASE_UNSPECIFIED_VALUE
The phase of the migration job is unknown.
|
static int |
PREPARING_THE_DUMP_VALUE
Only RDS flow - the sources writes stopped, waiting for dump to begin
|
static int |
PROMOTE_IN_PROGRESS_VALUE
The migration job is running the promote phase.
|
static int |
WAITING_FOR_SOURCE_WRITES_TO_STOP_VALUE
Only RDS flow - waiting for source writes to stop
|
| Modifier and Type | Method and Description |
|---|---|
static MigrationJob.Phase |
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<MigrationJob.Phase> |
internalGetValueMap() |
static MigrationJob.Phase |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MigrationJob.Phase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MigrationJob.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationJob.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationJob.Phase PHASE_UNSPECIFIED
The phase of the migration job is unknown.
PHASE_UNSPECIFIED = 0;public static final MigrationJob.Phase FULL_DUMP
The migration job is in the full dump phase.
FULL_DUMP = 1;public static final MigrationJob.Phase CDC
The migration job is CDC phase.
CDC = 2;public static final MigrationJob.Phase PROMOTE_IN_PROGRESS
The migration job is running the promote phase.
PROMOTE_IN_PROGRESS = 3;public static final MigrationJob.Phase WAITING_FOR_SOURCE_WRITES_TO_STOP
Only RDS flow - waiting for source writes to stop
WAITING_FOR_SOURCE_WRITES_TO_STOP = 4;public static final MigrationJob.Phase PREPARING_THE_DUMP
Only RDS flow - the sources writes stopped, waiting for dump to begin
PREPARING_THE_DUMP = 5;public static final MigrationJob.Phase UNRECOGNIZED
public static final int PHASE_UNSPECIFIED_VALUE
The phase of the migration job is unknown.
PHASE_UNSPECIFIED = 0;public static final int FULL_DUMP_VALUE
The migration job is in the full dump phase.
FULL_DUMP = 1;public static final int CDC_VALUE
The migration job is CDC phase.
CDC = 2;public static final int PROMOTE_IN_PROGRESS_VALUE
The migration job is running the promote phase.
PROMOTE_IN_PROGRESS = 3;public static final int WAITING_FOR_SOURCE_WRITES_TO_STOP_VALUE
Only RDS flow - waiting for source writes to stop
WAITING_FOR_SOURCE_WRITES_TO_STOP = 4;public static final int PREPARING_THE_DUMP_VALUE
Only RDS flow - the sources writes stopped, waiting for dump to begin
PREPARING_THE_DUMP = 5;public static MigrationJob.Phase[] values()
for (MigrationJob.Phase c : MigrationJob.Phase.values()) System.out.println(c);
public static MigrationJob.Phase 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 MigrationJob.Phase valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MigrationJob.Phase forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MigrationJob.Phase> 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 MigrationJob.Phase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.