Package com.google.cloud.datacatalog.v1
Enum ColumnSchema.IndexingType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ColumnSchema.IndexingType>
- Enclosing class:
- ColumnSchema
public static enum ColumnSchema.IndexingType
extends Enum<ColumnSchema.IndexingType>
implements com.google.protobuf.ProtocolMessageEnum
Specifies inclusion of the column in an indexProtobuf enum
google.cloud.datacatalog.v1.ColumnSchema.IndexingType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionColumn Part of non unique index.Column not a part of an index.Column part of the primary key.Column part of unique index.Unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intColumn Part of non unique index.static final intColumn not a part of an index.static final intColumn part of the primary key.static final intColumn part of unique index.static final intUnspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnSchema.IndexingTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ColumnSchema.IndexingType>static ColumnSchema.IndexingTypevalueOf(int value) Deprecated.static ColumnSchema.IndexingTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ColumnSchema.IndexingTypeReturns the enum constant of this type with the specified name.static ColumnSchema.IndexingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDEXING_TYPE_UNSPECIFIED
Unspecified.
INDEXING_TYPE_UNSPECIFIED = 0; -
INDEXING_TYPE_NONE
Column not a part of an index.
INDEXING_TYPE_NONE = 1; -
INDEXING_TYPE_NON_UNIQUE
Column Part of non unique index.
INDEXING_TYPE_NON_UNIQUE = 2; -
INDEXING_TYPE_UNIQUE
Column part of unique index.
INDEXING_TYPE_UNIQUE = 3; -
INDEXING_TYPE_PRIMARY_KEY
Column part of the primary key.
INDEXING_TYPE_PRIMARY_KEY = 4; -
UNRECOGNIZED
-
-
Field Details
-
INDEXING_TYPE_UNSPECIFIED_VALUE
public static final int INDEXING_TYPE_UNSPECIFIED_VALUEUnspecified.
INDEXING_TYPE_UNSPECIFIED = 0;- See Also:
-
INDEXING_TYPE_NONE_VALUE
public static final int INDEXING_TYPE_NONE_VALUEColumn not a part of an index.
INDEXING_TYPE_NONE = 1;- See Also:
-
INDEXING_TYPE_NON_UNIQUE_VALUE
public static final int INDEXING_TYPE_NON_UNIQUE_VALUEColumn Part of non unique index.
INDEXING_TYPE_NON_UNIQUE = 2;- See Also:
-
INDEXING_TYPE_UNIQUE_VALUE
public static final int INDEXING_TYPE_UNIQUE_VALUEColumn part of unique index.
INDEXING_TYPE_UNIQUE = 3;- See Also:
-
INDEXING_TYPE_PRIMARY_KEY_VALUE
public static final int INDEXING_TYPE_PRIMARY_KEY_VALUEColumn part of the primary key.
INDEXING_TYPE_PRIMARY_KEY = 4;- 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
public static com.google.protobuf.Internal.EnumLiteMap<ColumnSchema.IndexingType> 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 ColumnSchema.IndexingType 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
-