public static enum ScanRun.ExecutionState extends Enum<ScanRun.ExecutionState> implements com.google.protobuf.ProtocolMessageEnum
Types of ScanRun execution state.Protobuf enum
google.cloud.websecurityscanner.v1beta.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 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<ScanRun.ExecutionState> |
internalGetValueMap() |
static ScanRun.ExecutionState |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ScanRun.ExecutionState valueOf(int value)
forNumber(int) instead.public static ScanRun.ExecutionState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ScanRun.ExecutionState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ScanRun.ExecutionState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.