public static final class InspectConfig.InfoTypeLikelihood.Builder extends GeneratedMessage.Builder<InspectConfig.InfoTypeLikelihood.Builder> implements InspectConfig.InfoTypeLikelihoodOrBuilderConfiguration 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InspectConfig.InfoTypeLikelihood.BuilderImplements
InspectConfig.InfoTypeLikelihoodOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InspectConfig.InfoTypeLikelihood build()| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood |
|
buildPartial()
public InspectConfig.InfoTypeLikelihood buildPartial()| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood |
|
clear()
public InspectConfig.InfoTypeLikelihood.Builder clear()| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public InspectConfig.InfoTypeLikelihood getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
InfoType.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
InfoTypeOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InspectConfig.InfoTypeLikelihood other)
public InspectConfig.InfoTypeLikelihood.Builder mergeFrom(InspectConfig.InfoTypeLikelihood other)| Parameter | |
|---|---|
| Name | Description |
other |
InspectConfig.InfoTypeLikelihood |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectConfig.InfoTypeLikelihood.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InspectConfig.InfoTypeLikelihood.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InfoType.Builder |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
|
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 |
LikelihoodThe minLikelihood to set. |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for minLikelihood to set. |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
This builder for chaining. |