- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class PostgresqlSourceConfig.Builder extends GeneratedMessageV3.Builder<PostgresqlSourceConfig.Builder> implements PostgresqlSourceConfigOrBuilder
PostgreSQL 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlSourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
build()
public PostgresqlSourceConfig build()
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig |
buildPartial()
public PostgresqlSourceConfig buildPartial()
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig |
clear()
public PostgresqlSourceConfig.Builder clear()
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
clearExcludeObjects()
public PostgresqlSourceConfig.Builder clearExcludeObjects()
PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public PostgresqlSourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
clearIncludeObjects()
public PostgresqlSourceConfig.Builder clearIncludeObjects()
PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
clearMaxConcurrentBackfillTasks()
public PostgresqlSourceConfig.Builder clearMaxConcurrentBackfillTasks()
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 | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PostgresqlSourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder | This builder for chaining. |
clearReplicationSlot()
public PostgresqlSourceConfig.Builder clearReplicationSlot()
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 | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder | This builder for chaining. |
clone()
public PostgresqlSourceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
getDefaultInstanceForType()
public PostgresqlSourceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExcludeObjects()
public PostgresqlRdbms getExcludeObjects()
PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PostgresqlRdbms.Builder |
getExcludeObjectsOrBuilder()
public PostgresqlRdbmsOrBuilder getExcludeObjectsOrBuilder()
PostgreSQL objects to exclude from the stream.
.google.cloud.datastream.v1.PostgresqlRdbms exclude_objects = 2;
Returns | |
---|---|
Type | Description |
PostgresqlRdbmsOrBuilder |
getIncludeObjects()
public PostgresqlRdbms getIncludeObjects()
PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PostgresqlRdbms.Builder |
getIncludeObjectsOrBuilder()
public PostgresqlRdbmsOrBuilder getIncludeObjectsOrBuilder()
PostgreSQL objects to include in the stream.
.google.cloud.datastream.v1.PostgresqlRdbms include_objects = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The maxConcurrentBackfillTasks. |
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. 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 | |
---|---|
Type | Description |
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 | |
---|---|
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;
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PostgresqlRdbms |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
mergeFrom(PostgresqlSourceConfig other)
public PostgresqlSourceConfig.Builder mergeFrom(PostgresqlSourceConfig other)
Parameter | |
---|---|
Name | Description |
other | PostgresqlSourceConfig |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostgresqlSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PostgresqlSourceConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PostgresqlRdbms |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlSourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PostgresqlRdbms |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | PostgresqlRdbms.Builder |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlSourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PostgresqlRdbms |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | PostgresqlRdbms.Builder |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
setMaxConcurrentBackfillTasks(int value)
public PostgresqlSourceConfig.Builder setMaxConcurrentBackfillTasks(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The maxConcurrentBackfillTasks to set. |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder | This builder for chaining. |
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];
Parameter | |
---|---|
Name | Description |
value | String The publication to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for publication to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
setReplicationSlot(String value)
public PostgresqlSourceConfig.Builder setReplicationSlot(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The replicationSlot to set. |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder | This builder for chaining. |
setReplicationSlotBytes(ByteString value)
public PostgresqlSourceConfig.Builder setReplicationSlotBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for replicationSlot to set. |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |