public enum FeatureType extends Enum<FeatureType> implements com.google.protobuf.ProtocolMessageEnum
Describes the physical representation of a feature. It may be different than the logical representation, which is represented as a Domain.Protobuf enum
tensorflow.metadata.v0.FeatureType| Enum Constant and Description |
|---|
BYTES
BYTES = 1; |
FLOAT
FLOAT = 3; |
INT
INT = 2; |
STRUCT
STRUCT = 4; |
TYPE_UNKNOWN
TYPE_UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTES_VALUE
BYTES = 1; |
static int |
FLOAT_VALUE
FLOAT = 3; |
static int |
INT_VALUE
INT = 2; |
static int |
STRUCT_VALUE
STRUCT = 4; |
static int |
TYPE_UNKNOWN_VALUE
TYPE_UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static FeatureType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<FeatureType> |
internalGetValueMap() |
static FeatureType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FeatureType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FeatureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureType TYPE_UNKNOWN
TYPE_UNKNOWN = 0;public static final FeatureType BYTES
BYTES = 1;public static final FeatureType INT
INT = 2;public static final FeatureType FLOAT
FLOAT = 3;public static final FeatureType STRUCT
STRUCT = 4;public static final int TYPE_UNKNOWN_VALUE
TYPE_UNKNOWN = 0;public static final int BYTES_VALUE
BYTES = 1;public static final int INT_VALUE
INT = 2;public static final int FLOAT_VALUE
FLOAT = 3;public static final int STRUCT_VALUE
STRUCT = 4;public static FeatureType[] values()
for (FeatureType c : FeatureType.values()) System.out.println(c);
public static FeatureType 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static FeatureType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FeatureType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FeatureType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FeatureType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Gojek. All rights reserved.