Class DeidentifyContentResponse.Builder (3.47.0)

public static final class DeidentifyContentResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeidentifyContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DeidentifyContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public DeidentifyContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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