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