Class HybridFindingDetails.Builder (3.50.0)

public static final class HybridFindingDetails.Builder extends GeneratedMessageV3.Builder<HybridFindingDetails.Builder> implements HybridFindingDetailsOrBuilder

Populate to associate additional data with each finding.

Protobuf type google.privacy.dlp.v2.HybridFindingDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HybridFindingDetails build()
Returns
Type Description
HybridFindingDetails

buildPartial()

public HybridFindingDetails buildPartial()
Returns
Type Description
HybridFindingDetails

clear()

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

clearContainerDetails()

public HybridFindingDetails.Builder clearContainerDetails()

Details about the container where the content being inspected is from.

.google.privacy.dlp.v2.Container container_details = 1;

Returns
Type Description
HybridFindingDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFileOffset()

public HybridFindingDetails.Builder clearFileOffset()

Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.

int64 file_offset = 2;

Returns
Type Description
HybridFindingDetails.Builder

This builder for chaining.