- 3.52.0 (latest)
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class InfoTypeCategory.Builder extends GeneratedMessageV3.Builder<InfoTypeCategory.Builder> implements InfoTypeCategoryOrBuilder
Classification of infoTypes to organize them according to geographic location, industry, and data type.
Protobuf type google.privacy.dlp.v2.InfoTypeCategory
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InfoTypeCategory.BuilderImplements
InfoTypeCategoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeCategory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public InfoTypeCategory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InfoTypeCategory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
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. |
clone()
public InfoTypeCategory.Builder clone()
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeCategory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeCategory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
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.IndustryCategory The 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 | int The 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.LocationCategory The 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 | int The enum numeric value on the wire for locationCategory to set. |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InfoTypeCategory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
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.TypeCategory The 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 | int The enum numeric value on the wire for typeCategory to set. |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeCategory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |