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
INCLUDE_OBJECTS_FIELD_NUMBER
public static final int INCLUDE_OBJECTS_FIELD_NUMBER
Field Value
PUBLICATION_FIELD_NUMBER
public static final int PUBLICATION_FIELD_NUMBER
Field Value
REPLICATION_SLOT_FIELD_NUMBER
public static final int REPLICATION_SLOT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PostgresqlSourceConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PostgresqlSourceConfig.Builder newBuilder()
Returns
newBuilder(PostgresqlSourceConfig prototype)
public static PostgresqlSourceConfig.Builder newBuilder(PostgresqlSourceConfig prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static PostgresqlSourceConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PostgresqlSourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PostgresqlSourceConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PostgresqlSourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PostgresqlSourceConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PostgresqlSourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static PostgresqlSourceConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PostgresqlSourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static PostgresqlSourceConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PostgresqlSourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PostgresqlSourceConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PostgresqlSourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PostgresqlSourceConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PostgresqlSourceConfig getDefaultInstanceForType()
Returns
getExcludeObjects()
public PostgresqlRdbms getExcludeObjects()
PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
Returns
getExcludeObjectsOrBuilder()
public PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder()
PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
Returns
getIncludeObjects()
public PostgresqlRdbms getIncludeObjects()
PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
Returns
getIncludeObjectsOrBuilder()
public PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder()
PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
Returns
getParserForType()
public Parser<PostgresqlSourceConfig> getParserForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for publication.
|
getReplicationSlot()
public String getReplicationSlot()
Required. The name of the logical replication slot that's configured with the
pgoutput plugin.
string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The replicationSlot.
|
getReplicationSlotBytes()
public ByteString getReplicationSlotBytes()
Required. The name of the logical replication slot that's configured with the
pgoutput plugin.
string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for replicationSlot.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasExcludeObjects()
public boolean hasExcludeObjects()
PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the includeObjects field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PostgresqlSourceConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PostgresqlSourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PostgresqlSourceConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions