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 type
google.privacy.dlp.v2.InspectionRuleSet| Modifier and Type | Method and Description |
|---|---|
InspectionRuleSet.Builder |
addAllInfoTypes(Iterable<? extends InfoType> values)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
addAllRules(Iterable<? extends InspectionRule> values)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
addInfoTypes(InfoType.Builder builderForValue)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
addInfoTypes(InfoType value)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
addInfoTypes(int index,
InfoType.Builder builderForValue)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
addInfoTypes(int index,
InfoType value)
List of infoTypes this rule set is applied to.
|
InfoType.Builder |
addInfoTypesBuilder()
List of infoTypes this rule set is applied to.
|
InfoType.Builder |
addInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InspectionRuleSet.Builder |
addRules(InspectionRule.Builder builderForValue)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
addRules(InspectionRule value)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
addRules(int index,
InspectionRule.Builder builderForValue)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
addRules(int index,
InspectionRule value)
Set of rules to be applied to infoTypes.
|
InspectionRule.Builder |
addRulesBuilder()
Set of rules to be applied to infoTypes.
|
InspectionRule.Builder |
addRulesBuilder(int index)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet |
build() |
InspectionRuleSet |
buildPartial() |
InspectionRuleSet.Builder |
clear() |
InspectionRuleSet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InspectionRuleSet.Builder |
clearInfoTypes()
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InspectionRuleSet.Builder |
clearRules()
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
clone() |
InspectionRuleSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
InfoType |
getInfoTypes(int index)
List of infoTypes this rule set is applied to.
|
InfoType.Builder |
getInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
|
List<InfoType.Builder> |
getInfoTypesBuilderList()
List of infoTypes this rule set is applied to.
|
int |
getInfoTypesCount()
List of infoTypes this rule set is applied to.
|
List<InfoType> |
getInfoTypesList()
List of infoTypes this rule set is applied to.
|
InfoTypeOrBuilder |
getInfoTypesOrBuilder(int index)
List of infoTypes this rule set is applied to.
|
List<? extends InfoTypeOrBuilder> |
getInfoTypesOrBuilderList()
List of infoTypes this rule set is applied to.
|
InspectionRule |
getRules(int index)
Set of rules to be applied to infoTypes.
|
InspectionRule.Builder |
getRulesBuilder(int index)
Set of rules to be applied to infoTypes.
|
List<InspectionRule.Builder> |
getRulesBuilderList()
Set of rules to be applied to infoTypes.
|
int |
getRulesCount()
Set of rules to be applied to infoTypes.
|
List<InspectionRule> |
getRulesList()
Set of rules to be applied to infoTypes.
|
InspectionRuleOrBuilder |
getRulesOrBuilder(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.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InspectionRuleSet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InspectionRuleSet.Builder |
mergeFrom(InspectionRuleSet other) |
InspectionRuleSet.Builder |
mergeFrom(com.google.protobuf.Message other) |
InspectionRuleSet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InspectionRuleSet.Builder |
removeInfoTypes(int index)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
removeRules(int index)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InspectionRuleSet.Builder |
setInfoTypes(int index,
InfoType.Builder builderForValue)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
setInfoTypes(int index,
InfoType value)
List of infoTypes this rule set is applied to.
|
InspectionRuleSet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InspectionRuleSet.Builder |
setRules(int index,
InspectionRule.Builder builderForValue)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
setRules(int index,
InspectionRule value)
Set of rules to be applied to infoTypes.
|
InspectionRuleSet.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InspectionRuleSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InspectionRuleSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InspectionRuleSet.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder mergeFrom(InspectionRuleSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public InspectionRuleSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectionRuleSet.Builder>IOExceptionpublic List<InfoType> getInfoTypesList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;getInfoTypesList in interface InspectionRuleSetOrBuilderpublic int getInfoTypesCount()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;getInfoTypesCount in interface InspectionRuleSetOrBuilderpublic InfoType getInfoTypes(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;getInfoTypes in interface InspectionRuleSetOrBuilderpublic 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;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;public InspectionRuleSet.Builder addInfoTypes(InfoType value)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;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;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;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;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;public InspectionRuleSet.Builder clearInfoTypes()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;public InspectionRuleSet.Builder removeInfoTypes(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;public InfoType.Builder getInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;getInfoTypesOrBuilder in interface InspectionRuleSetOrBuilderpublic List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;getInfoTypesOrBuilderList in interface InspectionRuleSetOrBuilderpublic InfoType.Builder addInfoTypesBuilder()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;public InfoType.Builder addInfoTypesBuilder(int index)
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;public List<InfoType.Builder> getInfoTypesBuilderList()
List of infoTypes this rule set is applied to.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;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;getRulesList in interface InspectionRuleSetOrBuilderpublic int getRulesCount()
Set of rules to be applied to infoTypes. The rules are applied in order.
repeated .google.privacy.dlp.v2.InspectionRule rules = 2;getRulesCount in interface InspectionRuleSetOrBuilderpublic 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;getRules in interface InspectionRuleSetOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getRulesOrBuilder in interface InspectionRuleSetOrBuilderpublic 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;getRulesOrBuilderList in interface InspectionRuleSetOrBuilderpublic 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;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;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;public final InspectionRuleSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>public final InspectionRuleSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectionRuleSet.Builder>Copyright © 2022 Google LLC. All rights reserved.