Package io.grafeas.v1beta1.discovery
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 enumgrafeas.v1beta1.discovery.Discovered.AnalysisStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALYSIS_STATUS_UNSPECIFIED
Unknown.FINISHED_FAILED
Analysis has finished unsuccessfully, the analysis itself is in a bad state.FINISHED_SUCCESS
Analysis has finished successfully.FINISHED_UNSUPPORTED
The resource is known not to be supportedPENDING
Resource is known but no action has been taken yet.SCANNING
Resource is being analyzed.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ANALYSIS_STATUS_UNSPECIFIED_VALUE
Unknown.static int
FINISHED_FAILED_VALUE
Analysis has finished unsuccessfully, the analysis itself is in a bad state.static int
FINISHED_SUCCESS_VALUE
Analysis has finished successfully.static int
FINISHED_UNSUPPORTED_VALUE
The resource is known not to be supportedstatic int
PENDING_VALUE
Resource is known but no action has been taken yet.static int
SCANNING_VALUE
Resource is being analyzed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Discovered.AnalysisStatus
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Discovered.AnalysisStatus>
internalGetValueMap()
static Discovered.AnalysisStatus
valueOf(int value)
Deprecated.static Discovered.AnalysisStatus
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Discovered.AnalysisStatus
valueOf(String name)
Returns 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 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;
-
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 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-
-