public static final class InspectionRuleSet.Builder extends 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 type google.privacy.dlp.v2.InspectionRuleSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectionRuleSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public InspectionRuleSet.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInfoTypes()
public InspectionRuleSet.Builder clearInfoTypes()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectionRuleSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public InspectionRuleSet.Builder clone()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InspectionRuleSet other)
public InspectionRuleSet.Builder mergeFrom(InspectionRuleSet other)