Class ReidentifyContentResponse.Builder (3.40.0)

public static final class ReidentifyContentResponse.Builder extends GeneratedMessageV3.Builder<ReidentifyContentResponse.Builder> implements ReidentifyContentResponseOrBuilder

Results of re-identifying an item.

Protobuf type google.privacy.dlp.v2.ReidentifyContentResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReidentifyContentResponse build()
Returns
TypeDescription
ReidentifyContentResponse

buildPartial()

public ReidentifyContentResponse buildPartial()
Returns
TypeDescription
ReidentifyContentResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearItem()

public ReidentifyContentResponse.Builder clearItem()

The re-identified item.

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

Returns
TypeDescription
ReidentifyContentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReidentifyContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReidentifyContentResponse.Builder
Overrides

clearOverview()

public ReidentifyContentResponse.Builder clearOverview()

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

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

Returns
TypeDescription
ReidentifyContentResponse.Builder

clone()

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

getDefaultInstanceForType()

public ReidentifyContentResponse getDefaultInstanceForType()
Returns
TypeDescription
ReidentifyContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getItem()

public ContentItem getItem()

The re-identified item.

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

Returns
TypeDescription
ContentItem

The item.

getItemBuilder()

public ContentItem.Builder getItemBuilder()

The re-identified item.

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

Returns
TypeDescription
ContentItem.Builder

getItemOrBuilder()

public ContentItemOrBuilder getItemOrBuilder()

The re-identified item.

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

Returns
TypeDescription
ContentItemOrBuilder

getOverview()

public TransformationOverview getOverview()

An overview of the changes that were made to 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 to 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 to the item.

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

Returns
TypeDescription
TransformationOverviewOrBuilder

hasItem()

public boolean hasItem()

The re-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 to 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(ReidentifyContentResponse other)

public ReidentifyContentResponse.Builder mergeFrom(ReidentifyContentResponse other)
Parameter
NameDescription
otherReidentifyContentResponse
Returns
TypeDescription
ReidentifyContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItem(ContentItem value)

public ReidentifyContentResponse.Builder mergeItem(ContentItem value)

The re-identified item.

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

Parameter
NameDescription
valueContentItem
Returns
TypeDescription
ReidentifyContentResponse.Builder

mergeOverview(TransformationOverview value)

public ReidentifyContentResponse.Builder mergeOverview(TransformationOverview value)

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

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

Parameter
NameDescription
valueTransformationOverview
Returns
TypeDescription
ReidentifyContentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setItem(ContentItem value)

public ReidentifyContentResponse.Builder setItem(ContentItem value)

The re-identified item.

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

Parameter
NameDescription
valueContentItem
Returns
TypeDescription
ReidentifyContentResponse.Builder

setItem(ContentItem.Builder builderForValue)

public ReidentifyContentResponse.Builder setItem(ContentItem.Builder builderForValue)

The re-identified item.

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

Parameter
NameDescription
builderForValueContentItem.Builder
Returns
TypeDescription
ReidentifyContentResponse.Builder

setOverview(TransformationOverview value)

public ReidentifyContentResponse.Builder setOverview(TransformationOverview value)

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

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

Parameter
NameDescription
valueTransformationOverview
Returns
TypeDescription
ReidentifyContentResponse.Builder

setOverview(TransformationOverview.Builder builderForValue)

public ReidentifyContentResponse.Builder setOverview(TransformationOverview.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueTransformationOverview.Builder
Returns
TypeDescription
ReidentifyContentResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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