public static final class Asset.DiscoverySpec extends GeneratedMessageV3 implements Asset.DiscoverySpecOrBuilder
   
   Settings to manage the metadata discovery and publishing for an asset.
 Protobuf type google.cloud.dataplex.v1.Asset.DiscoverySpec
Static Fields
  
  CSV_OPTIONS_FIELD_NUMBER
  
    public static final int CSV_OPTIONS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  ENABLED_FIELD_NUMBER
  
    public static final int ENABLED_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  EXCLUDE_PATTERNS_FIELD_NUMBER
  
    public static final int EXCLUDE_PATTERNS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  INCLUDE_PATTERNS_FIELD_NUMBER
  
    public static final int INCLUDE_PATTERNS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  JSON_OPTIONS_FIELD_NUMBER
  
    public static final int JSON_OPTIONS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  SCHEDULE_FIELD_NUMBER
  
    public static final int SCHEDULE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static Asset.DiscoverySpec getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static Asset.DiscoverySpec.Builder newBuilder()
   
  
  
  newBuilder(Asset.DiscoverySpec prototype)
  
    public static Asset.DiscoverySpec.Builder newBuilder(Asset.DiscoverySpec prototype)
   
  
  
  
  
  
    public static Asset.DiscoverySpec parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static Asset.DiscoverySpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static Asset.DiscoverySpec parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static Asset.DiscoverySpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static Asset.DiscoverySpec parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static Asset.DiscoverySpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Asset.DiscoverySpec parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static Asset.DiscoverySpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static Asset.DiscoverySpec parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static Asset.DiscoverySpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static Asset.DiscoverySpec parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static Asset.DiscoverySpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<Asset.DiscoverySpec> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getCsvOptions()
  
    public Asset.DiscoverySpec.CsvOptions getCsvOptions()
   
   Optional. Configuration for CSV data.
 
 .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
 
getCsvOptionsOrBuilder()
  
    public Asset.DiscoverySpec.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
   
   Optional. Configuration for CSV data.
 
 .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
 
getDefaultInstanceForType()
  
    public Asset.DiscoverySpec getDefaultInstanceForType()
   
  
  
  getEnabled()
  
    public boolean getEnabled()
   
   Optional. Whether discovery is enabled.
 bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | The enabled. | 
    
  
  
  getExcludePatterns(int index)
  
    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];
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The excludePatterns at the given index. | 
    
  
  
  getExcludePatternsBytes(int index)
  
    public 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];
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the excludePatterns at the given index. | 
    
  
  
  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];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of excludePatterns. | 
    
  
  
  getExcludePatternsList()
  
    public 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];
getIncludePatterns(int index)
  
    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];
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The includePatterns at the given index. | 
    
  
  
  getIncludePatternsBytes(int index)
  
    public 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];
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the includePatterns at the given index. | 
    
  
  
  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];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of includePatterns. | 
    
  
  
  getIncludePatternsList()
  
    public 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];
getJsonOptions()
  
    public Asset.DiscoverySpec.JsonOptions getJsonOptions()
   
   Optional. Configuration for Json data.
 
 .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
 
getJsonOptionsOrBuilder()
  
    public Asset.DiscoverySpec.JsonOptionsOrBuilder getJsonOptionsOrBuilder()
   
   Optional. Configuration for Json data.
 
 .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
 
getParserForType()
  
    public Parser<Asset.DiscoverySpec> getParserForType()
   
  
  Overrides
  
  
  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];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The schedule. | 
    
  
  
  getScheduleBytes()
  
    public 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 | 
      
        | Type | Description | 
      
        | ByteString | The bytes for schedule. | 
    
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  getTriggerCase()
  
    public Asset.DiscoverySpec.TriggerCase getTriggerCase()
   
  
  
  getUnknownFields()
  
    public final UnknownFieldSet getUnknownFields()
   
  
  Overrides
  
  
  hasCsvOptions()
  
    public boolean hasCsvOptions()
   
   Optional. Configuration for CSV data.
 
 .google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions csv_options = 4 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the csvOptions field is set. | 
    
  
  
  hasJsonOptions()
  
    public boolean hasJsonOptions()
   
   Optional. Configuration for Json data.
 
 .google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions json_options = 5 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the jsonOptions field is set. | 
    
  
  
  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];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the schedule field is set. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public Asset.DiscoverySpec.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected Asset.DiscoverySpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public Asset.DiscoverySpec.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides