Package io.grafeas.v1beta1.discovery
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 Summary
Enum ConstantsEnum ConstantDescriptionUnknown.Analysis has finished unsuccessfully, the analysis itself is in a bad state.Analysis has finished successfully.The resource is known not to be supportedResource is known but no action has been taken yet.Resource is being analyzed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnknown.static final intAnalysis has finished unsuccessfully, the analysis itself is in a bad state.static final intAnalysis has finished successfully.static final intThe resource is known not to be supportedstatic final intResource is known but no action has been taken yet.static final intResource is being analyzed. -
Method Summary
Modifier and TypeMethodDescriptionstatic Discovered.AnalysisStatusforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Discovered.AnalysisStatus>static Discovered.AnalysisStatusvalueOf(int value) Deprecated.static Discovered.AnalysisStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Discovered.AnalysisStatusReturns the enum constant of this type with the specified name.static Discovered.AnalysisStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANALYSIS_STATUS_UNSPECIFIED
Unknown.
ANALYSIS_STATUS_UNSPECIFIED = 0; -
PENDING
Resource is known but no action has been taken yet.
PENDING = 1; -
SCANNING
Resource is being analyzed.
SCANNING = 2; -
FINISHED_SUCCESS
Analysis has finished successfully.
FINISHED_SUCCESS = 3; -
FINISHED_FAILED
Analysis has finished unsuccessfully, the analysis itself is in a bad state.
FINISHED_FAILED = 4; -
FINISHED_UNSUPPORTED
The resource is known not to be supported
FINISHED_UNSUPPORTED = 5; -
UNRECOGNIZED
-
-
Field Details
-
ANALYSIS_STATUS_UNSPECIFIED_VALUE
public static final int ANALYSIS_STATUS_UNSPECIFIED_VALUEUnknown.
ANALYSIS_STATUS_UNSPECIFIED = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEResource is known but no action has been taken yet.
PENDING = 1;- See Also:
-
SCANNING_VALUE
public static final int SCANNING_VALUEResource is being analyzed.
SCANNING = 2;- See Also:
-
FINISHED_SUCCESS_VALUE
public static final int FINISHED_SUCCESS_VALUEAnalysis has finished successfully.
FINISHED_SUCCESS = 3;- See Also:
-
FINISHED_FAILED_VALUE
public static final int FINISHED_FAILED_VALUEAnalysis 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_VALUEThe resource is known not to be supported
FINISHED_UNSUPPORTED = 5;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-