Enum MigrationStep (2.20.1)

public enum MigrationStep extends Enum<MigrationStep> implements ProtocolMessageEnum

Steps in a migration.

Protobuf enum google.datastore.admin.v1.MigrationStep

Implements

ProtocolMessageEnum

Static Fields

Name Description
APPLY_WRITES_SYNCHRONOUSLY

Writes are applied synchronously to at least one replica.

APPLY_WRITES_SYNCHRONOUSLY = 7;

APPLY_WRITES_SYNCHRONOUSLY_VALUE

Writes are applied synchronously to at least one replica.

APPLY_WRITES_SYNCHRONOUSLY = 7;

COPY_AND_VERIFY

Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.

COPY_AND_VERIFY = 2;

COPY_AND_VERIFY_VALUE

Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.

COPY_AND_VERIFY = 2;

MIGRATION_STEP_UNSPECIFIED

Unspecified.

MIGRATION_STEP_UNSPECIFIED = 0;

MIGRATION_STEP_UNSPECIFIED_VALUE

Unspecified.

MIGRATION_STEP_UNSPECIFIED = 0;

PREPARE

Pre-migration: the database is prepared for migration.

PREPARE = 6;

PREPARE_VALUE

Pre-migration: the database is prepared for migration.

PREPARE = 6;

REDIRECT_EVENTUALLY_CONSISTENT_READS

Eventually-consistent reads are redirected to Cloud Firestore.

REDIRECT_EVENTUALLY_CONSISTENT_READS = 3;

REDIRECT_EVENTUALLY_CONSISTENT_READS_VALUE

Eventually-consistent reads are redirected to Cloud Firestore.

REDIRECT_EVENTUALLY_CONSISTENT_READS = 3;

REDIRECT_STRONGLY_CONSISTENT_READS

Strongly-consistent reads are redirected to Cloud Firestore.

REDIRECT_STRONGLY_CONSISTENT_READS = 4;

REDIRECT_STRONGLY_CONSISTENT_READS_VALUE

Strongly-consistent reads are redirected to Cloud Firestore.

REDIRECT_STRONGLY_CONSISTENT_READS = 4;

REDIRECT_WRITES

Writes are redirected to Cloud Firestore.

REDIRECT_WRITES = 5;

REDIRECT_WRITES_VALUE

Writes are redirected to Cloud Firestore.

REDIRECT_WRITES = 5;

START

Start of migration.

START = 1;

START_VALUE

Start of migration.

START = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()