public static enum Finding.Mute extends Enum<Finding.Mute> implements ProtocolMessageEnum
Mute state a finding can be in.Protobuf enum
google.cloud.securitycenter.v1.Finding.Mute
Enum Constant and Description |
---|
MUTE_UNSPECIFIED
Unspecified.
|
MUTED
Finding has been muted.
|
UNDEFINED
Finding has never been muted/unmuted.
|
UNMUTED
Finding has been unmuted.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
MUTE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
MUTED_VALUE
Finding has been muted.
|
static int |
UNDEFINED_VALUE
Finding has never been muted/unmuted.
|
static int |
UNMUTED_VALUE
Finding has been unmuted.
|
Modifier and Type | Method and Description |
---|---|
static Finding.Mute |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Finding.Mute> |
internalGetValueMap() |
static Finding.Mute |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Finding.Mute |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Finding.Mute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Finding.Mute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Finding.Mute MUTE_UNSPECIFIED
Unspecified.
MUTE_UNSPECIFIED = 0;
public static final Finding.Mute MUTED
Finding has been muted.
MUTED = 1;
public static final Finding.Mute UNMUTED
Finding has been unmuted.
UNMUTED = 2;
public static final Finding.Mute UNDEFINED
Finding has never been muted/unmuted.
UNDEFINED = 4;
public static final Finding.Mute UNRECOGNIZED
public static final int MUTE_UNSPECIFIED_VALUE
Unspecified.
MUTE_UNSPECIFIED = 0;
public static final int MUTED_VALUE
Finding has been muted.
MUTED = 1;
public static final int UNMUTED_VALUE
Finding has been unmuted.
UNMUTED = 2;
public static final int UNDEFINED_VALUE
Finding has never been muted/unmuted.
UNDEFINED = 4;
public static Finding.Mute[] values()
for (Finding.Mute c : Finding.Mute.values()) System.out.println(c);
public static Finding.Mute 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.Mute valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Finding.Mute forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Finding.Mute> 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.Mute valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.