public final class MongodbDatabase extends GeneratedMessage implements MongodbDatabaseOrBuilderMongoDB Database.
Protobuf type google.cloud.datastream.v1.MongodbDatabase
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > MongodbDatabaseImplements
MongodbDatabaseOrBuilderStatic Fields
COLLECTIONS_FIELD_NUMBER
public static final int COLLECTIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static MongodbDatabase getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static MongodbDatabase.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
MongodbDatabase.Builder |
|
newBuilder(MongodbDatabase prototype)
public static MongodbDatabase.Builder newBuilder(MongodbDatabase prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
MongodbDatabase |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase.Builder |
|
parseDelimitedFrom(InputStream input)
public static MongodbDatabase parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MongodbDatabase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static MongodbDatabase parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MongodbDatabase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static MongodbDatabase parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MongodbDatabase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static MongodbDatabase parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MongodbDatabase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static MongodbDatabase parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MongodbDatabase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static MongodbDatabase parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MongodbDatabase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<MongodbDatabase> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MongodbDatabase> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCollections(int index)
public 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 int getCollectionsCount()Collections in the database.
repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCollectionsList()
public List<MongodbCollection> getCollectionsList()Collections in the database.
repeated .google.cloud.datastream.v1.MongodbCollection collections = 2;
| Returns | |
|---|---|
| Type | Description |
List<MongodbCollection> |
|
getCollectionsOrBuilder(int index)
public 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 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 String getDatabase()Database name.
string database = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Database name.
string database = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public MongodbDatabase getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MongodbDatabase |
|
getParserForType()
public Parser<MongodbDatabase> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<MongodbDatabase> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public MongodbDatabase.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
MongodbDatabase.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MongodbDatabase.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
MongodbDatabase.Builder |
|
toBuilder()
public MongodbDatabase.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
MongodbDatabase.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|