public static final class InfoTypeCategory.Builder extends GeneratedMessage.Builder<InfoTypeCategory.Builder> implements InfoTypeCategoryOrBuilderClassification of infoTypes to organize them according to geographic location, industry, and data type.
Protobuf type google.privacy.dlp.v2.InfoTypeCategory
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InfoTypeCategory.BuilderImplements
InfoTypeCategoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InfoTypeCategory build()| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory |
|
buildPartial()
public InfoTypeCategory buildPartial()| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory |
|
clear()
public InfoTypeCategory.Builder clear()| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
|
clearCategory()
public InfoTypeCategory.Builder clearCategory()| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
|
clearIndustryCategory()
public InfoTypeCategory.Builder clearIndustryCategory()The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
clearLocationCategory()
public InfoTypeCategory.Builder clearLocationCategory()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 |
InfoTypeCategory.Builder |
This builder for chaining. |
clearTypeCategory()
public InfoTypeCategory.Builder clearTypeCategory()The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
getCategoryCase()
public InfoTypeCategory.CategoryCase getCategoryCase()| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.CategoryCase |
|
getDefaultInstanceForType()
public InfoTypeCategory getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for locationCategory. |
getTypeCategory()
public InfoTypeCategory.TypeCategory getTypeCategory()The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InfoTypeCategory other)
public InfoTypeCategory.Builder mergeFrom(InfoTypeCategory other)| Parameter | |
|---|---|
| Name | Description |
other |
InfoTypeCategory |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InfoTypeCategory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InfoTypeCategory.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
|
setIndustryCategory(InfoTypeCategory.IndustryCategory value)
public InfoTypeCategory.Builder setIndustryCategory(InfoTypeCategory.IndustryCategory value)The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoTypeCategory.IndustryCategoryThe industryCategory to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
setIndustryCategoryValue(int value)
public InfoTypeCategory.Builder setIndustryCategoryValue(int value)The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for industryCategory to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
setLocationCategory(InfoTypeCategory.LocationCategory value)
public InfoTypeCategory.Builder setLocationCategory(InfoTypeCategory.LocationCategory value)The region or country that issued the ID or document represented by the infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoTypeCategory.LocationCategoryThe locationCategory to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
setLocationCategoryValue(int value)
public InfoTypeCategory.Builder setLocationCategoryValue(int value)The region or country that issued the ID or document represented by the infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for locationCategory to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
setTypeCategory(InfoTypeCategory.TypeCategory value)
public InfoTypeCategory.Builder setTypeCategory(InfoTypeCategory.TypeCategory value)The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoTypeCategory.TypeCategoryThe typeCategory to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |
setTypeCategoryValue(int value)
public InfoTypeCategory.Builder setTypeCategoryValue(int value)The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for typeCategory to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeCategory.Builder |
This builder for chaining. |