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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DeidentifyConfig build()
buildPartial()
public DeidentifyConfig buildPartial()
clear()
public DeidentifyConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeidentifyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DeidentifyConfig.Builder clearImageTransformations()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DeidentifyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
public DeidentifyConfig.Builder clearTransformation()
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;
clone()
public DeidentifyConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public DeidentifyConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ImageTransformations getImageTransformations()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
public ImageTransformations.Builder getImageTransformationsBuilder()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
public ImageTransformationsOrBuilder getImageTransformationsOrBuilder()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
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;
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;
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;
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;
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;
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;
public DeidentifyConfig.TransformationCase getTransformationCase()
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;
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;
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;
public boolean hasImageTransformations()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
Returns |
---|
Type | Description |
boolean | Whether the imageTransformations field is set.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DeidentifyConfig other)
public DeidentifyConfig.Builder mergeFrom(DeidentifyConfig other)
public DeidentifyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DeidentifyConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public DeidentifyConfig.Builder mergeImageTransformations(ImageTransformations value)
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
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;
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeidentifyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeidentifyConfig.Builder setImageTransformations(ImageTransformations value)
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
public DeidentifyConfig.Builder setImageTransformations(ImageTransformations.Builder builderForValue)
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeidentifyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final DeidentifyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides