public final class AdjustByMatchingInfoTypes extends GeneratedMessage implements AdjustByMatchingInfoTypesOrBuilder
AdjustmentRule condition for matching infoTypes.
Protobuf type google.privacy.dlp.v2.AdjustByMatchingInfoTypes
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
INFO_TYPES_FIELD_NUMBER
public static final int INFO_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MATCHING_TYPE_FIELD_NUMBER
public static final int MATCHING_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MIN_LIKELIHOOD_FIELD_NUMBER
public static final int MIN_LIKELIHOOD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AdjustByMatchingInfoTypes getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AdjustByMatchingInfoTypes.Builder newBuilder()
newBuilder(AdjustByMatchingInfoTypes prototype)
public static AdjustByMatchingInfoTypes.Builder newBuilder(AdjustByMatchingInfoTypes prototype)
public static AdjustByMatchingInfoTypes parseDelimitedFrom(InputStream input)
public static AdjustByMatchingInfoTypes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AdjustByMatchingInfoTypes parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdjustByMatchingInfoTypes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AdjustByMatchingInfoTypes parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdjustByMatchingInfoTypes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdjustByMatchingInfoTypes parseFrom(CodedInputStream input)
public static AdjustByMatchingInfoTypes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AdjustByMatchingInfoTypes parseFrom(InputStream input)
public static AdjustByMatchingInfoTypes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AdjustByMatchingInfoTypes parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdjustByMatchingInfoTypes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AdjustByMatchingInfoTypes> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AdjustByMatchingInfoTypes getDefaultInstanceForType()
getInfoTypes(int index)
public InfoType getInfoTypes(int index)
Sensitive Data Protection adjusts the likelihood of a finding if that
finding also matches one of these infoTypes.
For example, you can create a rule to adjust the likelihood of a
PHONE_NUMBER finding if the string is found within a document that is
classified as DOCUMENT_TYPE/HR/RESUME. To configure this, set
PHONE_NUMBER in InspectionRuleSet.info_types. Add an adjustment_rule
with an adjust_by_matching_info_types.info_types that contains
DOCUMENT_TYPE/HR/RESUME. In this case, the likelihood of the
PHONE_NUMBER finding is adjusted, but the likelihood of the
DOCUMENT_TYPE/HR/RESUME finding is not.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
getInfoTypesCount()
public int getInfoTypesCount()
Sensitive Data Protection adjusts the likelihood of a finding if that
finding also matches one of these infoTypes.
For example, you can create a rule to adjust the likelihood of a
PHONE_NUMBER finding if the string is found within a document that is
classified as DOCUMENT_TYPE/HR/RESUME. To configure this, set
PHONE_NUMBER in InspectionRuleSet.info_types. Add an adjustment_rule
with an adjust_by_matching_info_types.info_types that contains
DOCUMENT_TYPE/HR/RESUME. In this case, the likelihood of the
PHONE_NUMBER finding is adjusted, but the likelihood of the
DOCUMENT_TYPE/HR/RESUME finding is not.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Returns |
| Type |
Description |
int |
|
getInfoTypesList()
public List<InfoType> getInfoTypesList()
Sensitive Data Protection adjusts the likelihood of a finding if that
finding also matches one of these infoTypes.
For example, you can create a rule to adjust the likelihood of a
PHONE_NUMBER finding if the string is found within a document that is
classified as DOCUMENT_TYPE/HR/RESUME. To configure this, set
PHONE_NUMBER in InspectionRuleSet.info_types. Add an adjustment_rule
with an adjust_by_matching_info_types.info_types that contains
DOCUMENT_TYPE/HR/RESUME. In this case, the likelihood of the
PHONE_NUMBER finding is adjusted, but the likelihood of the
DOCUMENT_TYPE/HR/RESUME finding is not.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesOrBuilder(int index)
public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
Sensitive Data Protection adjusts the likelihood of a finding if that
finding also matches one of these infoTypes.
For example, you can create a rule to adjust the likelihood of a
PHONE_NUMBER finding if the string is found within a document that is
classified as DOCUMENT_TYPE/HR/RESUME. To configure this, set
PHONE_NUMBER in InspectionRuleSet.info_types. Add an adjustment_rule
with an adjust_by_matching_info_types.info_types that contains
DOCUMENT_TYPE/HR/RESUME. In this case, the likelihood of the
PHONE_NUMBER finding is adjusted, but the likelihood of the
DOCUMENT_TYPE/HR/RESUME finding is not.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Parameter |
| Name |
Description |
index |
int
|
getInfoTypesOrBuilderList()
public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
Sensitive Data Protection adjusts the likelihood of a finding if that
finding also matches one of these infoTypes.
For example, you can create a rule to adjust the likelihood of a
PHONE_NUMBER finding if the string is found within a document that is
classified as DOCUMENT_TYPE/HR/RESUME. To configure this, set
PHONE_NUMBER in InspectionRuleSet.info_types. Add an adjustment_rule
with an adjust_by_matching_info_types.info_types that contains
DOCUMENT_TYPE/HR/RESUME. In this case, the likelihood of the
PHONE_NUMBER finding is adjusted, but the likelihood of the
DOCUMENT_TYPE/HR/RESUME finding is not.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
| Returns |
| Type |
Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> |
|
getMatchingType()
public MatchingType getMatchingType()
How the adjustment rule is applied.
Only MATCHING_TYPE_PARTIAL_MATCH is supported:
- Partial match: adjusts the findings of infoTypes specified in the
inspection rule when they have a nonempty intersection with a finding of an
infoType specified in this adjustment rule.
.google.privacy.dlp.v2.MatchingType matching_type = 3;
getMatchingTypeValue()
public int getMatchingTypeValue()
How the adjustment rule is applied.
Only MATCHING_TYPE_PARTIAL_MATCH is supported:
- Partial match: adjusts the findings of infoTypes specified in the
inspection rule when they have a nonempty intersection with a finding of an
infoType specified in this adjustment rule.
.google.privacy.dlp.v2.MatchingType matching_type = 3;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for matchingType.
|
getMinLikelihood()
public Likelihood getMinLikelihood()
Required. Minimum likelihood of the
adjust_by_matching_info_types.info_types finding. If the likelihood is
lower than this value, Sensitive Data Protection doesn't adjust the
likelihood of the InspectionRuleSet.info_types finding.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
| Returns |
| Type |
Description |
Likelihood |
The minLikelihood.
|
getMinLikelihoodValue()
public int getMinLikelihoodValue()
Required. Minimum likelihood of the
adjust_by_matching_info_types.info_types finding. If the likelihood is
lower than this value, Sensitive Data Protection doesn't adjust the
likelihood of the InspectionRuleSet.info_types finding.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for minLikelihood.
|
getParserForType()
public Parser<AdjustByMatchingInfoTypes> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AdjustByMatchingInfoTypes.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AdjustByMatchingInfoTypes.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AdjustByMatchingInfoTypes.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides