Interface DiscoveryConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DiscoveryConfig, DiscoveryConfig.Builder

@Generated public interface DiscoveryConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Unique resource name for the DiscoveryConfig, assigned by the service when
       the DiscoveryConfig is created, for example
       `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Unique resource name for the DiscoveryConfig, assigned by the service when
       the DiscoveryConfig is created, for example
       `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Display name (max 100 chars)
       
      string display_name = 11;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Display name (max 100 chars)
       
      string display_name = 11;
      Returns:
      The bytes for displayName.
    • hasOrgConfig

      boolean hasOrgConfig()
       Only set when the parent is an org.
       
      .google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;
      Returns:
      Whether the orgConfig field is set.
    • getOrgConfig

       Only set when the parent is an org.
       
      .google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;
      Returns:
      The orgConfig.
    • getOrgConfigOrBuilder

      DiscoveryConfig.OrgConfigOrBuilder getOrgConfigOrBuilder()
       Only set when the parent is an org.
       
      .google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;
    • hasOtherCloudStartingLocation

      boolean hasOtherCloudStartingLocation()
       Must be set only when scanning other clouds.
       
      .google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
      Returns:
      Whether the otherCloudStartingLocation field is set.
    • getOtherCloudStartingLocation

      OtherCloudDiscoveryStartingLocation getOtherCloudStartingLocation()
       Must be set only when scanning other clouds.
       
      .google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
      Returns:
      The otherCloudStartingLocation.
    • getOtherCloudStartingLocationOrBuilder

      OtherCloudDiscoveryStartingLocationOrBuilder getOtherCloudStartingLocationOrBuilder()
       Must be set only when scanning other clouds.
       
      .google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
    • getInspectTemplatesList

      List<String> getInspectTemplatesList()
       Detection logic for profile generation.
      
       Not all template features are used by Discovery. FindingLimits,
       include_quote and exclude_info_types have no impact on
       Discovery.
      
       Multiple templates may be provided if there is data in multiple regions.
       At most one template must be specified per-region (including "global").
       Each region is scanned using the applicable template. If no region-specific
       template is specified, but a "global" template is specified, it will be
       copied to that region and used instead. If no global or region-specific
       template is provided for a region with data, that region's data will not be
       scanned.
      
       For more information, see
       https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
       
      repeated string inspect_templates = 3;
      Returns:
      A list containing the inspectTemplates.
    • getInspectTemplatesCount

      int getInspectTemplatesCount()
       Detection logic for profile generation.
      
       Not all template features are used by Discovery. FindingLimits,
       include_quote and exclude_info_types have no impact on
       Discovery.
      
       Multiple templates may be provided if there is data in multiple regions.
       At most one template must be specified per-region (including "global").
       Each region is scanned using the applicable template. If no region-specific
       template is specified, but a "global" template is specified, it will be
       copied to that region and used instead. If no global or region-specific
       template is provided for a region with data, that region's data will not be
       scanned.
      
       For more information, see
       https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
       
      repeated string inspect_templates = 3;
      Returns:
      The count of inspectTemplates.
    • getInspectTemplates

      String getInspectTemplates(int index)
       Detection logic for profile generation.
      
       Not all template features are used by Discovery. FindingLimits,
       include_quote and exclude_info_types have no impact on
       Discovery.
      
       Multiple templates may be provided if there is data in multiple regions.
       At most one template must be specified per-region (including "global").
       Each region is scanned using the applicable template. If no region-specific
       template is specified, but a "global" template is specified, it will be
       copied to that region and used instead. If no global or region-specific
       template is provided for a region with data, that region's data will not be
       scanned.
      
       For more information, see
       https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
       
      repeated string inspect_templates = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The inspectTemplates at the given index.
    • getInspectTemplatesBytes

      com.google.protobuf.ByteString getInspectTemplatesBytes(int index)
       Detection logic for profile generation.
      
       Not all template features are used by Discovery. FindingLimits,
       include_quote and exclude_info_types have no impact on
       Discovery.
      
       Multiple templates may be provided if there is data in multiple regions.
       At most one template must be specified per-region (including "global").
       Each region is scanned using the applicable template. If no region-specific
       template is specified, but a "global" template is specified, it will be
       copied to that region and used instead. If no global or region-specific
       template is provided for a region with data, that region's data will not be
       scanned.
      
       For more information, see
       https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
       
      repeated string inspect_templates = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inspectTemplates at the given index.
    • getActionsList

      List<DataProfileAction> getActionsList()
       Actions to execute at the completion of scanning.
       
      repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
    • getActions

      DataProfileAction getActions(int index)
       Actions to execute at the completion of scanning.
       
      repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
    • getActionsCount

      int getActionsCount()
       Actions to execute at the completion of scanning.
       
      repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
    • getActionsOrBuilderList

      List<? extends DataProfileActionOrBuilder> getActionsOrBuilderList()
       Actions to execute at the completion of scanning.
       
      repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
    • getActionsOrBuilder

      DataProfileActionOrBuilder getActionsOrBuilder(int index)
       Actions to execute at the completion of scanning.
       
      repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
    • getTargetsList

      List<DiscoveryTarget> getTargetsList()
       Target to match against for determining what to scan and how frequently.
       
      repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
    • getTargets

      DiscoveryTarget getTargets(int index)
       Target to match against for determining what to scan and how frequently.
       
      repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
    • getTargetsCount

      int getTargetsCount()
       Target to match against for determining what to scan and how frequently.
       
      repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
    • getTargetsOrBuilderList

      List<? extends DiscoveryTargetOrBuilder> getTargetsOrBuilderList()
       Target to match against for determining what to scan and how frequently.
       
      repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
    • getTargetsOrBuilder

      DiscoveryTargetOrBuilder getTargetsOrBuilder(int index)
       Target to match against for determining what to scan and how frequently.
       
      repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
    • getErrorsList

      List<Error> getErrorsList()
       Output only. A stream of errors encountered when the config was activated.
       Repeated errors may result in the config automatically being paused. Output
       only field. Will return the last 100 errors. Whenever the config is
       modified this list will be cleared.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrors

      Error getErrors(int index)
       Output only. A stream of errors encountered when the config was activated.
       Repeated errors may result in the config automatically being paused. Output
       only field. Will return the last 100 errors. Whenever the config is
       modified this list will be cleared.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsCount

      int getErrorsCount()
       Output only. A stream of errors encountered when the config was activated.
       Repeated errors may result in the config automatically being paused. Output
       only field. Will return the last 100 errors. Whenever the config is
       modified this list will be cleared.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsOrBuilderList

      List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
       Output only. A stream of errors encountered when the config was activated.
       Repeated errors may result in the config automatically being paused. Output
       only field. Will return the last 100 errors. Whenever the config is
       modified this list will be cleared.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsOrBuilder

      ErrorOrBuilder getErrorsOrBuilder(int index)
       Output only. A stream of errors encountered when the config was activated.
       Repeated errors may result in the config automatically being paused. Output
       only field. Will return the last 100 errors. Whenever the config is
       modified this list will be cleared.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation timestamp of a DiscoveryConfig.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation timestamp of a DiscoveryConfig.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation timestamp of a DiscoveryConfig.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last update timestamp of a DiscoveryConfig.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last update timestamp of a DiscoveryConfig.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last update timestamp of a DiscoveryConfig.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasLastRunTime

      boolean hasLastRunTime()
       Output only. The timestamp of the last time this config was executed.
       
      .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the lastRunTime field is set.
    • getLastRunTime

      com.google.protobuf.Timestamp getLastRunTime()
       Output only. The timestamp of the last time this config was executed.
       
      .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lastRunTime.
    • getLastRunTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder()
       Output only. The timestamp of the last time this config was executed.
       
      .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusValue

      int getStatusValue()
       Required. A status for this configuration.
       
      .google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Required. A status for this configuration.
       
      .google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The status.
    • hasProcessingLocation

      boolean hasProcessingLocation()
       Optional. Processing location configuration. Vertex AI dataset scanning
       will set processing_location.image_fallback_type to MultiRegionProcessing
       by default.
       
      .google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the processingLocation field is set.
    • getProcessingLocation

      ProcessingLocation getProcessingLocation()
       Optional. Processing location configuration. Vertex AI dataset scanning
       will set processing_location.image_fallback_type to MultiRegionProcessing
       by default.
       
      .google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The processingLocation.
    • getProcessingLocationOrBuilder

      ProcessingLocationOrBuilder getProcessingLocationOrBuilder()
       Optional. Processing location configuration. Vertex AI dataset scanning
       will set processing_location.image_fallback_type to MultiRegionProcessing
       by default.
       
      .google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];