public static final class DeidentifyConfig.Builder extends GeneratedMessageV3.Builder<DeidentifyConfig.Builder> implements DeidentifyConfigOrBuilder
The configuration that controls how the data will change.
Protobuf type google.privacy.dlp.v2.DeidentifyConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeidentifyConfig build()
Returns
buildPartial()
public DeidentifyConfig buildPartial()
Returns
clear()
public DeidentifyConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeidentifyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeidentifyConfig.Builder clearInfoTypeTransformations()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DeidentifyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DeidentifyConfig.Builder clearRecordTransformations()
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Returns
public DeidentifyConfig.Builder clearTransformation()
Returns
public DeidentifyConfig.Builder clearTransformationErrorHandling()
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Returns
clone()
public DeidentifyConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeidentifyConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public InfoTypeTransformations getInfoTypeTransformations()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Returns
public InfoTypeTransformations.Builder getInfoTypeTransformationsBuilder()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Returns
public InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Returns
public RecordTransformations getRecordTransformations()
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Returns
public RecordTransformations.Builder getRecordTransformationsBuilder()
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Returns
public RecordTransformationsOrBuilder getRecordTransformationsOrBuilder()
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Returns
public DeidentifyConfig.TransformationCase getTransformationCase()
Returns
public TransformationErrorHandling getTransformationErrorHandling()
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Returns
public TransformationErrorHandling.Builder getTransformationErrorHandlingBuilder()
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Returns
public TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder()
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Returns
public boolean hasInfoTypeTransformations()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Returns
Type | Description |
boolean | Whether the infoTypeTransformations field is set.
|
public boolean hasRecordTransformations()
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Returns
Type | Description |
boolean | Whether the recordTransformations field is set.
|
public boolean hasTransformationErrorHandling()
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Returns
Type | Description |
boolean | Whether the transformationErrorHandling field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeidentifyConfig other)
public DeidentifyConfig.Builder mergeFrom(DeidentifyConfig other)
Parameter
Returns
public DeidentifyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeidentifyConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public DeidentifyConfig.Builder mergeInfoTypeTransformations(InfoTypeTransformations value)
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Parameter
Returns
public DeidentifyConfig.Builder mergeRecordTransformations(RecordTransformations value)
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Parameter
Returns
public DeidentifyConfig.Builder mergeTransformationErrorHandling(TransformationErrorHandling value)
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeidentifyConfig.Builder setInfoTypeTransformations(InfoTypeTransformations value)
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Parameter
Returns
public DeidentifyConfig.Builder setInfoTypeTransformations(InfoTypeTransformations.Builder builderForValue)
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
Parameter
Returns
public DeidentifyConfig.Builder setRecordTransformations(RecordTransformations value)
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Parameter
Returns
public DeidentifyConfig.Builder setRecordTransformations(RecordTransformations.Builder builderForValue)
Treat the dataset as structured. Transformations can be applied to
specific locations within structured datasets, such as transforming
a column within a table.
.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeidentifyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public DeidentifyConfig.Builder setTransformationErrorHandling(TransformationErrorHandling value)
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Parameter
Returns
public DeidentifyConfig.Builder setTransformationErrorHandling(TransformationErrorHandling.Builder builderForValue)
Mode for handling transformation errors. If left unspecified, the default
mode is TransformationErrorHandling.ThrowError
.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides