Class TransformationSummary.Builder (3.47.0)

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

Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.

Protobuf type google.privacy.dlp.v2.TransformationSummary

Static Methods

getDescriptor()

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

Methods

addAllFieldTransformations(Iterable<? extends FieldTransformation> values)

public TransformationSummary.Builder addAllFieldTransformations(Iterable<? extends FieldTransformation> values)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FieldTransformation>
Returns
Type Description
TransformationSummary.Builder

addAllResults(Iterable<? extends TransformationSummary.SummaryResult> values)

public TransformationSummary.Builder addAllResults(Iterable<? extends TransformationSummary.SummaryResult> values)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResult>
Returns
Type Description
TransformationSummary.Builder

addFieldTransformations(FieldTransformation value)

public TransformationSummary.Builder addFieldTransformations(FieldTransformation value)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameter
Name Description
value FieldTransformation
Returns
Type Description
TransformationSummary.Builder

addFieldTransformations(FieldTransformation.Builder builderForValue)

public TransformationSummary.Builder addFieldTransformations(FieldTransformation.Builder builderForValue)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameter
Name Description
builderForValue FieldTransformation.Builder
Returns
Type Description
TransformationSummary.Builder

addFieldTransformations(int index, FieldTransformation value)

public TransformationSummary.Builder addFieldTransformations(int index, FieldTransformation value)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameters
Name Description
index int
value FieldTransformation
Returns
Type Description
TransformationSummary.Builder

addFieldTransformations(int index, FieldTransformation.Builder builderForValue)

public TransformationSummary.Builder addFieldTransformations(int index, FieldTransformation.Builder builderForValue)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameters
Name Description
index int
builderForValue FieldTransformation.Builder
Returns
Type Description
TransformationSummary.Builder

addFieldTransformationsBuilder()

public FieldTransformation.Builder addFieldTransformationsBuilder()

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Returns
Type Description
FieldTransformation.Builder

addFieldTransformationsBuilder(int index)

public FieldTransformation.Builder addFieldTransformationsBuilder(int index)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameter
Name Description
index int
Returns
Type Description
FieldTransformation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResults(TransformationSummary.SummaryResult value)

public TransformationSummary.Builder addResults(TransformationSummary.SummaryResult value)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameter
Name Description
value TransformationSummary.SummaryResult
Returns
Type Description
TransformationSummary.Builder

addResults(TransformationSummary.SummaryResult.Builder builderForValue)

public TransformationSummary.Builder addResults(TransformationSummary.SummaryResult.Builder builderForValue)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameter
Name Description
builderForValue TransformationSummary.SummaryResult.Builder
Returns
Type Description
TransformationSummary.Builder

addResults(int index, TransformationSummary.SummaryResult value)

public TransformationSummary.Builder addResults(int index, TransformationSummary.SummaryResult value)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameters
Name Description
index int
value TransformationSummary.SummaryResult
Returns
Type Description
TransformationSummary.Builder

addResults(int index, TransformationSummary.SummaryResult.Builder builderForValue)

public TransformationSummary.Builder addResults(int index, TransformationSummary.SummaryResult.Builder builderForValue)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameters
Name Description
index int
builderForValue TransformationSummary.SummaryResult.Builder
Returns
Type Description
TransformationSummary.Builder

addResultsBuilder()

public TransformationSummary.SummaryResult.Builder addResultsBuilder()

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Returns
Type Description