public static final class InspectionRuleSet.Builder extends 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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllInfoTypes(Iterable<? extends InfoType> values)
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;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.InfoType>
|
addAllRules(Iterable<? extends InspectionRule> values)
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;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.InspectionRule>
|
addInfoTypes(InfoType value)
public InspectionRuleSet.Builder addInfoTypes(InfoType value)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
value |
InfoType
|
addInfoTypes(InfoType.Builder builderForValue)
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(int index, InfoType value)
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(int index, InfoType.Builder builderForValue)
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;
addInfoTypesBuilder()
public InfoType.Builder addInfoTypesBuilder()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
addInfoTypesBuilder(int index)
public InfoType.Builder addInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
addRules(InspectionRule value)
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(InspectionRule.Builder builderForValue)
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(int index, InspectionRule value)
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(int index, InspectionRule.Builder builderForValue)
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;
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(int index)
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;
| Parameter |
| Name |
Description |
index |
int
|
build()
public InspectionRuleSet build()
buildPartial()
public InspectionRuleSet buildPartial()
clear()
public InspectionRuleSet.Builder clear()
Overrides
clearInfoTypes()
public InspectionRuleSet.Builder clearInfoTypes()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
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;
getDefaultInstanceForType()
public InspectionRuleSet getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInfoTypes(int index)
public InfoType getInfoTypes(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
getInfoTypesBuilder(int index)
public InfoType.Builder getInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
getInfoTypesBuilderList()
public List<InfoType.Builder> getInfoTypesBuilderList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesCount()
public int getInfoTypesCount()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Returns |
| Type |
Description |
int |
|
getInfoTypesList()
public List<InfoType> getInfoTypesList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesOrBuilder(int index)
public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
getInfoTypesOrBuilderList()
public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Returns |
| Type |
Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> |
|
getRules(int index)
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;
| Parameter |
| Name |
Description |
index |
int
|
getRulesBuilder(int index)
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;
| Parameter |
| Name |
Description |
index |
int
|
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;
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;
| Returns |
| Type |
Description |
int |
|
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;
getRulesOrBuilder(int index)
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;
| Parameter |
| Name |
Description |
index |
int
|
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;
| Returns |
| Type |
Description |
List<? extends com.google.privacy.dlp.v2.InspectionRuleOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InspectionRuleSet other)
public InspectionRuleSet.Builder mergeFrom(InspectionRuleSet other)
public InspectionRuleSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InspectionRuleSet.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeInfoTypes(int index)
public InspectionRuleSet.Builder removeInfoTypes(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
removeRules(int index)
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;
| Parameter |
| Name |
Description |
index |
int
|
setInfoTypes(int index, InfoType value)
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(int index, InfoType.Builder builderForValue)
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;
setRules(int index, InspectionRule value)
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(int index, InspectionRule.Builder builderForValue)
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;