- 1.84.0 (latest)
- 1.82.0
- 1.81.0
- 1.80.0
- 1.79.0
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class MongodbCollection.Builder extends GeneratedMessage.Builder<MongodbCollection.Builder> implements MongodbCollectionOrBuilderMongoDB Collection.
Protobuf type google.cloud.datastream.v1.MongodbCollection
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MongodbCollection.BuilderImplements
MongodbCollectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFields(Iterable<? extends MongodbField> values)
public MongodbCollection.Builder addAllFields(Iterable<? extends MongodbField> values)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.datastream.v1.MongodbField> |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
addFields(MongodbField value)
public MongodbCollection.Builder addFields(MongodbField value)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
MongodbField |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
addFields(MongodbField.Builder builderForValue)
public MongodbCollection.Builder addFields(MongodbField.Builder builderForValue)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MongodbField.Builder |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
addFields(int index, MongodbField value)
public MongodbCollection.Builder addFields(int index, MongodbField value)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MongodbField |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
addFields(int index, MongodbField.Builder builderForValue)
public MongodbCollection.Builder addFields(int index, MongodbField.Builder builderForValue)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MongodbField.Builder |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
addFieldsBuilder()
public MongodbField.Builder addFieldsBuilder()Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Returns | |
|---|---|
| Type | Description |
MongodbField.Builder |
|
addFieldsBuilder(int index)
public MongodbField.Builder addFieldsBuilder(int index)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MongodbField.Builder |
|
build()
public MongodbCollection build()| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
buildPartial()
public MongodbCollection buildPartial()| Returns | |
|---|---|
| Type | Description |
MongodbCollection |
|
clear()
public MongodbCollection.Builder clear()| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
clearCollection()
public MongodbCollection.Builder clearCollection()Collection name.
string collection = 1;
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
This builder for chaining. |
clearFields()
public MongodbCollection.Builder clearFields()Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
getFieldsBuilder(int index)
public MongodbField.Builder getFieldsBuilder(int index)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MongodbField.Builder |
|
getFieldsBuilderList()
public List<MongodbField.Builder> getFieldsBuilderList()Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MongodbCollection other)
public MongodbCollection.Builder mergeFrom(MongodbCollection other)| Parameter | |
|---|---|
| Name | Description |
other |
MongodbCollection |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MongodbCollection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MongodbCollection.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
removeFields(int index)
public MongodbCollection.Builder removeFields(int index)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
setCollection(String value)
public MongodbCollection.Builder setCollection(String value)Collection name.
string collection = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe collection to set. |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
This builder for chaining. |
setCollectionBytes(ByteString value)
public MongodbCollection.Builder setCollectionBytes(ByteString value)Collection name.
string collection = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for collection to set. |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
This builder for chaining. |
setFields(int index, MongodbField value)
public MongodbCollection.Builder setFields(int index, MongodbField value)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MongodbField |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|
setFields(int index, MongodbField.Builder builderForValue)
public MongodbCollection.Builder setFields(int index, MongodbField.Builder builderForValue)Fields in the collection.
repeated .google.cloud.datastream.v1.MongodbField fields = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MongodbField.Builder |
| Returns | |
|---|---|
| Type | Description |
MongodbCollection.Builder |
|