Package com.google.firestore.admin.v1
Class ImportDocumentsMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsMetadata.Builder>
com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder
- All Implemented Interfaces:
ImportDocumentsMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportDocumentsMetadata
public static final class ImportDocumentsMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsMetadata.Builder>
implements ImportDocumentsMetadataOrBuilder
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].Protobuf type
google.firestore.admin.v1.ImportDocumentsMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllCollectionIds(Iterable<String> values) Which collection IDs are being imported.addAllNamespaceIds(Iterable<String> values) Which namespace IDs are being imported.addCollectionIds(String value) Which collection IDs are being imported.addCollectionIdsBytes(com.google.protobuf.ByteString value) Which collection IDs are being imported.addNamespaceIds(String value) Which namespace IDs are being imported.addNamespaceIdsBytes(com.google.protobuf.ByteString value) Which namespace IDs are being imported.build()clear()Which collection IDs are being imported.The time this operation completed.The location of the documents being imported.Which namespace IDs are being imported.The state of the import operation.The progress, in bytes, of this operation.The progress, in documents, of this operation.The time this operation started.getCollectionIds(int index) Which collection IDs are being imported.com.google.protobuf.ByteStringgetCollectionIdsBytes(int index) Which collection IDs are being imported.intWhich collection IDs are being imported.com.google.protobuf.ProtocolStringListWhich collection IDs are being imported.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time this operation completed.com.google.protobuf.Timestamp.BuilderThe time this operation completed.com.google.protobuf.TimestampOrBuilderThe time this operation completed.The location of the documents being imported.com.google.protobuf.ByteStringThe location of the documents being imported.getNamespaceIds(int index) Which namespace IDs are being imported.com.google.protobuf.ByteStringgetNamespaceIdsBytes(int index) Which namespace IDs are being imported.intWhich namespace IDs are being imported.com.google.protobuf.ProtocolStringListWhich namespace IDs are being imported.The state of the import operation.intThe state of the import operation.The progress, in bytes, of this operation.The progress, in bytes, of this operation.The progress, in bytes, of this operation.The progress, in documents, of this operation.The progress, in documents, of this operation.The progress, in documents, of this operation.com.google.protobuf.TimestampThe time this operation started.com.google.protobuf.Timestamp.BuilderThe time this operation started.com.google.protobuf.TimestampOrBuilderThe time this operation started.booleanThe time this operation completed.booleanThe progress, in bytes, of this operation.booleanThe progress, in documents, of this operation.booleanThe time this operation started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) The time this operation completed.mergeFrom(ImportDocumentsMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProgressBytes(Progress value) The progress, in bytes, of this operation.mergeProgressDocuments(Progress value) The progress, in documents, of this operation.mergeStartTime(com.google.protobuf.Timestamp value) The time this operation started.setCollectionIds(int index, String value) Which collection IDs are being imported.setEndTime(com.google.protobuf.Timestamp value) The time this operation completed.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The time this operation completed.setInputUriPrefix(String value) The location of the documents being imported.setInputUriPrefixBytes(com.google.protobuf.ByteString value) The location of the documents being imported.setNamespaceIds(int index, String value) Which namespace IDs are being imported.setOperationState(OperationState value) The state of the import operation.setOperationStateValue(int value) The state of the import operation.setProgressBytes(Progress value) The progress, in bytes, of this operation.setProgressBytes(Progress.Builder builderForValue) The progress, in bytes, of this operation.setProgressDocuments(Progress value) The progress, in documents, of this operation.setProgressDocuments(Progress.Builder builderForValue) The progress, in documents, of this operation.setStartTime(com.google.protobuf.Timestamp value) The time this operation started.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time this operation started.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDocumentsMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsMetadata.Builder>
-
mergeFrom
public ImportDocumentsMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDocumentsMetadata.Builder>- Throws:
IOException
-
hasStartTime
public boolean hasStartTime()The time this operation started.
.google.protobuf.Timestamp start_time = 1;- Specified by:
hasStartTimein interfaceImportDocumentsMetadataOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The time this operation started.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimein interfaceImportDocumentsMetadataOrBuilder- Returns:
- The startTime.
-
setStartTime
The time this operation started.
.google.protobuf.Timestamp start_time = 1; -
setStartTime
public ImportDocumentsMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time this operation started.
.google.protobuf.Timestamp start_time = 1; -
mergeStartTime
The time this operation started.
.google.protobuf.Timestamp start_time = 1; -
clearStartTime
The time this operation started.
.google.protobuf.Timestamp start_time = 1; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The time this operation started.
.google.protobuf.Timestamp start_time = 1; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time this operation started.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimeOrBuilderin interfaceImportDocumentsMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;- Specified by:
hasEndTimein interfaceImportDocumentsMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;- Specified by:
getEndTimein interfaceImportDocumentsMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2; -
setEndTime
public ImportDocumentsMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2; -
mergeEndTime
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2; -
clearEndTime
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;- Specified by:
getEndTimeOrBuilderin interfaceImportDocumentsMetadataOrBuilder
-
getOperationStateValue
public int getOperationStateValue()The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;- Specified by:
getOperationStateValuein interfaceImportDocumentsMetadataOrBuilder- Returns:
- The enum numeric value on the wire for operationState.
-
setOperationStateValue
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;- Parameters:
value- The enum numeric value on the wire for operationState to set.- Returns:
- This builder for chaining.
-
getOperationState
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;- Specified by:
getOperationStatein interfaceImportDocumentsMetadataOrBuilder- Returns:
- The operationState.
-
setOperationState
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;- Parameters:
value- The operationState to set.- Returns:
- This builder for chaining.
-
clearOperationState
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;- Returns:
- This builder for chaining.
-
hasProgressDocuments
public boolean hasProgressDocuments()The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;- Specified by:
hasProgressDocumentsin interfaceImportDocumentsMetadataOrBuilder- Returns:
- Whether the progressDocuments field is set.
-
getProgressDocuments
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;- Specified by:
getProgressDocumentsin interfaceImportDocumentsMetadataOrBuilder- Returns:
- The progressDocuments.
-
setProgressDocuments
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4; -
setProgressDocuments
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4; -
mergeProgressDocuments
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4; -
clearProgressDocuments
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4; -
getProgressDocumentsBuilder
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4; -
getProgressDocumentsOrBuilder
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;- Specified by:
getProgressDocumentsOrBuilderin interfaceImportDocumentsMetadataOrBuilder
-
hasProgressBytes
public boolean hasProgressBytes()The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;- Specified by:
hasProgressBytesin interfaceImportDocumentsMetadataOrBuilder- Returns:
- Whether the progressBytes field is set.
-
getProgressBytes
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;- Specified by:
getProgressBytesin interfaceImportDocumentsMetadataOrBuilder- Returns:
- The progressBytes.
-
setProgressBytes
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5; -
setProgressBytes
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5; -
mergeProgressBytes
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5; -
clearProgressBytes
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5; -
getProgressBytesBuilder
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5; -
getProgressBytesOrBuilder
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;- Specified by:
getProgressBytesOrBuilderin interfaceImportDocumentsMetadataOrBuilder
-
getCollectionIdsList
public com.google.protobuf.ProtocolStringList getCollectionIdsList()Which collection IDs are being imported.
repeated string collection_ids = 6;- Specified by:
getCollectionIdsListin interfaceImportDocumentsMetadataOrBuilder- Returns:
- A list containing the collectionIds.
-
getCollectionIdsCount
public int getCollectionIdsCount()Which collection IDs are being imported.
repeated string collection_ids = 6;- Specified by:
getCollectionIdsCountin interfaceImportDocumentsMetadataOrBuilder- Returns:
- The count of collectionIds.
-
getCollectionIds
Which collection IDs are being imported.
repeated string collection_ids = 6;- Specified by:
getCollectionIdsin interfaceImportDocumentsMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The collectionIds at the given index.
-
getCollectionIdsBytes
public com.google.protobuf.ByteString getCollectionIdsBytes(int index) Which collection IDs are being imported.
repeated string collection_ids = 6;- Specified by:
getCollectionIdsBytesin interfaceImportDocumentsMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the collectionIds at the given index.
-
setCollectionIds
Which collection IDs are being imported.
repeated string collection_ids = 6;- Parameters:
index- The index to set the value at.value- The collectionIds to set.- Returns:
- This builder for chaining.
-
addCollectionIds
Which collection IDs are being imported.
repeated string collection_ids = 6;- Parameters:
value- The collectionIds to add.- Returns:
- This builder for chaining.
-
addAllCollectionIds
Which collection IDs are being imported.
repeated string collection_ids = 6;- Parameters:
values- The collectionIds to add.- Returns:
- This builder for chaining.
-
clearCollectionIds
Which collection IDs are being imported.
repeated string collection_ids = 6;- Returns:
- This builder for chaining.
-
addCollectionIdsBytes
Which collection IDs are being imported.
repeated string collection_ids = 6;- Parameters:
value- The bytes of the collectionIds to add.- Returns:
- This builder for chaining.
-
getInputUriPrefix
The location of the documents being imported.
string input_uri_prefix = 7;- Specified by:
getInputUriPrefixin interfaceImportDocumentsMetadataOrBuilder- Returns:
- The inputUriPrefix.
-
getInputUriPrefixBytes
public com.google.protobuf.ByteString getInputUriPrefixBytes()The location of the documents being imported.
string input_uri_prefix = 7;- Specified by:
getInputUriPrefixBytesin interfaceImportDocumentsMetadataOrBuilder- Returns:
- The bytes for inputUriPrefix.
-
setInputUriPrefix
The location of the documents being imported.
string input_uri_prefix = 7;- Parameters:
value- The inputUriPrefix to set.- Returns:
- This builder for chaining.
-
clearInputUriPrefix
The location of the documents being imported.
string input_uri_prefix = 7;- Returns:
- This builder for chaining.
-
setInputUriPrefixBytes
The location of the documents being imported.
string input_uri_prefix = 7;- Parameters:
value- The bytes for inputUriPrefix to set.- Returns:
- This builder for chaining.
-
getNamespaceIdsList
public com.google.protobuf.ProtocolStringList getNamespaceIdsList()Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Specified by:
getNamespaceIdsListin interfaceImportDocumentsMetadataOrBuilder- Returns:
- A list containing the namespaceIds.
-
getNamespaceIdsCount
public int getNamespaceIdsCount()Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Specified by:
getNamespaceIdsCountin interfaceImportDocumentsMetadataOrBuilder- Returns:
- The count of namespaceIds.
-
getNamespaceIds
Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Specified by:
getNamespaceIdsin interfaceImportDocumentsMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The namespaceIds at the given index.
-
getNamespaceIdsBytes
public com.google.protobuf.ByteString getNamespaceIdsBytes(int index) Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Specified by:
getNamespaceIdsBytesin interfaceImportDocumentsMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the namespaceIds at the given index.
-
setNamespaceIds
Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Parameters:
index- The index to set the value at.value- The namespaceIds to set.- Returns:
- This builder for chaining.
-
addNamespaceIds
Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Parameters:
value- The namespaceIds to add.- Returns:
- This builder for chaining.
-
addAllNamespaceIds
Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Parameters:
values- The namespaceIds to add.- Returns:
- This builder for chaining.
-
clearNamespaceIds
Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Returns:
- This builder for chaining.
-
addNamespaceIdsBytes
Which namespace IDs are being imported.
repeated string namespace_ids = 8;- Parameters:
value- The bytes of the namespaceIds to add.- Returns:
- This builder for chaining.
-