public static enum P4Data.DataCase extends Enum<P4Data.DataCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
BITSTRING |
BOOL |
DATA_NOT_SET |
ENUM |
ENUM_VALUE |
ERROR |
HEADER |
HEADER_STACK |
HEADER_UNION |
HEADER_UNION_STACK |
STRUCT |
TUPLE |
VARBIT |
Modifier and Type | Method and Description |
---|---|
static P4Data.DataCase |
forNumber(int value) |
int |
getNumber() |
static P4Data.DataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static P4Data.DataCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static P4Data.DataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final P4Data.DataCase BITSTRING
public static final P4Data.DataCase VARBIT
public static final P4Data.DataCase BOOL
public static final P4Data.DataCase TUPLE
public static final P4Data.DataCase STRUCT
public static final P4Data.DataCase HEADER
public static final P4Data.DataCase HEADER_UNION
public static final P4Data.DataCase HEADER_STACK
public static final P4Data.DataCase HEADER_UNION_STACK
public static final P4Data.DataCase ENUM
public static final P4Data.DataCase ERROR
public static final P4Data.DataCase ENUM_VALUE
public static final P4Data.DataCase DATA_NOT_SET
public static P4Data.DataCase[] values()
for (P4Data.DataCase c : P4Data.DataCase.values()) System.out.println(c);
public static P4Data.DataCase 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 P4Data.DataCase valueOf(int value)
forNumber(int)
instead.public static P4Data.DataCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2018 OpenDaylight. All rights reserved.