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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.privacy.dlp.v2.InspectionRuleSet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InspectionRuleSet.BuilderaddAllInfoTypes(Iterable<? extends InfoType> values)List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderaddAllRules(Iterable<? extends InspectionRule> values)Set of rules to be applied to infoTypes.InspectionRuleSet.BuilderaddInfoTypes(int index, InfoType value)List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderaddInfoTypes(int index, InfoType.Builder builderForValue)List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderaddInfoTypes(InfoType value)List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderaddInfoTypes(InfoType.Builder builderForValue)List of infoTypes this rule set is applied to.InfoType.BuilderaddInfoTypesBuilder()List of infoTypes this rule set is applied to.InfoType.BuilderaddInfoTypesBuilder(int index)List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InspectionRuleSet.BuilderaddRules(int index, InspectionRule value)Set of rules to be applied to infoTypes.InspectionRuleSet.BuilderaddRules(int index, InspectionRule.Builder builderForValue)Set of rules to be applied to infoTypes.InspectionRuleSet.BuilderaddRules(InspectionRule value)Set of rules to be applied to infoTypes.InspectionRuleSet.BuilderaddRules(InspectionRule.Builder builderForValue)Set of rules to be applied to infoTypes.InspectionRule.BuilderaddRulesBuilder()Set of rules to be applied to infoTypes.InspectionRule.BuilderaddRulesBuilder(int index)Set of rules to be applied to infoTypes.InspectionRuleSetbuild()InspectionRuleSetbuildPartial()InspectionRuleSet.Builderclear()InspectionRuleSet.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InspectionRuleSet.BuilderclearInfoTypes()List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InspectionRuleSet.BuilderclearRules()Set of rules to be applied to infoTypes.InspectionRuleSet.Builderclone()InspectionRuleSetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InfoTypegetInfoTypes(int index)List of infoTypes this rule set is applied to.InfoType.BuildergetInfoTypesBuilder(int index)List of infoTypes this rule set is applied to.List<InfoType.Builder>getInfoTypesBuilderList()List of infoTypes this rule set is applied to.intgetInfoTypesCount()List of infoTypes this rule set is applied to.List<InfoType>getInfoTypesList()List of infoTypes this rule set is applied to.InfoTypeOrBuildergetInfoTypesOrBuilder(int index)List of infoTypes this rule set is applied to.List<? extends InfoTypeOrBuilder>getInfoTypesOrBuilderList()List of infoTypes this rule set is applied to.InspectionRulegetRules(int index)Set of rules to be applied to infoTypes.InspectionRule.BuildergetRulesBuilder(int index)Set of rules to be applied to infoTypes.List<InspectionRule.Builder>getRulesBuilderList()Set of rules to be applied to infoTypes.intgetRulesCount()Set of rules to be applied to infoTypes.List<InspectionRule>getRulesList()Set of rules to be applied to infoTypes.InspectionRuleOrBuildergetRulesOrBuilder(int index)Set of rules to be applied to infoTypes.List<? extends InspectionRuleOrBuilder>getRulesOrBuilderList()Set of rules to be applied to infoTypes.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InspectionRuleSet.BuildermergeFrom(InspectionRuleSet other)InspectionRuleSet.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InspectionRuleSet.BuildermergeFrom(com.google.protobuf.Message other)InspectionRuleSet.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InspectionRuleSet.BuilderremoveInfoTypes(int index)List of infoTypes this rule set is applied to.InspectionRuleSet.BuilderremoveRules(int index)Set of rules to be applied to infoTypes.InspectionRuleSet.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InspectionRuleSet.BuildersetInfoTypes(int index, InfoType value)List of infoTypes this rule set is applied to.InspectionRuleSet.BuildersetInfoTypes(int index, InfoType.Builder builderForValue)List of infoTypes this rule set is applied to.InspectionRuleSet.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InspectionRuleSet.BuildersetRules(int index, InspectionRule value)Set of rules to be applied to infoTypes.InspectionRuleSet.BuildersetRules(int index, InspectionRule.Builder builderForValue)Set of rules to be applied to infoTypes.InspectionRuleSet.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
clear
public InspectionRuleSet.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
getDefaultInstanceForType
public InspectionRuleSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InspectionRuleSet build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InspectionRuleSet buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InspectionRuleSet.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
setField
public InspectionRuleSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
clearField
public InspectionRuleSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
clearOneof
public InspectionRuleSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
setRepeatedField
public InspectionRuleSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
addRepeatedField
public InspectionRuleSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
mergeFrom
public InspectionRuleSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectionRuleSet.Builder>
-
mergeFrom
public InspectionRuleSet.Builder mergeFrom(InspectionRuleSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public List<InfoType> 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
public InfoType getInfoTypes(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesin interfaceInspectionRuleSetOrBuilder
-
setInfoTypes
public InspectionRuleSet.Builder setInfoTypes(int index, InfoType value)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
setInfoTypes
public InspectionRuleSet.Builder setInfoTypes(int index, InfoType.Builder builderForValue)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
addInfoTypes
public InspectionRuleSet.Builder addInfoTypes(InfoType value)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
addInfoTypes
public InspectionRuleSet.Builder addInfoTypes(int index, InfoType value)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
addInfoTypes
public InspectionRuleSet.Builder addInfoTypes(InfoType.Builder builderForValue)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
addInfoTypes
public InspectionRuleSet.Builder addInfoTypes(int index, InfoType.Builder builderForValue)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
addAllInfoTypes
public InspectionRuleSet.Builder addAllInfoTypes(Iterable<? extends InfoType> values)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
clearInfoTypes
public InspectionRuleSet.Builder clearInfoTypes()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
removeInfoTypes
public InspectionRuleSet.Builder removeInfoTypes(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
getInfoTypesBuilder
public InfoType.Builder getInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
getInfoTypesOrBuilder
public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesOrBuilderin interfaceInspectionRuleSetOrBuilder
-
getInfoTypesOrBuilderList
public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesOrBuilderListin interfaceInspectionRuleSetOrBuilder
-
addInfoTypesBuilder
public InfoType.Builder addInfoTypesBuilder()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
addInfoTypesBuilder
public InfoType.Builder addInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
getInfoTypesBuilderList
public List<InfoType.Builder> getInfoTypesBuilderList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
-
getRulesList
public List<InspectionRule> 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
public InspectionRule getRules(int index)
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
public InspectionRuleSet.Builder setRules(int index, InspectionRule value)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
setRules
public InspectionRuleSet.Builder setRules(int index, InspectionRule.Builder builderForValue)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
addRules
public InspectionRuleSet.Builder addRules(InspectionRule value)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
addRules
public InspectionRuleSet.Builder addRules(int index, InspectionRule value)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
addRules
public InspectionRuleSet.Builder addRules(InspectionRule.Builder builderForValue)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
addRules
public InspectionRuleSet.Builder addRules(int index, InspectionRule.Builder builderForValue)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
addAllRules
public InspectionRuleSet.Builder addAllRules(Iterable<? extends InspectionRule> values)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
clearRules
public InspectionRuleSet.Builder clearRules()
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
removeRules
public InspectionRuleSet.Builder removeRules(int index)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
getRulesBuilder
public InspectionRule.Builder getRulesBuilder(int index)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
getRulesOrBuilder
public InspectionRuleOrBuilder getRulesOrBuilder(int index)
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
public List<? extends InspectionRuleOrBuilder> 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
public InspectionRule.Builder addRulesBuilder()
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
addRulesBuilder
public InspectionRule.Builder addRulesBuilder(int index)
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
getRulesBuilderList
public List<InspectionRule.Builder> getRulesBuilderList()
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
-
setUnknownFields
public final InspectionRuleSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
mergeUnknownFields
public final InspectionRuleSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>
-
-