public static enum ScanRun.ResultState extends Enum<ScanRun.ResultState> implements com.google.protobuf.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 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.ResultState> |
internalGetValueMap() |
static ScanRun.ResultState |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ScanRun.ResultState valueOf(int value)
forNumber(int) instead.public static ScanRun.ResultState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ScanRun.ResultState> 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.ResultState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.