public static enum Finding.State extends Enum<Finding.State> implements ProtocolMessageEnum
The state of the finding.Protobuf enum
google.cloud.securitycenter.v1p1beta1.Finding.State
Enum Constant and Description |
---|
ACTIVE
The finding requires attention and has not been addressed yet.
|
INACTIVE
The finding has been fixed, triaged as a non-issue or otherwise addressed
and is no longer active.
|
STATE_UNSPECIFIED
Unspecified state.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_VALUE
The finding requires attention and has not been addressed yet.
|
static int |
INACTIVE_VALUE
The finding has been fixed, triaged as a non-issue or otherwise addressed
and is no longer active.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified state.
|
Modifier and Type | Method and Description |
---|---|
static Finding.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Finding.State> |
internalGetValueMap() |
static Finding.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Finding.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Finding.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Finding.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Finding.State STATE_UNSPECIFIED
Unspecified state.
STATE_UNSPECIFIED = 0;
public static final Finding.State ACTIVE
The finding requires attention and has not been addressed yet.
ACTIVE = 1;
public static final Finding.State INACTIVE
The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.
INACTIVE = 2;
public static final Finding.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified state.
STATE_UNSPECIFIED = 0;
public static final int ACTIVE_VALUE
The finding requires attention and has not been addressed yet.
ACTIVE = 1;
public static final int INACTIVE_VALUE
The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.
INACTIVE = 2;
public static Finding.State[] values()
for (Finding.State c : Finding.State.values()) System.out.println(c);
public static Finding.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 Finding.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Finding.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Finding.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 Finding.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.