Class CloudStorageDiscoveryTarget.Builder

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

public static final class CloudStorageDiscoveryTarget.Builder extends com.google.protobuf.GeneratedMessage.Builder<CloudStorageDiscoveryTarget.Builder> implements CloudStorageDiscoveryTargetOrBuilder
 Target used to match against for discovery with Cloud Storage buckets.
 
Protobuf type google.privacy.dlp.v2.CloudStorageDiscoveryTarget
  • 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<CloudStorageDiscoveryTarget.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<CloudStorageDiscoveryTarget.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<CloudStorageDiscoveryTarget.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public CloudStorageDiscoveryTarget.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<CloudStorageDiscoveryTarget.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<CloudStorageDiscoveryTarget.Builder>
    • mergeFrom

      public CloudStorageDiscoveryTarget.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<CloudStorageDiscoveryTarget.Builder>
      Throws:
      IOException
    • getCadenceCase

      public CloudStorageDiscoveryTarget.CadenceCase getCadenceCase()
      Specified by:
      getCadenceCase in interface CloudStorageDiscoveryTargetOrBuilder
    • clearCadence

      public CloudStorageDiscoveryTarget.Builder clearCadence()
    • hasFilter

      public boolean hasFilter()
       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFilter in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public DiscoveryCloudStorageFilter getFilter()
       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      The filter.
    • setFilter

       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
    • setFilter

       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeFilter

       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearFilter

       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
    • getFilterBuilder

      public DiscoveryCloudStorageFilter.Builder getFilterBuilder()
       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
    • getFilterOrBuilder

      public DiscoveryCloudStorageFilterOrBuilder getFilterOrBuilder()
       Required. The buckets the generation_cadence applies to. The first target
       with a matching filter will be the one to apply to a bucket.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterOrBuilder in interface CloudStorageDiscoveryTargetOrBuilder
    • hasConditions

      public boolean hasConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConditions in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      Whether the conditions field is set.
    • getConditions

      public DiscoveryFileStoreConditions getConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditions in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      The conditions.
    • setConditions

       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setConditions

       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConditions

       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearConditions

      public CloudStorageDiscoveryTarget.Builder clearConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getConditionsBuilder

      public DiscoveryFileStoreConditions.Builder getConditionsBuilder()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getConditionsOrBuilder

      public DiscoveryFileStoreConditionsOrBuilder getConditionsOrBuilder()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditionsOrBuilder in interface CloudStorageDiscoveryTargetOrBuilder
    • hasGenerationCadence

      public boolean hasGenerationCadence()
       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGenerationCadence in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      Whether the generationCadence field is set.
    • getGenerationCadence

      public DiscoveryCloudStorageGenerationCadence getGenerationCadence()
       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationCadence in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      The generationCadence.
    • setGenerationCadence

       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setGenerationCadence

       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGenerationCadence

       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearGenerationCadence

      public CloudStorageDiscoveryTarget.Builder clearGenerationCadence()
       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGenerationCadenceBuilder

      public DiscoveryCloudStorageGenerationCadence.Builder getGenerationCadenceBuilder()
       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGenerationCadenceOrBuilder

      public DiscoveryCloudStorageGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()
       Optional. How often and when to update profiles. New buckets that match
       both the filter and conditions are scanned as quickly as possible
       depending on system capacity.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerationCadenceOrBuilder in interface CloudStorageDiscoveryTargetOrBuilder
    • hasDisabled

      public boolean hasDisabled()
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDisabled in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      Whether the disabled field is set.
    • getDisabled

      public Disabled getDisabled()
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisabled in interface CloudStorageDiscoveryTargetOrBuilder
      Returns:
      The disabled.
    • setDisabled

      public CloudStorageDiscoveryTarget.Builder setDisabled(Disabled value)
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setDisabled

      public CloudStorageDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDisabled

      public CloudStorageDiscoveryTarget.Builder mergeDisabled(Disabled value)
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearDisabled

      public CloudStorageDiscoveryTarget.Builder clearDisabled()
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDisabledBuilder

      public Disabled.Builder getDisabledBuilder()
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDisabledOrBuilder

      public DisabledOrBuilder getDisabledOrBuilder()
       Optional. Disable profiling for buckets that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisabledOrBuilder in interface CloudStorageDiscoveryTargetOrBuilder