public static enum Str.StorageValue.ValueCase extends Enum<Str.StorageValue.ValueCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ARTIFACT |
METADATA |
RULE |
SNAPSHOT |
VALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static Str.StorageValue.ValueCase |
forNumber(int value) |
int |
getNumber() |
static Str.StorageValue.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Str.StorageValue.ValueCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Str.StorageValue.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Str.StorageValue.ValueCase ARTIFACT
public static final Str.StorageValue.ValueCase METADATA
public static final Str.StorageValue.ValueCase RULE
public static final Str.StorageValue.ValueCase SNAPSHOT
public static final Str.StorageValue.ValueCase VALUE_NOT_SET
public static Str.StorageValue.ValueCase[] values()
for (Str.StorageValue.ValueCase c : Str.StorageValue.ValueCase.values()) System.out.println(c);
public static Str.StorageValue.ValueCase 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 Str.StorageValue.ValueCase valueOf(int value)
forNumber(int)
instead.public static Str.StorageValue.ValueCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2019 Red Hat. All rights reserved.