# Interface FileUploadOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface FileUploadOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDataSourceId()

    public abstract long getDataSourceId()

Output only. The data source id.

`int64 data_source_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The dataSourceId. |

### getIssues(int index)

    public abstract FileUpload.Issue getIssues(int index)

Output only. The list of issues occurring in the data source.

`
repeated .google.shopping.merchant.datasources.v1.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/com.google.shopping.merchant.datasources.v1.FileUpload.Issue` |   |

### getIssuesCount()

    public abstract int getIssuesCount()

Output only. The list of issues occurring in the data source.

`
repeated .google.shopping.merchant.datasources.v1.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getIssuesList()

    public abstract List<FileUpload.Issue> getIssuesList()

Output only. The list of issues occurring in the data source.

`
repeated .google.shopping.merchant.datasources.v1.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/com.google.shopping.merchant.datasources.v1.FileUpload.Issue>` |   |

### getIssuesOrBuilder(int index)

    public abstract FileUpload.IssueOrBuilder getIssuesOrBuilder(int index)

Output only. The list of issues occurring in the data source.

`
repeated .google.shopping.merchant.datasources.v1.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/com.google.shopping.merchant.datasources.v1.FileUpload.IssueOrBuilder` |   |

### getIssuesOrBuilderList()

    public abstract List<? extends FileUpload.IssueOrBuilder> getIssuesOrBuilderList()

Output only. The list of issues occurring in the data source.

`
repeated .google.shopping.merchant.datasources.v1.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.shopping.merchant.datasources.v1.FileUpload.IssueOrBuilder>` |   |

### getItemsCreated()

    public abstract long getItemsCreated()

Output only. The number of items in the data source that were created.

`int64 items_created = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The itemsCreated. |

### getItemsTotal()

    public abstract long getItemsTotal()

Output only. The number of items in the data source that were processed.

`int64 items_total = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The itemsTotal. |

### getItemsUpdated()

    public abstract long getItemsUpdated()

Output only. The number of items in the data source that were updated.

`int64 items_updated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The itemsUpdated. |

### getName()

    public abstract String getName()

Identifier. The name of the data source file upload.
Format:
`{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The name of the data source file upload.
Format:
`{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

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

### getProcessingState()

    public abstract FileUpload.ProcessingState getProcessingState()

Output only. The processing state of the data source.

`
.google.shopping.merchant.datasources.v1.FileUpload.ProcessingState processing_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/com.google.shopping.merchant.datasources.v1.FileUpload.ProcessingState` | The processingState. |

### getProcessingStateValue()

    public abstract int getProcessingStateValue()

Output only. The processing state of the data source.

`
.google.shopping.merchant.datasources.v1.FileUpload.ProcessingState processing_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for processingState. |

### getUploadTime()

    public abstract Timestamp getUploadTime()

Output only. The date at which the file of the data source was uploaded.

`.google.protobuf.Timestamp upload_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getUploadTimeOrBuilder()

    public abstract TimestampOrBuilder getUploadTimeOrBuilder()

Output only. The date at which the file of the data source was uploaded.

`.google.protobuf.Timestamp upload_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasUploadTime()

    public abstract boolean hasUploadTime()

Output only. The date at which the file of the data source was uploaded.

`.google.protobuf.Timestamp upload_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the uploadTime field is set. |