# Interface PostgresqlSourceConfigOrBuilder (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.datastream.v1.PostgresqlSourceConfigOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.datastream.v1.PostgresqlSourceConfigOrBuilder)

    public interface PostgresqlSourceConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getExcludeObjects()

    public abstract PostgresqlRdbms getExcludeObjects()

PostgreSQL objects to exclude from the stream.

`.google.events.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.PostgresqlRdbms` | The excludeObjects. |

### getExcludeObjectsOrBuilder()

    public abstract PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder()

PostgreSQL objects to exclude from the stream.

`.google.events.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.PostgresqlRdbmsOrBuilder` |   |

### getIncludeObjects()

    public abstract PostgresqlRdbms getIncludeObjects()

PostgreSQL objects to include in the stream.

`.google.events.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.PostgresqlRdbms` | The includeObjects. |

### getIncludeObjectsOrBuilder()

    public abstract PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder()

PostgreSQL objects to include in the stream.

`.google.events.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.PostgresqlRdbmsOrBuilder` |   |

### getPublication()

    public abstract String getPublication()

Required. The name of the publication that includes the set of all tables that are
defined in the stream's include_objects.

`string publication = 4;`

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

### getPublicationBytes()

    public abstract ByteString getPublicationBytes()

Required. The name of the publication that includes the set of all tables that are
defined in the stream's include_objects.

`string publication = 4;`

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

### getReplicationSlot()

    public abstract String getReplicationSlot()

Required. Immutable. The name of the logical replication slot that's configured with the
pgoutput plugin.

`string replication_slot = 3;`

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

### getReplicationSlotBytes()

    public abstract ByteString getReplicationSlotBytes()

Required. Immutable. The name of the logical replication slot that's configured with the
pgoutput plugin.

`string replication_slot = 3;`

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

### hasExcludeObjects()

    public abstract boolean hasExcludeObjects()

PostgreSQL objects to exclude from the stream.

`.google.events.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;`

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

### hasIncludeObjects()

    public abstract boolean hasIncludeObjects()

PostgreSQL objects to include in the stream.

`.google.events.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;`

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