public static final class CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder> implements CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder
Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.Protobuf type
google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentgetAllFields, 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<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.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<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.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<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.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<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.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<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder mergeFrom(CustomInfoType.DetectionRule.LikelihoodAdjustment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public CustomInfoType.DetectionRule.LikelihoodAdjustment.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<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>IOExceptionpublic CustomInfoType.DetectionRule.LikelihoodAdjustment.AdjustmentCase getAdjustmentCase()
getAdjustmentCase in interface CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clearAdjustment()
public boolean hasFixedLikelihood()
Set the likelihood of a finding to a fixed value.
.google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;hasFixedLikelihood in interface CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilderpublic int getFixedLikelihoodValue()
Set the likelihood of a finding to a fixed value.
.google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;getFixedLikelihoodValue in interface CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder setFixedLikelihoodValue(int value)
Set the likelihood of a finding to a fixed value.
.google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;value - The enum numeric value on the wire for fixedLikelihood to set.public Likelihood getFixedLikelihood()
Set the likelihood of a finding to a fixed value.
.google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;getFixedLikelihood in interface CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder setFixedLikelihood(Likelihood value)
Set the likelihood of a finding to a fixed value.
.google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;value - The fixedLikelihood to set.public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clearFixedLikelihood()
Set the likelihood of a finding to a fixed value.
.google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;public boolean hasRelativeLikelihood()
Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be `POSSIBLE` without the detection rule and `relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will result in a final likelihood of `LIKELY`.
int32 relative_likelihood = 2;hasRelativeLikelihood in interface CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilderpublic int getRelativeLikelihood()
Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be `POSSIBLE` without the detection rule and `relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will result in a final likelihood of `LIKELY`.
int32 relative_likelihood = 2;getRelativeLikelihood in interface CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilderpublic CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder setRelativeLikelihood(int value)
Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be `POSSIBLE` without the detection rule and `relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will result in a final likelihood of `LIKELY`.
int32 relative_likelihood = 2;value - The relativeLikelihood to set.public CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder clearRelativeLikelihood()
Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be `POSSIBLE` without the detection rule and `relative_likelihood` is 1, then it is upgraded to `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`. Likelihood may never drop below `VERY_UNLIKELY` or exceed `VERY_LIKELY`, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is `VERY_LIKELY` will result in a final likelihood of `LIKELY`.
int32 relative_likelihood = 2;public final CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>public final CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder>Copyright © 2022 Google LLC. All rights reserved.