Class PostgresqlSourceConfig (1.32.0)

public final class PostgresqlSourceConfig extends GeneratedMessageV3 implements PostgresqlSourceConfigOrBuilder

PostgreSQL data source configuration

Protobuf type google.cloud.datastream.v1.PostgresqlSourceConfig

Static Fields

EXCLUDE_OBJECTS_FIELD_NUMBER

public static final int EXCLUDE_OBJECTS_FIELD_NUMBER
Field Value
TypeDescription
int

INCLUDE_OBJECTS_FIELD_NUMBER

public static final int INCLUDE_OBJECTS_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER

public static final int MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLICATION_FIELD_NUMBER

public static final int PUBLICATION_FIELD_NUMBER
Field Value
TypeDescription
int

REPLICATION_SLOT_FIELD_NUMBER

public static final int REPLICATION_SLOT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PostgresqlSourceConfig getDefaultInstance()
Returns
TypeDescription
PostgresqlSourceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PostgresqlSourceConfig.Builder newBuilder()
Returns
TypeDescription
PostgresqlSourceConfig.Builder

newBuilder(PostgresqlSourceConfig prototype)

public static PostgresqlSourceConfig.Builder newBuilder(PostgresqlSourceConfig prototype)
Parameter
NameDescription
prototypePostgresqlSourceConfig
Returns
TypeDescription
PostgresqlSourceConfig.Builder

parseDelimitedFrom(InputStream input)

public static PostgresqlSourceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PostgresqlSourceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PostgresqlSourceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PostgresqlSourceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PostgresqlSourceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PostgresqlSourceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PostgresqlSourceConfig> parser()
Returns
TypeDescription
Parser<PostgresqlSourceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PostgresqlSourceConfig getDefaultInstanceForType()
Returns
TypeDescription
PostgresqlSourceConfig

getExcludeObjects()

public PostgresqlRdbms getExcludeObjects()

PostgreSQL objects to exclude from the stream.

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

Returns
TypeDescription
PostgresqlRdbms

The excludeObjects.

getExcludeObjectsOrBuilder()

public PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder()

PostgreSQL objects to exclude from the stream.

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

Returns
TypeDescription
PostgresqlRdbmsOrBuilder

getIncludeObjects()

public PostgresqlRdbms getIncludeObjects()

PostgreSQL objects to include in the stream.

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

Returns
TypeDescription
PostgresqlRdbms

The includeObjects.

getIncludeObjectsOrBuilder()

public PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder()

PostgreSQL objects to include in the stream.

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

Returns
TypeDescription
PostgresqlRdbmsOrBuilder

getMaxConcurrentBackfillTasks()

public int getMaxConcurrentBackfillTasks()

Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_backfill_tasks = 5;

Returns
TypeDescription
int

The maxConcurrentBackfillTasks.

getParserForType()

public Parser<PostgresqlSourceConfig> getParserForType()
Returns
TypeDescription
Parser<PostgresqlSourceConfig>
Overrides

getPublication()

public 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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The publication.

getPublicationBytes()

public 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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for publication.

getReplicationSlot()

public String getReplicationSlot()

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

string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The replicationSlot.

getReplicationSlotBytes()

public ByteString getReplicationSlotBytes()

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

string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for replicationSlot.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasExcludeObjects()

public boolean hasExcludeObjects()

PostgreSQL objects to exclude from the stream.

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

Returns
TypeDescription
boolean

Whether the excludeObjects field is set.

hasIncludeObjects()

public boolean hasIncludeObjects()

PostgreSQL objects to include in the stream.

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

Returns
TypeDescription
boolean

Whether the includeObjects field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PostgresqlSourceConfig.Builder newBuilderForType()
Returns
TypeDescription
PostgresqlSourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PostgresqlSourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PostgresqlSourceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PostgresqlSourceConfig.Builder toBuilder()
Returns
TypeDescription
PostgresqlSourceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException