Class TransformationSummary.Builder (3.6.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.FieldTransformation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResult>
Returns
TypeDescription
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
NameDescription
valueFieldTransformation
Returns
TypeDescription
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
NameDescription
builderForValueFieldTransformation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFieldTransformation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFieldTransformation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FieldTransformation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransformationSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTransformationSummary.SummaryResult
Returns
TypeDescription
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
NameDescription
builderForValueTransformationSummary.SummaryResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTransformationSummary.SummaryResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransformationSummary.SummaryResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TransformationSummary.SummaryResult.Builder

build()

public TransformationSummary build()
Returns
TypeDescription
TransformationSummary

buildPartial()

public TransformationSummary buildPartial()
Returns
TypeDescription
TransformationSummary

clear()

public TransformationSummary.Builder clear()
Returns
TypeDescription
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
TypeDescription
TransformationSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TransformationSummary.Builder

clearTransformation()

public TransformationSummary.Builder clearTransformation()

The specific transformation these stats apply to.

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

Returns
TypeDescription
TransformationSummary.Builder

clearTransformedBytes()

public TransformationSummary.Builder clearTransformedBytes()

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Returns
TypeDescription
TransformationSummary.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TransformationSummary getDefaultInstanceForType()
Returns
TypeDescription
TransformationSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getField()

public FieldId getField()

Set if the transformation was limited to a specific FieldId.

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

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

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Set if the transformation was limited to a specific FieldId.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InfoTypeOrBuilder

getRecordSuppress()

public RecordSuppression getRecordSuppress()

The specific suppression option these stats apply to.

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

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

getRecordSuppressOrBuilder()

public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()

The specific suppression option these stats apply to.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PrimitiveTransformation

The transformation.

getTransformationBuilder()

public PrimitiveTransformation.Builder getTransformationBuilder()

The specific transformation these stats apply to.

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

Returns
TypeDescription
PrimitiveTransformation.Builder

getTransformationOrBuilder()

public PrimitiveTransformationOrBuilder getTransformationOrBuilder()

The specific transformation these stats apply to.

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

Returns
TypeDescription
PrimitiveTransformationOrBuilder

getTransformedBytes()

public long getTransformedBytes()

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the transformation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(TransformationSummary other)

public TransformationSummary.Builder mergeFrom(TransformationSummary other)
Parameter
NameDescription
otherTransformationSummary
Returns
TypeDescription
TransformationSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransformationSummary.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInfoType
Returns
TypeDescription
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
NameDescription
valueRecordSuppression
Returns
TypeDescription
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
NameDescription
valuePrimitiveTransformation
Returns
TypeDescription
TransformationSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
TransformationSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransformationSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueFieldTransformation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFieldTransformation.Builder
Returns
TypeDescription
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
NameDescription
valueInfoType
Returns
TypeDescription
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
NameDescription
builderForValueInfoType.Builder
Returns
TypeDescription
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
NameDescription
valueRecordSuppression
Returns
TypeDescription
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
NameDescription
builderForValueRecordSuppression.Builder
Returns
TypeDescription
TransformationSummary.Builder

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

public TransformationSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTransformationSummary.SummaryResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransformationSummary.SummaryResult.Builder
Returns
TypeDescription
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
NameDescription
valuePrimitiveTransformation
Returns
TypeDescription
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
NameDescription
builderForValuePrimitiveTransformation.Builder
Returns
TypeDescription
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
NameDescription
valuelong

The transformedBytes to set.

Returns
TypeDescription
TransformationSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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