public static enum ScanRun.ResultState extends Enum<ScanRun.ResultState> implements ProtocolMessageEnum
Types of ScanRun result state.Protobuf enum
google.cloud.websecurityscanner.v1beta.ScanRun.ResultState
Enum Constant and Description |
---|
ERROR
The scan finished with errors.
|
KILLED
The scan was terminated by user.
|
RESULT_STATE_UNSPECIFIED
Default value.
|
SUCCESS
The scan finished without errors.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
The scan finished with errors.
|
static int |
KILLED_VALUE
The scan was terminated by user.
|
static int |
RESULT_STATE_UNSPECIFIED_VALUE
Default value.
|
static int |
SUCCESS_VALUE
The scan finished without errors.
|
Modifier and Type | Method and Description |
---|---|
static ScanRun.ResultState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanRun.ResultState> |
internalGetValueMap() |
static ScanRun.ResultState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ScanRun.ResultState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanRun.ResultState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanRun.ResultState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanRun.ResultState RESULT_STATE_UNSPECIFIED
Default value. This value is returned when the ScanRun is not yet finished.
RESULT_STATE_UNSPECIFIED = 0;
public static final ScanRun.ResultState SUCCESS
The scan finished without errors.
SUCCESS = 1;
public static final ScanRun.ResultState ERROR
The scan finished with errors.
ERROR = 2;
public static final ScanRun.ResultState KILLED
The scan was terminated by user.
KILLED = 3;
public static final ScanRun.ResultState UNRECOGNIZED
public static final int RESULT_STATE_UNSPECIFIED_VALUE
Default value. This value is returned when the ScanRun is not yet finished.
RESULT_STATE_UNSPECIFIED = 0;
public static final int SUCCESS_VALUE
The scan finished without errors.
SUCCESS = 1;
public static final int ERROR_VALUE
The scan finished with errors.
ERROR = 2;
public static final int KILLED_VALUE
The scan was terminated by user.
KILLED = 3;
public static ScanRun.ResultState[] values()
for (ScanRun.ResultState c : ScanRun.ResultState.values()) System.out.println(c);
public static ScanRun.ResultState 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.ResultState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanRun.ResultState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanRun.ResultState> 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.ResultState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.