public static enum RunAssetDiscoveryResponse.State extends Enum<RunAssetDiscoveryResponse.State> implements ProtocolMessageEnum
The state of an asset discovery run.Protobuf enum
google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State
Enum Constant and Description |
---|
COMPLETED
Asset discovery run completed successfully.
|
STATE_UNSPECIFIED
Asset discovery run state was unspecified.
|
SUPERSEDED
Asset discovery run was cancelled with tasks still pending, as another
run for the same organization was started with a higher priority.
|
TERMINATED
Asset discovery run was killed and terminated.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETED_VALUE
Asset discovery run completed successfully.
|
static int |
STATE_UNSPECIFIED_VALUE
Asset discovery run state was unspecified.
|
static int |
SUPERSEDED_VALUE
Asset discovery run was cancelled with tasks still pending, as another
run for the same organization was started with a higher priority.
|
static int |
TERMINATED_VALUE
Asset discovery run was killed and terminated.
|
Modifier and Type | Method and Description |
---|---|
static RunAssetDiscoveryResponse.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<RunAssetDiscoveryResponse.State> |
internalGetValueMap() |
static RunAssetDiscoveryResponse.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static RunAssetDiscoveryResponse.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunAssetDiscoveryResponse.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunAssetDiscoveryResponse.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunAssetDiscoveryResponse.State STATE_UNSPECIFIED
Asset discovery run state was unspecified.
STATE_UNSPECIFIED = 0;
public static final RunAssetDiscoveryResponse.State COMPLETED
Asset discovery run completed successfully.
COMPLETED = 1;
public static final RunAssetDiscoveryResponse.State SUPERSEDED
Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.
SUPERSEDED = 2;
public static final RunAssetDiscoveryResponse.State TERMINATED
Asset discovery run was killed and terminated.
TERMINATED = 3;
public static final RunAssetDiscoveryResponse.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Asset discovery run state was unspecified.
STATE_UNSPECIFIED = 0;
public static final int COMPLETED_VALUE
Asset discovery run completed successfully.
COMPLETED = 1;
public static final int SUPERSEDED_VALUE
Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.
SUPERSEDED = 2;
public static final int TERMINATED_VALUE
Asset discovery run was killed and terminated.
TERMINATED = 3;
public static RunAssetDiscoveryResponse.State[] values()
for (RunAssetDiscoveryResponse.State c : RunAssetDiscoveryResponse.State.values()) System.out.println(c);
public static RunAssetDiscoveryResponse.State 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 RunAssetDiscoveryResponse.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static RunAssetDiscoveryResponse.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<RunAssetDiscoveryResponse.State> 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 RunAssetDiscoveryResponse.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.