Class DeidentifyContentResponse (3.6.4)

public final class DeidentifyContentResponse extends GeneratedMessageV3 implements DeidentifyContentResponseOrBuilder

Results of de-identifying a ContentItem.

Protobuf type google.privacy.dlp.v2.DeidentifyContentResponse

Static Fields

ITEM_FIELD_NUMBER

public static final int ITEM_FIELD_NUMBER
Field Value
TypeDescription
int

OVERVIEW_FIELD_NUMBER

public static final int OVERVIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeidentifyContentResponse getDefaultInstance()
Returns
TypeDescription
DeidentifyContentResponse

getDescriptor()

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

newBuilder()

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

newBuilder(DeidentifyContentResponse prototype)

public static DeidentifyContentResponse.Builder newBuilder(DeidentifyContentResponse prototype)
Parameter
NameDescription
prototypeDeidentifyContentResponse
Returns
TypeDescription
DeidentifyContentResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeidentifyContentResponse getDefaultInstanceForType()
Returns
TypeDescription
DeidentifyContentResponse

getItem()

public ContentItem getItem()

The de-identified item.

.google.privacy.dlp.v2.ContentItem item = 1;

Returns
TypeDescription
ContentItem

The item.

getItemOrBuilder()

public ContentItemOrBuilder getItemOrBuilder()

The de-identified item.

.google.privacy.dlp.v2.ContentItem item = 1;

Returns
TypeDescription
ContentItemOrBuilder

getOverview()

public TransformationOverview getOverview()

An overview of the changes that were made on the item.

.google.privacy.dlp.v2.TransformationOverview overview = 2;

Returns
TypeDescription
TransformationOverview

The overview.

getOverviewOrBuilder()

public TransformationOverviewOrBuilder getOverviewOrBuilder()

An overview of the changes that were made on the item.

.google.privacy.dlp.v2.TransformationOverview overview = 2;

Returns
TypeDescription
TransformationOverviewOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasItem()

public boolean hasItem()

The de-identified item.

.google.privacy.dlp.v2.ContentItem item = 1;

Returns
TypeDescription
boolean

Whether the item field is set.

hasOverview()

public boolean hasOverview()

An overview of the changes that were made on the item.

.google.privacy.dlp.v2.TransformationOverview overview = 2;

Returns
TypeDescription
boolean

Whether the overview 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 DeidentifyContentResponse.Builder newBuilderForType()
Returns
TypeDescription
DeidentifyContentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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