Package com.google.cloud.aiplatform.v1
Enum Feature.ValueType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Feature.ValueType>
- Enclosing class:
- Feature
public static enum Feature.ValueType
extends Enum<Feature.ValueType>
implements com.google.protobuf.ProtocolMessageEnum
Only applicable for Vertex AI Legacy Feature Store. An enum representing the value type of a feature.Protobuf enum
google.cloud.aiplatform.v1.Feature.ValueType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed for Feature that is a boolean.Used for Feature that is a list of boolean.Used for Feature that is bytes.Used for Feature that is double.Used for Feature that is a list of double.Used for Feature that is INT64.Used for Feature that is a list of INT64.Used for Feature that is string.Used for Feature that is a list of String.Used for Feature that is struct.The value type is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUsed for Feature that is a list of boolean.static final intUsed for Feature that is a boolean.static final intUsed for Feature that is bytes.static final intUsed for Feature that is a list of double.static final intUsed for Feature that is double.static final intUsed for Feature that is a list of INT64.static final intUsed for Feature that is INT64.static final intUsed for Feature that is a list of String.static final intUsed for Feature that is string.static final intUsed for Feature that is struct.static final intThe value type is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Feature.ValueTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Feature.ValueType>static Feature.ValueTypevalueOf(int value) Deprecated.static Feature.ValueTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Feature.ValueTypeReturns the enum constant of this type with the specified name.static Feature.ValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE_TYPE_UNSPECIFIED
The value type is unspecified.
VALUE_TYPE_UNSPECIFIED = 0; -
BOOL
Used for Feature that is a boolean.
BOOL = 1; -
BOOL_ARRAY
Used for Feature that is a list of boolean.
BOOL_ARRAY = 2; -
DOUBLE
Used for Feature that is double.
DOUBLE = 3; -
DOUBLE_ARRAY
Used for Feature that is a list of double.
DOUBLE_ARRAY = 4; -
INT64
Used for Feature that is INT64.
INT64 = 9; -
INT64_ARRAY
Used for Feature that is a list of INT64.
INT64_ARRAY = 10; -
STRING
Used for Feature that is string.
STRING = 11; -
STRING_ARRAY
Used for Feature that is a list of String.
STRING_ARRAY = 12; -
BYTES
Used for Feature that is bytes.
BYTES = 13; -
STRUCT
Used for Feature that is struct.
STRUCT = 14; -
UNRECOGNIZED
-
-
Field Details
-
VALUE_TYPE_UNSPECIFIED_VALUE
public static final int VALUE_TYPE_UNSPECIFIED_VALUEThe value type is unspecified.
VALUE_TYPE_UNSPECIFIED = 0;- See Also:
-
BOOL_VALUE
public static final int BOOL_VALUEUsed for Feature that is a boolean.
BOOL = 1;- See Also:
-
BOOL_ARRAY_VALUE
public static final int BOOL_ARRAY_VALUEUsed for Feature that is a list of boolean.
BOOL_ARRAY = 2;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEUsed for Feature that is double.
DOUBLE = 3;- See Also:
-
DOUBLE_ARRAY_VALUE
public static final int DOUBLE_ARRAY_VALUEUsed for Feature that is a list of double.
DOUBLE_ARRAY = 4;- See Also:
-
INT64_VALUE
public static final int INT64_VALUEUsed for Feature that is INT64.
INT64 = 9;- See Also:
-
INT64_ARRAY_VALUE
public static final int INT64_ARRAY_VALUEUsed for Feature that is a list of INT64.
INT64_ARRAY = 10;- See Also:
-
STRING_VALUE
public static final int STRING_VALUEUsed for Feature that is string.
STRING = 11;- See Also:
-
STRING_ARRAY_VALUE
public static final int STRING_ARRAY_VALUEUsed for Feature that is a list of String.
STRING_ARRAY = 12;- See Also:
-
BYTES_VALUE
public static final int BYTES_VALUEUsed for Feature that is bytes.
BYTES = 13;- See Also:
-
STRUCT_VALUE
public static final int STRUCT_VALUEUsed for Feature that is struct.
STRUCT = 14;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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:
desc- 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
-