public static final class InspectConfig.FindingLimits.InfoTypeLimit extends GeneratedMessageV3 implements InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
Max findings configuration per infoType, per content item or long
running DlpJob.
Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
Static Fields
INFO_TYPE_FIELD_NUMBER
public static final int INFO_TYPE_FIELD_NUMBER
Field Value
MAX_FINDINGS_FIELD_NUMBER
public static final int MAX_FINDINGS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InspectConfig.FindingLimits.InfoTypeLimit.Builder newBuilder()
Returns
newBuilder(InspectConfig.FindingLimits.InfoTypeLimit prototype)
public static InspectConfig.FindingLimits.InfoTypeLimit.Builder newBuilder(InspectConfig.FindingLimits.InfoTypeLimit prototype)
Parameter
Returns
public static InspectConfig.FindingLimits.InfoTypeLimit parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InspectConfig.FindingLimits.InfoTypeLimit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InspectConfig.FindingLimits.InfoTypeLimit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InspectConfig.FindingLimits.InfoTypeLimit> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType()
Returns
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
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
getMaxFindings()
public int getMaxFindings()
Max findings limit for the given infoType.
int32 max_findings = 2;
Returns
Type | Description |
int | The maxFindings.
|
getParserForType()
public Parser<InspectConfig.FindingLimits.InfoTypeLimit> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InspectConfig.FindingLimits.InfoTypeLimit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InspectConfig.FindingLimits.InfoTypeLimit.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions