Package com.google.privacy.dlp.v2
Class DeidentifyConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeidentifyConfig.Builder>
com.google.privacy.dlp.v2.DeidentifyConfig.Builder
- All Implemented Interfaces:
DeidentifyConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeidentifyConfig
public static final class DeidentifyConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeidentifyConfig.Builder>
implements DeidentifyConfigOrBuilder
The configuration that controls how the data will change.Protobuf type
google.privacy.dlp.v2.DeidentifyConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Treat the dataset as an image and redact.Treat the dataset as free-form text and apply the same free text transformation everywhere.Treat the dataset as structured.Mode for handling transformation errors.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorTreat the dataset as an image and redact.Treat the dataset as an image and redact.Treat the dataset as an image and redact.Treat the dataset as free-form text and apply the same free text transformation everywhere.Treat the dataset as free-form text and apply the same free text transformation everywhere.Treat the dataset as free-form text and apply the same free text transformation everywhere.Treat the dataset as structured.Treat the dataset as structured.Treat the dataset as structured.Mode for handling transformation errors.Mode for handling transformation errors.Mode for handling transformation errors.booleanTreat the dataset as an image and redact.booleanTreat the dataset as free-form text and apply the same free text transformation everywhere.booleanTreat the dataset as structured.booleanMode for handling transformation errors.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DeidentifyConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Treat the dataset as an image and redact.Treat the dataset as free-form text and apply the same free text transformation everywhere.Treat the dataset as structured.Mode for handling transformation errors.Treat the dataset as an image and redact.setImageTransformations(ImageTransformations.Builder builderForValue) Treat the dataset as an image and redact.Treat the dataset as free-form text and apply the same free text transformation everywhere.setInfoTypeTransformations(InfoTypeTransformations.Builder builderForValue) Treat the dataset as free-form text and apply the same free text transformation everywhere.Treat the dataset as structured.setRecordTransformations(RecordTransformations.Builder builderForValue) Treat the dataset as structured.Mode for handling transformation errors.setTransformationErrorHandling(TransformationErrorHandling.Builder builderForValue) Mode for handling transformation errors.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeidentifyConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeidentifyConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeidentifyConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeidentifyConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeidentifyConfig.Builder>
-
mergeFrom
public DeidentifyConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeidentifyConfig.Builder>- Throws:
IOException
-
getTransformationCase
- Specified by:
getTransformationCasein interfaceDeidentifyConfigOrBuilder
-
clearTransformation
-
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;- Specified by:
hasInfoTypeTransformationsin interfaceDeidentifyConfigOrBuilder- Returns:
- Whether the infoTypeTransformations field is set.
-
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;- Specified by:
getInfoTypeTransformationsin interfaceDeidentifyConfigOrBuilder- Returns:
- The infoTypeTransformations.
-
setInfoTypeTransformations
Treat the dataset as free-form text and apply the same free text transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; -
setInfoTypeTransformations
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; -
mergeInfoTypeTransformations
Treat the dataset as free-form text and apply the same free text transformation everywhere.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; -
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; -
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; -
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;- Specified by:
getInfoTypeTransformationsOrBuilderin interfaceDeidentifyConfigOrBuilder
-
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;- Specified by:
hasRecordTransformationsin interfaceDeidentifyConfigOrBuilder- Returns:
- Whether the recordTransformations field is set.
-
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;- Specified by:
getRecordTransformationsin interfaceDeidentifyConfigOrBuilder- Returns:
- The recordTransformations.
-
setRecordTransformations
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; -
setRecordTransformations
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; -
mergeRecordTransformations
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; -
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; -
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; -
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;- Specified by:
getRecordTransformationsOrBuilderin interfaceDeidentifyConfigOrBuilder
-
hasImageTransformations
public boolean hasImageTransformations()Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;- Specified by:
hasImageTransformationsin interfaceDeidentifyConfigOrBuilder- Returns:
- Whether the imageTransformations field is set.
-
getImageTransformations
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;- Specified by:
getImageTransformationsin interfaceDeidentifyConfigOrBuilder- Returns:
- The imageTransformations.
-
setImageTransformations
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4; -
setImageTransformations
public DeidentifyConfig.Builder setImageTransformations(ImageTransformations.Builder builderForValue) Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4; -
mergeImageTransformations
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4; -
clearImageTransformations
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4; -
getImageTransformationsBuilder
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4; -
getImageTransformationsOrBuilder
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;- Specified by:
getImageTransformationsOrBuilderin interfaceDeidentifyConfigOrBuilder
-
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;- Specified by:
hasTransformationErrorHandlingin interfaceDeidentifyConfigOrBuilder- Returns:
- Whether the transformationErrorHandling field is set.
-
getTransformationErrorHandling
Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;- Specified by:
getTransformationErrorHandlingin interfaceDeidentifyConfigOrBuilder- Returns:
- The transformationErrorHandling.
-
setTransformationErrorHandling
Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; -
setTransformationErrorHandling
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; -
mergeTransformationErrorHandling
Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; -
clearTransformationErrorHandling
Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; -
getTransformationErrorHandlingBuilder
Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; -
getTransformationErrorHandlingOrBuilder
Mode for handling transformation errors. If left unspecified, the default mode is `TransformationErrorHandling.ThrowError`.
.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;- Specified by:
getTransformationErrorHandlingOrBuilderin interfaceDeidentifyConfigOrBuilder
-