Class DeidentifyContentResponse.Builder (3.2.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeidentifyContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

build()

public DeidentifyContentResponse build()
Returns
TypeDescription
DeidentifyContentResponse

buildPartial()

public DeidentifyContentResponse buildPartial()
Returns
TypeDescription
DeidentifyContentResponse

clear()

public DeidentifyContentResponse.Builder clear()
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeidentifyContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

clearItem()

public DeidentifyContentResponse.Builder clearItem()

The de-identified item.

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

Returns
TypeDescription
DeidentifyContentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DeidentifyContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DeidentifyContentResponse.Builder

clone()

public DeidentifyContentResponse.Builder clone()
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

getDefaultInstanceForType()

public DeidentifyContentResponse getDefaultInstanceForType()
Returns
TypeDescription
DeidentifyContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getItem()

public ContentItem getItem()

The de-identified item.

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

Returns
TypeDescription
ContentItem

The item.

getItemBuilder()

public ContentItem.Builder getItemBuilder()

The de-identified item.

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

Returns
TypeDescription
ContentItem.Builder

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.

getOverviewBuilder()

public TransformationOverview.Builder getOverviewBuilder()

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

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

Returns
TypeDescription
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
TypeDescription
TransformationOverviewOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeidentifyContentResponse other)

public DeidentifyContentResponse.Builder mergeFrom(DeidentifyContentResponse other)
Parameter
NameDescription
otherDeidentifyContentResponse
Returns
TypeDescription
DeidentifyContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeidentifyContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeidentifyContentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

mergeItem(ContentItem value)

public DeidentifyContentResponse.Builder mergeItem(ContentItem value)

The de-identified item.

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

Parameter
NameDescription
valueContentItem
Returns
TypeDescription
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
NameDescription
valueTransformationOverview
Returns
TypeDescription
DeidentifyContentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeidentifyContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeidentifyContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

setItem(ContentItem value)

public DeidentifyContentResponse.Builder setItem(ContentItem value)

The de-identified item.

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

Parameter
NameDescription
valueContentItem
Returns
TypeDescription
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
NameDescription
builderForValueContentItem.Builder
Returns
TypeDescription
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
NameDescription
valueTransformationOverview
Returns
TypeDescription
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
NameDescription
builderForValueTransformationOverview.Builder
Returns
TypeDescription
DeidentifyContentResponse.Builder

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

public DeidentifyContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeidentifyContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeidentifyContentResponse.Builder
Overrides