Package org.tensorflow.metadata.v0
Enum TensorRepresentation.DefaultValue.KindCase
- java.lang.Object
-
- java.lang.Enum<TensorRepresentation.DefaultValue.KindCase>
-
- org.tensorflow.metadata.v0.TensorRepresentation.DefaultValue.KindCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<TensorRepresentation.DefaultValue.KindCase>
- Enclosing class:
- TensorRepresentation.DefaultValue
public static enum TensorRepresentation.DefaultValue.KindCase extends Enum<TensorRepresentation.DefaultValue.KindCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BYTES_VALUEFLOAT_VALUEINT_VALUEKIND_NOT_SETUINT_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TensorRepresentation.DefaultValue.KindCaseforNumber(int value)intgetNumber()static TensorRepresentation.DefaultValue.KindCasevalueOf(int value)Deprecated.static TensorRepresentation.DefaultValue.KindCasevalueOf(String name)Returns the enum constant of this type with the specified name.static TensorRepresentation.DefaultValue.KindCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOAT_VALUE
public static final TensorRepresentation.DefaultValue.KindCase FLOAT_VALUE
-
INT_VALUE
public static final TensorRepresentation.DefaultValue.KindCase INT_VALUE
-
BYTES_VALUE
public static final TensorRepresentation.DefaultValue.KindCase BYTES_VALUE
-
UINT_VALUE
public static final TensorRepresentation.DefaultValue.KindCase UINT_VALUE
-
KIND_NOT_SET
public static final TensorRepresentation.DefaultValue.KindCase KIND_NOT_SET
-
-
Method Detail
-
values
public static TensorRepresentation.DefaultValue.KindCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TensorRepresentation.DefaultValue.KindCase c : TensorRepresentation.DefaultValue.KindCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TensorRepresentation.DefaultValue.KindCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static TensorRepresentation.DefaultValue.KindCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static TensorRepresentation.DefaultValue.KindCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-