Class TransformationSummary.SummaryResult.Builder (3.48.0)

public static final class TransformationSummary.SummaryResult.Builder extends GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder> implements TransformationSummary.SummaryResultOrBuilder

A collection that informs the user the number of times a particular TransformationResultCode and error details occurred.

Protobuf type google.privacy.dlp.v2.TransformationSummary.SummaryResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransformationSummary.SummaryResult build()
Returns
Type Description
TransformationSummary.SummaryResult

buildPartial()

public TransformationSummary.SummaryResult buildPartial()
Returns
Type Description
TransformationSummary.SummaryResult

clear()

public TransformationSummary.SummaryResult.Builder clear()
Returns
Type Description
TransformationSummary.SummaryResult.Builder
Overrides

clearCode()

public TransformationSummary.SummaryResult.Builder clearCode()

Outcome of the transformation.

.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

clearCount()

public TransformationSummary.SummaryResult.Builder clearCount()

Number of transformations counted by this result.

int64 count = 1;

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

clearDetails()

public TransformationSummary.SummaryResult.Builder clearDetails()

A place for warnings or errors to show up if a transformation didn't work as expected.

string details = 3;

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TransformationSummary.SummaryResult.Builder clone()
Returns
Type Description
TransformationSummary.SummaryResult.Builder
Overrides