public static enum Feature.ValueType extends Enum<Feature.ValueType> implements com.google.protobuf.ProtocolMessageEnum
An enum representing the value type of a feature.Protobuf enum
google.cloud.aiplatform.v1beta1.Feature.ValueType| Enum Constant and Description |
|---|
BOOL
Used for Feature that is a boolean.
|
BOOL_ARRAY
Used for Feature that is a list of boolean.
|
BYTES
Used for Feature that is bytes.
|
DOUBLE
Used for Feature that is double.
|
DOUBLE_ARRAY
Used for Feature that is a list of double.
|
INT64
Used for Feature that is INT64.
|
INT64_ARRAY
Used for Feature that is a list of INT64.
|
STRING
Used for Feature that is string.
|
STRING_ARRAY
Used for Feature that is a list of String.
|
UNRECOGNIZED |
VALUE_TYPE_UNSPECIFIED
The value type is unspecified.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_ARRAY_VALUE
Used for Feature that is a list of boolean.
|
static int |
BOOL_VALUE
Used for Feature that is a boolean.
|
static int |
BYTES_VALUE
Used for Feature that is bytes.
|
static int |
DOUBLE_ARRAY_VALUE
Used for Feature that is a list of double.
|
static int |
DOUBLE_VALUE
Used for Feature that is double.
|
static int |
INT64_ARRAY_VALUE
Used for Feature that is a list of INT64.
|
static int |
INT64_VALUE
Used for Feature that is INT64.
|
static int |
STRING_ARRAY_VALUE
Used for Feature that is a list of String.
|
static int |
STRING_VALUE
Used for Feature that is string.
|
static int |
VALUE_TYPE_UNSPECIFIED_VALUE
The value type is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static Feature.ValueType |
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<Feature.ValueType> |
internalGetValueMap() |
static Feature.ValueType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Feature.ValueType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Feature.ValueType |
valueOf(String name)
Returns 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.
|
public static final Feature.ValueType VALUE_TYPE_UNSPECIFIED
The value type is unspecified.
VALUE_TYPE_UNSPECIFIED = 0;public static final Feature.ValueType BOOL
Used for Feature that is a boolean.
BOOL = 1;public static final Feature.ValueType BOOL_ARRAY
Used for Feature that is a list of boolean.
BOOL_ARRAY = 2;public static final Feature.ValueType DOUBLE
Used for Feature that is double.
DOUBLE = 3;public static final Feature.ValueType DOUBLE_ARRAY
Used for Feature that is a list of double.
DOUBLE_ARRAY = 4;public static final Feature.ValueType INT64
Used for Feature that is INT64.
INT64 = 9;public static final Feature.ValueType INT64_ARRAY
Used for Feature that is a list of INT64.
INT64_ARRAY = 10;public static final Feature.ValueType STRING
Used for Feature that is string.
STRING = 11;public static final Feature.ValueType STRING_ARRAY
Used for Feature that is a list of String.
STRING_ARRAY = 12;public static final Feature.ValueType BYTES
Used for Feature that is bytes.
BYTES = 13;public static final Feature.ValueType UNRECOGNIZED
public static final int VALUE_TYPE_UNSPECIFIED_VALUE
The value type is unspecified.
VALUE_TYPE_UNSPECIFIED = 0;public static final int BOOL_VALUE
Used for Feature that is a boolean.
BOOL = 1;public static final int BOOL_ARRAY_VALUE
Used for Feature that is a list of boolean.
BOOL_ARRAY = 2;public static final int DOUBLE_VALUE
Used for Feature that is double.
DOUBLE = 3;public static final int DOUBLE_ARRAY_VALUE
Used for Feature that is a list of double.
DOUBLE_ARRAY = 4;public static final int INT64_VALUE
Used for Feature that is INT64.
INT64 = 9;public static final int INT64_ARRAY_VALUE
Used for Feature that is a list of INT64.
INT64_ARRAY = 10;public static final int STRING_VALUE
Used for Feature that is string.
STRING = 11;public static final int STRING_ARRAY_VALUE
Used for Feature that is a list of String.
STRING_ARRAY = 12;public static final int BYTES_VALUE
Used for Feature that is bytes.
BYTES = 13;public static Feature.ValueType[] values()
for (Feature.ValueType c : Feature.ValueType.values()) System.out.println(c);
public static Feature.ValueType 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 Feature.ValueType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Feature.ValueType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Feature.ValueType> 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 Feature.ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.