Class TransformationSummary.Builder (3.57.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
TransformationSummary.SummaryResult.Builder

addResultsBuilder(int index)

public TransformationSummary.SummaryResult.Builder addResultsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.SummaryResult.Builder

build()

public TransformationSummary build()
Returns
Type Description
TransformationSummary

buildPartial()

public TransformationSummary buildPartial()
Returns
Type Description
TransformationSummary

clear()

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

clearField()

public TransformationSummary.Builder clearField()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
TransformationSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFieldTransformations()

public TransformationSummary.Builder clearFieldTransformations()

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
TransformationSummary.Builder

clearInfoType()

public TransformationSummary.Builder clearInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
TransformationSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecordSuppress()

public TransformationSummary.Builder clearRecordSuppress()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
TransformationSummary.Builder

clearResults()

public TransformationSummary.Builder clearResults()

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

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

Returns
Type Description
TransformationSummary.Builder

clearTransformation()

public TransformationSummary.Builder clearTransformation()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
TransformationSummary.Builder

clearTransformedBytes()

public TransformationSummary.Builder clearTransformedBytes()

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Returns
Type Description
TransformationSummary.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TransformationSummary getDefaultInstanceForType()
Returns
Type Description
TransformationSummary

getDescriptorForType()

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

getField()

public FieldId getField()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
FieldId

The field.

getFieldBuilder()

public FieldId.Builder getFieldBuilder()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
FieldIdOrBuilder

getFieldTransformations(int index)

public FieldTransformation getFieldTransformations(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

getFieldTransformationsBuilder(int index)

public FieldTransformation.Builder getFieldTransformationsBuilder(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

getFieldTransformationsBuilderList()

public List<FieldTransformation.Builder> getFieldTransformationsBuilderList()

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
List<Builder>

getFieldTransformationsCount()

public int getFieldTransformationsCount()

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
int

getFieldTransformationsList()

public List<FieldTransformation> getFieldTransformationsList()

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
List<FieldTransformation>

getFieldTransformationsOrBuilder(int index)

public FieldTransformationOrBuilder getFieldTransformationsOrBuilder(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
FieldTransformationOrBuilder

getFieldTransformationsOrBuilderList()

public List<? extends FieldTransformationOrBuilder> getFieldTransformationsOrBuilderList()

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
List<? extends com.google.privacy.dlp.v2.FieldTransformationOrBuilder>

getInfoType()

public InfoType getInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoType

The infoType.

getInfoTypeBuilder()

public InfoType.Builder getInfoTypeBuilder()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoType.Builder

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoTypeOrBuilder

getRecordSuppress()

public RecordSuppression getRecordSuppress()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
RecordSuppression

The recordSuppress.

getRecordSuppressBuilder()

public RecordSuppression.Builder getRecordSuppressBuilder()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
RecordSuppression.Builder

getRecordSuppressOrBuilder()

public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
RecordSuppressionOrBuilder

getResults(int index)

public TransformationSummary.SummaryResult getResults(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.SummaryResult

getResultsBuilder(int index)

public TransformationSummary.SummaryResult.Builder getResultsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.SummaryResult.Builder

getResultsBuilderList()

public List<TransformationSummary.SummaryResult.Builder> getResultsBuilderList()

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

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

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

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

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

Returns
Type Description
int

getResultsList()

public List<TransformationSummary.SummaryResult> getResultsList()

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

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

Returns
Type Description
List<SummaryResult>

getResultsOrBuilder(int index)

public TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.SummaryResultOrBuilder

getResultsOrBuilderList()

public List<? extends TransformationSummary.SummaryResultOrBuilder> getResultsOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>

getTransformation()

public PrimitiveTransformation getTransformation()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
PrimitiveTransformation

The transformation.

getTransformationBuilder()

public PrimitiveTransformation.Builder getTransformationBuilder()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
PrimitiveTransformation.Builder

getTransformationOrBuilder()

public PrimitiveTransformationOrBuilder getTransformationOrBuilder()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
PrimitiveTransformationOrBuilder

getTransformedBytes()

public long getTransformedBytes()

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Returns
Type Description
long

The transformedBytes.

hasField()

public boolean hasField()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
boolean

Whether the field field is set.

hasInfoType()

public boolean hasInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
boolean

Whether the infoType field is set.

hasRecordSuppress()

public boolean hasRecordSuppress()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
boolean

Whether the recordSuppress field is set.

hasTransformation()

public boolean hasTransformation()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
boolean

Whether the transformation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeField(FieldId value)

public TransformationSummary.Builder mergeField(FieldId value)

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Parameter
Name Description
value FieldId
Returns
Type Description
TransformationSummary.Builder

mergeFrom(TransformationSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInfoType(InfoType value)

public TransformationSummary.Builder mergeInfoType(InfoType value)

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Parameter
Name Description
value InfoType
Returns
Type Description
TransformationSummary.Builder

mergeRecordSuppress(RecordSuppression value)

public TransformationSummary.Builder mergeRecordSuppress(RecordSuppression value)

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Parameter
Name Description
value RecordSuppression
Returns
Type Description
TransformationSummary.Builder

mergeTransformation(PrimitiveTransformation value)

public TransformationSummary.Builder mergeTransformation(PrimitiveTransformation value)

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Parameter
Name Description
value PrimitiveTransformation
Returns
Type Description
TransformationSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFieldTransformations(int index)

public TransformationSummary.Builder removeFieldTransformations(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
TransformationSummary.Builder

removeResults(int index)

public TransformationSummary.Builder removeResults(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.Builder

setField(FieldId value)

public TransformationSummary.Builder setField(FieldId value)

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Parameter
Name Description
value FieldId
Returns
Type Description
TransformationSummary.Builder

setField(FieldId.Builder builderForValue)

public TransformationSummary.Builder setField(FieldId.Builder builderForValue)

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldTransformations(int index, FieldTransformation value)

public TransformationSummary.Builder setFieldTransformations(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

setFieldTransformations(int index, FieldTransformation.Builder builderForValue)

public TransformationSummary.Builder setFieldTransformations(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

setInfoType(InfoType value)

public TransformationSummary.Builder setInfoType(InfoType value)

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Parameter
Name Description
value InfoType
Returns
Type Description
TransformationSummary.Builder

setInfoType(InfoType.Builder builderForValue)

public TransformationSummary.Builder setInfoType(InfoType.Builder builderForValue)

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

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

setRecordSuppress(RecordSuppression value)

public TransformationSummary.Builder setRecordSuppress(RecordSuppression value)

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Parameter
Name Description
value RecordSuppression
Returns
Type Description
TransformationSummary.Builder

setRecordSuppress(RecordSuppression.Builder builderForValue)

public TransformationSummary.Builder setRecordSuppress(RecordSuppression.Builder builderForValue)

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

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

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

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

setResults(int index, TransformationSummary.SummaryResult value)

public TransformationSummary.Builder setResults(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

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

public TransformationSummary.Builder setResults(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

setTransformation(PrimitiveTransformation value)

public TransformationSummary.Builder setTransformation(PrimitiveTransformation value)

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Parameter
Name Description
value PrimitiveTransformation
Returns
Type Description
TransformationSummary.Builder

setTransformation(PrimitiveTransformation.Builder builderForValue)

public TransformationSummary.Builder setTransformation(PrimitiveTransformation.Builder builderForValue)

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

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

setTransformedBytes(long value)

public TransformationSummary.Builder setTransformedBytes(long value)

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Parameter
Name Description
value long

The transformedBytes to set.

Returns
Type Description
TransformationSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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