Package com.google.privacy.dlp.v2
Enum InfoTypeCategory.IndustryCategory
java.lang.Object
java.lang.Enum<InfoTypeCategory.IndustryCategory>
com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InfoTypeCategory.IndustryCategory>
- Enclosing class:
- InfoTypeCategory
public static enum InfoTypeCategory.IndustryCategory
extends Enum<InfoTypeCategory.IndustryCategory>
implements com.google.protobuf.ProtocolMessageEnum
Enum of the current industries in the category. We might add more industries in the future.Protobuf enum
google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe infoType is typically used in the finance industry.The infoType is typically used in the health industry.Unused industryThe infoType is typically used in the telecommunications industry. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe infoType is typically used in the finance industry.static final intThe infoType is typically used in the health industry.static final intUnused industrystatic final intThe infoType is typically used in the telecommunications industry. -
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<InfoTypeCategory.IndustryCategory>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 InfoTypeCategory.IndustryCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDUSTRY_UNSPECIFIED
Unused industry
INDUSTRY_UNSPECIFIED = 0; -
FINANCE
The infoType is typically used in the finance industry.
FINANCE = 1; -
HEALTH
The infoType is typically used in the health industry.
HEALTH = 2; -
TELECOMMUNICATIONS
The infoType is typically used in the telecommunications industry.
TELECOMMUNICATIONS = 3; -
UNRECOGNIZED
-
-
Field Details
-
INDUSTRY_UNSPECIFIED_VALUE
public static final int INDUSTRY_UNSPECIFIED_VALUEUnused industry
INDUSTRY_UNSPECIFIED = 0;- See Also:
-
FINANCE_VALUE
public static final int FINANCE_VALUEThe infoType is typically used in the finance industry.
FINANCE = 1;- See Also:
-
HEALTH_VALUE
public static final int HEALTH_VALUEThe infoType is typically used in the health industry.
HEALTH = 2;- See Also:
-
TELECOMMUNICATIONS_VALUE
public static final int TELECOMMUNICATIONS_VALUEThe infoType is typically used in the telecommunications industry.
TELECOMMUNICATIONS = 3;- 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<InfoTypeCategory.IndustryCategory> 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 InfoTypeCategory.IndustryCategory 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
-