Class HybridContentItem.Builder

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HybridContentItem build()
Returns
TypeDescription
HybridContentItem

buildPartial()

public HybridContentItem buildPartial()
Returns
TypeDescription
HybridContentItem

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HybridContentItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
HybridContentItem.Builder

clearItem()

public HybridContentItem.Builder clearItem()

The item to inspect.

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

Returns
TypeDescription
HybridContentItem.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HybridContentItem getDefaultInstanceForType()
Returns
TypeDescription
HybridContentItem

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFindingDetails()

public HybridFindingDetails getFindingDetails()

Supplementary information that will be added to each finding.

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

Returns
TypeDescription
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
TypeDescription
HybridFindingDetails.Builder

getFindingDetailsOrBuilder()

public HybridFindingDetailsOrBuilder getFindingDetailsOrBuilder()

Supplementary information that will be added to each finding.

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

Returns
TypeDescription
HybridFindingDetailsOrBuilder

getItem()

public ContentItem getItem()

The item to inspect.

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

Returns
TypeDescription
ContentItem

The item.

getItemBuilder()

public ContentItem.Builder getItemBuilder()

The item to inspect.

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

Returns
TypeDescription
ContentItem.Builder

getItemOrBuilder()

public ContentItemOrBuilder getItemOrBuilder()

The item to inspect.

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

Returns
TypeDescription
ContentItemOrBuilder

hasFindingDetails()

public boolean hasFindingDetails()

Supplementary information that will be added to each finding.

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

Returns
TypeDescription
boolean

Whether the findingDetails field is set.

hasItem()

public boolean hasItem()

The item to inspect.

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

Returns
TypeDescription
boolean

Whether the item field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueHybridFindingDetails
Returns
TypeDescription
HybridContentItem.Builder

mergeFrom(HybridContentItem other)

public HybridContentItem.Builder mergeFrom(HybridContentItem other)
Parameter
NameDescription
otherHybridContentItem
Returns
TypeDescription
HybridContentItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItem(ContentItem value)

public HybridContentItem.Builder mergeItem(ContentItem value)

The item to inspect.

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

Parameter
NameDescription
valueContentItem
Returns
TypeDescription
HybridContentItem.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public HybridContentItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHybridFindingDetails
Returns
TypeDescription
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
NameDescription
builderForValueHybridFindingDetails.Builder
Returns
TypeDescription
HybridContentItem.Builder

setItem(ContentItem value)

public HybridContentItem.Builder setItem(ContentItem value)

The item to inspect.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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