Package com.google.cloud.dataplex.v1
Class Asset.DiscoverySpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoverySpec.Builder>
com.google.cloud.dataplex.v1.Asset.DiscoverySpec.Builder
- All Implemented Interfaces:
Asset.DiscoverySpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Asset.DiscoverySpec
public static final class Asset.DiscoverySpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoverySpec.Builder>
implements Asset.DiscoverySpecOrBuilder
Settings to manage the metadata discovery and publishing for an asset.Protobuf type
google.cloud.dataplex.v1.Asset.DiscoverySpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllExcludePatterns(Iterable<String> values) Optional.addAllIncludePatterns(Iterable<String> values) Optional.addExcludePatterns(String value) Optional.addExcludePatternsBytes(com.google.protobuf.ByteString value) Optional.addIncludePatterns(String value) Optional.addIncludePatternsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.getExcludePatterns(int index) Optional.com.google.protobuf.ByteStringgetExcludePatternsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getIncludePatterns(int index) Optional.com.google.protobuf.ByteStringgetIncludePatternsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(Asset.DiscoverySpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.setCsvOptions(Asset.DiscoverySpec.CsvOptions.Builder builderForValue) Optional.setEnabled(boolean value) Optional.setExcludePatterns(int index, String value) Optional.setIncludePatterns(int index, String value) Optional.Optional.setJsonOptions(Asset.DiscoverySpec.JsonOptions.Builder builderForValue) Optional.setSchedule(String value) Optional.setScheduleBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoverySpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoverySpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoverySpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.DiscoverySpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoverySpec.Builder>
-
mergeFrom
public Asset.DiscoverySpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.DiscoverySpec.Builder>- Throws:
IOException
-
getTriggerCase
- Specified by:
getTriggerCasein interfaceAsset.DiscoverySpecOrBuilder
-
clearTrigger
-
getEnabled
public boolean getEnabled()Optional. Whether discovery is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnabledin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- The enabled.
-
setEnabled
Optional. Whether discovery is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
Optional. Whether discovery is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- 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:
getIncludePatternsListin interfaceAsset.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:
getIncludePatternsCountin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- The count of includePatterns.
-
getIncludePatterns
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:
getIncludePatternsin interfaceAsset.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:
getIncludePatternsBytesin interfaceAsset.DiscoverySpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includePatterns at the given index.
-
setIncludePatterns
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
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
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
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
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:
getExcludePatternsListin interfaceAsset.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:
getExcludePatternsCountin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- The count of excludePatterns.
-
getExcludePatterns
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:
getExcludePatternsin interfaceAsset.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:
getExcludePatternsBytesin interfaceAsset.DiscoverySpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludePatterns at the given index.
-
setExcludePatterns
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
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
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
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
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.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCsvOptionsin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- Whether the csvOptions field is set.
-
getCsvOptions
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCsvOptionsin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- The csvOptions.
-
setCsvOptions
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setCsvOptions
public Asset.DiscoverySpec.Builder setCsvOptions(Asset.DiscoverySpec.CsvOptions.Builder builderForValue) Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCsvOptions
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearCsvOptions
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCsvOptionsBuilder
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCsvOptionsOrBuilder
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCsvOptionsOrBuilderin interfaceAsset.DiscoverySpecOrBuilder
-
hasJsonOptions
public boolean hasJsonOptions()Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasJsonOptionsin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- Whether the jsonOptions field is set.
-
getJsonOptions
Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJsonOptionsin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- The jsonOptions.
-
setJsonOptions
Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setJsonOptions
public Asset.DiscoverySpec.Builder setJsonOptions(Asset.DiscoverySpec.JsonOptions.Builder builderForValue) Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeJsonOptions
Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearJsonOptions
Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getJsonOptionsBuilder
Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getJsonOptionsOrBuilder
Optional. Configuration for Json data.
.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJsonOptionsOrBuilderin interfaceAsset.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:
hasSchedulein interfaceAsset.DiscoverySpecOrBuilder- Returns:
- Whether the schedule field is set.
-
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:
getSchedulein interfaceAsset.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:
getScheduleBytesin interfaceAsset.DiscoverySpecOrBuilder- Returns:
- The bytes for schedule.
-
setSchedule
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
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
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.
-