Interface MetadataJob.ImportJobSpecOrBuilder

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

public static interface MetadataJob.ImportJobSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSourceStorageUri

      String getSourceStorageUri()
       Optional. The URI of a Cloud Storage bucket or folder (beginning with
       `gs://` and ending with `/`) that contains the metadata import files for
       this job.
      
       A metadata import file defines the values to set for each of the entries
       and aspects in a metadata import job. For more information about how to
       create a metadata import file and the file requirements, see [Metadata
       import
       file](https://cloud.google.com/dataplex/docs/import-metadata#metadata-import-file).
      
       You can provide multiple metadata import files in the same metadata job.
       The bucket or folder must contain at least one metadata import file, in
       JSON Lines format (either `.json` or `.jsonl` file extension).
      
       In `FULL` entry sync mode, don't save the metadata import file in a
       folder named `SOURCE_STORAGE_URI/deletions/`.
      
       **Caution**: If the metadata import file contains no data, all entries
       and aspects that belong to the job's scope are deleted.
       
      string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sourceStorageUri.
    • getSourceStorageUriBytes

      com.google.protobuf.ByteString getSourceStorageUriBytes()
       Optional. The URI of a Cloud Storage bucket or folder (beginning with
       `gs://` and ending with `/`) that contains the metadata import files for
       this job.
      
       A metadata import file defines the values to set for each of the entries
       and aspects in a metadata import job. For more information about how to
       create a metadata import file and the file requirements, see [Metadata
       import
       file](https://cloud.google.com/dataplex/docs/import-metadata#metadata-import-file).
      
       You can provide multiple metadata import files in the same metadata job.
       The bucket or folder must contain at least one metadata import file, in
       JSON Lines format (either `.json` or `.jsonl` file extension).
      
       In `FULL` entry sync mode, don't save the metadata import file in a
       folder named `SOURCE_STORAGE_URI/deletions/`.
      
       **Caution**: If the metadata import file contains no data, all entries
       and aspects that belong to the job's scope are deleted.
       
      string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sourceStorageUri.
    • hasSourceCreateTime

      boolean hasSourceCreateTime()
       Optional. The time when the process that created the metadata import
       files began.
       
      .google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the sourceCreateTime field is set.
    • getSourceCreateTime

      com.google.protobuf.Timestamp getSourceCreateTime()
       Optional. The time when the process that created the metadata import
       files began.
       
      .google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sourceCreateTime.
    • getSourceCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getSourceCreateTimeOrBuilder()
       Optional. The time when the process that created the metadata import
       files began.
       
      .google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
    • hasScope

      boolean hasScope()
       Required. A boundary on the scope of impact that the metadata import job
       can have.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the scope field is set.
    • getScope

       Required. A boundary on the scope of impact that the metadata import job
       can have.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The scope.
    • getScopeOrBuilder

       Required. A boundary on the scope of impact that the metadata import job
       can have.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • getEntrySyncModeValue

      int getEntrySyncModeValue()
       Required. The sync mode for entries.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for entrySyncMode.
    • getEntrySyncMode

       Required. The sync mode for entries.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The entrySyncMode.
    • getAspectSyncModeValue

      int getAspectSyncModeValue()
       Required. The sync mode for aspects.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for aspectSyncMode.
    • getAspectSyncMode

       Required. The sync mode for aspects.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The aspectSyncMode.
    • getLogLevelValue

      int getLogLevelValue()
       Optional. The level of logs to write to Cloud Logging for this job.
      
       Debug-level logs provide highly-detailed information for
       troubleshooting, but their increased verbosity could incur [additional
       costs](https://cloud.google.com/stackdriver/pricing) that might not be
       merited for all jobs.
      
       If unspecified, defaults to `INFO`.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for logLevel.
    • getLogLevel

       Optional. The level of logs to write to Cloud Logging for this job.
      
       Debug-level logs provide highly-detailed information for
       troubleshooting, but their increased verbosity could incur [additional
       costs](https://cloud.google.com/stackdriver/pricing) that might not be
       merited for all jobs.
      
       If unspecified, defaults to `INFO`.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The logLevel.