# Interface ImportDataObjectsRequest.GcsImportConfigOrBuilder (0.15.0)

0.15.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.1.0

    public static interface ImportDataObjectsRequest.GcsImportConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getContentsUri()

    public abstract String getContentsUri()

Required. URI prefix of the Cloud Storage DataObjects to import.

`string contents_uri = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The contentsUri. |

### getContentsUriBytes()

    public abstract ByteString getContentsUriBytes()

Required. URI prefix of the Cloud Storage DataObjects to import.

`string contents_uri = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for contentsUri. |

### getErrorUri()

    public abstract String getErrorUri()

Required. URI prefix of the Cloud Storage location to write any errors
encountered during the import.

`string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The errorUri. |

### getErrorUriBytes()

    public abstract ByteString getErrorUriBytes()

Required. URI prefix of the Cloud Storage location to write any errors
encountered during the import.

`string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for errorUri. |

### getOutputUri()

    public abstract String getOutputUri()

Optional. URI prefix of the Cloud Storage location to write DataObject
`IDs` and `etags` of DataObjects that were successfully imported. The
service will write the successfully imported DataObjects to sharded files
under this prefix. If this field is empty, no output will be written.

`string output_uri = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The outputUri. |

### getOutputUriBytes()

    public abstract ByteString getOutputUriBytes()

Optional. URI prefix of the Cloud Storage location to write DataObject
`IDs` and `etags` of DataObjects that were successfully imported. The
service will write the successfully imported DataObjects to sharded files
under this prefix. If this field is empty, no output will be written.

`string output_uri = 3 [(.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 outputUri. |