Class HybridContentItem.Builder (3.49.0)

public static final class HybridContentItem.Builder extends GeneratedMessageV3.Builder<HybridContentItem.Builder> implements HybridContentItemOrBuilder

An individual hybrid item to inspect. Will be stored temporarily during processing.

Protobuf type google.privacy.dlp.v2.HybridContentItem

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HybridContentItem build()
Returns
Type Description
HybridContentItem

buildPartial()

public HybridContentItem buildPartial()
Returns
Type Description
HybridContentItem

clear()

public HybridContentItem.Builder clear()
Returns
Type Description
HybridContentItem.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HybridContentItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HybridContentItem.Builder
Overrides

clearFindingDetails()

public HybridContentItem.Builder clearFindingDetails()

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Returns
Type Description
HybridContentItem.Builder

clearItem()

public HybridContentItem.Builder clearItem()

The item to inspect.

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

Returns
Type Description
HybridContentItem.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HybridContentItem getDefaultInstanceForType()
Returns
Type Description
HybridContentItem

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFindingDetails()

public HybridFindingDetails getFindingDetails()

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Returns
Type Description
HybridFindingDetails

The findingDetails.

getFindingDetailsBuilder()

public HybridFindingDetails.Builder getFindingDetailsBuilder()

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Returns
Type Description
HybridFindingDetails.Builder

getFindingDetailsOrBuilder()

public HybridFindingDetailsOrBuilder getFindingDetailsOrBuilder()

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Returns
Type Description
HybridFindingDetailsOrBuilder

getItem()

public ContentItem getItem()

The item to inspect.

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

Returns
Type Description
ContentItem

The item.

getItemBuilder()

public ContentItem.Builder getItemBuilder()

The item to inspect.

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

Returns
Type Description
ContentItem.Builder

getItemOrBuilder()

public ContentItemOrBuilder getItemOrBuilder()

The item to inspect.

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

Returns
Type Description
ContentItemOrBuilder

hasFindingDetails()

public boolean hasFindingDetails()

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Returns
Type Description
boolean

Whether the findingDetails field is set.

hasItem()

public boolean hasItem()

The item to inspect.

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

Returns
Type Description
boolean

Whether the item field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFindingDetails(HybridFindingDetails value)

public HybridContentItem.Builder mergeFindingDetails(HybridFindingDetails value)

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Parameter
Name Description
value HybridFindingDetails
Returns
Type Description
HybridContentItem.Builder

mergeFrom(HybridContentItem other)

public HybridContentItem.Builder mergeFrom(HybridContentItem other)
Parameter
Name Description
other HybridContentItem
Returns
Type Description
HybridContentItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HybridContentItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridContentItem.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HybridContentItem.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HybridContentItem.Builder
Overrides

mergeItem(ContentItem value)

public HybridContentItem.Builder mergeItem(ContentItem value)

The item to inspect.

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

Parameter
Name Description
value ContentItem
Returns
Type Description
HybridContentItem.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFindingDetails(HybridFindingDetails value)

public HybridContentItem.Builder setFindingDetails(HybridFindingDetails value)

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Parameter
Name Description
value HybridFindingDetails
Returns
Type Description
HybridContentItem.Builder

setFindingDetails(HybridFindingDetails.Builder builderForValue)

public HybridContentItem.Builder setFindingDetails(HybridFindingDetails.Builder builderForValue)

Supplementary information that will be added to each finding.

.google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;

Parameter
Name Description
builderForValue HybridFindingDetails.Builder
Returns
Type Description
HybridContentItem.Builder

setItem(ContentItem value)

public HybridContentItem.Builder setItem(ContentItem value)

The item to inspect.

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

Parameter
Name Description
value ContentItem
Returns
Type Description
HybridContentItem.Builder

setItem(ContentItem.Builder builderForValue)

public HybridContentItem.Builder setItem(ContentItem.Builder builderForValue)

The item to inspect.

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

Parameter
Name Description
builderForValue ContentItem.Builder
Returns
Type Description
HybridContentItem.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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