Enum Node.State

java.lang.Object
java.lang.Enum<Node.State>
com.google.cloud.tpu.v2.Node.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Node.State>
Enclosing class:
Node

public static enum Node.State extends Enum<Node.State> implements com.google.protobuf.ProtocolMessageEnum
 Represents the different states of a TPU node during its lifecycle.
 
Protobuf enum google.cloud.tpu.v2.Node.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final Node.State STATE_UNSPECIFIED
       TPU node state is not known/set.
       
      STATE_UNSPECIFIED = 0;
    • CREATING

      public static final Node.State CREATING
       TPU node is being created.
       
      CREATING = 1;
    • READY

      public static final Node.State READY
       TPU node has been created.
       
      READY = 2;
    • RESTARTING

      public static final Node.State RESTARTING
       TPU node is restarting.
       
      RESTARTING = 3;
    • REIMAGING

      public static final Node.State REIMAGING
       TPU node is undergoing reimaging.
       
      REIMAGING = 4;
    • DELETING

      public static final Node.State DELETING
       TPU node is being deleted.
       
      DELETING = 5;
    • REPAIRING

      public static final Node.State REPAIRING
       TPU node is being repaired and may be unusable. Details can be
       found in the 'help_description' field.
       
      REPAIRING = 6;
    • STOPPED

      public static final Node.State STOPPED
       TPU node is stopped.
       
      STOPPED = 8;
    • STOPPING

      public static final Node.State STOPPING
       TPU node is currently stopping.
       
      STOPPING = 9;
    • STARTING

      public static final Node.State STARTING
       TPU node is currently starting.
       
      STARTING = 10;
    • PREEMPTED

      public static final Node.State PREEMPTED
       TPU node has been preempted. Only applies to Preemptible TPU Nodes.
       
      PREEMPTED = 11;
    • TERMINATED

      public static final Node.State TERMINATED
       TPU node has been terminated due to maintenance or has reached the end of
       its life cycle (for preemptible nodes).
       
      TERMINATED = 12;
    • HIDING

      public static final Node.State HIDING
       TPU node is currently hiding.
       
      HIDING = 13;
    • HIDDEN

      public static final Node.State HIDDEN
       TPU node has been hidden.
       
      HIDDEN = 14;
    • UNHIDING

      public static final Node.State UNHIDING
       TPU node is currently unhiding.
       
      UNHIDING = 15;
    • UNKNOWN

      public static final Node.State UNKNOWN
       TPU node has unknown state after a failed repair.
       
      UNKNOWN = 16;
    • UNRECOGNIZED

      public static final Node.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       TPU node state is not known/set.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • CREATING_VALUE

      public static final int CREATING_VALUE
       TPU node is being created.
       
      CREATING = 1;
      See Also:
    • READY_VALUE

      public static final int READY_VALUE
       TPU node has been created.
       
      READY = 2;
      See Also:
    • RESTARTING_VALUE

      public static final int RESTARTING_VALUE
       TPU node is restarting.
       
      RESTARTING = 3;
      See Also:
    • REIMAGING_VALUE

      public static final int REIMAGING_VALUE
       TPU node is undergoing reimaging.
       
      REIMAGING = 4;
      See Also:
    • DELETING_VALUE

      public static final int DELETING_VALUE
       TPU node is being deleted.
       
      DELETING = 5;
      See Also:
    • REPAIRING_VALUE

      public static final int REPAIRING_VALUE
       TPU node is being repaired and may be unusable. Details can be
       found in the 'help_description' field.
       
      REPAIRING = 6;
      See Also:
    • STOPPED_VALUE

      public static final int STOPPED_VALUE
       TPU node is stopped.
       
      STOPPED = 8;
      See Also:
    • STOPPING_VALUE

      public static final int STOPPING_VALUE
       TPU node is currently stopping.
       
      STOPPING = 9;
      See Also:
    • STARTING_VALUE

      public static final int STARTING_VALUE
       TPU node is currently starting.
       
      STARTING = 10;
      See Also:
    • PREEMPTED_VALUE

      public static final int PREEMPTED_VALUE
       TPU node has been preempted. Only applies to Preemptible TPU Nodes.
       
      PREEMPTED = 11;
      See Also:
    • TERMINATED_VALUE

      public static final int TERMINATED_VALUE
       TPU node has been terminated due to maintenance or has reached the end of
       its life cycle (for preemptible nodes).
       
      TERMINATED = 12;
      See Also:
    • HIDING_VALUE

      public static final int HIDING_VALUE
       TPU node is currently hiding.
       
      HIDING = 13;
      See Also:
    • HIDDEN_VALUE

      public static final int HIDDEN_VALUE
       TPU node has been hidden.
       
      HIDDEN = 14;
      See Also:
    • UNHIDING_VALUE

      public static final int UNHIDING_VALUE
       TPU node is currently unhiding.
       
      UNHIDING = 15;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       TPU node has unknown state after a failed repair.
       
      UNKNOWN = 16;
      See Also:
  • Method Details

    • values

      public static Node.State[] 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 Node.State 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 Node.State 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 Node.State 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<Node.State> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Node.State 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