# Interface DataSourceExportSettingsOrBuilder (0.31.0)

0.31.0 (latest) 0.29.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.2.0 0.1.0

    public interface DataSourceExportSettingsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDataFreshnessTime()

    public abstract Timestamp getDataFreshnessTime()

Output only. The data freshness of the given export which represents the
time bucket at which the latest event was exported.

`
.google.protobuf.Timestamp data_freshness_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDataFreshnessTimeOrBuilder()

    public abstract TimestampOrBuilder getDataFreshnessTimeOrBuilder()

Output only. The data freshness of the given export which represents the
time bucket at which the latest event was exported.

`
.google.protobuf.Timestamp data_freshness_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDataVolume()

    public abstract long getDataVolume()

Output only. The stored data volume of all the exports.

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

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

### getEnabled()

    public abstract boolean getEnabled()

Required. Whether the data source is enabled for export.

`bool enabled = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getLatestExportJobState()

    public abstract LatestExportJobState getLatestExportJobState()

Output only. The state of the latest data source export job.

`
.google.cloud.chronicle.v1.LatestExportJobState latest_export_job_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.LatestExportJobState` | The latestExportJobState. |

### getLatestExportJobStateValue()

    public abstract int getLatestExportJobStateValue()

Output only. The state of the latest data source export job.

`
.google.cloud.chronicle.v1.LatestExportJobState latest_export_job_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 latestExportJobState. |

### getRetentionDays()

    public abstract int getRetentionDays()

Required. The retention period for the data source in days.

`int32 retention_days = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### hasDataFreshnessTime()

    public abstract boolean hasDataFreshnessTime()

Output only. The data freshness of the given export which represents the
time bucket at which the latest event was exported.

`
.google.protobuf.Timestamp data_freshness_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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