Interface CloudStorageOptions.FileSetOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CloudStorageRegexFileSet getRegexFileSet()
      The regex-filtered set of files to scan.
      CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder()
      The regex-filtered set of files to scan.
      String getUrl()
      The Cloud Storage url of the file(s) to scan, in the format `gs://<bucket>/<path>`.
      com.google.protobuf.ByteString getUrlBytes()
      The Cloud Storage url of the file(s) to scan, in the format `gs://<bucket>/<path>`.
      boolean hasRegexFileSet()
      The regex-filtered set of files to scan.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getUrl

        String getUrl()
         The Cloud Storage url of the file(s) to scan, in the format
         `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
        
         If the url ends in a trailing slash, the bucket or directory represented
         by the url will be scanned non-recursively (content in sub-directories
         will not be scanned). This means that `gs://mybucket/` is equivalent to
         `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
         `gs://mybucket/directory/*`.
        
         Exactly one of `url` or `regex_file_set` must be set.
         
        string url = 1;
        Returns:
        The url.
      • getUrlBytes

        com.google.protobuf.ByteString getUrlBytes()
         The Cloud Storage url of the file(s) to scan, in the format
         `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
        
         If the url ends in a trailing slash, the bucket or directory represented
         by the url will be scanned non-recursively (content in sub-directories
         will not be scanned). This means that `gs://mybucket/` is equivalent to
         `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
         `gs://mybucket/directory/*`.
        
         Exactly one of `url` or `regex_file_set` must be set.
         
        string url = 1;
        Returns:
        The bytes for url.
      • hasRegexFileSet

        boolean hasRegexFileSet()
         The regex-filtered set of files to scan. Exactly one of `url` or
         `regex_file_set` must be set.
         
        .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        Returns:
        Whether the regexFileSet field is set.
      • getRegexFileSet

        CloudStorageRegexFileSet getRegexFileSet()
         The regex-filtered set of files to scan. Exactly one of `url` or
         `regex_file_set` must be set.
         
        .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        Returns:
        The regexFileSet.
      • getRegexFileSetOrBuilder

        CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder()
         The regex-filtered set of files to scan. Exactly one of `url` or
         `regex_file_set` must be set.
         
        .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;