public static final class InspectConfig.FindingLimits.InfoTypeLimit.Builder extends GeneratedMessage.Builder<InspectConfig.FindingLimits.InfoTypeLimit.Builder> implements InspectConfig.FindingLimits.InfoTypeLimitOrBuilderMax findings configuration per infoType, per content item or long running DlpJob.
Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InspectConfig.FindingLimits.InfoTypeLimit.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InspectConfig.FindingLimits.InfoTypeLimit build()| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit |
|
buildPartial()
public InspectConfig.FindingLimits.InfoTypeLimit buildPartial()| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit |
|
clear()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clear()| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
clearInfoType()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearInfoType()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
clearMaxFindings()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder clearMaxFindings()Max findings limit for the given infoType.
int32 max_findings = 2;
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInfoType()
public InfoType getInfoType()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoType |
The infoType. |
getInfoTypeBuilder()
public InfoType.Builder getInfoTypeBuilder()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoType.Builder |
|
getInfoTypeOrBuilder()
public InfoTypeOrBuilder getInfoTypeOrBuilder()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoTypeOrBuilder |
|
getMaxFindings()
public int getMaxFindings()Max findings limit for the given infoType.
int32 max_findings = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The maxFindings. |
hasInfoType()
public boolean hasInfoType()Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.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.FindingLimits.InfoTypeLimit other)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(InspectConfig.FindingLimits.InfoTypeLimit other)| Parameter | |
|---|---|
| Name | Description |
other |
InspectConfig.FindingLimits.InfoTypeLimit |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
mergeInfoType(InfoType value)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder mergeInfoType(InfoType value)Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoType |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
setInfoType(InfoType value)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder setInfoType(InfoType value)Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoType |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
setInfoType(InfoType.Builder builderForValue)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder setInfoType(InfoType.Builder builderForValue)Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InfoType.Builder |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
|
setMaxFindings(int value)
public InspectConfig.FindingLimits.InfoTypeLimit.Builder setMaxFindings(int value)Max findings limit for the given infoType.
int32 max_findings = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxFindings to set. |
| Returns | |
|---|---|
| Type | Description |
InspectConfig.FindingLimits.InfoTypeLimit.Builder |
This builder for chaining. |