public static enum DiscoveryOccurrence.AnalysisStatus extends Enum<DiscoveryOccurrence.AnalysisStatus> implements ProtocolMessageEnum
Analysis status for a resource. Currently for initial analysis only (not updated in continuous analysis).Protobuf enum
grafeas.v1.DiscoveryOccurrence.AnalysisStatus| Enum Constant and 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 supported
|
PENDING
Resource is known but no action has been taken yet.
|
SCANNING
Resource is being analyzed.
|
UNRECOGNIZED |
| Modifier and Type | Field and 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 supported
|
static int |
PENDING_VALUE
Resource is known but no action has been taken yet.
|
static int |
SCANNING_VALUE
Resource is being analyzed.
|
| Modifier and Type | Method and Description |
|---|---|
static DiscoveryOccurrence.AnalysisStatus |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<DiscoveryOccurrence.AnalysisStatus> |
internalGetValueMap() |
static DiscoveryOccurrence.AnalysisStatus |
valueOf(Descriptors.EnumValueDescriptor desc) |
static DiscoveryOccurrence.AnalysisStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DiscoveryOccurrence.AnalysisStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryOccurrence.AnalysisStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryOccurrence.AnalysisStatus ANALYSIS_STATUS_UNSPECIFIED
Unknown.
ANALYSIS_STATUS_UNSPECIFIED = 0;public static final DiscoveryOccurrence.AnalysisStatus PENDING
Resource is known but no action has been taken yet.
PENDING = 1;public static final DiscoveryOccurrence.AnalysisStatus SCANNING
Resource is being analyzed.
SCANNING = 2;public static final DiscoveryOccurrence.AnalysisStatus FINISHED_SUCCESS
Analysis has finished successfully.
FINISHED_SUCCESS = 3;public static final DiscoveryOccurrence.AnalysisStatus FINISHED_FAILED
Analysis has finished unsuccessfully, the analysis itself is in a bad state.
FINISHED_FAILED = 4;public static final DiscoveryOccurrence.AnalysisStatus FINISHED_UNSUPPORTED
The resource is known not to be supported
FINISHED_UNSUPPORTED = 5;public static final DiscoveryOccurrence.AnalysisStatus UNRECOGNIZED
public static final int ANALYSIS_STATUS_UNSPECIFIED_VALUE
Unknown.
ANALYSIS_STATUS_UNSPECIFIED = 0;public static final int PENDING_VALUE
Resource is known but no action has been taken yet.
PENDING = 1;public static final int SCANNING_VALUE
Resource is being analyzed.
SCANNING = 2;public static final int FINISHED_SUCCESS_VALUE
Analysis has finished successfully.
FINISHED_SUCCESS = 3;public static final int FINISHED_FAILED_VALUE
Analysis has finished unsuccessfully, the analysis itself is in a bad state.
FINISHED_FAILED = 4;public static final int FINISHED_UNSUPPORTED_VALUE
The resource is known not to be supported
FINISHED_UNSUPPORTED = 5;public static DiscoveryOccurrence.AnalysisStatus[] values()
for (DiscoveryOccurrence.AnalysisStatus c : DiscoveryOccurrence.AnalysisStatus.values()) System.out.println(c);
public static DiscoveryOccurrence.AnalysisStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static DiscoveryOccurrence.AnalysisStatus valueOf(int value)
forNumber(int) instead.public static DiscoveryOccurrence.AnalysisStatus forNumber(int value)
public static Internal.EnumLiteMap<DiscoveryOccurrence.AnalysisStatus> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static DiscoveryOccurrence.AnalysisStatus valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.