Package com.google.privacy.dlp.v2
Class InfoTypeCategory.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InfoTypeCategory.Builder>
com.google.privacy.dlp.v2.InfoTypeCategory.Builder
- All Implemented Interfaces:
InfoTypeCategoryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InfoTypeCategory
public static final class InfoTypeCategory.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The group of relevant businesses where this infoType is commonly usedThe region or country that issued the ID or document represented by the infoType.The class of identifiers where this infoType belongsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe group of relevant businesses where this infoType is commonly usedintThe group of relevant businesses where this infoType is commonly usedThe region or country that issued the ID or document represented by the infoType.intThe region or country that issued the ID or document represented by the infoType.The class of identifiers where this infoType belongsintThe class of identifiers where this infoType belongsbooleanThe group of relevant businesses where this infoType is commonly usedbooleanThe region or country that issued the ID or document represented by the infoType.booleanThe class of identifiers where this infoType belongsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(InfoTypeCategory other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The group of relevant businesses where this infoType is commonly usedsetIndustryCategoryValue(int value) The group of relevant businesses where this infoType is commonly usedThe region or country that issued the ID or document represented by the infoType.setLocationCategoryValue(int value) The region or country that issued the ID or document represented by the infoType.The class of identifiers where this infoType belongssetTypeCategoryValue(int value) The class of identifiers where this infoType belongsMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InfoTypeCategory.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InfoTypeCategory.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InfoTypeCategory.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InfoTypeCategory.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InfoTypeCategory.Builder>
-
mergeFrom
public InfoTypeCategory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InfoTypeCategory.Builder>- Throws:
IOException
-
getCategoryCase
- Specified by:
getCategoryCasein interfaceInfoTypeCategoryOrBuilder
-
clearCategory
-
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;- Specified by:
hasLocationCategoryin interfaceInfoTypeCategoryOrBuilder- Returns:
- Whether the locationCategory field is set.
-
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;- Specified by:
getLocationCategoryValuein interfaceInfoTypeCategoryOrBuilder- Returns:
- The enum numeric value on the wire for locationCategory.
-
setLocationCategoryValue
The region or country that issued the ID or document represented by the infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;- Parameters:
value- The enum numeric value on the wire for locationCategory to set.- Returns:
- This builder for chaining.
-
getLocationCategory
The region or country that issued the ID or document represented by the infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;- Specified by:
getLocationCategoryin interfaceInfoTypeCategoryOrBuilder- Returns:
- The locationCategory.
-
setLocationCategory
The region or country that issued the ID or document represented by the infoType.
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;- Parameters:
value- The locationCategory to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasIndustryCategory
public boolean hasIndustryCategory()The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;- Specified by:
hasIndustryCategoryin interfaceInfoTypeCategoryOrBuilder- Returns:
- Whether the industryCategory field is set.
-
getIndustryCategoryValue
public int getIndustryCategoryValue()The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;- Specified by:
getIndustryCategoryValuein interfaceInfoTypeCategoryOrBuilder- Returns:
- The enum numeric value on the wire for industryCategory.
-
setIndustryCategoryValue
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;- Parameters:
value- The enum numeric value on the wire for industryCategory to set.- Returns:
- This builder for chaining.
-
getIndustryCategory
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;- Specified by:
getIndustryCategoryin interfaceInfoTypeCategoryOrBuilder- Returns:
- The industryCategory.
-
setIndustryCategory
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;- Parameters:
value- The industryCategory to set.- Returns:
- This builder for chaining.
-
clearIndustryCategory
The group of relevant businesses where this infoType is commonly used
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;- Returns:
- This builder for chaining.
-
hasTypeCategory
public boolean hasTypeCategory()The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;- Specified by:
hasTypeCategoryin interfaceInfoTypeCategoryOrBuilder- Returns:
- Whether the typeCategory field is set.
-
getTypeCategoryValue
public int getTypeCategoryValue()The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;- Specified by:
getTypeCategoryValuein interfaceInfoTypeCategoryOrBuilder- Returns:
- The enum numeric value on the wire for typeCategory.
-
setTypeCategoryValue
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;- Parameters:
value- The enum numeric value on the wire for typeCategory to set.- Returns:
- This builder for chaining.
-
getTypeCategory
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;- Specified by:
getTypeCategoryin interfaceInfoTypeCategoryOrBuilder- Returns:
- The typeCategory.
-
setTypeCategory
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;- Parameters:
value- The typeCategory to set.- Returns:
- This builder for chaining.
-
clearTypeCategory
The class of identifiers where this infoType belongs
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;- Returns:
- This builder for chaining.
-