Class RecordTransformations.Builder (3.59.0)

public static final class RecordTransformations.Builder extends GeneratedMessageV3.Builder<RecordTransformations.Builder> implements RecordTransformationsOrBuilder

A type of transformation that is applied over structured data such as a table.

Protobuf type google.privacy.dlp.v2.RecordTransformations

Static Methods

getDescriptor()

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

Methods

addAllFieldTransformations(Iterable<? extends FieldTransformation> values)

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

Transform the record by applying various field transformations.

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

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

addAllRecordSuppressions(Iterable<? extends RecordSuppression> values)

public RecordTransformations.Builder addAllRecordSuppressions(Iterable<? extends RecordSuppression> values)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

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

addFieldTransformations(FieldTransformation value)

public RecordTransformations.Builder addFieldTransformations(FieldTransformation value)

Transform the record by applying various field transformations.

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

Parameter
Name Description
value FieldTransformation
Returns
Type Description
RecordTransformations.Builder

addFieldTransformations(FieldTransformation.Builder builderForValue)

public RecordTransformations.Builder addFieldTransformations(FieldTransformation.Builder builderForValue)

Transform the record by applying various field transformations.

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

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

addFieldTransformations(int index, FieldTransformation value)

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

Transform the record by applying various field transformations.

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

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

addFieldTransformations(int index, FieldTransformation.Builder builderForValue)

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

Transform the record by applying various field transformations.

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

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

addFieldTransformationsBuilder()

public FieldTransformation.Builder addFieldTransformationsBuilder()

Transform the record by applying various field transformations.

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

Returns
Type Description
FieldTransformation.Builder

addFieldTransformationsBuilder(int index)

public FieldTransformation.Builder addFieldTransformationsBuilder(int index)

Transform the record by applying various field transformations.

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

Parameter
Name Description
index int
Returns
Type Description
FieldTransformation.Builder

addRecordSuppressions(RecordSuppression value)

public RecordTransformations.Builder addRecordSuppressions(RecordSuppression value)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameter
Name Description
value RecordSuppression
Returns
Type Description
RecordTransformations.Builder

addRecordSuppressions(RecordSuppression.Builder builderForValue)

public RecordTransformations.Builder addRecordSuppressions(RecordSuppression.Builder builderForValue)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

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

addRecordSuppressions(int index, RecordSuppression value)

public RecordTransformations.Builder addRecordSuppressions(int index, RecordSuppression value)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameters
Name Description
index int
value RecordSuppression
Returns
Type Description
RecordTransformations.Builder

addRecordSuppressions(int index, RecordSuppression.Builder builderForValue)

public RecordTransformations.Builder addRecordSuppressions(int index, RecordSuppression.Builder builderForValue)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameters
Name Description
index int
builderForValue RecordSuppression.Builder
Returns
Type Description
RecordTransformations.Builder

addRecordSuppressionsBuilder()

public RecordSuppression.Builder addRecordSuppressionsBuilder()

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Returns
Type Description
RecordSuppression.Builder

addRecordSuppressionsBuilder(int index)

public RecordSuppression.Builder addRecordSuppressionsBuilder(int index)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameter
Name Description
index int
Returns
Type Description
RecordSuppression.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecordTransformations build()
Returns
Type Description
RecordTransformations

buildPartial()

public RecordTransformations buildPartial()
Returns
Type Description
RecordTransformations

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldTransformations()

public RecordTransformations.Builder clearFieldTransformations()

Transform the record by applying various field transformations.

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

Returns
Type Description
RecordTransformations.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecordSuppressions()

public RecordTransformations.Builder clearRecordSuppressions()

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Returns
Type Description
RecordTransformations.Builder

clone()

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

getDefaultInstanceForType()

public RecordTransformations getDefaultInstanceForType()
Returns
Type Description
RecordTransformations

getDescriptorForType()

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

getFieldTransformations(int index)

