Enum MigrationStep

java.lang.Object
java.lang.Enum<MigrationStep>
com.google.datastore.admin.v1.MigrationStep
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<MigrationStep>

public enum MigrationStep extends Enum<MigrationStep> implements com.google.protobuf.ProtocolMessageEnum
 Steps in a migration.
 
Protobuf enum google.datastore.admin.v1.MigrationStep
  • Enum Constant Details

    • MIGRATION_STEP_UNSPECIFIED

      public static final MigrationStep MIGRATION_STEP_UNSPECIFIED
       Unspecified.
       
      MIGRATION_STEP_UNSPECIFIED = 0;
    • PREPARE

      public static final MigrationStep PREPARE
       Pre-migration: the database is prepared for migration.
       
      PREPARE = 6;
    • START

      public static final MigrationStep START
       Start of migration.
       
      START = 1;
    • APPLY_WRITES_SYNCHRONOUSLY

      public static final MigrationStep APPLY_WRITES_SYNCHRONOUSLY
       Writes are applied synchronously to at least one replica.
       
      APPLY_WRITES_SYNCHRONOUSLY = 7;
    • COPY_AND_VERIFY

      public static final MigrationStep COPY_AND_VERIFY
       Data is copied to Cloud Firestore and then verified to match the data in
       Cloud Datastore.
       
      COPY_AND_VERIFY = 2;
    • REDIRECT_EVENTUALLY_CONSISTENT_READS

      public static final MigrationStep REDIRECT_EVENTUALLY_CONSISTENT_READS
       Eventually-consistent reads are redirected to Cloud Firestore.
       
      REDIRECT_EVENTUALLY_CONSISTENT_READS = 3;
    • REDIRECT_STRONGLY_CONSISTENT_READS

      public static final MigrationStep REDIRECT_STRONGLY_CONSISTENT_READS
       Strongly-consistent reads are redirected to Cloud Firestore.
       
      REDIRECT_STRONGLY_CONSISTENT_READS = 4;
    • REDIRECT_WRITES

      public static final MigrationStep REDIRECT_WRITES
       Writes are redirected to Cloud Firestore.
       
      REDIRECT_WRITES = 5;
    • UNRECOGNIZED

      public static final MigrationStep UNRECOGNIZED
  • Field Details

    • MIGRATION_STEP_UNSPECIFIED_VALUE

      public static final int MIGRATION_STEP_UNSPECIFIED_VALUE
       Unspecified.
       
      MIGRATION_STEP_UNSPECIFIED = 0;
      See Also:
    • PREPARE_VALUE

      public static final int PREPARE_VALUE
       Pre-migration: the database is prepared for migration.
       
      PREPARE = 6;
      See Also:
    • START_VALUE

      public static final int START_VALUE
       Start of migration.
       
      START = 1;
      See Also:
    • APPLY_WRITES_SYNCHRONOUSLY_VALUE

      public static final int APPLY_WRITES_SYNCHRONOUSLY_VALUE
       Writes are applied synchronously to at least one replica.
       
      APPLY_WRITES_SYNCHRONOUSLY = 7;
      See Also:
    • COPY_AND_VERIFY_VALUE

      public static final int COPY_AND_VERIFY_VALUE
       Data is copied to Cloud Firestore and then verified to match the data in
       Cloud Datastore.
       
      COPY_AND_VERIFY = 2;
      See Also:
    • REDIRECT_EVENTUALLY_CONSISTENT_READS_VALUE

      public static final int REDIRECT_EVENTUALLY_CONSISTENT_READS_VALUE
       Eventually-consistent reads are redirected to Cloud Firestore.
       
      REDIRECT_EVENTUALLY_CONSISTENT_READS = 3;
      See Also:
    • REDIRECT_STRONGLY_CONSISTENT_READS_VALUE

      public static final int REDIRECT_STRONGLY_CONSISTENT_READS_VALUE
       Strongly-consistent reads are redirected to Cloud Firestore.
       
      REDIRECT_STRONGLY_CONSISTENT_READS = 4;
      See Also:
    • REDIRECT_WRITES_VALUE

      public static final int REDIRECT_WRITES_VALUE
       Writes are redirected to Cloud Firestore.
       
      REDIRECT_WRITES = 5;
      See Also:
  • Method Details

    • values

      public static MigrationStep[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MigrationStep valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static MigrationStep valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static MigrationStep forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<MigrationStep> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static MigrationStep valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null