Interface Zone.DiscoverySpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Zone.DiscoverySpec, Zone.DiscoverySpec.Builder
Enclosing class:
Zone

public static interface Zone.DiscoverySpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEnabled

      boolean getEnabled()
       Required. Whether discovery is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enabled.
    • getIncludePatternsList

      List<String> getIncludePatternsList()
       Optional. The list of patterns to apply for selecting data to include
       during discovery if only a subset of the data should considered. For
       Cloud Storage bucket assets, these are interpreted as glob patterns used
       to match object names. For BigQuery dataset assets, these are interpreted
       as patterns to match table names.
       
      repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the includePatterns.
    • getIncludePatternsCount

      int getIncludePatternsCount()
       Optional. The list of patterns to apply for selecting data to include
       during discovery if only a subset of the data should considered. For
       Cloud Storage bucket assets, these are interpreted as glob patterns used
       to match object names. For BigQuery dataset assets, these are interpreted
       as patterns to match table names.
       
      repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of includePatterns.
    • getIncludePatterns

      String getIncludePatterns(int index)
       Optional. The list of patterns to apply for selecting data to include
       during discovery if only a subset of the data should considered. For
       Cloud Storage bucket assets, these are interpreted as glob patterns used
       to match object names. For BigQuery dataset assets, these are interpreted
       as patterns to match table names.
       
      repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The includePatterns at the given index.
    • getIncludePatternsBytes

      com.google.protobuf.ByteString getIncludePatternsBytes(int index)
       Optional. The list of patterns to apply for selecting data to include
       during discovery if only a subset of the data should considered. For
       Cloud Storage bucket assets, these are interpreted as glob patterns used
       to match object names. For BigQuery dataset assets, these are interpreted
       as patterns to match table names.
       
      repeated string include_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the includePatterns at the given index.
    • getExcludePatternsList

      List<String> getExcludePatternsList()
       Optional. The list of patterns to apply for selecting data to exclude
       during discovery.  For Cloud Storage bucket assets, these are interpreted
       as glob patterns used to match object names. For BigQuery dataset assets,
       these are interpreted as patterns to match table names.
       
      repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the excludePatterns.
    • getExcludePatternsCount

      int getExcludePatternsCount()
       Optional. The list of patterns to apply for selecting data to exclude
       during discovery.  For Cloud Storage bucket assets, these are interpreted
       as glob patterns used to match object names. For BigQuery dataset assets,
       these are interpreted as patterns to match table names.
       
      repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of excludePatterns.
    • getExcludePatterns

      String getExcludePatterns(int index)
       Optional. The list of patterns to apply for selecting data to exclude
       during discovery.  For Cloud Storage bucket assets, these are interpreted
       as glob patterns used to match object names. For BigQuery dataset assets,
       these are interpreted as patterns to match table names.
       
      repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludePatterns at the given index.
    • getExcludePatternsBytes

      com.google.protobuf.ByteString getExcludePatternsBytes(int index)
       Optional. The list of patterns to apply for selecting data to exclude
       during discovery.  For Cloud Storage bucket assets, these are interpreted
       as glob patterns used to match object names. For BigQuery dataset assets,
       these are interpreted as patterns to match table names.
       
      repeated string exclude_patterns = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludePatterns at the given index.
    • hasCsvOptions

      boolean hasCsvOptions()
       Optional. Configuration for CSV data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the csvOptions field is set.
    • getCsvOptions

       Optional. Configuration for CSV data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The csvOptions.
    • getCsvOptionsOrBuilder

      Zone.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
       Optional. Configuration for CSV data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasJsonOptions

      boolean hasJsonOptions()
       Optional. Configuration for Json data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the jsonOptions field is set.
    • getJsonOptions

       Optional. Configuration for Json data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The jsonOptions.
    • getJsonOptionsOrBuilder

      Zone.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder()
       Optional. Configuration for Json data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
    • hasSchedule

      boolean hasSchedule()
       Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
       running discovery periodically. Successive discovery runs must be
       scheduled at least 60 minutes apart. The default value is to run
       discovery every 60 minutes.
      
       To explicitly set a timezone to the cron tab, apply a prefix in the
       cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}".
       The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone
       database. For example, `CRON_TZ=America/New_York 1 * * * *`, or
       `TZ=America/New_York 1 * * * *`.
       
      string schedule = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the schedule field is set.
    • getSchedule

      String getSchedule()
       Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
       running discovery periodically. Successive discovery runs must be
       scheduled at least 60 minutes apart. The default value is to run
       discovery every 60 minutes.
      
       To explicitly set a timezone to the cron tab, apply a prefix in the
       cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}".
       The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone
       database. For example, `CRON_TZ=America/New_York 1 * * * *`, or
       `TZ=America/New_York 1 * * * *`.
       
      string schedule = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The schedule.
    • getScheduleBytes

      com.google.protobuf.ByteString getScheduleBytes()
       Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for
       running discovery periodically. Successive discovery runs must be
       scheduled at least 60 minutes apart. The default value is to run
       discovery every 60 minutes.
      
       To explicitly set a timezone to the cron tab, apply a prefix in the
       cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}".
       The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone
       database. For example, `CRON_TZ=America/New_York 1 * * * *`, or
       `TZ=America/New_York 1 * * * *`.
       
      string schedule = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for schedule.
    • getTriggerCase