public final class InspectResult extends GeneratedMessageV3 implements InspectResultOrBuilder
All the findings for a single scanned item.Protobuf type
google.privacy.dlp.v2beta1.InspectResult| Modifier and Type | Class and Description |
|---|---|
static class |
InspectResult.Builder
All the findings for a single scanned item.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FINDINGS_FIELD_NUMBER |
static int |
FINDINGS_TRUNCATED_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int FINDINGS_FIELD_NUMBER
public static final int FINDINGS_TRUNCATED_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.util.List<Finding> getFindingsList()
List of findings for an item.
repeated .google.privacy.dlp.v2beta1.Finding findings = 1;getFindingsList in interface InspectResultOrBuilderpublic java.util.List<? extends FindingOrBuilder> getFindingsOrBuilderList()
List of findings for an item.
repeated .google.privacy.dlp.v2beta1.Finding findings = 1;getFindingsOrBuilderList in interface InspectResultOrBuilderpublic int getFindingsCount()
List of findings for an item.
repeated .google.privacy.dlp.v2beta1.Finding findings = 1;getFindingsCount in interface InspectResultOrBuilderpublic Finding getFindings(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2beta1.Finding findings = 1;getFindings in interface InspectResultOrBuilderpublic FindingOrBuilder getFindingsOrBuilder(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2beta1.Finding findings = 1;getFindingsOrBuilder in interface InspectResultOrBuilderpublic 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;getFindingsTruncated in interface InspectResultOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static InspectResult parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectResult parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectResult parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectResult parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectResult parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectResult parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static InspectResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectResult parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static InspectResult parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic InspectResult.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static InspectResult.Builder newBuilder()
public static InspectResult.Builder newBuilder(InspectResult prototype)
public InspectResult.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected InspectResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static InspectResult getDefaultInstance()
public static Parser<InspectResult> parser()
public Parser<InspectResult> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public InspectResult getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder