Enum Discovered.AnalysisStatus

java.lang.Object
java.lang.Enum<Discovered.AnalysisStatus>
io.grafeas.v1beta1.discovery.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 Details

    • 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;
    • SCANNING

      public static final Discovered.AnalysisStatus SCANNING
       Resource is being analyzed.
       
      SCANNING = 2;
    • 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;
    • UNRECOGNIZED

      public static final Discovered.AnalysisStatus UNRECOGNIZED
  • Field Details

    • ANALYSIS_STATUS_UNSPECIFIED_VALUE

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

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

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

      public static final int FINISHED_SUCCESS_VALUE
       Analysis has finished successfully.
       
      FINISHED_SUCCESS = 3;
      See Also:
    • 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:
    • FINISHED_UNSUPPORTED_VALUE

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

    • values

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