Enum Class Coordinator.IdEpochType

java.lang.Object
java.lang.Enum<Coordinator.IdEpochType>
io.dingodb.coordinator.Coordinator.IdEpochType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Coordinator.IdEpochType>, Constable
Enclosing class:
Coordinator

public static enum Coordinator.IdEpochType extends Enum<Coordinator.IdEpochType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum dingodb.pb.coordinator.IdEpochType
  • Enum Constant Details

  • Field Details

    • ID_NONE_VALUE

      public static final int ID_NONE_VALUE
       this is a placeholder
       
      ID_NONE = 0;
      See Also:
    • ID_NEXT_COORINATOR_VALUE

      public static final int ID_NEXT_COORINATOR_VALUE
      ID_NEXT_COORINATOR = 1;
      See Also:
    • ID_NEXT_STORE_VALUE

      public static final int ID_NEXT_STORE_VALUE
      ID_NEXT_STORE = 2;
      See Also:
    • ID_NEXT_EXECUTOR_VALUE

      public static final int ID_NEXT_EXECUTOR_VALUE
      ID_NEXT_EXECUTOR = 3;
      See Also:
    • ID_NEXT_SCHEMA_VALUE

      public static final int ID_NEXT_SCHEMA_VALUE
      ID_NEXT_SCHEMA = 4;
      See Also:
    • ID_NEXT_REGION_VALUE

      public static final int ID_NEXT_REGION_VALUE
      ID_NEXT_REGION = 5;
      See Also:
    • ID_NEXT_TABLE_VALUE

      public static final int ID_NEXT_TABLE_VALUE
      ID_NEXT_TABLE = 6;
      See Also:
    • ID_NEXT_INDEX_VALUE

      public static final int ID_NEXT_INDEX_VALUE
       deprecated for index id auto_increment
       
      ID_NEXT_INDEX = 7;
      See Also:
    • ID_NEXT_TENANT_VALUE

      public static final int ID_NEXT_TENANT_VALUE
      ID_NEXT_TENANT = 8;
      See Also:
    • EPOCH_COORINATOR_VALUE

      public static final int EPOCH_COORINATOR_VALUE
      EPOCH_COORINATOR = 11;
      See Also:
    • EPOCH_STORE_VALUE

      public static final int EPOCH_STORE_VALUE
      EPOCH_STORE = 12;
      See Also:
    • EPOCH_EXECUTOR_VALUE

      public static final int EPOCH_EXECUTOR_VALUE
      EPOCH_EXECUTOR = 13;
      See Also:
    • EPOCH_SCHEMA_VALUE

      public static final int EPOCH_SCHEMA_VALUE
      EPOCH_SCHEMA = 14;
      See Also:
    • EPOCH_REGION_VALUE

      public static final int EPOCH_REGION_VALUE
      EPOCH_REGION = 15;
      See Also:
    • EPOCH_TABLE_VALUE

      public static final int EPOCH_TABLE_VALUE
      EPOCH_TABLE = 16;
      See Also:
    • EPOCH_INDEX_VALUE

      public static final int EPOCH_INDEX_VALUE
      EPOCH_INDEX = 17;
      See Also:
    • EPOCH_MDS_VALUE

      public static final int EPOCH_MDS_VALUE
      EPOCH_MDS = 18;
      See Also:
    • RAFT_APPLY_TERM_VALUE

      public static final int RAFT_APPLY_TERM_VALUE
      RAFT_APPLY_TERM = 21;
      See Also:
    • RAFT_APPLY_INDEX_VALUE

      public static final int RAFT_APPLY_INDEX_VALUE
      RAFT_APPLY_INDEX = 22;
      See Also:
    • ID_NEXT_REGION_CMD_VALUE

      public static final int ID_NEXT_REGION_CMD_VALUE
      ID_NEXT_REGION_CMD = 31;
      See Also:
    • ID_NEXT_JOB_VALUE

      public static final int ID_NEXT_JOB_VALUE
      ID_NEXT_JOB = 32;
      See Also:
    • ID_NEXT_LEASE_VALUE

      public static final int ID_NEXT_LEASE_VALUE
      ID_NEXT_LEASE = 40;
      See Also:
    • ID_NEXT_REVISION_VALUE

      public static final int ID_NEXT_REVISION_VALUE
      ID_NEXT_REVISION = 41;
      See Also:
    • ID_NEXT_META_WATCH_VALUE

      public static final int ID_NEXT_META_WATCH_VALUE
      ID_NEXT_META_WATCH = 42;
      See Also:
    • ID_GC_SAFE_POINT_VALUE

      public static final int ID_GC_SAFE_POINT_VALUE
      ID_GC_SAFE_POINT = 50;
      See Also:
    • ID_SCHEMA_VERSION_VALUE

      public static final int ID_SCHEMA_VERSION_VALUE
       for online ddl
       
      ID_SCHEMA_VERSION = 51;
      See Also:
    • ID_DDL_JOB_VALUE

      public static final int ID_DDL_JOB_VALUE
      ID_DDL_JOB = 52;
      See Also:
    • ID_GC_RESOLVE_LOCK_SAFE_POINT_VALUE

      public static final int ID_GC_RESOLVE_LOCK_SAFE_POINT_VALUE
      ID_GC_RESOLVE_LOCK_SAFE_POINT = 53;
      See Also:
  • Method Details

    • values

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

      public static Coordinator.IdEpochType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 Coordinator.IdEpochType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Coordinator.IdEpochType 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<Coordinator.IdEpochType> 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 Coordinator.IdEpochType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null