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.Builder
addAllFileTypesToTransform(Iterable<? extends FileType> values)
List of user-specified file type groups to transform.Action.Deidentify.Builder
addAllFileTypesToTransformValue(Iterable<Integer> values)
List of user-specified file type groups to transform.Action.Deidentify.Builder
addFileTypesToTransform(FileType value)
List of user-specified file type groups to transform.Action.Deidentify.Builder
addFileTypesToTransformValue(int value)
List of user-specified file type groups to transform.Action.Deidentify.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Action.Deidentify
build()
Action.Deidentify
buildPartial()
Action.Deidentify.Builder
clear()
Action.Deidentify.Builder
clearCloudStorageOutput()
Required.Action.Deidentify.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Action.Deidentify.Builder
clearFileTypesToTransform()
List of user-specified file type groups to transform.Action.Deidentify.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Action.Deidentify.Builder
clearOutput()
Action.Deidentify.Builder
clearTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.Builder
clearTransformationDetailsStorageConfig()
Config for storing transformation details.Action.Deidentify.Builder
clone()
String
getCloudStorageOutput()
Required.com.google.protobuf.ByteString
getCloudStorageOutputBytes()
Required.Action.Deidentify
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
FileType
getFileTypesToTransform(int index)
List of user-specified file type groups to transform.int
getFileTypesToTransformCount()
List of user-specified file type groups to transform.List<FileType>
getFileTypesToTransformList()
List of user-specified file type groups to transform.int
getFileTypesToTransformValue(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.OutputCase
getOutputCase()
TransformationConfig
getTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.TransformationConfig.Builder
getTransformationConfigBuilder()
User specified deidentify templates and configs for structured, unstructured, and image files.TransformationConfigOrBuilder
getTransformationConfigOrBuilder()
User specified deidentify templates and configs for structured, unstructured, and image files.TransformationDetailsStorageConfig
getTransformationDetailsStorageConfig()
Config for storing transformation details.TransformationDetailsStorageConfig.Builder
getTransformationDetailsStorageConfigBuilder()
Config for storing transformation details.TransformationDetailsStorageConfigOrBuilder
getTransformationDetailsStorageConfigOrBuilder()
Config for storing transformation details.boolean
hasCloudStorageOutput()
Required.boolean
hasTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.boolean
hasTransformationDetailsStorageConfig()
Config for storing transformation details.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Action.Deidentify.Builder
mergeFrom(Action.Deidentify other)
Action.Deidentify.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Action.Deidentify.Builder
mergeFrom(com.google.protobuf.Message other)
Action.Deidentify.Builder
mergeTransformationConfig(TransformationConfig value)
User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.Builder
mergeTransformationDetailsStorageConfig(TransformationDetailsStorageConfig value)
Config for storing transformation details.Action.Deidentify.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Action.Deidentify.Builder
setCloudStorageOutput(String value)
Required.Action.Deidentify.Builder
setCloudStorageOutputBytes(com.google.protobuf.ByteString value)
Required.Action.Deidentify.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Action.Deidentify.Builder
setFileTypesToTransform(int index, FileType value)
List of user-specified file type groups to transform.Action.Deidentify.Builder
setFileTypesToTransformValue(int index, int value)
List of user-specified file type groups to transform.Action.Deidentify.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Action.Deidentify.Builder
setTransformationConfig(TransformationConfig value)
User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.Builder
setTransformationConfig(TransformationConfig.Builder builderForValue)
User specified deidentify templates and configs for structured, unstructured, and image files.Action.Deidentify.Builder
setTransformationDetailsStorageConfig(TransformationDetailsStorageConfig value)
Config for storing transformation details.Action.Deidentify.Builder
setTransformationDetailsStorageConfig(TransformationDetailsStorageConfig.Builder builderForValue)
Config for storing transformation details.Action.Deidentify.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
clear
public Action.Deidentify.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
getDefaultInstanceForType
public Action.Deidentify getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Action.Deidentify build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Action.Deidentify buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Action.Deidentify.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
setField
public Action.Deidentify.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
clearField
public Action.Deidentify.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
clearOneof
public Action.Deidentify.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
addRepeatedField
public Action.Deidentify.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
mergeFrom
public Action.Deidentify.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Action.Deidentify.Builder>
-
mergeFrom
public Action.Deidentify.Builder mergeFrom(Action.Deidentify other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Action.Deidentify.Builder>
- Throws:
IOException
-
getOutputCase
public Action.Deidentify.OutputCase getOutputCase()
- Specified by:
getOutputCase
in 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:
hasTransformationConfig
in 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:
getTransformationConfig
in 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:
getTransformationConfigOrBuilder
in 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:
hasTransformationDetailsStorageConfig
in 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:
getTransformationDetailsStorageConfig
in 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:
getTransformationDetailsStorageConfigOrBuilder
in 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:
hasCloudStorageOutput
in 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:
getCloudStorageOutput
in 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:
getCloudStorageOutputBytes
in 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:
getFileTypesToTransformList
in 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:
getFileTypesToTransformCount
in 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:
getFileTypesToTransform
in 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:
getFileTypesToTransformValueList
in 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:
getFileTypesToTransformValue
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
mergeUnknownFields
public final Action.Deidentify.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.Deidentify.Builder>
-
-