public static final class PostgresqlSourceConfig.Builder extends GeneratedMessageV3.Builder<PostgresqlSourceConfig.Builder> implements PostgresqlSourceConfigOrBuilderPostgreSQL data source configuration
Protobuf type google.cloud.datastream.v1.PostgresqlSourceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PostgresqlSourceConfig.BuilderImplements
PostgresqlSourceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlSourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
PostgresqlSourceConfig.Builder |
build()
public PostgresqlSourceConfig build()| Type | Description |
PostgresqlSourceConfig |
buildPartial()
public PostgresqlSourceConfig buildPartial()| Type | Description |
PostgresqlSourceConfig |
clear()
public PostgresqlSourceConfig.Builder clear()| Type | Description |
PostgresqlSourceConfig.Builder |
clearExcludeObjects()
public PostgresqlSourceConfig.Builder clearExcludeObjects()PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Type | Description |
PostgresqlSourceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public PostgresqlSourceConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
PostgresqlSourceConfig.Builder |
clearIncludeObjects()
public PostgresqlSourceConfig.Builder clearIncludeObjects()PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Type | Description |
PostgresqlSourceConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PostgresqlSourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
PostgresqlSourceConfig.Builder |
clearPublication()
public PostgresqlSourceConfig.Builder clearPublication()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];
| Type | Description |
PostgresqlSourceConfig.Builder |
This builder for chaining. |
clearReplicationSlot()
public PostgresqlSourceConfig.Builder clearReplicationSlot()Required. The name of the logical replication slot that's configured with the pgoutput plugin.
string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
PostgresqlSourceConfig.Builder |
This builder for chaining. |
clone()
public PostgresqlSourceConfig.Builder clone()| Type | Description |
PostgresqlSourceConfig.Builder |
getDefaultInstanceForType()
public PostgresqlSourceConfig getDefaultInstanceForType()| Type | Description |
PostgresqlSourceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getExcludeObjects()
public PostgresqlRdbms getExcludeObjects()PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Type | Description |
PostgresqlRdbms |
The excludeObjects. |
getExcludeObjectsBuilder()
public PostgresqlRdbms.Builder getExcludeObjectsBuilder()PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Type | Description |
PostgresqlRdbms.Builder |
getExcludeObjectsOrBuilder()
public PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder()PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Type | Description |
PostgresqlRdbmsOrBuilder |
getIncludeObjects()
public PostgresqlRdbms getIncludeObjects()PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Type | Description |
PostgresqlRdbms |
The includeObjects. |
getIncludeObjectsBuilder()
public PostgresqlRdbms.Builder getIncludeObjectsBuilder()PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Type | Description |
PostgresqlRdbms.Builder |
getIncludeObjectsOrBuilder()
public PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder()PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Type | Description |
PostgresqlRdbmsOrBuilder |
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];
| 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];
| 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];
| 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];
| Type | Description |
ByteString |
The bytes for replicationSlot. |
hasExcludeObjects()
public boolean hasExcludeObjects()PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| 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;
| Type | Description |
boolean |
Whether the includeObjects field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeExcludeObjects(PostgresqlRdbms value)
public PostgresqlSourceConfig.Builder mergeExcludeObjects(PostgresqlRdbms value)PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Name | Description |
value |
PostgresqlRdbms |
| Type | Description |
PostgresqlSourceConfig.Builder |
mergeFrom(PostgresqlSourceConfig other)
public PostgresqlSourceConfig.Builder mergeFrom(PostgresqlSourceConfig other)| Name | Description |
other |
PostgresqlSourceConfig |
| Type | Description |
PostgresqlSourceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostgresqlSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
PostgresqlSourceConfig.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public PostgresqlSourceConfig.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
PostgresqlSourceConfig.Builder |
mergeIncludeObjects(PostgresqlRdbms value)
public PostgresqlSourceConfig.Builder mergeIncludeObjects(PostgresqlRdbms value)PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Name | Description |
value |
PostgresqlRdbms |
| Type | Description |
PostgresqlSourceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlSourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
PostgresqlSourceConfig.Builder |
setExcludeObjects(PostgresqlRdbms value)
public PostgresqlSourceConfig.Builder setExcludeObjects(PostgresqlRdbms value)PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Name | Description |
value |
PostgresqlRdbms |
| Type | Description |
PostgresqlSourceConfig.Builder |
setExcludeObjects(PostgresqlRdbms.Builder builderForValue)
public PostgresqlSourceConfig.Builder setExcludeObjects(PostgresqlRdbms.Builder builderForValue)PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
| Name | Description |
builderForValue |
PostgresqlRdbms.Builder |
| Type | Description |
PostgresqlSourceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlSourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
PostgresqlSourceConfig.Builder |
setIncludeObjects(PostgresqlRdbms value)
public PostgresqlSourceConfig.Builder setIncludeObjects(PostgresqlRdbms value)PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Name | Description |
value |
PostgresqlRdbms |
| Type | Description |
PostgresqlSourceConfig.Builder |
setIncludeObjects(PostgresqlRdbms.Builder builderForValue)
public PostgresqlSourceConfig.Builder setIncludeObjects(PostgresqlRdbms.Builder builderForValue)PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
| Name | Description |
builderForValue |
PostgresqlRdbms.Builder |
| Type | Description |
PostgresqlSourceConfig.Builder |
setPublication(String value)
public PostgresqlSourceConfig.Builder setPublication(String value)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];
| Name | Description |
value |
StringThe publication to set. |
| Type | Description |
PostgresqlSourceConfig.Builder |
This builder for chaining. |
setPublicationBytes(ByteString value)
public PostgresqlSourceConfig.Builder setPublicationBytes(ByteString value)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];
| Name | Description |
value |
ByteStringThe bytes for publication to set. |
| Type | Description |
PostgresqlSourceConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PostgresqlSourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
PostgresqlSourceConfig.Builder |
setReplicationSlot(String value)
public PostgresqlSourceConfig.Builder setReplicationSlot(String value)Required. The name of the logical replication slot that's configured with the pgoutput plugin.
string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
value |
StringThe replicationSlot to set. |
| Type | Description |
PostgresqlSourceConfig.Builder |
This builder for chaining. |
setReplicationSlotBytes(ByteString value)
public PostgresqlSourceConfig.Builder setReplicationSlotBytes(ByteString value)Required. The name of the logical replication slot that's configured with the pgoutput plugin.
string replication_slot = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
value |
ByteStringThe bytes for replicationSlot to set. |
| Type | Description |
PostgresqlSourceConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
PostgresqlSourceConfig.Builder |