Package com.google.privacy.dlp.v2
Enum ColumnDataProfile.ColumnDataType
java.lang.Object
java.lang.Enum<ColumnDataProfile.ColumnDataType>
com.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ColumnDataProfile.ColumnDataType>
- Enclosing class:
- ColumnDataProfile
public static enum ColumnDataProfile.ColumnDataType
extends Enum<ColumnDataProfile.ColumnDataType>
implements com.google.protobuf.ProtocolMessageEnum
Data types of the data in a column. Types may be added over time.Protobuf enum
google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvalid type.Decimal type.Encoded as a boolean "false" or "true".Encoded as a base64 string per RFC 4648, section 4.Encoded as RFC 3339 full-date format string: 1985-04-12Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52Encoded as a number, or string "NaN", "Infinity" or "-Infinity".Encoded as WKTEncoded as a string in decimal format.Interval type.Json type.Encoded as a decimal string.`Range<Date>` type.`Range<Datetime>` type.`Range<Timestamp>` type.Container of ordered fields, each with a type and field name.Encoded as a string value.Encoded as RFC 3339 partial-time format string: 23:20:50.52Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intInvalid type.static final intDecimal type.static final intEncoded as a boolean "false" or "true".static final intEncoded as a base64 string per RFC 4648, section 4.static final intEncoded as RFC 3339 full-date format string: 1985-04-12static final intEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52static final intEncoded as a number, or string "NaN", "Infinity" or "-Infinity".static final intEncoded as WKTstatic final intEncoded as a string in decimal format.static final intInterval type.static final intJson type.static final intEncoded as a decimal string.static final int`Range<Date>` type.static final int`Range<Datetime>` type.static final int`Range<Timestamp>` type.static final intContainer of ordered fields, each with a type and field name.static final intEncoded as a string value.static final intEncoded as RFC 3339 partial-time format string: 23:20:50.52static final intEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ColumnDataProfile.ColumnDataType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static ColumnDataProfile.ColumnDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COLUMN_DATA_TYPE_UNSPECIFIED
Invalid type.
COLUMN_DATA_TYPE_UNSPECIFIED = 0; -
TYPE_INT64
Encoded as a string in decimal format.
TYPE_INT64 = 1; -
TYPE_BOOL
Encoded as a boolean "false" or "true".
TYPE_BOOL = 2; -
TYPE_FLOAT64
Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
TYPE_FLOAT64 = 3; -
TYPE_STRING
Encoded as a string value.
TYPE_STRING = 4; -
TYPE_BYTES
Encoded as a base64 string per RFC 4648, section 4.
TYPE_BYTES = 5; -
TYPE_TIMESTAMP
Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
TYPE_TIMESTAMP = 6; -
TYPE_DATE
Encoded as RFC 3339 full-date format string: 1985-04-12
TYPE_DATE = 7; -
TYPE_TIME
Encoded as RFC 3339 partial-time format string: 23:20:50.52
TYPE_TIME = 8; -
TYPE_DATETIME
Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
TYPE_DATETIME = 9; -
TYPE_GEOGRAPHY
Encoded as WKT
TYPE_GEOGRAPHY = 10; -
TYPE_NUMERIC
Encoded as a decimal string.
TYPE_NUMERIC = 11; -
TYPE_RECORD
Container of ordered fields, each with a type and field name.
TYPE_RECORD = 12; -
TYPE_BIGNUMERIC
Decimal type.
TYPE_BIGNUMERIC = 13; -
TYPE_JSON
Json type.
TYPE_JSON = 14; -
TYPE_INTERVAL
Interval type.
TYPE_INTERVAL = 15; -
TYPE_RANGE_DATE
`Range<Date>` type.
TYPE_RANGE_DATE = 16; -
TYPE_RANGE_DATETIME
`Range<Datetime>` type.
TYPE_RANGE_DATETIME = 17; -
TYPE_RANGE_TIMESTAMP
`Range<Timestamp>` type.
TYPE_RANGE_TIMESTAMP = 18; -
UNRECOGNIZED
-
-
Field Details
-
COLUMN_DATA_TYPE_UNSPECIFIED_VALUE
public static final int COLUMN_DATA_TYPE_UNSPECIFIED_VALUEInvalid type.
COLUMN_DATA_TYPE_UNSPECIFIED = 0;- See Also:
-
TYPE_INT64_VALUE
public static final int TYPE_INT64_VALUEEncoded as a string in decimal format.
TYPE_INT64 = 1;- See Also:
-
TYPE_BOOL_VALUE
public static final int TYPE_BOOL_VALUEEncoded as a boolean "false" or "true".
TYPE_BOOL = 2;- See Also:
-
TYPE_FLOAT64_VALUE
public static final int TYPE_FLOAT64_VALUEEncoded as a number, or string "NaN", "Infinity" or "-Infinity".
TYPE_FLOAT64 = 3;- See Also:
-
TYPE_STRING_VALUE
public static final int TYPE_STRING_VALUEEncoded as a string value.
TYPE_STRING = 4;- See Also:
-
TYPE_BYTES_VALUE
public static final int TYPE_BYTES_VALUEEncoded as a base64 string per RFC 4648, section 4.
TYPE_BYTES = 5;- See Also:
-
TYPE_TIMESTAMP_VALUE
public static final int TYPE_TIMESTAMP_VALUEEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
TYPE_TIMESTAMP = 6;- See Also:
-
TYPE_DATE_VALUE
public static final int TYPE_DATE_VALUEEncoded as RFC 3339 full-date format string: 1985-04-12
TYPE_DATE = 7;- See Also:
-
TYPE_TIME_VALUE
public static final int TYPE_TIME_VALUEEncoded as RFC 3339 partial-time format string: 23:20:50.52
TYPE_TIME = 8;- See Also:
-
TYPE_DATETIME_VALUE
public static final int TYPE_DATETIME_VALUEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
TYPE_DATETIME = 9;- See Also:
-
TYPE_GEOGRAPHY_VALUE
public static final int TYPE_GEOGRAPHY_VALUEEncoded as WKT
TYPE_GEOGRAPHY = 10;- See Also:
-
TYPE_NUMERIC_VALUE
public static final int TYPE_NUMERIC_VALUEEncoded as a decimal string.
TYPE_NUMERIC = 11;- See Also:
-
TYPE_RECORD_VALUE
public static final int TYPE_RECORD_VALUEContainer of ordered fields, each with a type and field name.
TYPE_RECORD = 12;- See Also:
-
TYPE_BIGNUMERIC_VALUE
public static final int TYPE_BIGNUMERIC_VALUEDecimal type.
TYPE_BIGNUMERIC = 13;- See Also:
-
TYPE_JSON_VALUE
public static final int TYPE_JSON_VALUEJson type.
TYPE_JSON = 14;- See Also:
-
TYPE_INTERVAL_VALUE
public static final int TYPE_INTERVAL_VALUEInterval type.
TYPE_INTERVAL = 15;- See Also:
-
TYPE_RANGE_DATE_VALUE
public static final int TYPE_RANGE_DATE_VALUE`Range<Date>` type.
TYPE_RANGE_DATE = 16;- See Also:
-
TYPE_RANGE_DATETIME_VALUE
public static final int TYPE_RANGE_DATETIME_VALUE`Range<Datetime>` type.
TYPE_RANGE_DATETIME = 17;- See Also:
-
TYPE_RANGE_TIMESTAMP_VALUE
public static final int TYPE_RANGE_TIMESTAMP_VALUE`Range<Timestamp>` type.
TYPE_RANGE_TIMESTAMP = 18;- 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<ColumnDataProfile.ColumnDataType> 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 ColumnDataProfile.ColumnDataType 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
-