public static final class ImportDocumentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder> implements ImportDocumentsRequestOrBuilder
The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].Protobuf type
google.firestore.admin.v1.ImportDocumentsRequest| Modifier and Type | Method and Description |
|---|---|
ImportDocumentsRequest.Builder |
addAllCollectionIds(Iterable<String> values)
Which collection ids to import.
|
ImportDocumentsRequest.Builder |
addCollectionIds(String value)
Which collection ids to import.
|
ImportDocumentsRequest.Builder |
addCollectionIdsBytes(com.google.protobuf.ByteString value)
Which collection ids to import.
|
ImportDocumentsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportDocumentsRequest |
build() |
ImportDocumentsRequest |
buildPartial() |
ImportDocumentsRequest.Builder |
clear() |
ImportDocumentsRequest.Builder |
clearCollectionIds()
Which collection ids to import.
|
ImportDocumentsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportDocumentsRequest.Builder |
clearInputUriPrefix()
Location of the exported files.
|
ImportDocumentsRequest.Builder |
clearName()
Required.
|
ImportDocumentsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportDocumentsRequest.Builder |
clone() |
String |
getCollectionIds(int index)
Which collection ids to import.
|
com.google.protobuf.ByteString |
getCollectionIdsBytes(int index)
Which collection ids to import.
|
int |
getCollectionIdsCount()
Which collection ids to import.
|
com.google.protobuf.ProtocolStringList |
getCollectionIdsList()
Which collection ids to import.
|
ImportDocumentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInputUriPrefix()
Location of the exported files.
|
com.google.protobuf.ByteString |
getInputUriPrefixBytes()
Location of the exported files.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportDocumentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportDocumentsRequest.Builder |
mergeFrom(ImportDocumentsRequest other) |
ImportDocumentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportDocumentsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportDocumentsRequest.Builder |
setCollectionIds(int index,
String value)
Which collection ids to import.
|
ImportDocumentsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportDocumentsRequest.Builder |
setInputUriPrefix(String value)
Location of the exported files.
|
ImportDocumentsRequest.Builder |
setInputUriPrefixBytes(com.google.protobuf.ByteString value)
Location of the exported files.
|
ImportDocumentsRequest.Builder |
setName(String value)
Required.
|
ImportDocumentsRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ImportDocumentsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportDocumentsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportDocumentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportDocumentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportDocumentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder mergeFrom(ImportDocumentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public ImportDocumentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>IOExceptionpublic 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) = { ... }
getName in interface ImportDocumentsRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getNameBytes in interface ImportDocumentsRequestOrBuilderpublic ImportDocumentsRequest.Builder setName(String value)
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) = { ... }
value - The name to set.public ImportDocumentsRequest.Builder clearName()
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) = { ... }
public ImportDocumentsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for name to set.public com.google.protobuf.ProtocolStringList getCollectionIdsList()
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;getCollectionIdsList in interface ImportDocumentsRequestOrBuilderpublic int getCollectionIdsCount()
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;getCollectionIdsCount in interface ImportDocumentsRequestOrBuilderpublic String getCollectionIds(int index)
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;getCollectionIds in interface ImportDocumentsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCollectionIdsBytes(int index)
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;getCollectionIdsBytes in interface ImportDocumentsRequestOrBuilderindex - The index of the value to return.public ImportDocumentsRequest.Builder setCollectionIds(int index, String value)
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;index - The index to set the value at.value - The collectionIds to set.public ImportDocumentsRequest.Builder addCollectionIds(String value)
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;value - The collectionIds to add.public ImportDocumentsRequest.Builder addAllCollectionIds(Iterable<String> values)
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;values - The collectionIds to add.public ImportDocumentsRequest.Builder clearCollectionIds()
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;public ImportDocumentsRequest.Builder addCollectionIdsBytes(com.google.protobuf.ByteString value)
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;value - The bytes of the collectionIds to add.public 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][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix].
string input_uri_prefix = 3;getInputUriPrefix in interface ImportDocumentsRequestOrBuilderpublic com.google.protobuf.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][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix].
string input_uri_prefix = 3;getInputUriPrefixBytes in interface ImportDocumentsRequestOrBuilderpublic ImportDocumentsRequest.Builder setInputUriPrefix(String value)
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][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix].
string input_uri_prefix = 3;value - The inputUriPrefix to set.public ImportDocumentsRequest.Builder clearInputUriPrefix()
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][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix].
string input_uri_prefix = 3;public ImportDocumentsRequest.Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value)
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][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix].
string input_uri_prefix = 3;value - The bytes for inputUriPrefix to set.public final ImportDocumentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>public final ImportDocumentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.