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