public static enum Occurrence.DetailsCase extends Enum<Occurrence.DetailsCase> implements Internal.EnumLite
Enum Constant and Description |
---|
ATTESTATION |
BUILD |
DEPLOYMENT |
DETAILS_NOT_SET |
DISCOVERY |
IMAGE |
PACKAGE |
VULNERABILITY |
Modifier and Type | Method and Description |
---|---|
static Occurrence.DetailsCase |
forNumber(int value) |
int |
getNumber() |
static Occurrence.DetailsCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Occurrence.DetailsCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Occurrence.DetailsCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Occurrence.DetailsCase VULNERABILITY
public static final Occurrence.DetailsCase BUILD
public static final Occurrence.DetailsCase IMAGE
public static final Occurrence.DetailsCase PACKAGE
public static final Occurrence.DetailsCase DEPLOYMENT
public static final Occurrence.DetailsCase DISCOVERY
public static final Occurrence.DetailsCase ATTESTATION
public static final Occurrence.DetailsCase DETAILS_NOT_SET
public static Occurrence.DetailsCase[] values()
for (Occurrence.DetailsCase c : Occurrence.DetailsCase.values()) System.out.println(c);
public static Occurrence.DetailsCase 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 null@Deprecated public static Occurrence.DetailsCase valueOf(int value)
forNumber(int)
instead.public static Occurrence.DetailsCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite
Copyright © 2019 Google LLC. All rights reserved.