Class InspectContentResponse (3.46.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
Type Description
int

Static Methods

getDefaultInstance()

public static InspectContentResponse getDefaultInstance()
Returns
Type Description
InspectContentResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InspectContentResponse.Builder newBuilder()
Returns
Type Description
InspectContentResponse.Builder

newBuilder(InspectContentResponse prototype)

public static InspectContentResponse.Builder newBuilder(InspectContentResponse prototype)
Parameter
Name Description
prototype InspectContentResponse
Returns
Type Description
InspectContentResponse.Builder

parseDelimitedFrom(InputStream input)

public static InspectContentResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InspectContentResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InspectContentResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InspectContentResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InspectContentResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InspectContentResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InspectContentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InspectContentResponse> parser()
Returns
Type Description
Parser<InspectContentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InspectContentResponse getDefaultInstanceForType()
Returns
Type Description
InspectContentResponse

getParserForType()

public Parser<InspectContentResponse> getParserForType()
Returns
Type Description
Parser<InspectContentResponse>
Overrides

getResult()

public InspectResult getResult()

The findings.

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

Returns
Type Description
InspectResult

The result.

getResultOrBuilder()

public InspectResultOrBuilder getResultOrBuilder()

The findings.

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

Returns
Type Description
InspectResultOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasResult()

public boolean hasResult()

The findings.

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

Returns
Type Description
boolean

Whether the result field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InspectContentResponse.Builder newBuilderForType()
Returns
Type Description
InspectContentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InspectContentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InspectContentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InspectContentResponse.Builder toBuilder()
Returns
Type Description
InspectContentResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException