public static final class InspectConfig.InfoTypeLikelihood.Builder extends GeneratedMessageV3.Builder<InspectConfig.InfoTypeLikelihood.Builder> implements InspectConfig.InfoTypeLikelihoodOrBuilder
Configuration for setting a minimum likelihood per infotype. Used to
customize the minimum likelihood level for specific infotypes in the
request. For example, use this if you want to lower the precision for
PERSON_NAME without lowering the precision for the other infotypes in the
request.
Protobuf type google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.InfoTypeLikelihood.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InspectConfig.InfoTypeLikelihood build()
buildPartial()
public InspectConfig.InfoTypeLikelihood buildPartial()
clear()
public InspectConfig.InfoTypeLikelihood.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InspectConfig.InfoTypeLikelihood.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInfoType()
public InspectConfig.InfoTypeLikelihood.Builder clearInfoType()
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
clearMinLikelihood()
public InspectConfig.InfoTypeLikelihood.Builder clearMinLikelihood()
Only returns findings equal to or above this threshold. This field is
required or else the configuration fails.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectConfig.InfoTypeLikelihood.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InspectConfig.InfoTypeLikelihood.Builder clone()
Overrides
getDefaultInstanceForType()
public InspectConfig.InfoTypeLikelihood getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInfoType()
public InfoType getInfoType()
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns |
Type |
Description |
InfoType |
The infoType.
|
getInfoTypeBuilder()
public InfoType.Builder getInfoTypeBuilder()
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
getInfoTypeOrBuilder()
public InfoTypeOrBuilder getInfoTypeOrBuilder()
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
getMinLikelihood()
public Likelihood getMinLikelihood()
Only returns findings equal to or above this threshold. This field is
required or else the configuration fails.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Returns |
Type |
Description |
Likelihood |
The minLikelihood.
|
getMinLikelihoodValue()
public int getMinLikelihoodValue()
Only returns findings equal to or above this threshold. This field is
required or else the configuration fails.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for minLikelihood.
|
hasInfoType()
public boolean hasInfoType()
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns |
Type |
Description |
boolean |
Whether the infoType field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InspectConfig.InfoTypeLikelihood other)
public InspectConfig.InfoTypeLikelihood.Builder mergeFrom(InspectConfig.InfoTypeLikelihood other)
public InspectConfig.InfoTypeLikelihood.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InspectConfig.InfoTypeLikelihood.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeInfoType(InfoType value)
public InspectConfig.InfoTypeLikelihood.Builder mergeInfoType(InfoType value)
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
Parameter |
Name |
Description |
value |
InfoType
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.InfoTypeLikelihood.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.InfoTypeLikelihood.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInfoType(InfoType value)
public InspectConfig.InfoTypeLikelihood.Builder setInfoType(InfoType value)
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
Parameter |
Name |
Description |
value |
InfoType
|
setInfoType(InfoType.Builder builderForValue)
public InspectConfig.InfoTypeLikelihood.Builder setInfoType(InfoType.Builder builderForValue)
Type of information the likelihood threshold applies to. Only one
likelihood per info_type should be provided. If InfoTypeLikelihood does
not have an info_type, the configuration fails.
.google.privacy.dlp.v2.InfoType info_type = 1;
setMinLikelihood(Likelihood value)
public InspectConfig.InfoTypeLikelihood.Builder setMinLikelihood(Likelihood value)
Only returns findings equal to or above this threshold. This field is
required or else the configuration fails.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Parameter |
Name |
Description |
value |
Likelihood
The minLikelihood to set.
|
setMinLikelihoodValue(int value)
public InspectConfig.InfoTypeLikelihood.Builder setMinLikelihoodValue(int value)
Only returns findings equal to or above this threshold. This field is
required or else the configuration fails.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for minLikelihood to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectConfig.InfoTypeLikelihood.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.InfoTypeLikelihood.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides