Class DeidentifyContentResponse.Builder (3.49.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 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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeidentifyContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DeidentifyContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeidentifyContentResponse.Builder
Overrides