public static final class SourceObjectIdentifier.MongodbObjectIdentifier.Builder extends GeneratedMessage.Builder<SourceObjectIdentifier.MongodbObjectIdentifier.Builder> implements SourceObjectIdentifier.MongodbObjectIdentifierOrBuilderMongoDB data source object identifier.
Protobuf type
google.cloud.datastream.v1.SourceObjectIdentifier.MongodbObjectIdentifier
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SourceObjectIdentifier.MongodbObjectIdentifier.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SourceObjectIdentifier.MongodbObjectIdentifier build()| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier |
|
buildPartial()
public SourceObjectIdentifier.MongodbObjectIdentifier buildPartial()| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier |
|
clear()
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder clear()| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
|
clearCollection()
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder clearCollection()Required. The collection name.
string collection = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
This builder for chaining. |
clearDatabase()
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder clearDatabase()Required. The database name.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
This builder for chaining. |
getCollection()
public String getCollection()Required. The collection name.
string collection = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The collection. |
getCollectionBytes()
public ByteString getCollectionBytes()Required. The collection name.
string collection = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collection. |
getDatabase()
public String getDatabase()Required. The database name.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Required. The database name.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public SourceObjectIdentifier.MongodbObjectIdentifier getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SourceObjectIdentifier.MongodbObjectIdentifier other)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder mergeFrom(SourceObjectIdentifier.MongodbObjectIdentifier other)| Parameter | |
|---|---|
| Name | Description |
other |
SourceObjectIdentifier.MongodbObjectIdentifier |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
|
setCollection(String value)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder setCollection(String value)Required. The collection name.
string collection = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe collection to set. |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
This builder for chaining. |
setCollectionBytes(ByteString value)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder setCollectionBytes(ByteString value)Required. The collection name.
string collection = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for collection to set. |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
This builder for chaining. |
setDatabase(String value)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder setDatabase(String value)Required. The database name.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public SourceObjectIdentifier.MongodbObjectIdentifier.Builder setDatabaseBytes(ByteString value)Required. The database name.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
SourceObjectIdentifier.MongodbObjectIdentifier.Builder |
This builder for chaining. |