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