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
Static Fields
INDUSTRY_CATEGORY_FIELD_NUMBER
public static final int INDUSTRY_CATEGORY_FIELD_NUMBER
Field Value
LOCATION_CATEGORY_FIELD_NUMBER
public static final int LOCATION_CATEGORY_FIELD_NUMBER
Field Value
TYPE_CATEGORY_FIELD_NUMBER
public static final int TYPE_CATEGORY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InfoTypeCategory getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InfoTypeCategory.Builder newBuilder()
Returns
newBuilder(InfoTypeCategory prototype)
public static InfoTypeCategory.Builder newBuilder(InfoTypeCategory prototype)
Parameter
Returns
public static InfoTypeCategory parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InfoTypeCategory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InfoTypeCategory parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeCategory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InfoTypeCategory parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeCategory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeCategory parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InfoTypeCategory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeCategory parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InfoTypeCategory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InfoTypeCategory parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeCategory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InfoTypeCategory> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCategoryCase()
public InfoTypeCategory.CategoryCase getCategoryCase()
Returns
getDefaultInstanceForType()
public InfoTypeCategory getDefaultInstanceForType()
Returns
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;
Returns
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;
Returns
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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTypeCategory()
public InfoTypeCategory.TypeCategory getTypeCategory()
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InfoTypeCategory.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InfoTypeCategory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InfoTypeCategory.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions