Interface MongodbDatabaseOrBuilder (1.71.0)

public interface MongodbDatabaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollections(int index)

public abstract MongodbCollection getCollections(int index)

Collections in the database.

repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;

Parameter
Name Description
index int
Returns
Type Description
MongodbCollection

getCollectionsCount()

public abstract int getCollectionsCount()

Collections in the database.

repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;

Returns
Type Description
int

getCollectionsList()

public abstract List<MongodbCollection> getCollectionsList()

Collections in the database.

repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;

Returns
Type Description
List<MongodbCollection>

getCollectionsOrBuilder(int index)

public abstract MongodbCollectionOrBuilder getCollectionsOrBuilder(int index)

Collections in the database.

repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;

Parameter
Name Description
index int
Returns
Type Description
MongodbCollectionOrBuilder

getCollectionsOrBuilderList()

public abstract List<? extends MongodbCollectionOrBuilder> getCollectionsOrBuilderList()

Collections in the database.

repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.MongodbCollectionOrBuilder>

getDatabase()

public abstract String getDatabase()

Database name.

string database = 1;

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Database name.

string database = 1;

Returns
Type Description
ByteString

The bytes for database.