Class CloudStorageDiscoveryTarget (3.82.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  CloudStorageDiscoveryTarget   extends   GeneratedMessageV3   implements   CloudStorageDiscoveryTargetOrBuilder  
   Target used to match against for discovery with Cloud Storage buckets.
 Protobuf type google.privacy.dlp.v2.CloudStorageDiscoveryTarget
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CONDITIONS_FIELD_NUMBER 
  
    
public   static   final   int   CONDITIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DISABLED_FIELD_NUMBER 
  
    
public   static   final   int   DISABLED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  FILTER_FIELD_NUMBER 
  
    
public   static   final   int   FILTER_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GENERATION_CADENCE_FIELD_NUMBER 
  
    
public   static   final   int   GENERATION_CADENCE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   CloudStorageDiscoveryTarget   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   CloudStorageDiscoveryTarget . Builder   newBuilder ()  
  
  newBuilder(CloudStorageDiscoveryTarget prototype) 
  
    
public   static   CloudStorageDiscoveryTarget . Builder   newBuilder ( CloudStorageDiscoveryTarget   prototype )  
  
  
  
    
public   static   CloudStorageDiscoveryTarget   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   CloudStorageDiscoveryTarget   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CloudStorageDiscoveryTarget   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<CloudStorageDiscoveryTarget>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCadenceCase() 
  
    
public   CloudStorageDiscoveryTarget . CadenceCase   getCadenceCase ()  
  
  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];
 
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];
 
getDefaultInstanceForType() 
  
    
public   CloudStorageDiscoveryTarget   getDefaultInstanceForType ()  
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        Disabled The disabled.
 
     
  
  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];
 
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];
 
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];
 
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];
 
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];
 
getParserForType() 
  
    
public   Parser<CloudStorageDiscoveryTarget>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the conditions field is set.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the disabled field is set.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the filter field is set.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the generationCadence field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   CloudStorageDiscoveryTarget . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   CloudStorageDiscoveryTarget . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   CloudStorageDiscoveryTarget . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]