- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class InspectionRule.Builder extends GeneratedMessageV3.Builder<InspectionRule.Builder> implements InspectionRuleOrBuilder
A single inspection rule to be applied to infoTypes, specified in
InspectionRuleSet
.
Protobuf type google.privacy.dlp.v2.InspectionRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InspectionRule.BuilderImplements
InspectionRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectionRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InspectionRule.Builder |
build()
public InspectionRule build()
Type | Description |
InspectionRule |
buildPartial()
public InspectionRule buildPartial()
Type | Description |
InspectionRule |
clear()
public InspectionRule.Builder clear()
Type | Description |
InspectionRule.Builder |
clearExclusionRule()
public InspectionRule.Builder clearExclusionRule()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Type | Description |
InspectionRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public InspectionRule.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InspectionRule.Builder |
clearHotwordRule()
public InspectionRule.Builder clearHotwordRule()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Type | Description |
InspectionRule.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectionRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InspectionRule.Builder |
clearType()
public InspectionRule.Builder clearType()
Type | Description |
InspectionRule.Builder |
clone()
public InspectionRule.Builder clone()
Type | Description |
InspectionRule.Builder |
getDefaultInstanceForType()
public InspectionRule getDefaultInstanceForType()
Type | Description |
InspectionRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExclusionRule()
public ExclusionRule getExclusionRule()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Type | Description |
ExclusionRule | The exclusionRule. |
getExclusionRuleBuilder()
public ExclusionRule.Builder getExclusionRuleBuilder()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Type | Description |
ExclusionRule.Builder |
getExclusionRuleOrBuilder()
public ExclusionRuleOrBuilder getExclusionRuleOrBuilder()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Type | Description |
ExclusionRuleOrBuilder |
getHotwordRule()
public CustomInfoType.DetectionRule.HotwordRule getHotwordRule()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Type | Description |
CustomInfoType.DetectionRule.HotwordRule | The hotwordRule. |
getHotwordRuleBuilder()
public CustomInfoType.DetectionRule.HotwordRule.Builder getHotwordRuleBuilder()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Type | Description |
CustomInfoType.DetectionRule.HotwordRule.Builder |
getHotwordRuleOrBuilder()
public CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Type | Description |
CustomInfoType.DetectionRule.HotwordRuleOrBuilder |
getTypeCase()
public InspectionRule.TypeCase getTypeCase()
Type | Description |
InspectionRule.TypeCase |
hasExclusionRule()
public boolean hasExclusionRule()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Type | Description |
boolean | Whether the exclusionRule field is set. |
hasHotwordRule()
public boolean hasHotwordRule()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Type | Description |
boolean | Whether the hotwordRule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeExclusionRule(ExclusionRule value)
public InspectionRule.Builder mergeExclusionRule(ExclusionRule value)
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Name | Description |
value | ExclusionRule |
Type | Description |
InspectionRule.Builder |
mergeFrom(InspectionRule other)
public InspectionRule.Builder mergeFrom(InspectionRule other)
Name | Description |
other | InspectionRule |
Type | Description |
InspectionRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectionRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InspectionRule.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InspectionRule.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InspectionRule.Builder |
mergeHotwordRule(CustomInfoType.DetectionRule.HotwordRule value)
public InspectionRule.Builder mergeHotwordRule(CustomInfoType.DetectionRule.HotwordRule value)
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Name | Description |
value | CustomInfoType.DetectionRule.HotwordRule |
Type | Description |
InspectionRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectionRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InspectionRule.Builder |
setExclusionRule(ExclusionRule value)
public InspectionRule.Builder setExclusionRule(ExclusionRule value)
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Name | Description |
value | ExclusionRule |
Type | Description |
InspectionRule.Builder |
setExclusionRule(ExclusionRule.Builder builderForValue)
public InspectionRule.Builder setExclusionRule(ExclusionRule.Builder builderForValue)
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
Name | Description |
builderForValue | ExclusionRule.Builder |
Type | Description |
InspectionRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InspectionRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InspectionRule.Builder |
setHotwordRule(CustomInfoType.DetectionRule.HotwordRule value)
public InspectionRule.Builder setHotwordRule(CustomInfoType.DetectionRule.HotwordRule value)
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Name | Description |
value | CustomInfoType.DetectionRule.HotwordRule |
Type | Description |
InspectionRule.Builder |
setHotwordRule(CustomInfoType.DetectionRule.HotwordRule.Builder builderForValue)
public InspectionRule.Builder setHotwordRule(CustomInfoType.DetectionRule.HotwordRule.Builder builderForValue)
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
Name | Description |
builderForValue | CustomInfoType.DetectionRule.HotwordRule.Builder |
Type | Description |
InspectionRule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectionRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InspectionRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectionRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InspectionRule.Builder |