public final class InspectResult extends GeneratedMessageV3 implements InspectResultOrBuilder
All the findings for a single scanned item.
Protobuf type google.privacy.dlp.v2.InspectResult
Static Fields
FINDINGS_FIELD_NUMBER
public static final int FINDINGS_FIELD_NUMBER
Field Value
FINDINGS_TRUNCATED_FIELD_NUMBER
public static final int FINDINGS_TRUNCATED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InspectResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InspectResult.Builder newBuilder()
Returns
newBuilder(InspectResult prototype)
public static InspectResult.Builder newBuilder(InspectResult prototype)
Parameter
Returns
public static InspectResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InspectResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InspectResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InspectResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InspectResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InspectResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InspectResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InspectResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InspectResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InspectResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InspectResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InspectResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InspectResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public InspectResult getDefaultInstanceForType()
Returns
getFindings(int index)
public Finding getFindings(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter
Returns
getFindingsCount()
public int getFindingsCount()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Returns
getFindingsList()
public List<Finding> getFindingsList()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Returns
getFindingsOrBuilder(int index)
public FindingOrBuilder getFindingsOrBuilder(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter
Returns
getFindingsOrBuilderList()
public List<? extends FindingOrBuilder> getFindingsOrBuilderList()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.FindingOrBuilder> | |
getFindingsTruncated()
public boolean getFindingsTruncated()
If true, then this item might have more findings than were returned,
and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too
large, or because the server reached the maximum amount of resources
allowed for a single API call. For best results, divide the input into
smaller batches.
bool findings_truncated = 2;
Returns
Type | Description |
boolean | The findingsTruncated.
|
getParserForType()
public Parser<InspectResult> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InspectResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InspectResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InspectResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions