Class SourceObjectIdentifier.MongodbObjectIdentifier (1.71.0)

public static final class SourceObjectIdentifier.MongodbObjectIdentifier extends GeneratedMessageV3 implements SourceObjectIdentifier.MongodbObjectIdentifierOrBuilder

MongoDB data source object identifier.

Protobuf type google.cloud.datastream.v1.SourceObjectIdentifier.MongodbObjectIdentifier

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SourceObjectIdentifier.MongodbObjectIdentifier

Static Fields

COLLECTION_FIELD_NUMBER

public static final int COLLECTION_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 SourceObjectIdentifier.MongodbObjectIdentifier getDefaultInstance()
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SourceObjectIdentifier.MongodbObjectIdentifier.Builder newBuilder()
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier.Builder

newBuilder(SourceObjectIdentifier.MongodbObjectIdentifier prototype)

public static SourceObjectIdentifier.MongodbObjectIdentifier.Builder newBuilder(SourceObjectIdentifier.MongodbObjectIdentifier prototype)
Parameter
Name Description
prototype SourceObjectIdentifier.MongodbObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier.Builder

parseDelimitedFrom(InputStream input)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceObjectIdentifier.MongodbObjectIdentifier parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SourceObjectIdentifier.MongodbObjectIdentifier> parser()
Returns
Type Description
Parser<MongodbObjectIdentifier>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<SourceObjectIdentifier.MongodbObjectIdentifier> getParserForType()
Returns
Type Description
Parser<MongodbObjectIdentifier>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SourceObjectIdentifier.MongodbObjectIdentifier.Builder newBuilderForType()
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SourceObjectIdentifier.MongodbObjectIdentifier.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SourceObjectIdentifier.MongodbObjectIdentifier.Builder toBuilder()
Returns
Type Description
SourceObjectIdentifier.MongodbObjectIdentifier.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException