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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeidentifyContentResponse build()
Returns
buildPartial()
public DeidentifyContentResponse buildPartial()
Returns
clear()
public DeidentifyContentResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeidentifyContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearItem()
public DeidentifyContentResponse.Builder clearItem()
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DeidentifyContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public DeidentifyContentResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeidentifyContentResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getItem()
public ContentItem getItem()
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Returns
getItemBuilder()
public ContentItem.Builder getItemBuilder()
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Returns
getItemOrBuilder()
public ContentItemOrBuilder getItemOrBuilder()
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Returns
getOverview()
public TransformationOverview getOverview()
An overview of the changes that were made on the item
.
.google.privacy.dlp.v2.TransformationOverview overview = 2;
Returns
getOverviewBuilder()
public TransformationOverview.Builder getOverviewBuilder()
An overview of the changes that were made on the item
.
.google.privacy.dlp.v2.TransformationOverview overview = 2;
Returns
getOverviewOrBuilder()
public TransformationOverviewOrBuilder getOverviewOrBuilder()
An overview of the changes that were made on the item
.
.google.privacy.dlp.v2.TransformationOverview overview = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeidentifyContentResponse other)
public DeidentifyContentResponse.Builder mergeFrom(DeidentifyContentResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeidentifyContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeidentifyContentResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeItem(ContentItem value)
public DeidentifyContentResponse.Builder mergeItem(ContentItem value)
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setItem(ContentItem value)
public DeidentifyContentResponse.Builder setItem(ContentItem value)
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Parameter
Returns
setItem(ContentItem.Builder builderForValue)
public DeidentifyContentResponse.Builder setItem(ContentItem.Builder builderForValue)
The de-identified item.
.google.privacy.dlp.v2.ContentItem item = 1;
Parameter
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeidentifyContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides