Class FileStoreCollection.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FileStoreCollection.Builder>
com.google.privacy.dlp.v2.FileStoreCollection.Builder
All Implemented Interfaces:
FileStoreCollectionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FileStoreCollection

public static final class FileStoreCollection.Builder extends com.google.protobuf.GeneratedMessage.Builder<FileStoreCollection.Builder> implements FileStoreCollectionOrBuilder
 Match file stores (e.g. buckets) using filters.
 
Protobuf type google.privacy.dlp.v2.FileStoreCollection
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FileStoreCollection.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FileStoreCollection.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FileStoreCollection.Builder>
    • getDefaultInstanceForType

      public FileStoreCollection getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FileStoreCollection build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FileStoreCollection buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FileStoreCollection.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileStoreCollection.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FileStoreCollection.Builder>
    • mergeFrom

      public FileStoreCollection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileStoreCollection.Builder>
      Throws:
      IOException
    • getPatternCase

      public FileStoreCollection.PatternCase getPatternCase()
      Specified by:
      getPatternCase in interface FileStoreCollectionOrBuilder
    • clearPattern

      public FileStoreCollection.Builder clearPattern()
    • hasIncludeRegexes

      public boolean hasIncludeRegexes()
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIncludeRegexes in interface FileStoreCollectionOrBuilder
      Returns:
      Whether the includeRegexes field is set.
    • getIncludeRegexes

      public FileStoreRegexes getIncludeRegexes()
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeRegexes in interface FileStoreCollectionOrBuilder
      Returns:
      The includeRegexes.
    • setIncludeRegexes

      public FileStoreCollection.Builder setIncludeRegexes(FileStoreRegexes value)
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setIncludeRegexes

      public FileStoreCollection.Builder setIncludeRegexes(FileStoreRegexes.Builder builderForValue)
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeIncludeRegexes

      public FileStoreCollection.Builder mergeIncludeRegexes(FileStoreRegexes value)
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearIncludeRegexes

      public FileStoreCollection.Builder clearIncludeRegexes()
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeRegexesBuilder

      public FileStoreRegexes.Builder getIncludeRegexesBuilder()
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeRegexesOrBuilder

      public FileStoreRegexesOrBuilder getIncludeRegexesOrBuilder()
       Optional. A collection of regular expressions to match a file store
       against.
       
      .google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeRegexesOrBuilder in interface FileStoreCollectionOrBuilder
    • hasIncludeTags

      public boolean hasIncludeTags()
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIncludeTags in interface FileStoreCollectionOrBuilder
      Returns:
      Whether the includeTags field is set.
    • getIncludeTags

      public TagFilters getIncludeTags()
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeTags in interface FileStoreCollectionOrBuilder
      Returns:
      The includeTags.
    • setIncludeTags

      public FileStoreCollection.Builder setIncludeTags(TagFilters value)
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setIncludeTags

      public FileStoreCollection.Builder setIncludeTags(TagFilters.Builder builderForValue)
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeIncludeTags

      public FileStoreCollection.Builder mergeIncludeTags(TagFilters value)
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearIncludeTags

      public FileStoreCollection.Builder clearIncludeTags()
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeTagsBuilder

      public TagFilters.Builder getIncludeTagsBuilder()
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeTagsOrBuilder

      public TagFiltersOrBuilder getIncludeTagsOrBuilder()
       Optional. To be included in the collection, a resource must meet all of the
       following requirements:
      
       - If tag filters are provided, match all provided tag filters.
       - If one or more patterns are specified, match at least one pattern.
      
       For a resource to match the tag filters, the resource must have all of the
       provided tags attached. Tags refer to Resource Manager tags bound to the
       resource or its ancestors. For more information, see [Manage
       schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
       
      .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeTagsOrBuilder in interface FileStoreCollectionOrBuilder