Package org.tensorflow.metadata.v0
Enum FeatureNameStatistics.StatsCase
- java.lang.Object
-
- java.lang.Enum<FeatureNameStatistics.StatsCase>
-
- org.tensorflow.metadata.v0.FeatureNameStatistics.StatsCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<FeatureNameStatistics.StatsCase>
- Enclosing class:
- FeatureNameStatistics
public static enum FeatureNameStatistics.StatsCase extends Enum<FeatureNameStatistics.StatsCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BYTES_STATSNUM_STATSSTATS_NOT_SETSTRING_STATSSTRUCT_STATS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeatureNameStatistics.StatsCaseforNumber(int value)intgetNumber()static FeatureNameStatistics.StatsCasevalueOf(int value)Deprecated.static FeatureNameStatistics.StatsCasevalueOf(String name)Returns the enum constant of this type with the specified name.static FeatureNameStatistics.StatsCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUM_STATS
public static final FeatureNameStatistics.StatsCase NUM_STATS
-
STRING_STATS
public static final FeatureNameStatistics.StatsCase STRING_STATS
-
BYTES_STATS
public static final FeatureNameStatistics.StatsCase BYTES_STATS
-
STRUCT_STATS
public static final FeatureNameStatistics.StatsCase STRUCT_STATS
-
STATS_NOT_SET
public static final FeatureNameStatistics.StatsCase STATS_NOT_SET
-
-
Method Detail
-
values
public static FeatureNameStatistics.StatsCase[] 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 (FeatureNameStatistics.StatsCase c : FeatureNameStatistics.StatsCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureNameStatistics.StatsCase 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 FeatureNameStatistics.StatsCase 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 FeatureNameStatistics.StatsCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-