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