public interface ImportDocumentsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCollectionIds(int index)
public abstract String getCollectionIds(int index)Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The collectionIds at the given index. |
getCollectionIdsBytes(int index)
public abstract ByteString getCollectionIdsBytes(int index)Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the collectionIds at the given index. |
getCollectionIdsCount()
public abstract int getCollectionIdsCount()Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of collectionIds. |
getCollectionIdsList()
public abstract List<String> getCollectionIdsList()Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the collectionIds. |
getInputUriPrefix()
public abstract String getInputUriPrefix()Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
string input_uri_prefix = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The inputUriPrefix. |
getInputUriPrefixBytes()
public abstract ByteString getInputUriPrefixBytes()Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
string input_uri_prefix = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for inputUriPrefix. |
getName()
public abstract String getName() Required. Database to import into. Should be of the form:
projects/{project_id}/databases/{database_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Required. Database to import into. Should be of the form:
projects/{project_id}/databases/{database_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |