public final class MongodbCollection extends GeneratedMessage implements MongodbCollectionOrBuilderMongoDB Collection.
Protobuf type google.cloud.datastream.v1.MongodbCollection
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > MongodbCollectionImplements
MongodbCollectionOrBuilderStatic Fields
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static MongodbCollection getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static MongodbCollection.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
newBuilder(MongodbCollection prototype)
public static MongodbCollection.Builder newBuilder(MongodbCollection prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
MongodbCollection |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
parseDelimitedFrom(InputStream input)
public static MongodbCollection parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MongodbCollection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static MongodbCollection parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MongodbCollection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static MongodbCollection parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MongodbCollection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static MongodbCollection parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MongodbCollection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static MongodbCollection parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MongodbCollection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static MongodbCollection parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MongodbCollection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<MongodbCollection> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MongodbCollection> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCollection()
public String getCollection()Collection name.
string collection = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The collection. |
getCollectionBytes()
public ByteString getCollectionBytes()Collection name.
string collection = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collection. |
getDefaultInstanceForType()
public MongodbCollection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
getFields(int index)
public MongodbField getFields(int index)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MongodbField |
|
getFieldsCount()
public int getFieldsCount()Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getFieldsList()
public List<MongodbField> getFieldsList()Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<MongodbField> |
|
getFieldsOrBuilder(int index)
public MongodbFieldOrBuilder getFieldsOrBuilder(int index)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MongodbFieldOrBuilder |
|
getFieldsOrBuilderList()
public List<? extends MongodbFieldOrBuilder> getFieldsOrBuilderList()Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.datastream.v1.MongodbFieldOrBuilder> |
|
getParserForType()
public Parser<MongodbCollection> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<MongodbCollection> |
|
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 MongodbCollection.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MongodbCollection.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
toBuilder()
public MongodbCollection.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|