Package com.google.privacy.dlp.v2
Enum DlpJobType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DlpJobType>
@Generated
public enum DlpJobType
extends Enum<DlpJobType>
implements com.google.protobuf.ProtocolMessageEnum
An enum to represent the various types of DLP jobs.Protobuf enum
google.privacy.dlp.v2.DlpJobType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefaults to INSPECT_JOB.The job inspected Google Cloud for sensitive data.The job executed a Risk Analysis computation. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefaults to INSPECT_JOB.static final intThe job inspected Google Cloud for sensitive data.static final intThe job executed a Risk Analysis computation. -
Method Summary
Modifier and TypeMethodDescriptionstatic DlpJobTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DlpJobType>static DlpJobTypevalueOf(int value) Deprecated.static DlpJobTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DlpJobTypeReturns the enum constant of this type with the specified name.static DlpJobType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DLP_JOB_TYPE_UNSPECIFIED
Defaults to INSPECT_JOB.
DLP_JOB_TYPE_UNSPECIFIED = 0; -
INSPECT_JOB
The job inspected Google Cloud for sensitive data.
INSPECT_JOB = 1; -
RISK_ANALYSIS_JOB
The job executed a Risk Analysis computation.
RISK_ANALYSIS_JOB = 2; -
UNRECOGNIZED
-
-
Field Details
-
DLP_JOB_TYPE_UNSPECIFIED_VALUE
public static final int DLP_JOB_TYPE_UNSPECIFIED_VALUEDefaults to INSPECT_JOB.
DLP_JOB_TYPE_UNSPECIFIED = 0;- See Also:
-
INSPECT_JOB_VALUE
public static final int INSPECT_JOB_VALUEThe job inspected Google Cloud for sensitive data.
INSPECT_JOB = 1;- See Also:
-
RISK_ANALYSIS_JOB_VALUE
public static final int RISK_ANALYSIS_JOB_VALUEThe job executed a Risk Analysis computation.
RISK_ANALYSIS_JOB = 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
-
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
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
-