Package com.google.privacy.dlp.v2
Class InspectionRuleSet.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InspectionRuleSet.Builder>
com.google.privacy.dlp.v2.InspectionRuleSet.Builder
- All Implemented Interfaces:
InspectionRuleSetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InspectionRuleSet
public static final class InspectionRuleSet.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InspectionRuleSet.Builder>
implements InspectionRuleSetOrBuilder
Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.Protobuf type
google.privacy.dlp.v2.InspectionRuleSet-
Method Summary
Modifier and TypeMethodDescriptionaddAllInfoTypes(Iterable<? extends InfoType> values) List of infoTypes this rule set is applied to.addAllRules(Iterable<? extends InspectionRule> values) Set of rules to be applied to infoTypes.addInfoTypes(int index, InfoType value) List of infoTypes this rule set is applied to.addInfoTypes(int index, InfoType.Builder builderForValue) List of infoTypes this rule set is applied to.addInfoTypes(InfoType value) List of infoTypes this rule set is applied to.addInfoTypes(InfoType.Builder builderForValue) List of infoTypes this rule set is applied to.List of infoTypes this rule set is applied to.addInfoTypesBuilder(int index) List of infoTypes this rule set is applied to.addRules(int index, InspectionRule value) Set of rules to be applied to infoTypes.addRules(int index, InspectionRule.Builder builderForValue) Set of rules to be applied to infoTypes.addRules(InspectionRule value) Set of rules to be applied to infoTypes.addRules(InspectionRule.Builder builderForValue) Set of rules to be applied to infoTypes.Set of rules to be applied to infoTypes.addRulesBuilder(int index) Set of rules to be applied to infoTypes.build()clear()List of infoTypes this rule set is applied to.Set of rules to be applied to infoTypes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInfoTypes(int index) List of infoTypes this rule set is applied to.getInfoTypesBuilder(int index) List of infoTypes this rule set is applied to.List of infoTypes this rule set is applied to.intList of infoTypes this rule set is applied to.List of infoTypes this rule set is applied to.getInfoTypesOrBuilder(int index) List of infoTypes this rule set is applied to.List<? extends InfoTypeOrBuilder>List of infoTypes this rule set is applied to.getRules(int index) Set of rules to be applied to infoTypes.getRulesBuilder(int index) Set of rules to be applied to infoTypes.Set of rules to be applied to infoTypes.intSet of rules to be applied to infoTypes.Set of rules to be applied to infoTypes.getRulesOrBuilder(int index) Set of rules to be applied to infoTypes.List<? extends InspectionRuleOrBuilder>Set of rules to be applied to infoTypes.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(InspectionRuleSet other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInfoTypes(int index) List of infoTypes this rule set is applied to.removeRules(int index) Set of rules to be applied to infoTypes.setInfoTypes(int index, InfoType value) List of infoTypes this rule set is applied to.setInfoTypes(int index, InfoType.Builder builderForValue) List of infoTypes this rule set is applied to.setRules(int index, InspectionRule value) Set of rules to be applied to infoTypes.setRules(int index, InspectionRule.Builder builderForValue) Set of rules to be applied to infoTypes.Methods 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<InspectionRuleSet.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<InspectionRuleSet.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<InspectionRuleSet.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<InspectionRuleSet.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InspectionRuleSet.Builder>
-
mergeFrom
public InspectionRuleSet.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<InspectionRuleSet.Builder>- Throws:
IOException
-
getInfoTypesList
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesListin interfaceInspectionRuleSetOrBuilder
-
getInfoTypesCount
public int getInfoTypesCount()List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesCountin interfaceInspectionRuleSetOrBuilder
-
getInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesin interfaceInspectionRuleSetOrBuilder
-
setInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
setInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addAllInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
clearInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
removeInfoTypes
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesBuilder
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesOrBuilder
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesOrBuilderin interfaceInspectionRuleSetOrBuilder
-
getInfoTypesOrBuilderList
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesOrBuilderListin interfaceInspectionRuleSetOrBuilder
-
addInfoTypesBuilder
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypesBuilder
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesBuilderList
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getRulesList
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;- Specified by:
getRulesListin interfaceInspectionRuleSetOrBuilder
-
getRulesCount
public int getRulesCount()Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;- Specified by:
getRulesCountin interfaceInspectionRuleSetOrBuilder
-
getRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;- Specified by:
getRulesin interfaceInspectionRuleSetOrBuilder
-
setRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
setRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
addRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
addRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
addRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
addRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
addAllRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
clearRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
removeRules
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
getRulesBuilder
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
getRulesOrBuilder
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;- Specified by:
getRulesOrBuilderin interfaceInspectionRuleSetOrBuilder
-
getRulesOrBuilderList
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;- Specified by:
getRulesOrBuilderListin interfaceInspectionRuleSetOrBuilder
-
addRulesBuilder
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
addRulesBuilder
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2; -
getRulesBuilderList
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-