public static enum OnnxMl.TypeProto.ValueCase extends java.lang.Enum<OnnxMl.TypeProto.ValueCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
MAP_TYPE |
OPAQUE_TYPE |
SEQUENCE_TYPE |
SPARSE_TENSOR_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(java.lang.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 SPARSE_TENSOR_TYPE
public static final OnnxMl.TypeProto.ValueCase OPAQUE_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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static OnnxMl.TypeProto.ValueCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static OnnxMl.TypeProto.ValueCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite