Class Zone.DiscoverySpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Zone.DiscoverySpec.Builder>
com.google.cloud.dataplex.v1.Zone.DiscoverySpec.Builder
All Implemented Interfaces:
Zone.DiscoverySpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Zone.DiscoverySpec

public static final class Zone.DiscoverySpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<Zone.DiscoverySpec.Builder> implements Zone.DiscoverySpecOrBuilder
 Settings to manage the metadata discovery and publishing in a zone.
 
Protobuf type google.cloud.dataplex.v1.Zone.DiscoverySpec
  • 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<Zone.DiscoverySpec.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<Zone.DiscoverySpec.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<Zone.DiscoverySpec.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Zone.DiscoverySpec.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<Zone.DiscoverySpec.Builder>
      Throws:
      IOException
    • getTriggerCase

      public Zone.DiscoverySpec.TriggerCase getTriggerCase()
      Specified by:
      getTriggerCase in interface Zone.DiscoverySpecOrBuilder
    • clearTrigger

      public Zone.DiscoverySpec.Builder clearTrigger()
    • getEnabled

      public boolean getEnabled()
       Required. Whether discovery is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEnabled in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The enabled.
    • setEnabled

      public Zone.DiscoverySpec.Builder setEnabled(boolean value)
       Required. Whether discovery is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enabled to set.
      Returns:
      This builder for chaining.
    • clearEnabled

      public Zone.DiscoverySpec.Builder clearEnabled()
       Required. Whether discovery is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getIncludePatternsList

      public com.google.protobuf.ProtocolStringList 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];
      Specified by:
      getIncludePatternsList in interface Zone.DiscoverySpecOrBuilder
      Returns:
      A list containing the includePatterns.
    • getIncludePatternsCount

      public 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];
      Specified by:
      getIncludePatternsCount in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The count of includePatterns.
    • getIncludePatterns

      public 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];
      Specified by:
      getIncludePatterns in interface Zone.DiscoverySpecOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The includePatterns at the given index.
    • getIncludePatternsBytes

      public 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];
      Specified by:
      getIncludePatternsBytes in interface Zone.DiscoverySpecOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the includePatterns at the given index.
    • setIncludePatterns

      public Zone.DiscoverySpec.Builder setIncludePatterns(int index, String value)
       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 to set the value at.
      value - The includePatterns to set.
      Returns:
      This builder for chaining.
    • addIncludePatterns

      public Zone.DiscoverySpec.Builder addIncludePatterns(String value)
       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:
      value - The includePatterns to add.
      Returns:
      This builder for chaining.
    • addAllIncludePatterns

      public Zone.DiscoverySpec.Builder addAllIncludePatterns(Iterable<String> values)
       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:
      values - The includePatterns to add.
      Returns:
      This builder for chaining.
    • clearIncludePatterns

      public Zone.DiscoverySpec.Builder clearIncludePatterns()
       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:
      This builder for chaining.
    • addIncludePatternsBytes

      public Zone.DiscoverySpec.Builder addIncludePatternsBytes(com.google.protobuf.ByteString value)
       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:
      value - The bytes of the includePatterns to add.
      Returns:
      This builder for chaining.
    • getExcludePatternsList

      public com.google.protobuf.ProtocolStringList 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];
      Specified by:
      getExcludePatternsList in interface Zone.DiscoverySpecOrBuilder
      Returns:
      A list containing the excludePatterns.
    • getExcludePatternsCount

      public 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];
      Specified by:
      getExcludePatternsCount in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The count of excludePatterns.
    • getExcludePatterns

      public 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];
      Specified by:
      getExcludePatterns in interface Zone.DiscoverySpecOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludePatterns at the given index.
    • getExcludePatternsBytes

      public 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];
      Specified by:
      getExcludePatternsBytes in interface Zone.DiscoverySpecOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludePatterns at the given index.
    • setExcludePatterns

      public Zone.DiscoverySpec.Builder setExcludePatterns(int index, String value)
       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 to set the value at.
      value - The excludePatterns to set.
      Returns:
      This builder for chaining.
    • addExcludePatterns

      public Zone.DiscoverySpec.Builder addExcludePatterns(String value)
       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:
      value - The excludePatterns to add.
      Returns:
      This builder for chaining.
    • addAllExcludePatterns

      public Zone.DiscoverySpec.Builder addAllExcludePatterns(Iterable<String> values)
       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:
      values - The excludePatterns to add.
      Returns:
      This builder for chaining.
    • clearExcludePatterns

      public Zone.DiscoverySpec.Builder clearExcludePatterns()
       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:
      This builder for chaining.
    • addExcludePatternsBytes

      public Zone.DiscoverySpec.Builder addExcludePatternsBytes(com.google.protobuf.ByteString value)
       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:
      value - The bytes of the excludePatterns to add.
      Returns:
      This builder for chaining.
    • hasCsvOptions

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

      public Zone.DiscoverySpec.CsvOptions getCsvOptions()
       Optional. Configuration for CSV data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCsvOptions in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The csvOptions.
    • setCsvOptions

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

      public Zone.DiscoverySpec.Builder setCsvOptions(Zone.DiscoverySpec.CsvOptions.Builder builderForValue)
       Optional. Configuration for CSV data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCsvOptions

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

      public Zone.DiscoverySpec.Builder clearCsvOptions()
       Optional. Configuration for CSV data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getCsvOptionsBuilder

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

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

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

      public Zone.DiscoverySpec.JsonOptions getJsonOptions()
       Optional. Configuration for Json data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getJsonOptions in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The jsonOptions.
    • setJsonOptions

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

      public Zone.DiscoverySpec.Builder setJsonOptions(Zone.DiscoverySpec.JsonOptions.Builder builderForValue)
       Optional. Configuration for Json data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeJsonOptions

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

      public Zone.DiscoverySpec.Builder clearJsonOptions()
       Optional. Configuration for Json data.
       
      .google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getJsonOptionsBuilder

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

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

      public 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];
      Specified by:
      hasSchedule in interface Zone.DiscoverySpecOrBuilder
      Returns:
      Whether the schedule field is set.
    • getSchedule

      public 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];
      Specified by:
      getSchedule in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The schedule.
    • getScheduleBytes

      public 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];
      Specified by:
      getScheduleBytes in interface Zone.DiscoverySpecOrBuilder
      Returns:
      The bytes for schedule.
    • setSchedule

      public Zone.DiscoverySpec.Builder setSchedule(String value)
       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];
      Parameters:
      value - The schedule to set.
      Returns:
      This builder for chaining.
    • clearSchedule

      public Zone.DiscoverySpec.Builder clearSchedule()
       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:
      This builder for chaining.
    • setScheduleBytes

      public Zone.DiscoverySpec.Builder setScheduleBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for schedule to set.
      Returns:
      This builder for chaining.