Class RecordTransformations.Builder (3.12.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.FieldTransformation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.RecordSuppression>
Returns
TypeDescription
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
NameDescription
valueFieldTransformation
Returns
TypeDescription
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
NameDescription
builderForValueFieldTransformation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFieldTransformation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFieldTransformation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueRecordSuppression
Returns
TypeDescription
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
NameDescription
builderForValueRecordSuppression.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRecordSuppression
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRecordSuppression.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RecordSuppression.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecordTransformations.Builder
Overrides

build()

public RecordTransformations build()
Returns
TypeDescription
RecordTransformations

buildPartial()

public RecordTransformations buildPartial()
Returns
TypeDescription
RecordTransformations

clear()

public RecordTransformations.Builder clear()
Returns
TypeDescription
RecordTransformations.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RecordTransformations getDefaultInstanceForType()
Returns
TypeDescription
RecordTransformations

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getFieldTransformationsCount()

public int getFieldTransformationsCount()

Transform the record by applying various field transformations.

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

Returns
TypeDescription
int

getFieldTransformationsList()

public List<FieldTransformation> getFieldTransformationsList()

Transform the record by applying various field transformations.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RecordTransformations other)

public RecordTransformations.Builder mergeFrom(RecordTransformations other)
Parameter
NameDescription
otherRecordTransformations
Returns
TypeDescription
RecordTransformations.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RecordTransformations.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RecordTransformations.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RecordTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecordTransformations.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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