Class InfoTypeCategory (3.7.2)

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
TypeDescription
int

LOCATION_CATEGORY_FIELD_NUMBER

public static final int LOCATION_CATEGORY_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_CATEGORY_FIELD_NUMBER

public static final int TYPE_CATEGORY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InfoTypeCategory getDefaultInstance()
Returns
TypeDescription
InfoTypeCategory

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InfoTypeCategory.Builder newBuilder()
Returns
TypeDescription
InfoTypeCategory.Builder

newBuilder(InfoTypeCategory prototype)

public static InfoTypeCategory.Builder newBuilder(InfoTypeCategory prototype)
Parameter
NameDescription
prototypeInfoTypeCategory
Returns
TypeDescription
InfoTypeCategory.Builder

parseDelimitedFrom(InputStream input)

public static InfoTypeCategory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeCategory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InfoTypeCategory parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeCategory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InfoTypeCategory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeCategory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InfoTypeCategory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeCategory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InfoTypeCategory parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeCategory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InfoTypeCategory parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeCategory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeCategory
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InfoTypeCategory> parser()
Returns
TypeDescription
Parser<InfoTypeCategory>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCategoryCase()

public InfoTypeCategory.CategoryCase getCategoryCase()
Returns
TypeDescription
InfoTypeCategory.CategoryCase

getDefaultInstanceForType()

public InfoTypeCategory getDefaultInstanceForType()
Returns
TypeDescription
InfoTypeCategory

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
TypeDescription
InfoTypeCategory.IndustryCategory

The industryCategory.

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
TypeDescription
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
TypeDescription
InfoTypeCategory.LocationCategory

The locationCategory.

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
TypeDescription
int

The enum numeric value on the wire for locationCategory.

getParserForType()

public Parser<InfoTypeCategory> getParserForType()
Returns
TypeDescription
Parser<InfoTypeCategory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCategory()

public InfoTypeCategory.TypeCategory getTypeCategory()

The class of identifiers where this infoType belongs

.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;

Returns
TypeDescription
InfoTypeCategory.TypeCategory

The typeCategory.

getTypeCategoryValue()

public int getTypeCategoryValue()

The class of identifiers where this infoType belongs

.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for typeCategory.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the typeCategory field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InfoTypeCategory.Builder newBuilderForType()
Returns
TypeDescription
InfoTypeCategory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InfoTypeCategory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InfoTypeCategory.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InfoTypeCategory.Builder toBuilder()
Returns
TypeDescription
InfoTypeCategory.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException