public static final class DeidentifyConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder> implements DeidentifyConfigOrBuilder
The configuration that controls how the data will change.Protobuf type
google.privacy.dlp.v2.DeidentifyConfig| Modifier and Type | Method and Description |
|---|---|
DeidentifyConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeidentifyConfig |
build() |
DeidentifyConfig |
buildPartial() |
DeidentifyConfig.Builder |
clear() |
DeidentifyConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DeidentifyConfig.Builder |
clearImageTransformations()
Treat the dataset as an image and redact.
|
DeidentifyConfig.Builder |
clearInfoTypeTransformations()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
DeidentifyConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeidentifyConfig.Builder |
clearRecordTransformations()
Treat the dataset as structured.
|
DeidentifyConfig.Builder |
clearTransformation() |
DeidentifyConfig.Builder |
clearTransformationErrorHandling()
Mode for handling transformation errors.
|
DeidentifyConfig.Builder |
clone() |
DeidentifyConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImageTransformations |
getImageTransformations()
Treat the dataset as an image and redact.
|
ImageTransformations.Builder |
getImageTransformationsBuilder()
Treat the dataset as an image and redact.
|
ImageTransformationsOrBuilder |
getImageTransformationsOrBuilder()
Treat the dataset as an image and redact.
|
InfoTypeTransformations |
getInfoTypeTransformations()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
InfoTypeTransformations.Builder |
getInfoTypeTransformationsBuilder()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
InfoTypeTransformationsOrBuilder |
getInfoTypeTransformationsOrBuilder()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
RecordTransformations |
getRecordTransformations()
Treat the dataset as structured.
|
RecordTransformations.Builder |
getRecordTransformationsBuilder()
Treat the dataset as structured.
|
RecordTransformationsOrBuilder |
getRecordTransformationsOrBuilder()
Treat the dataset as structured.
|
DeidentifyConfig.TransformationCase |
getTransformationCase() |
TransformationErrorHandling |
getTransformationErrorHandling()
Mode for handling transformation errors.
|
TransformationErrorHandling.Builder |
getTransformationErrorHandlingBuilder()
Mode for handling transformation errors.
|
TransformationErrorHandlingOrBuilder |
getTransformationErrorHandlingOrBuilder()
Mode for handling transformation errors.
|
boolean |
hasImageTransformations()
Treat the dataset as an image and redact.
|
boolean |
hasInfoTypeTransformations()
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
boolean |
hasRecordTransformations()
Treat the dataset as structured.
|
boolean |
hasTransformationErrorHandling()
Mode for handling transformation errors.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeidentifyConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeidentifyConfig.Builder |
mergeFrom(DeidentifyConfig other) |
DeidentifyConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeidentifyConfig.Builder |
mergeImageTransformations(ImageTransformations value)
Treat the dataset as an image and redact.
|
DeidentifyConfig.Builder |
mergeInfoTypeTransformations(InfoTypeTransformations value)
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
DeidentifyConfig.Builder |
mergeRecordTransformations(RecordTransformations value)
Treat the dataset as structured.
|
DeidentifyConfig.Builder |
mergeTransformationErrorHandling(TransformationErrorHandling value)
Mode for handling transformation errors.
|
DeidentifyConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeidentifyConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeidentifyConfig.Builder |
setImageTransformations(ImageTransformations.Builder builderForValue)
Treat the dataset as an image and redact.
|
DeidentifyConfig.Builder |
setImageTransformations(ImageTransformations value)
Treat the dataset as an image and redact.
|
DeidentifyConfig.Builder |
setInfoTypeTransformations(InfoTypeTransformations.Builder builderForValue)
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
DeidentifyConfig.Builder |
setInfoTypeTransformations(InfoTypeTransformations value)
Treat the dataset as free-form text and apply the same free text
transformation everywhere.
|
DeidentifyConfig.Builder |
setRecordTransformations(RecordTransformations.Builder builderForValue)
Treat the dataset as structured.
|
DeidentifyConfig.Builder |
setRecordTransformations(RecordTransformations value)
Treat the dataset as structured.
|
DeidentifyConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeidentifyConfig.Builder |
setTransformationErrorHandling(TransformationErrorHandling.Builder builderForValue)
Mode for handling transformation errors.
|
DeidentifyConfig.Builder |
setTransformationErrorHandling(TransformationErrorHandling value)
Mode for handling transformation errors.
|
DeidentifyConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeidentifyConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeidentifyConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeidentifyConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder mergeFrom(DeidentifyConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public DeidentifyConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeidentifyConfig.Builder>IOExceptionpublic DeidentifyConfig.TransformationCase getTransformationCase()
getTransformationCase in interface DeidentifyConfigOrBuilderpublic DeidentifyConfig.Builder clearTransformation()
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;hasInfoTypeTransformations in interface DeidentifyConfigOrBuilderpublic 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;getInfoTypeTransformations in interface DeidentifyConfigOrBuilderpublic 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 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 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;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;getInfoTypeTransformationsOrBuilder in interface DeidentifyConfigOrBuilderpublic 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;hasRecordTransformations in interface DeidentifyConfigOrBuilderpublic 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;getRecordTransformations in interface DeidentifyConfigOrBuilderpublic 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;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 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 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;getRecordTransformationsOrBuilder in interface DeidentifyConfigOrBuilderpublic boolean hasImageTransformations()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;hasImageTransformations in interface DeidentifyConfigOrBuilderpublic ImageTransformations getImageTransformations()
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;getImageTransformations in interface DeidentifyConfigOrBuilderpublic 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 mergeImageTransformations(ImageTransformations value)
Treat the dataset as an image and redact.
.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;public DeidentifyConfig.Builder clearImageTransformations()
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;getImageTransformationsOrBuilder in interface DeidentifyConfigOrBuilderpublic 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;
hasTransformationErrorHandling in interface DeidentifyConfigOrBuilderpublic 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;
getTransformationErrorHandling in interface DeidentifyConfigOrBuilderpublic 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;
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;
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;
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;
getTransformationErrorHandlingOrBuilder in interface DeidentifyConfigOrBuilderpublic final DeidentifyConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>public final DeidentifyConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyConfig.Builder>Copyright © 2022 Google LLC. All rights reserved.