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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>
public ImportDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ImportDocumentsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ImportDocumentsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ImportDocumentsRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>
IOException
public 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 ImportDocumentsRequestOrBuilder
public 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 ImportDocumentsRequestOrBuilder
public 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 ImportDocumentsRequestOrBuilder
public int getCollectionIdsCount()
Which collection ids to import. Unspecified means all collections included in the import.
repeated string collection_ids = 2;
getCollectionIdsCount
in interface ImportDocumentsRequestOrBuilder
public 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 ImportDocumentsRequestOrBuilder
index
- 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 ImportDocumentsRequestOrBuilder
index
- 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 ImportDocumentsRequestOrBuilder
public 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 ImportDocumentsRequestOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.