public static enum AttrValue.ValueCase extends Enum<AttrValue.ValueCase> implements org.nd4j.shade.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
B |
F |
FUNC |
I |
LIST |
PLACEHOLDER |
S |
SHAPE |
TENSOR |
TYPE |
VALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static AttrValue.ValueCase |
forNumber(int value) |
int |
getNumber() |
static AttrValue.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AttrValue.ValueCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttrValue.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttrValue.ValueCase S
public static final AttrValue.ValueCase I
public static final AttrValue.ValueCase F
public static final AttrValue.ValueCase B
public static final AttrValue.ValueCase TYPE
public static final AttrValue.ValueCase SHAPE
public static final AttrValue.ValueCase TENSOR
public static final AttrValue.ValueCase LIST
public static final AttrValue.ValueCase FUNC
public static final AttrValue.ValueCase PLACEHOLDER
public static final AttrValue.ValueCase VALUE_NOT_SET
public static AttrValue.ValueCase[] values()
for (AttrValue.ValueCase c : AttrValue.ValueCase.values()) System.out.println(c);
public static AttrValue.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 AttrValue.ValueCase valueOf(int value)
forNumber(int)
instead.public static AttrValue.ValueCase forNumber(int value)
public int getNumber()
getNumber
in interface org.nd4j.shade.protobuf.Internal.EnumLite
Copyright © 2020. All rights reserved.