Package com.google.privacy.dlp.v2
Enum BigQuerySchemaModification
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BigQuerySchemaModification>
@Generated
public enum BigQuerySchemaModification
extends Enum<BigQuerySchemaModification>
implements com.google.protobuf.ProtocolMessageEnum
Attributes evaluated to determine if a schema has been modified. New values may be added at a later time.Protobuf enum
google.privacy.dlp.v2.BigQuerySchemaModification-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnusedProfiles should be regenerated when new columns are added to the table.Profiles should be regenerated when columns are removed from the table. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnusedstatic final intProfiles should be regenerated when new columns are added to the table.static final intProfiles should be regenerated when columns are removed from the table. -
Method Summary
Modifier and TypeMethodDescriptionstatic BigQuerySchemaModificationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BigQuerySchemaModification>static BigQuerySchemaModificationvalueOf(int value) Deprecated.static BigQuerySchemaModificationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static BigQuerySchemaModificationReturns the enum constant of this type with the specified name.static BigQuerySchemaModification[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SCHEMA_MODIFICATION_UNSPECIFIED
Unused
SCHEMA_MODIFICATION_UNSPECIFIED = 0; -
SCHEMA_NEW_COLUMNS
Profiles should be regenerated when new columns are added to the table. Default.
SCHEMA_NEW_COLUMNS = 1; -
SCHEMA_REMOVED_COLUMNS
Profiles should be regenerated when columns are removed from the table.
SCHEMA_REMOVED_COLUMNS = 2; -
UNRECOGNIZED
-
-
Field Details
-
SCHEMA_MODIFICATION_UNSPECIFIED_VALUE
public static final int SCHEMA_MODIFICATION_UNSPECIFIED_VALUEUnused
SCHEMA_MODIFICATION_UNSPECIFIED = 0;- See Also:
-
SCHEMA_NEW_COLUMNS_VALUE
public static final int SCHEMA_NEW_COLUMNS_VALUEProfiles should be regenerated when new columns are added to the table. Default.
SCHEMA_NEW_COLUMNS = 1;- See Also:
-
SCHEMA_REMOVED_COLUMNS_VALUE
public static final int SCHEMA_REMOVED_COLUMNS_VALUEProfiles should be regenerated when columns are removed from the table.
SCHEMA_REMOVED_COLUMNS = 2;- 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<BigQuerySchemaModification> 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 BigQuerySchemaModification 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
-