Send feedback
Class InfoTypeCategory (3.71.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class InfoTypeCategory extends GeneratedMessageV3 implements InfoTypeCategoryOrBuilder
Classification of infoTypes to organize them according to geographic
location, industry, and data type.
Protobuf type google.privacy.dlp.v2.InfoTypeCategory
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INDUSTRY_CATEGORY_FIELD_NUMBER
public static final int INDUSTRY_CATEGORY_FIELD_NUMBER
Field Value
Type
Description
int
LOCATION_CATEGORY_FIELD_NUMBER
public static final int LOCATION_CATEGORY_FIELD_NUMBER
Field Value
Type
Description
int
TYPE_CATEGORY_FIELD_NUMBER
public static final int TYPE_CATEGORY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static InfoTypeCategory getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static InfoTypeCategory . Builder newBuilder ()
newBuilder(InfoTypeCategory prototype)
public static InfoTypeCategory . Builder newBuilder ( InfoTypeCategory prototype )
public static InfoTypeCategory parseDelimitedFrom ( InputStream input )
public static InfoTypeCategory parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static InfoTypeCategory parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeCategory parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static InfoTypeCategory parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeCategory parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static InfoTypeCategory parseFrom ( CodedInputStream input )
public static InfoTypeCategory parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static InfoTypeCategory parseFrom ( InputStream input )
public static InfoTypeCategory parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static InfoTypeCategory parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeCategory parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<InfoTypeCategory> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCategoryCase()
public InfoTypeCategory . CategoryCase getCategoryCase ()
getDefaultInstanceForType()
public InfoTypeCategory getDefaultInstanceForType ()
getIndustryCategory()
public InfoTypeCategory . IndustryCategory getIndustryCategory ()
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
getIndustryCategoryValue()
public int getIndustryCategoryValue ()
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
Returns
Type
Description
int
The enum numeric value on the wire for industryCategory.
getLocationCategory()
public InfoTypeCategory . LocationCategory getLocationCategory ()
The region or country that issued the ID or document represented by the
infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
getLocationCategoryValue()
public int getLocationCategoryValue ()
The region or country that issued the ID or document represented by the
infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
Returns
Type
Description
int
The enum numeric value on the wire for locationCategory.
getParserForType()
public Parser<InfoTypeCategory> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTypeCategory()
public InfoTypeCategory . TypeCategory getTypeCategory ()
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
getTypeCategoryValue()
public int getTypeCategoryValue ()
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
Returns
Type
Description
int
The enum numeric value on the wire for typeCategory.
hasIndustryCategory()
public boolean hasIndustryCategory ()
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
Returns
Type
Description
boolean
Whether the industryCategory field is set.
hasLocationCategory()
public boolean hasLocationCategory ()
The region or country that issued the ID or document represented by the
infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
Returns
Type
Description
boolean
Whether the locationCategory field is set.
hasTypeCategory()
public boolean hasTypeCategory ()
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
Returns
Type
Description
boolean
Whether the typeCategory field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public InfoTypeCategory . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InfoTypeCategory . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public InfoTypeCategory . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]