public static enum ScanRun.ExecutionState extends Enum<ScanRun.ExecutionState> implements ProtocolMessageEnum
Types of ScanRun execution state.Protobuf enum
google.cloud.websecurityscanner.v1.ScanRun.ExecutionState
Enum Constant and Description |
---|
EXECUTION_STATE_UNSPECIFIED
Represents an invalid state caused by internal server error.
|
FINISHED
The scan is either finished or stopped by user.
|
QUEUED
The scan is waiting in the queue.
|
SCANNING
The scan is in progress.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EXECUTION_STATE_UNSPECIFIED_VALUE
Represents an invalid state caused by internal server error.
|
static int |
FINISHED_VALUE
The scan is either finished or stopped by user.
|
static int |
QUEUED_VALUE
The scan is waiting in the queue.
|
static int |
SCANNING_VALUE
The scan is in progress.
|
Modifier and Type | Method and Description |
---|---|
static ScanRun.ExecutionState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanRun.ExecutionState> |
internalGetValueMap() |
static ScanRun.ExecutionState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ScanRun.ExecutionState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanRun.ExecutionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanRun.ExecutionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanRun.ExecutionState EXECUTION_STATE_UNSPECIFIED
Represents an invalid state caused by internal server error. This value should never be returned.
EXECUTION_STATE_UNSPECIFIED = 0;
public static final ScanRun.ExecutionState QUEUED
The scan is waiting in the queue.
QUEUED = 1;
public static final ScanRun.ExecutionState SCANNING
The scan is in progress.
SCANNING = 2;
public static final ScanRun.ExecutionState FINISHED
The scan is either finished or stopped by user.
FINISHED = 3;
public static final ScanRun.ExecutionState UNRECOGNIZED
public static final int EXECUTION_STATE_UNSPECIFIED_VALUE
Represents an invalid state caused by internal server error. This value should never be returned.
EXECUTION_STATE_UNSPECIFIED = 0;
public static final int QUEUED_VALUE
The scan is waiting in the queue.
QUEUED = 1;
public static final int SCANNING_VALUE
The scan is in progress.
SCANNING = 2;
public static final int FINISHED_VALUE
The scan is either finished or stopped by user.
FINISHED = 3;
public static ScanRun.ExecutionState[] values()
for (ScanRun.ExecutionState c : ScanRun.ExecutionState.values()) System.out.println(c);
public static ScanRun.ExecutionState 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.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ScanRun.ExecutionState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanRun.ExecutionState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanRun.ExecutionState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ScanRun.ExecutionState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.