Class DeidentifyContentResponse.Builder (3.87.0)

public static final class DeidentifyContentResponse.Builder extends GeneratedMessage.Builder<DeidentifyContentResponse.Builder> implements DeidentifyContentResponseOrBuilder

Results of de-identifying a ContentItem.

Protobuf type google.privacy.dlp.v2.DeidentifyContentResponse

Static Methods

getDescriptor()

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

Methods

build()

public DeidentifyContentResponse build()
Returns
Type Description
DeidentifyContentResponse

buildPartial()

public DeidentifyContentResponse buildPartial()
Returns
Type Description
DeidentifyContentResponse

clear()

public DeidentifyContentResponse.Builder clear()
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides

clearItem()

public DeidentifyContentResponse.Builder clearItem()

The de-identified item.

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

Returns
Type Description
DeidentifyContentResponse.Builder

clearOverview()

public DeidentifyContentResponse.Builder clearOverview()

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

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

Returns
Type Description
DeidentifyContentResponse.Builder

getDefaultInstanceForType()

public DeidentifyContentResponse getDefaultInstanceForType()
Returns
Type Description
DeidentifyContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getItem()

public ContentItem getItem()

The de-identified item.

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

Returns
Type Description
ContentItem

The item.

getItemBuilder()

public ContentItem.Builder getItemBuilder()

The de-identified item.

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

Returns
Type Description
ContentItem.Builder

getItemOrBuilder()

public ContentItemOrBuilder getItemOrBuilder()

The de-identified item.

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

Returns
Type Description
ContentItemOrBuilder

getOverview()

public TransformationOverview getOverview()

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

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

Returns
Type Description
TransformationOverview

The overview.

getOverviewBuilder()

public TransformationOverview.Builder getOverviewBuilder()

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

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

Returns
Type Description
TransformationOverview.Builder

getOverviewOrBuilder()

public TransformationOverviewOrBuilder getOverviewOrBuilder()

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

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

Returns
Type Description
TransformationOverviewOrBuilder

hasItem()

public boolean hasItem()

The de-identified item.

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

Returns
Type Description
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
Type Description
boolean

Whether the overview field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeidentifyContentResponse other)

public DeidentifyContentResponse.Builder mergeFrom(DeidentifyContentResponse other)
Parameter
Name Description
other DeidentifyContentResponse
Returns
Type Description
DeidentifyContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeidentifyContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeidentifyContentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides

mergeItem(ContentItem value)

public DeidentifyContentResponse.Builder mergeItem(ContentItem value)

The de-identified item.

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

Parameter
Name Description
value ContentItem
Returns
Type Description
DeidentifyContentResponse.Builder

mergeOverview(TransformationOverview value)

public DeidentifyContentResponse.Builder mergeOverview(TransformationOverview value)

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

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

Parameter
Name Description
value TransformationOverview
Returns
Type Description
DeidentifyContentResponse.Builder

setItem(ContentItem value)

public DeidentifyContentResponse.Builder setItem(ContentItem value)

The de-identified item.

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

Parameter
Name Description
value ContentItem
Returns
Type Description
DeidentifyContentResponse.Builder

setItem(ContentItem.Builder builderForValue)

public DeidentifyContentResponse.Builder setItem(ContentItem.Builder builderForValue)

The de-identified item.

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

Parameter
Name Description
builderForValue ContentItem.Builder
Returns
Type Description
DeidentifyContentResponse.Builder

setOverview(TransformationOverview value)

public DeidentifyContentResponse.Builder setOverview(TransformationOverview value)

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

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

Parameter
Name Description
value TransformationOverview
Returns
Type Description
DeidentifyContentResponse.Builder

setOverview(TransformationOverview.Builder builderForValue)

public DeidentifyContentResponse.Builder setOverview(TransformationOverview.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TransformationOverview.Builder
Returns
Type Description
DeidentifyContentResponse.Builder