Package com.google.privacy.dlp.v2
Enum DataProfileUpdateFrequency
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataProfileUpdateFrequency>
@Generated
public enum DataProfileUpdateFrequency
extends Enum<DataProfileUpdateFrequency>
implements com.google.protobuf.ProtocolMessageEnum
How frequently data profiles can be updated. New options can be added at a later time.Protobuf enum
google.privacy.dlp.v2.DataProfileUpdateFrequency-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe data profile can be updated up to once every 24 hours.The data profile can be updated up to once every 30 days.After the data profile is created, it will never be updated.Unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe data profile can be updated up to once every 24 hours.static final intThe data profile can be updated up to once every 30 days.static final intAfter the data profile is created, it will never be updated.static final intUnspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataProfileUpdateFrequencyforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DataProfileUpdateFrequency>static DataProfileUpdateFrequencyvalueOf(int value) Deprecated.static DataProfileUpdateFrequencyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DataProfileUpdateFrequencyReturns the enum constant of this type with the specified name.static DataProfileUpdateFrequency[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UPDATE_FREQUENCY_UNSPECIFIED
Unspecified.
UPDATE_FREQUENCY_UNSPECIFIED = 0; -
UPDATE_FREQUENCY_NEVER
After the data profile is created, it will never be updated.
UPDATE_FREQUENCY_NEVER = 1; -
UPDATE_FREQUENCY_DAILY
The data profile can be updated up to once every 24 hours.
UPDATE_FREQUENCY_DAILY = 2; -
UPDATE_FREQUENCY_MONTHLY
The data profile can be updated up to once every 30 days. Default.
UPDATE_FREQUENCY_MONTHLY = 4; -
UNRECOGNIZED
-
-
Field Details
-
UPDATE_FREQUENCY_UNSPECIFIED_VALUE
public static final int UPDATE_FREQUENCY_UNSPECIFIED_VALUEUnspecified.
UPDATE_FREQUENCY_UNSPECIFIED = 0;- See Also:
-
UPDATE_FREQUENCY_NEVER_VALUE
public static final int UPDATE_FREQUENCY_NEVER_VALUEAfter the data profile is created, it will never be updated.
UPDATE_FREQUENCY_NEVER = 1;- See Also:
-
UPDATE_FREQUENCY_DAILY_VALUE
public static final int UPDATE_FREQUENCY_DAILY_VALUEThe data profile can be updated up to once every 24 hours.
UPDATE_FREQUENCY_DAILY = 2;- See Also:
-
UPDATE_FREQUENCY_MONTHLY_VALUE
public static final int UPDATE_FREQUENCY_MONTHLY_VALUEThe data profile can be updated up to once every 30 days. Default.
UPDATE_FREQUENCY_MONTHLY = 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<DataProfileUpdateFrequency> 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 DataProfileUpdateFrequency 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
-