1.91.0 (latest) 1.89.0 1.86.0 1.85.0 1.83.0 1.81.0 1.80.0 1.79.0 1.78.0 1.76.0 1.74.0 1.73.0 1.72.0 1.71.0 1.70.0 1.68.0 1.66.0 1.65.0 1.62.0 1.61.0 1.60.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.2.2

    public static interface MetadataJob.ImportJobSpecOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAspectSyncMode()

    public abstract MetadataJob.ImportJobSpec.SyncMode getAspectSyncMode()

Required. The sync mode for aspects.

` .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode` | The aspectSyncMode. |

### getAspectSyncModeValue()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for aspectSyncMode. |

### getEntrySyncMode()

    public abstract MetadataJob.ImportJobSpec.SyncMode getEntrySyncMode()

Required. The sync mode for entries.

` .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode` | The entrySyncMode. |

### getEntrySyncModeValue()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for entrySyncMode. |

### getLogLevel()

    public abstract MetadataJob.ImportJobSpec.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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel` | The logLevel. |

### getLogLevelValue()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for logLevel. |

### getScope()

    public abstract MetadataJob.ImportJobSpec.ImportJobScope 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope` | The scope. |

### getScopeOrBuilder()

    public abstract MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder 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]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder` |   |

### getSourceCreateTime()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The sourceCreateTime. |

### getSourceCreateTimeOrBuilder()

    public abstract 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]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getSourceStorageUri()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The sourceStorageUri. |

### getSourceStorageUriBytes()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for sourceStorageUri. |

### hasScope()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the scope field is set. |

### hasSourceCreateTime()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sourceCreateTime field is set. |