public static final class MongodbSourceConfig.Builder extends GeneratedMessage.Builder<MongodbSourceConfig.Builder> implements MongodbSourceConfigOrBuilderMongoDB source configuration.
Protobuf type google.cloud.datastream.v1.MongodbSourceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MongodbSourceConfig.BuilderImplements
MongodbSourceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MongodbSourceConfig build()| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig |
|
buildPartial()
public MongodbSourceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig |
|
clear()
public MongodbSourceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
clearExcludeObjects()
public MongodbSourceConfig.Builder clearExcludeObjects()MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
clearIncludeObjects()
public MongodbSourceConfig.Builder clearIncludeObjects()MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
clearMaxConcurrentBackfillTasks()
public MongodbSourceConfig.Builder clearMaxConcurrentBackfillTasks()Optional. Maximum number of concurrent backfill tasks. The number should be non-negative and less than or equal to 50. If not set (or set to 0), the system's default value is used
int32 max_concurrent_backfill_tasks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public MongodbSourceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcludeObjects()
public MongodbCluster getExcludeObjects()MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
MongodbCluster |
The excludeObjects. |
getExcludeObjectsBuilder()
public MongodbCluster.Builder getExcludeObjectsBuilder()MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
MongodbCluster.Builder |
|
getExcludeObjectsOrBuilder()
public MongodbClusterOrBuilder getExcludeObjectsOrBuilder()MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
MongodbClusterOrBuilder |
|
getIncludeObjects()
public MongodbCluster getIncludeObjects()MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
MongodbCluster |
The includeObjects. |
getIncludeObjectsBuilder()
public MongodbCluster.Builder getIncludeObjectsBuilder()MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
MongodbCluster.Builder |
|
getIncludeObjectsOrBuilder()
public MongodbClusterOrBuilder getIncludeObjectsOrBuilder()MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
MongodbClusterOrBuilder |
|
getMaxConcurrentBackfillTasks()
public int getMaxConcurrentBackfillTasks()Optional. Maximum number of concurrent backfill tasks. The number should be non-negative and less than or equal to 50. If not set (or set to 0), the system's default value is used
int32 max_concurrent_backfill_tasks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The maxConcurrentBackfillTasks. |
hasExcludeObjects()
public boolean hasExcludeObjects()MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the excludeObjects field is set. |
hasIncludeObjects()
public boolean hasIncludeObjects()MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the includeObjects field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExcludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder mergeExcludeObjects(MongodbCluster value)MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
MongodbCluster |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
mergeFrom(MongodbSourceConfig other)
public MongodbSourceConfig.Builder mergeFrom(MongodbSourceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
MongodbSourceConfig |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MongodbSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MongodbSourceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
mergeIncludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder mergeIncludeObjects(MongodbCluster value)MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
MongodbCluster |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
setExcludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder setExcludeObjects(MongodbCluster value)MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
MongodbCluster |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
setExcludeObjects(MongodbCluster.Builder builderForValue)
public MongodbSourceConfig.Builder setExcludeObjects(MongodbCluster.Builder builderForValue)MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MongodbCluster.Builder |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
setIncludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder setIncludeObjects(MongodbCluster value)MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
MongodbCluster |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
setIncludeObjects(MongodbCluster.Builder builderForValue)
public MongodbSourceConfig.Builder setIncludeObjects(MongodbCluster.Builder builderForValue)MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MongodbCluster.Builder |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
|
setMaxConcurrentBackfillTasks(int value)
public MongodbSourceConfig.Builder setMaxConcurrentBackfillTasks(int value)Optional. Maximum number of concurrent backfill tasks. The number should be non-negative and less than or equal to 50. If not set (or set to 0), the system's default value is used
int32 max_concurrent_backfill_tasks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxConcurrentBackfillTasks to set. |
| Returns | |
|---|---|
| Type | Description |
MongodbSourceConfig.Builder |
This builder for chaining. |