Enum BigtableOptions.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BigtableOptions.Type>
- Enclosing class:
- BigtableOptions
public static enum BigtableOptions.Type
extends Enum<BigtableOptions.Type>
implements com.google.protobuf.ProtocolMessageEnum
The type of values in a Bigtable column or column family. The values are expected to be encoded using [HBase Bytes.toBytes](https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/util/Bytes.html) function when the encoding value is set to `BINARY`.Protobuf enum
google.cloud.discoveryengine.v1beta.BigtableOptions.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBigDecimal type.Boolean type.Integer type.JSON type.Numerical type.String type.The type is unspecified.Variable length integer type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBigDecimal type.static final intBoolean type.static final intInteger type.static final intJSON type.static final intNumerical type.static final intString type.static final intThe type is unspecified.static final intVariable length integer type. -
Method Summary
Modifier and TypeMethodDescriptionstatic BigtableOptions.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BigtableOptions.Type>static BigtableOptions.TypevalueOf(int value) Deprecated.static BigtableOptions.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static BigtableOptions.TypeReturns the enum constant of this type with the specified name.static BigtableOptions.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
The type is unspecified.
TYPE_UNSPECIFIED = 0; -
STRING
String type.
STRING = 1; -
NUMBER
Numerical type.
NUMBER = 2; -
INTEGER
Integer type.
INTEGER = 3; -
VAR_INTEGER
Variable length integer type.
VAR_INTEGER = 4; -
BIG_NUMERIC
BigDecimal type.
BIG_NUMERIC = 5; -
BOOLEAN
Boolean type.
BOOLEAN = 6; -
JSON
JSON type.
JSON = 7; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEThe type is unspecified.
TYPE_UNSPECIFIED = 0;- See Also:
-
STRING_VALUE
public static final int STRING_VALUEString type.
STRING = 1;- See Also:
-
NUMBER_VALUE
public static final int NUMBER_VALUENumerical type.
NUMBER = 2;- See Also:
-
INTEGER_VALUE
public static final int INTEGER_VALUEInteger type.
INTEGER = 3;- See Also:
-
VAR_INTEGER_VALUE
public static final int VAR_INTEGER_VALUEVariable length integer type.
VAR_INTEGER = 4;- See Also:
-
BIG_NUMERIC_VALUE
public static final int BIG_NUMERIC_VALUEBigDecimal type.
BIG_NUMERIC = 5;- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEBoolean type.
BOOLEAN = 6;- See Also:
-
JSON_VALUE
public static final int JSON_VALUEJSON type.
JSON = 7;- 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
public static BigtableOptions.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-