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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
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
public RecordTransformations.Builder addFieldTransformations(FieldTransformation value)
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public FieldTransformation.Builder addFieldTransformationsBuilder()
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Returns
public FieldTransformation.Builder addFieldTransformationsBuilder(int index)
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public RecordTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RecordTransformations build()
Returns
public RecordTransformations buildPartial()
Returns
public RecordTransformations.Builder clear()
Returns
Overrides
public RecordTransformations.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RecordTransformations.Builder clearFieldTransformations()
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Returns
public RecordTransformations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public RecordTransformations.Builder clone()
Returns
Overrides
public RecordTransformations getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public FieldTransformation getFieldTransformations(int index)
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Parameter
Returns
public FieldTransformation.Builder getFieldTransformationsBuilder(int index)
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Parameter
Returns
public List<FieldTransformation.Builder> getFieldTransformationsBuilderList()
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Returns
public int getFieldTransformationsCount()
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Returns
public List<FieldTransformation> getFieldTransformationsList()
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Returns
public FieldTransformationOrBuilder getFieldTransformationsOrBuilder(int index)
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Parameter
Returns
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> | |
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
Returns
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
Returns
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
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
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
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
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RecordTransformations.Builder mergeFrom(RecordTransformations other)
Parameter
Returns
public RecordTransformations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RecordTransformations.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final RecordTransformations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public RecordTransformations.Builder removeFieldTransformations(int index)
Transform the record by applying various field transformations.
repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
Parameter
Returns
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
Returns
public RecordTransformations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
Returns
public RecordTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final RecordTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides