Enum ClusterStatus.Substate

    • Enum Constant Detail

      • UNSPECIFIED

        public static final ClusterStatus.Substate UNSPECIFIED
         The cluster substate is unknown.
         
        UNSPECIFIED = 0;
      • UNHEALTHY

        public static final ClusterStatus.Substate UNHEALTHY
         The cluster is known to be in an unhealthy state
         (for example, critical daemons are not running or HDFS capacity is
         exhausted).
        
         Applies to RUNNING state.
         
        UNHEALTHY = 1;
      • STALE_STATUS

        public static final ClusterStatus.Substate STALE_STATUS
         The agent-reported status is out of date (may occur if
         Dataproc loses communication with Agent).
        
         Applies to RUNNING state.
         
        STALE_STATUS = 2;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         The cluster substate is unknown.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNHEALTHY_VALUE

        public static final int UNHEALTHY_VALUE
         The cluster is known to be in an unhealthy state
         (for example, critical daemons are not running or HDFS capacity is
         exhausted).
        
         Applies to RUNNING state.
         
        UNHEALTHY = 1;
        See Also:
        Constant Field Values
      • STALE_STATUS_VALUE

        public static final int STALE_STATUS_VALUE
         The agent-reported status is out of date (may occur if
         Dataproc loses communication with Agent).
        
         Applies to RUNNING state.
         
        STALE_STATUS = 2;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ClusterStatus.Substate[] 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 (ClusterStatus.Substate c : ClusterStatus.Substate.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClusterStatus.Substate 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 ClusterStatus.Substate 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 ClusterStatus.Substate 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<ClusterStatus.Substate> 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 ClusterStatus.Substate 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