public static final class MongodbSourceConfig.Builder extends GeneratedMessageV3.Builder<MongodbSourceConfig.Builder> implements MongodbSourceConfigOrBuilder
MongoDB source configuration.
Protobuf type google.cloud.datastream.v1.MongodbSourceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MongodbSourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MongodbSourceConfig build()
buildPartial()
public MongodbSourceConfig buildPartial()
clear()
public MongodbSourceConfig.Builder clear()
Overrides
clearExcludeObjects()
public MongodbSourceConfig.Builder clearExcludeObjects()
MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
clearField(Descriptors.FieldDescriptor field)
public MongodbSourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIncludeObjects()
public MongodbSourceConfig.Builder clearIncludeObjects()
MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public MongodbSourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MongodbSourceConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public MongodbSourceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExcludeObjects()
public MongodbCluster getExcludeObjects()
MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
getExcludeObjectsBuilder()
public MongodbCluster.Builder getExcludeObjectsBuilder()
MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
getExcludeObjectsOrBuilder()
public MongodbClusterOrBuilder getExcludeObjectsOrBuilder()
MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
getIncludeObjects()
public MongodbCluster getIncludeObjects()
MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
getIncludeObjectsBuilder()
public MongodbCluster.Builder getIncludeObjectsBuilder()
MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
getIncludeObjectsOrBuilder()
public MongodbClusterOrBuilder getIncludeObjectsOrBuilder()
MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExcludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder mergeExcludeObjects(MongodbCluster value)
MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
mergeFrom(MongodbSourceConfig other)
public MongodbSourceConfig.Builder mergeFrom(MongodbSourceConfig other)
public MongodbSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MongodbSourceConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeIncludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder mergeIncludeObjects(MongodbCluster value)
MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MongodbSourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExcludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder setExcludeObjects(MongodbCluster value)
MongoDB collections to exclude from the stream.
.google.cloud.datastream.v1.MongodbCluster exclude_objects = 2;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public MongodbSourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIncludeObjects(MongodbCluster value)
public MongodbSourceConfig.Builder setIncludeObjects(MongodbCluster value)
MongoDB collections to include in the stream.
.google.cloud.datastream.v1.MongodbCluster include_objects = 1;
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;
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 |
int
The maxConcurrentBackfillTasks to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MongodbSourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MongodbSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides