# Interface Zone.DiscoverySpec.CsvOptionsOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptionsOrBuilder)

    public static interface Zone.DiscoverySpec.CsvOptionsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDelimiter()

    public abstract String getDelimiter()

Optional. The delimiter being used to separate values. This defaults to
','.

`string delimiter = 2;`

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

### getDelimiterBytes()

    public abstract ByteString getDelimiterBytes()

Optional. The delimiter being used to separate values. This defaults to
','.

`string delimiter = 2;`

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

### getDisableTypeInference()

    public abstract boolean getDisableTypeInference()

Optional. Whether to disable the inference of data type for CSV data.
If true, all columns will be registered as strings.

`bool disable_type_inference = 4;`

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

### getEncoding()

    public abstract String getEncoding()

Optional. The character encoding of the data. The default is UTF-8.

`string encoding = 3;`

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

### getEncodingBytes()

    public abstract ByteString getEncodingBytes()

Optional. The character encoding of the data. The default is UTF-8.

`string encoding = 3;`

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

### getHeaderRows()

    public abstract int getHeaderRows()

Optional. The number of rows to interpret as header rows that should be
skipped when reading data rows.

`int32 header_rows = 1;`

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