public FieldTransformation getFieldTransformations(int index)

Transform the record by applying various field transformations.

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

Parameter
Name Description
index int
Returns
Type Description
FieldTransformation

getFieldTransformationsBuilder(int index)

public FieldTransformation.Builder getFieldTransformationsBuilder(int index)

Transform the record by applying various field transformations.

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

Parameter
Name Description
index int
Returns
Type Description
FieldTransformation.Builder

getFieldTransformationsBuilderList()

public List<FieldTransformation.Builder> getFieldTransformationsBuilderList()

Transform the record by applying various field transformations.

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

Returns
Type Description
List<Builder>

getFieldTransformationsCount()

public int getFieldTransformationsCount()

Transform the record by applying various field transformations.

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

Returns
Type Description
int

getFieldTransformationsList()

public List<FieldTransformation> getFieldTransformationsList()

Transform the record by applying various field transformations.

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

Returns
Type Description
List<FieldTransformation>

getFieldTransformationsOrBuilder(int index)

public FieldTransformationOrBuilder getFieldTransformationsOrBuilder(int index)

Transform the record by applying various field transformations.

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

Parameter
Name Description
index int
Returns
Type Description
FieldTransformationOrBuilder

getFieldTransformationsOrBuilderList()

public List<? extends FieldTransformationOrBuilder> getFieldTransformationsOrBuilderList()

Transform the record by applying various field transformations.

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

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

getRecordSuppressions(int index)

public RecordSuppression getRecordSuppressions(int index)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameter
Name Description
index int
Returns
Type Description
RecordSuppression

getRecordSuppressionsBuilder(int index)

public RecordSuppression.Builder getRecordSuppressionsBuilder(int index)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameter
Name Description
index int
Returns
Type Description
RecordSuppression.Builder

getRecordSuppressionsBuilderList()

public List<RecordSuppression.Builder> getRecordSuppressionsBuilderList()

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Returns
Type Description
List<Builder>

getRecordSuppressionsCount()

public int getRecordSuppressionsCount()

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Returns
Type Description
int

getRecordSuppressionsList()

public List<RecordSuppression> getRecordSuppressionsList()

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Returns
Type Description
List<RecordSuppression>

getRecordSuppressionsOrBuilder(int index)

public RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(int index)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameter
Name Description
index int
Returns
Type Description
RecordSuppressionOrBuilder

getRecordSuppressionsOrBuilderList()

public List<? extends RecordSuppressionOrBuilder> getRecordSuppressionsOrBuilderList()

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RecordTransformations other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFieldTransformations(int index)

public RecordTransformations.Builder removeFieldTransformations(int index)

Transform the record by applying various field transformations.

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

Parameter
Name Description
index int
Returns
Type Description
RecordTransformations.Builder

removeRecordSuppressions(int index)

public RecordTransformations.Builder removeRecordSuppressions(int index)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameter
Name Description
index int
Returns
Type Description
RecordTransformations.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldTransformations(int index, FieldTransformation value)

public RecordTransformations.Builder setFieldTransformations(int index, FieldTransformation value)

Transform the record by applying various field transformations.

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

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

setFieldTransformations(int index, FieldTransformation.Builder builderForValue)

public RecordTransformations.Builder setFieldTransformations(int index, FieldTransformation.Builder builderForValue)

Transform the record by applying various field transformations.

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

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

setRecordSuppressions(int index, RecordSuppression value)

public RecordTransformations.Builder setRecordSuppressions(int index, RecordSuppression value)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameters
Name Description
index int
value RecordSuppression
Returns
Type Description
RecordTransformations.Builder

setRecordSuppressions(int index, RecordSuppression.Builder builderForValue)

public RecordTransformations.Builder setRecordSuppressions(int index, RecordSuppression.Builder builderForValue)

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;

Parameters
Name Description
index int
builderForValue RecordSuppression.Builder
Returns
Type Description
RecordTransformations.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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