Package com.google.privacy.dlp.v2
Class Action.Deidentify.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
- com.google.privacy.dlp.v2.Action.Deidentify.Builder
-
- All Implemented Interfaces:
Action.DeidentifyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Action.Deidentify
public static final class Action.Deidentify.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder> implements Action.DeidentifyOrBuilder
Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect
Protobuf typegoogle.privacy.dlp.v2.Action.Deidentify
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Action.Deidentify.BuilderaddAllFileTypesToTransform(Iterable<? extends FileType> values)List of user-specified file type groups to transform.Action.Deidentify.BuilderaddAllFileTypesToTransformValue(Iterable<Integer> values)List of user-specified file type groups to transform.Action.Deidentify.BuilderaddFileTypesToTransform(FileType value)List of user-specified file type groups to transform.Action.Deidentify.BuilderaddFileTypesToTransformValue(int value)List of user-specified file type groups to transform.Action.Deidentify.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Action.Deidentifybuild()Action.DeidentifybuildPartial()Action.Deidentify.Builderclear()Action.Deidentify.BuilderclearCloudStorageOutput()Required.Action.Deidentify.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Action.Deidentify.BuilderclearFileTypesToTransform()List of user-specified file type groups to transform.Action.Deidentify.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Action.Deidentify.BuilderclearOutput()Action.Deidentify.BuilderclearTransformationConfig()User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.BuilderclearTransformationDetailsStorageConfig()Config for storing transformation details.Action.Deidentify.Builderclone()StringgetCloudStorageOutput()Required.com.google.protobuf.ByteStringgetCloudStorageOutputBytes()Required.Action.DeidentifygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FileTypegetFileTypesToTransform(int index)List of user-specified file type groups to transform.intgetFileTypesToTransformCount()List of user-specified file type groups to transform.List<FileType>getFileTypesToTransformList()List of user-specified file type groups to transform.intgetFileTypesToTransformValue(int index)List of user-specified file type groups to transform.List<Integer>getFileTypesToTransformValueList()List of user-specified file type groups to transform.Action.Deidentify.OutputCasegetOutputCase()TransformationConfiggetTransformationConfig()User specified deidentify templates and configs for structured, unstructured, and image files.TransformationConfig.BuildergetTransformationConfigBuilder()User specified deidentify templates and configs for structured, unstructured, and image files.TransformationConfigOrBuildergetTransformationConfigOrBuilder()User specified deidentify templates and configs for structured, unstructured, and image files.TransformationDetailsStorageConfiggetTransformationDetailsStorageConfig()Config for storing transformation details.TransformationDetailsStorageConfig.BuildergetTransformationDetailsStorageConfigBuilder()Config for storing transformation details.TransformationDetailsStorageConfigOrBuildergetTransformationDetailsStorageConfigOrBuilder()Config for storing transformation details.booleanhasCloudStorageOutput()Required.booleanhasTransformationConfig()User specified deidentify templates and configs for structured, unstructured, and image files.booleanhasTransformationDetailsStorageConfig()Config for storing transformation details.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Action.Deidentify.BuildermergeFrom(Action.Deidentify other)Action.Deidentify.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Action.Deidentify.BuildermergeFrom(com.google.protobuf.Message other)Action.Deidentify.BuildermergeTransformationConfig(TransformationConfig value)User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.BuildermergeTransformationDetailsStorageConfig(TransformationDetailsStorageConfig value)Config for storing transformation details.Action.Deidentify.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Action.Deidentify.BuildersetCloudStorageOutput(String value)Required.Action.Deidentify.BuildersetCloudStorageOutputBytes(com.google.protobuf.ByteString value)Required.Action.Deidentify.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Action.Deidentify.BuildersetFileTypesToTransform(int index, FileType value)List of user-specified file type groups to transform.Action.Deidentify.BuildersetFileTypesToTransformValue(int index, int value)List of user-specified file type groups to transform.Action.Deidentify.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Action.Deidentify.BuildersetTransformationConfig(TransformationConfig value)User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.BuildersetTransformationConfig(TransformationConfig.Builder builderForValue)User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.BuildersetTransformationDetailsStorageConfig(TransformationDetailsStorageConfig value)Config for storing transformation details.Action.Deidentify.BuildersetTransformationDetailsStorageConfig(TransformationDetailsStorageConfig.Builder builderForValue)Config for storing transformation details.Action.Deidentify.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
clear
public Action.Deidentify.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.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.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
getDefaultInstanceForType
public Action.Deidentify getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Action.Deidentify build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Action.Deidentify buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Action.Deidentify.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
setField
public Action.Deidentify.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
clearField
public Action.Deidentify.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
clearOneof
public Action.Deidentify.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
setRepeatedField
public Action.Deidentify.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
addRepeatedField
public Action.Deidentify.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
mergeFrom
public Action.Deidentify.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.Deidentify.Builder>
-
mergeFrom
public Action.Deidentify.Builder mergeFrom(Action.Deidentify other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
mergeFrom
public Action.Deidentify.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<Action.Deidentify.Builder>- Throws:
IOException
-
getOutputCase
public Action.Deidentify.OutputCase getOutputCase()
- Specified by:
getOutputCasein interfaceAction.DeidentifyOrBuilder
-
clearOutput
public Action.Deidentify.Builder clearOutput()
-
hasTransformationConfig
public boolean hasTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;- Specified by:
hasTransformationConfigin interfaceAction.DeidentifyOrBuilder- Returns:
- Whether the transformationConfig field is set.
-
getTransformationConfig
public TransformationConfig getTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;- Specified by:
getTransformationConfigin interfaceAction.DeidentifyOrBuilder- Returns:
- The transformationConfig.
-
setTransformationConfig
public Action.Deidentify.Builder setTransformationConfig(TransformationConfig value)
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
-
setTransformationConfig
public Action.Deidentify.Builder setTransformationConfig(TransformationConfig.Builder builderForValue)
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
-
mergeTransformationConfig
public Action.Deidentify.Builder mergeTransformationConfig(TransformationConfig value)
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
-
clearTransformationConfig
public Action.Deidentify.Builder clearTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
-
getTransformationConfigBuilder
public TransformationConfig.Builder getTransformationConfigBuilder()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
-
getTransformationConfigOrBuilder
public TransformationConfigOrBuilder getTransformationConfigOrBuilder()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;- Specified by:
getTransformationConfigOrBuilderin interfaceAction.DeidentifyOrBuilder
-
hasTransformationDetailsStorageConfig
public boolean hasTransformationDetailsStorageConfig()
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;- Specified by:
hasTransformationDetailsStorageConfigin interfaceAction.DeidentifyOrBuilder- Returns:
- Whether the transformationDetailsStorageConfig field is set.
-
getTransformationDetailsStorageConfig
public TransformationDetailsStorageConfig getTransformationDetailsStorageConfig()
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;- Specified by:
getTransformationDetailsStorageConfigin interfaceAction.DeidentifyOrBuilder- Returns:
- The transformationDetailsStorageConfig.
-
setTransformationDetailsStorageConfig
public Action.Deidentify.Builder setTransformationDetailsStorageConfig(TransformationDetailsStorageConfig value)
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;
-
setTransformationDetailsStorageConfig
public Action.Deidentify.Builder setTransformationDetailsStorageConfig(TransformationDetailsStorageConfig.Builder builderForValue)
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;
-
mergeTransformationDetailsStorageConfig
public Action.Deidentify.Builder mergeTransformationDetailsStorageConfig(TransformationDetailsStorageConfig value)
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;
-
clearTransformationDetailsStorageConfig
public Action.Deidentify.Builder clearTransformationDetailsStorageConfig()
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;
-
getTransformationDetailsStorageConfigBuilder
public TransformationDetailsStorageConfig.Builder getTransformationDetailsStorageConfigBuilder()
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;
-
getTransformationDetailsStorageConfigOrBuilder
public TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder()
Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] message for more information about what is noted).
.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3;- Specified by:
getTransformationDetailsStorageConfigOrBuilderin interfaceAction.DeidentifyOrBuilder
-
hasCloudStorageOutput
public boolean hasCloudStorageOutput()
Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasCloudStorageOutputin interfaceAction.DeidentifyOrBuilder- Returns:
- Whether the cloudStorageOutput field is set.
-
getCloudStorageOutput
public String getCloudStorageOutput()
Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCloudStorageOutputin interfaceAction.DeidentifyOrBuilder- Returns:
- The cloudStorageOutput.
-
getCloudStorageOutputBytes
public com.google.protobuf.ByteString getCloudStorageOutputBytes()
Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCloudStorageOutputBytesin interfaceAction.DeidentifyOrBuilder- Returns:
- The bytes for cloudStorageOutput.
-
setCloudStorageOutput
public Action.Deidentify.Builder setCloudStorageOutput(String value)
Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The cloudStorageOutput to set.- Returns:
- This builder for chaining.
-
clearCloudStorageOutput
public Action.Deidentify.Builder clearCloudStorageOutput()
Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setCloudStorageOutputBytes
public Action.Deidentify.Builder setCloudStorageOutputBytes(com.google.protobuf.ByteString value)
Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for cloudStorageOutput to set.- Returns:
- This builder for chaining.
-
getFileTypesToTransformList
public List<FileType> getFileTypesToTransformList()
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Specified by:
getFileTypesToTransformListin interfaceAction.DeidentifyOrBuilder- Returns:
- A list containing the fileTypesToTransform.
-
getFileTypesToTransformCount
public int getFileTypesToTransformCount()
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Specified by:
getFileTypesToTransformCountin interfaceAction.DeidentifyOrBuilder- Returns:
- The count of fileTypesToTransform.
-
getFileTypesToTransform
public FileType getFileTypesToTransform(int index)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Specified by:
getFileTypesToTransformin interfaceAction.DeidentifyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fileTypesToTransform at the given index.
-
setFileTypesToTransform
public Action.Deidentify.Builder setFileTypesToTransform(int index, FileType value)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Parameters:
index- The index to set the value at.value- The fileTypesToTransform to set.- Returns:
- This builder for chaining.
-
addFileTypesToTransform
public Action.Deidentify.Builder addFileTypesToTransform(FileType value)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Parameters:
value- The fileTypesToTransform to add.- Returns:
- This builder for chaining.
-
addAllFileTypesToTransform
public Action.Deidentify.Builder addAllFileTypesToTransform(Iterable<? extends FileType> values)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Parameters:
values- The fileTypesToTransform to add.- Returns:
- This builder for chaining.
-
clearFileTypesToTransform
public Action.Deidentify.Builder clearFileTypesToTransform()
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Returns:
- This builder for chaining.
-
getFileTypesToTransformValueList
public List<Integer> getFileTypesToTransformValueList()
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Specified by:
getFileTypesToTransformValueListin interfaceAction.DeidentifyOrBuilder- Returns:
- A list containing the enum numeric values on the wire for fileTypesToTransform.
-
getFileTypesToTransformValue
public int getFileTypesToTransformValue(int index)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Specified by:
getFileTypesToTransformValuein interfaceAction.DeidentifyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of fileTypesToTransform at the given index.
-
setFileTypesToTransformValue
public Action.Deidentify.Builder setFileTypesToTransformValue(int index, int value)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for fileTypesToTransform to set.- Returns:
- This builder for chaining.
-
addFileTypesToTransformValue
public Action.Deidentify.Builder addFileTypesToTransformValue(int value)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Parameters:
value- The enum numeric value on the wire for fileTypesToTransform to add.- Returns:
- This builder for chaining.
-
addAllFileTypesToTransformValue
public Action.Deidentify.Builder addAllFileTypesToTransformValue(Iterable<Integer> values)
List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8;- Parameters:
values- The enum numeric values on the wire for fileTypesToTransform to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Action.Deidentify.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
mergeUnknownFields
public final Action.Deidentify.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
-