Class DeidentifyConfig.Builder (3.6.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeidentifyConfig build()
Returns
TypeDescription
DeidentifyConfig

buildPartial()

public DeidentifyConfig buildPartial()
Returns
TypeDescription
DeidentifyConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeidentifyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeidentifyConfig.Builder
Overrides

clearInfoTypeTransformations()

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
TypeDescription
DeidentifyConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DeidentifyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeidentifyConfig.Builder
Overrides

clearRecordTransformations()

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
TypeDescription
DeidentifyConfig.Builder

clearTransformation()

public DeidentifyConfig.Builder clearTransformation()
Returns
TypeDescription
DeidentifyConfig.Builder

clearTransformationErrorHandling()

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
TypeDescription
DeidentifyConfig.Builder

clone()

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

getDefaultInstanceForType()

public DeidentifyConfig getDefaultInstanceForType()
Returns
TypeDescription
DeidentifyConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInfoTypeTransformations()

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
TypeDescription
InfoTypeTransformations

The infoTypeTransformations.

getInfoTypeTransformationsBuilder()

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
TypeDescription
InfoTypeTransformations.Builder

getInfoTypeTransformationsOrBuilder()

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
TypeDescription
InfoTypeTransformationsOrBuilder

getRecordTransformations()

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
TypeDescription
RecordTransformations

The recordTransformations.

getRecordTransformationsBuilder()

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
TypeDescription
RecordTransformations.Builder

getRecordTransformationsOrBuilder()

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
TypeDescription
RecordTransformationsOrBuilder

getTransformationCase()

public DeidentifyConfig.TransformationCase getTransformationCase()
Returns
TypeDescription
DeidentifyConfig.TransformationCase

getTransformationErrorHandling()

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
TypeDescription
TransformationErrorHandling

The transformationErrorHandling.

getTransformationErrorHandlingBuilder()

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
TypeDescription
TransformationErrorHandling.Builder

getTransformationErrorHandlingOrBuilder()

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
TypeDescription
TransformationErrorHandlingOrBuilder

hasInfoTypeTransformations()

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
TypeDescription
boolean

Whether the infoTypeTransformations field is set.

hasRecordTransformations()

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
TypeDescription
boolean

Whether the recordTransformations field is set.

hasTransformationErrorHandling()

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
TypeDescription
boolean

Whether the transformationErrorHandling field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeidentifyConfig other)

public DeidentifyConfig.Builder mergeFrom(DeidentifyConfig other)
Parameter
NameDescription
otherDeidentifyConfig
Returns
TypeDescription
DeidentifyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInfoTypeTransformations(InfoTypeTransformations value)

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
NameDescription
valueInfoTypeTransformations
Returns
TypeDescription
DeidentifyConfig.Builder

mergeRecordTransformations(RecordTransformations value)

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
NameDescription
valueRecordTransformations
Returns
TypeDescription
DeidentifyConfig.Builder

mergeTransformationErrorHandling(TransformationErrorHandling value)

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
NameDescription
valueTransformationErrorHandling
Returns
TypeDescription
DeidentifyConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeidentifyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeidentifyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setInfoTypeTransformations(InfoTypeTransformations value)

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
NameDescription
valueInfoTypeTransformations
Returns
TypeDescription
DeidentifyConfig.Builder

setInfoTypeTransformations(InfoTypeTransformations.Builder builderForValue)

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
NameDescription
builderForValueInfoTypeTransformations.Builder
Returns
TypeDescription
DeidentifyConfig.Builder

setRecordTransformations(RecordTransformations value)

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
NameDescription
valueRecordTransformations
Returns
TypeDescription
DeidentifyConfig.Builder

setRecordTransformations(RecordTransformations.Builder builderForValue)

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
NameDescription
builderForValueRecordTransformations.Builder
Returns
TypeDescription
DeidentifyConfig.Builder

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

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

setTransformationErrorHandling(TransformationErrorHandling value)

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
NameDescription
valueTransformationErrorHandling
Returns
TypeDescription
DeidentifyConfig.Builder

setTransformationErrorHandling(TransformationErrorHandling.Builder builderForValue)

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
NameDescription
builderForValueTransformationErrorHandling.Builder
Returns
TypeDescription
DeidentifyConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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