Package com.google.privacy.dlp.v2
Interface Action.DeidentifyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Action.Deidentify
,Action.Deidentify.Builder
- Enclosing class:
- Action
public static interface Action.DeidentifyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCloudStorageOutput()
Required.com.google.protobuf.ByteString
getCloudStorageOutputBytes()
Required.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.TransformationConfigOrBuilder
getTransformationConfigOrBuilder()
User specified deidentify templates and configs for structured, unstructured, and image files.TransformationDetailsStorageConfig
getTransformationDetailsStorageConfig()
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTransformationConfig
boolean hasTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
- Returns:
- Whether the transformationConfig field is set.
-
getTransformationConfig
TransformationConfig getTransformationConfig()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
- Returns:
- The transformationConfig.
-
getTransformationConfigOrBuilder
TransformationConfigOrBuilder getTransformationConfigOrBuilder()
User specified deidentify templates and configs for structured, unstructured, and image files.
.google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
-
hasTransformationDetailsStorageConfig
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;
- Returns:
- Whether the transformationDetailsStorageConfig field is set.
-
getTransformationDetailsStorageConfig
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;
- Returns:
- The transformationDetailsStorageConfig.
-
getTransformationDetailsStorageConfigOrBuilder
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;
-
hasCloudStorageOutput
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];
- Returns:
- Whether the cloudStorageOutput field is set.
-
getCloudStorageOutput
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];
- Returns:
- The cloudStorageOutput.
-
getCloudStorageOutputBytes
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];
- Returns:
- The bytes for cloudStorageOutput.
-
getFileTypesToTransformList
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;
- Returns:
- A list containing the fileTypesToTransform.
-
getFileTypesToTransformCount
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;
- Returns:
- The count of fileTypesToTransform.
-
getFileTypesToTransform
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The fileTypesToTransform at the given index.
-
getFileTypesToTransformValueList
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;
- Returns:
- A list containing the enum numeric values on the wire for fileTypesToTransform.
-
getFileTypesToTransformValue
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of fileTypesToTransform at the given index.
-
getOutputCase
Action.Deidentify.OutputCase getOutputCase()
-
-