Enum QueuedResourceState.State

    • Enum Constant Detail

      • STATE_UNSPECIFIED

        public static final QueuedResourceState.State STATE_UNSPECIFIED
         State of the QueuedResource request is not known/set.
         
        STATE_UNSPECIFIED = 0;
      • CREATING

        public static final QueuedResourceState.State CREATING
         The QueuedResource request has been received. We're still working on
         determining if we will be able to honor this request.
         
        CREATING = 1;
      • ACCEPTED

        public static final QueuedResourceState.State ACCEPTED
         The QueuedResource request has passed initial validation/admission
         control and has been persisted in the queue.
         
        ACCEPTED = 2;
      • PROVISIONING

        public static final QueuedResourceState.State PROVISIONING
         The QueuedResource request has been selected. The
         associated resources are currently being provisioned (or very soon
         will begin provisioning).
         
        PROVISIONING = 3;
      • FAILED

        public static final QueuedResourceState.State FAILED
         The request could not be completed. This may be due to some
         late-discovered problem with the request itself, or due to
         unavailability of resources within the constraints of the request
         (e.g., the 'valid until' start timing constraint expired).
         
        FAILED = 4;
      • ACTIVE

        public static final QueuedResourceState.State ACTIVE
         The resources specified in the QueuedResource request have been
         provisioned and are ready for use by the end-user/consumer.
         
        ACTIVE = 6;
      • SUSPENDING

        public static final QueuedResourceState.State SUSPENDING
         The resources specified in the QueuedResource request are being
         deleted. This may have been initiated by the user, or
         the Cloud TPU service. Inspect the state data for more details.
         
        SUSPENDING = 7;
      • SUSPENDED

        public static final QueuedResourceState.State SUSPENDED
         The resources specified in the QueuedResource request have been
         deleted.
         
        SUSPENDED = 8;
    • Field Detail

      • STATE_UNSPECIFIED_VALUE

        public static final int STATE_UNSPECIFIED_VALUE
         State of the QueuedResource request is not known/set.
         
        STATE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • CREATING_VALUE

        public static final int CREATING_VALUE
         The QueuedResource request has been received. We're still working on
         determining if we will be able to honor this request.
         
        CREATING = 1;
        See Also:
        Constant Field Values
      • ACCEPTED_VALUE

        public static final int ACCEPTED_VALUE
         The QueuedResource request has passed initial validation/admission
         control and has been persisted in the queue.
         
        ACCEPTED = 2;
        See Also:
        Constant Field Values
      • PROVISIONING_VALUE

        public static final int PROVISIONING_VALUE
         The QueuedResource request has been selected. The
         associated resources are currently being provisioned (or very soon
         will begin provisioning).
         
        PROVISIONING = 3;
        See Also:
        Constant Field Values
      • FAILED_VALUE

        public static final int FAILED_VALUE
         The request could not be completed. This may be due to some
         late-discovered problem with the request itself, or due to
         unavailability of resources within the constraints of the request
         (e.g., the 'valid until' start timing constraint expired).
         
        FAILED = 4;
        See Also:
        Constant Field Values
      • DELETING_VALUE

        public static final int DELETING_VALUE
         The QueuedResource is being deleted.
         
        DELETING = 5;
        See Also:
        Constant Field Values
      • ACTIVE_VALUE

        public static final int ACTIVE_VALUE
         The resources specified in the QueuedResource request have been
         provisioned and are ready for use by the end-user/consumer.
         
        ACTIVE = 6;
        See Also:
        Constant Field Values
      • SUSPENDING_VALUE

        public static final int SUSPENDING_VALUE
         The resources specified in the QueuedResource request are being
         deleted. This may have been initiated by the user, or
         the Cloud TPU service. Inspect the state data for more details.
         
        SUSPENDING = 7;
        See Also:
        Constant Field Values
      • SUSPENDED_VALUE

        public static final int SUSPENDED_VALUE
         The resources specified in the QueuedResource request have been
         deleted.
         
        SUSPENDED = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static QueuedResourceState.State[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QueuedResourceState.State c : QueuedResourceState.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QueuedResourceState.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 QueuedResourceState.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 QueuedResourceState.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<QueuedResourceState.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static QueuedResourceState.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