Class InspectContentResponse (3.9.0)

public final class InspectContentResponse extends GeneratedMessageV3 implements InspectContentResponseOrBuilder

Results of inspecting an item.

Protobuf type google.privacy.dlp.v2.InspectContentResponse

Static Fields

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InspectContentResponse getDefaultInstance()
Returns
TypeDescription
InspectContentResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InspectContentResponse.Builder newBuilder()
Returns
TypeDescription
InspectContentResponse.Builder

newBuilder(InspectContentResponse prototype)

public static InspectContentResponse.Builder newBuilder(InspectContentResponse prototype)
Parameter
NameDescription
prototypeInspectContentResponse
Returns
TypeDescription
InspectContentResponse.Builder

parseDelimitedFrom(InputStream input)

public static InspectContentResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InspectContentResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InspectContentResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InspectContentResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InspectContentResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InspectContentResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InspectContentResponse> parser()
Returns
TypeDescription
Parser<InspectContentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InspectContentResponse getDefaultInstanceForType()
Returns
TypeDescription
InspectContentResponse

getParserForType()

public Parser<InspectContentResponse> getParserForType()
Returns
TypeDescription
Parser<InspectContentResponse>
Overrides

getResult()

public InspectResult getResult()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
TypeDescription
InspectResult

The result.

getResultOrBuilder()

public InspectResultOrBuilder getResultOrBuilder()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
TypeDescription
InspectResultOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasResult()

public boolean hasResult()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
TypeDescription
boolean

Whether the result field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InspectContentResponse.Builder newBuilderForType()
Returns
TypeDescription
InspectContentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InspectContentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InspectContentResponse.Builder toBuilder()
Returns
TypeDescription
InspectContentResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException