Enum Discovered.AnalysisStatus

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Discovered.AnalysisStatus>
    Enclosing class:
    Discovered

    public static enum Discovered.AnalysisStatus
    extends Enum<Discovered.AnalysisStatus>
    implements com.google.protobuf.ProtocolMessageEnum
     Analysis status for a resource. Currently for initial analysis only (not
     updated in continuous analysis).
     
    Protobuf enum grafeas.v1beta1.discovery.Discovered.AnalysisStatus
    • Enum Constant Detail

      • ANALYSIS_STATUS_UNSPECIFIED

        public static final Discovered.AnalysisStatus ANALYSIS_STATUS_UNSPECIFIED
         Unknown.
         
        ANALYSIS_STATUS_UNSPECIFIED = 0;
      • PENDING

        public static final Discovered.AnalysisStatus PENDING
         Resource is known but no action has been taken yet.
         
        PENDING = 1;
      • FINISHED_SUCCESS

        public static final Discovered.AnalysisStatus FINISHED_SUCCESS
         Analysis has finished successfully.
         
        FINISHED_SUCCESS = 3;
      • FINISHED_FAILED

        public static final Discovered.AnalysisStatus FINISHED_FAILED
         Analysis has finished unsuccessfully, the analysis itself is in a bad
         state.
         
        FINISHED_FAILED = 4;
      • FINISHED_UNSUPPORTED

        public static final Discovered.AnalysisStatus FINISHED_UNSUPPORTED
         The resource is known not to be supported
         
        FINISHED_UNSUPPORTED = 5;
    • Field Detail

      • ANALYSIS_STATUS_UNSPECIFIED_VALUE

        public static final int ANALYSIS_STATUS_UNSPECIFIED_VALUE
         Unknown.
         
        ANALYSIS_STATUS_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • PENDING_VALUE

        public static final int PENDING_VALUE
         Resource is known but no action has been taken yet.
         
        PENDING = 1;
        See Also:
        Constant Field Values
      • SCANNING_VALUE

        public static final int SCANNING_VALUE
         Resource is being analyzed.
         
        SCANNING = 2;
        See Also:
        Constant Field Values
      • FINISHED_SUCCESS_VALUE

        public static final int FINISHED_SUCCESS_VALUE
         Analysis has finished successfully.
         
        FINISHED_SUCCESS = 3;
        See Also:
        Constant Field Values
      • FINISHED_FAILED_VALUE

        public static final int FINISHED_FAILED_VALUE
         Analysis has finished unsuccessfully, the analysis itself is in a bad
         state.
         
        FINISHED_FAILED = 4;
        See Also:
        Constant Field Values
      • FINISHED_UNSUPPORTED_VALUE

        public static final int FINISHED_UNSUPPORTED_VALUE
         The resource is known not to be supported
         
        FINISHED_UNSUPPORTED = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static Discovered.AnalysisStatus 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 Discovered.AnalysisStatus 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 Discovered.AnalysisStatus 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<Discovered.AnalysisStatus> 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 Discovered.AnalysisStatus 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