public static final class AdjustmentRule.Builder extends GeneratedMessage.Builder<AdjustmentRule.Builder> implements AdjustmentRuleOrBuilderRule that specifies conditions when a certain infoType's finding details should be adjusted.
Protobuf type google.privacy.dlp.v2.AdjustmentRule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AdjustmentRule.BuilderImplements
AdjustmentRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AdjustmentRule build()| Returns | |
|---|---|
| Type | Description |
AdjustmentRule |
|
buildPartial()
public AdjustmentRule buildPartial()| Returns | |
|---|---|
| Type | Description |
AdjustmentRule |
|
clear()
public AdjustmentRule.Builder clear()| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
clearAdjustByImageFindings()
public AdjustmentRule.Builder clearAdjustByImageFindings()AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
clearAdjustByMatchingInfoTypes()
public AdjustmentRule.Builder clearAdjustByMatchingInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
clearConditions()
public AdjustmentRule.Builder clearConditions()| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
clearLikelihoodAdjustment()
public AdjustmentRule.Builder clearLikelihoodAdjustment()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
getAdjustByImageFindings()
public AdjustByImageFindings getAdjustByImageFindings()AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Returns | |
|---|---|
| Type | Description |
AdjustByImageFindings |
The adjustByImageFindings. |
getAdjustByImageFindingsBuilder()
public AdjustByImageFindings.Builder getAdjustByImageFindingsBuilder()AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Returns | |
|---|---|
| Type | Description |
AdjustByImageFindings.Builder |
|
getAdjustByImageFindingsOrBuilder()
public AdjustByImageFindingsOrBuilder getAdjustByImageFindingsOrBuilder()AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Returns | |
|---|---|
| Type | Description |
AdjustByImageFindingsOrBuilder |
|
getAdjustByMatchingInfoTypes()
public AdjustByMatchingInfoTypes getAdjustByMatchingInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Returns | |
|---|---|
| Type | Description |
AdjustByMatchingInfoTypes |
The adjustByMatchingInfoTypes. |
getAdjustByMatchingInfoTypesBuilder()
public AdjustByMatchingInfoTypes.Builder getAdjustByMatchingInfoTypesBuilder()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Returns | |
|---|---|
| Type | Description |
AdjustByMatchingInfoTypes.Builder |
|
getAdjustByMatchingInfoTypesOrBuilder()
public AdjustByMatchingInfoTypesOrBuilder getAdjustByMatchingInfoTypesOrBuilder()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Returns | |
|---|---|
| Type | Description |
AdjustByMatchingInfoTypesOrBuilder |
|
getConditionsCase()
public AdjustmentRule.ConditionsCase getConditionsCase()| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.ConditionsCase |
|
getDefaultInstanceForType()
public AdjustmentRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdjustmentRule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLikelihoodAdjustment()
public CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.DetectionRule.LikelihoodAdjustment |
The likelihoodAdjustment. |
getLikelihoodAdjustmentBuilder()
public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder getLikelihoodAdjustmentBuilder()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder |
|
getLikelihoodAdjustmentOrBuilder()
public CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder |
|
hasAdjustByImageFindings()
public boolean hasAdjustByImageFindings()AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adjustByImageFindings field is set. |
hasAdjustByMatchingInfoTypes()
public boolean hasAdjustByMatchingInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adjustByMatchingInfoTypes field is set. |
hasLikelihoodAdjustment()
public boolean hasLikelihoodAdjustment()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the likelihoodAdjustment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdjustByImageFindings(AdjustByImageFindings value)
public AdjustmentRule.Builder mergeAdjustByImageFindings(AdjustByImageFindings value)AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
AdjustByImageFindings |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
mergeAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes value)
public AdjustmentRule.Builder mergeAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes value)Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AdjustByMatchingInfoTypes |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
mergeFrom(AdjustmentRule other)
public AdjustmentRule.Builder mergeFrom(AdjustmentRule other)| Parameter | |
|---|---|
| Name | Description |
other |
AdjustmentRule |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdjustmentRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AdjustmentRule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
mergeLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)
public AdjustmentRule.Builder mergeLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomInfoType.DetectionRule.LikelihoodAdjustment |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
setAdjustByImageFindings(AdjustByImageFindings value)
public AdjustmentRule.Builder setAdjustByImageFindings(AdjustByImageFindings value)AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
AdjustByImageFindings |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
setAdjustByImageFindings(AdjustByImageFindings.Builder builderForValue)
public AdjustmentRule.Builder setAdjustByImageFindings(AdjustByImageFindings.Builder builderForValue)AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AdjustByImageFindings.Builder |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
setAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes value)
public AdjustmentRule.Builder setAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes value)Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AdjustByMatchingInfoTypes |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
setAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes.Builder builderForValue)
public AdjustmentRule.Builder setAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes.Builder builderForValue)Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AdjustByMatchingInfoTypes.Builder |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)
public AdjustmentRule.Builder setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value)Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomInfoType.DetectionRule.LikelihoodAdjustment |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|
setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue)
public AdjustmentRule.Builder setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue)Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder |
| Returns | |
|---|---|
| Type | Description |
AdjustmentRule.Builder |
|