public static final class ImportDocumentsMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.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
Modifier and Type | Method and Description |
---|---|
ImportDocumentsMetadata.Builder |
addAllCollectionIds(Iterable<String> values)
Which collection ids are being imported.
|
ImportDocumentsMetadata.Builder |
addCollectionIds(String value)
Which collection ids are being imported.
|
ImportDocumentsMetadata.Builder |
addCollectionIdsBytes(com.google.protobuf.ByteString value)
Which collection ids are being imported.
|
ImportDocumentsMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportDocumentsMetadata |
build() |
ImportDocumentsMetadata |
buildPartial() |
ImportDocumentsMetadata.Builder |
clear() |
ImportDocumentsMetadata.Builder |
clearCollectionIds()
Which collection ids are being imported.
|
ImportDocumentsMetadata.Builder |
clearEndTime()
The time this operation completed.
|
ImportDocumentsMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportDocumentsMetadata.Builder |
clearInputUriPrefix()
The location of the documents being imported.
|
ImportDocumentsMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportDocumentsMetadata.Builder |
clearOperationState()
The state of the import operation.
|
ImportDocumentsMetadata.Builder |
clearProgressBytes()
The progress, in bytes, of this operation.
|
ImportDocumentsMetadata.Builder |
clearProgressDocuments()
The progress, in documents, of this operation.
|
ImportDocumentsMetadata.Builder |
clearStartTime()
The time this operation started.
|
ImportDocumentsMetadata.Builder |
clone() |
String |
getCollectionIds(int index)
Which collection ids are being imported.
|
com.google.protobuf.ByteString |
getCollectionIdsBytes(int index)
Which collection ids are being imported.
|
int |
getCollectionIdsCount()
Which collection ids are being imported.
|
com.google.protobuf.ProtocolStringList |
getCollectionIdsList()
Which collection ids are being imported.
|
ImportDocumentsMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The time this operation completed.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The time this operation completed.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The time this operation completed.
|
String |
getInputUriPrefix()
The location of the documents being imported.
|
com.google.protobuf.ByteString |
getInputUriPrefixBytes()
The location of the documents being imported.
|
OperationState |
getOperationState()
The state of the import operation.
|
int |
getOperationStateValue()
The state of the import operation.
|
Progress |
getProgressBytes()
The progress, in bytes, of this operation.
|
Progress.Builder |
getProgressBytesBuilder()
The progress, in bytes, of this operation.
|
ProgressOrBuilder |
getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
|
Progress |
getProgressDocuments()
The progress, in documents, of this operation.
|
Progress.Builder |
getProgressDocumentsBuilder()
The progress, in documents, of this operation.
|
ProgressOrBuilder |
getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
|
com.google.protobuf.Timestamp |
getStartTime()
The time this operation started.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
The time this operation started.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The time this operation started.
|
boolean |
hasEndTime()
The time this operation completed.
|
boolean |
hasProgressBytes()
The progress, in bytes, of this operation.
|
boolean |
hasProgressDocuments()
The progress, in documents, of this operation.
|
boolean |
hasStartTime()
The time this operation started.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportDocumentsMetadata.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The time this operation completed.
|
ImportDocumentsMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportDocumentsMetadata.Builder |
mergeFrom(ImportDocumentsMetadata other) |
ImportDocumentsMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportDocumentsMetadata.Builder |
mergeProgressBytes(Progress value)
The progress, in bytes, of this operation.
|
ImportDocumentsMetadata.Builder |
mergeProgressDocuments(Progress value)
The progress, in documents, of this operation.
|
ImportDocumentsMetadata.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
|
ImportDocumentsMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportDocumentsMetadata.Builder |
setCollectionIds(int index,
String value)
Which collection ids are being imported.
|
ImportDocumentsMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation completed.
|
ImportDocumentsMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The time this operation completed.
|
ImportDocumentsMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportDocumentsMetadata.Builder |
setInputUriPrefix(String value)
The location of the documents being imported.
|
ImportDocumentsMetadata.Builder |
setInputUriPrefixBytes(com.google.protobuf.ByteString value)
The location of the documents being imported.
|
ImportDocumentsMetadata.Builder |
setOperationState(OperationState value)
The state of the import operation.
|
ImportDocumentsMetadata.Builder |
setOperationStateValue(int value)
The state of the import operation.
|
ImportDocumentsMetadata.Builder |
setProgressBytes(Progress.Builder builderForValue)
The progress, in bytes, of this operation.
|
ImportDocumentsMetadata.Builder |
setProgressBytes(Progress value)
The progress, in bytes, of this operation.
|
ImportDocumentsMetadata.Builder |
setProgressDocuments(Progress.Builder builderForValue)
The progress, in documents, of this operation.
|
ImportDocumentsMetadata.Builder |
setProgressDocuments(Progress value)
The progress, in documents, of this operation.
|
ImportDocumentsMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportDocumentsMetadata.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation started.
|
ImportDocumentsMetadata.Builder |
setStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
|
ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.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<ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ImportDocumentsMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ImportDocumentsMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.Builder mergeFrom(ImportDocumentsMetadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder>
public ImportDocumentsMetadata.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<ImportDocumentsMetadata.Builder>
IOException
public boolean hasStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
hasStartTime
in interface ImportDocumentsMetadataOrBuilder
public com.google.protobuf.Timestamp getStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
getStartTime
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
public ImportDocumentsMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
public ImportDocumentsMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
public ImportDocumentsMetadata.Builder clearStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;
getStartTimeOrBuilder
in interface ImportDocumentsMetadataOrBuilder
public boolean hasEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
hasEndTime
in interface ImportDocumentsMetadataOrBuilder
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;
getEndTime
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
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;
public ImportDocumentsMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
public ImportDocumentsMetadata.Builder clearEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;
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;
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;
getEndTimeOrBuilder
in interface ImportDocumentsMetadataOrBuilder
public int getOperationStateValue()
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;
getOperationStateValue
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setOperationStateValue(int value)
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;
value
- The enum numeric value on the wire for operationState to set.public OperationState getOperationState()
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;
getOperationState
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setOperationState(OperationState value)
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;
value
- The operationState to set.public ImportDocumentsMetadata.Builder clearOperationState()
The state of the import operation.
.google.firestore.admin.v1.OperationState operation_state = 3;
public boolean hasProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
hasProgressDocuments
in interface ImportDocumentsMetadataOrBuilder
public Progress getProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
getProgressDocuments
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setProgressDocuments(Progress value)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
public ImportDocumentsMetadata.Builder setProgressDocuments(Progress.Builder builderForValue)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
public ImportDocumentsMetadata.Builder mergeProgressDocuments(Progress value)
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
public ImportDocumentsMetadata.Builder clearProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
public Progress.Builder getProgressDocumentsBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
public ProgressOrBuilder getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 4;
getProgressDocumentsOrBuilder
in interface ImportDocumentsMetadataOrBuilder
public boolean hasProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
hasProgressBytes
in interface ImportDocumentsMetadataOrBuilder
public Progress getProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
getProgressBytes
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setProgressBytes(Progress value)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
public ImportDocumentsMetadata.Builder setProgressBytes(Progress.Builder builderForValue)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
public ImportDocumentsMetadata.Builder mergeProgressBytes(Progress value)
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
public ImportDocumentsMetadata.Builder clearProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
public Progress.Builder getProgressBytesBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
public ProgressOrBuilder getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 5;
getProgressBytesOrBuilder
in interface ImportDocumentsMetadataOrBuilder
public com.google.protobuf.ProtocolStringList getCollectionIdsList()
Which collection ids are being imported.
repeated string collection_ids = 6;
getCollectionIdsList
in interface ImportDocumentsMetadataOrBuilder
public int getCollectionIdsCount()
Which collection ids are being imported.
repeated string collection_ids = 6;
getCollectionIdsCount
in interface ImportDocumentsMetadataOrBuilder
public String getCollectionIds(int index)
Which collection ids are being imported.
repeated string collection_ids = 6;
getCollectionIds
in interface ImportDocumentsMetadataOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getCollectionIdsBytes(int index)
Which collection ids are being imported.
repeated string collection_ids = 6;
getCollectionIdsBytes
in interface ImportDocumentsMetadataOrBuilder
index
- The index of the value to return.public ImportDocumentsMetadata.Builder setCollectionIds(int index, String value)
Which collection ids are being imported.
repeated string collection_ids = 6;
index
- The index to set the value at.value
- The collectionIds to set.public ImportDocumentsMetadata.Builder addCollectionIds(String value)
Which collection ids are being imported.
repeated string collection_ids = 6;
value
- The collectionIds to add.public ImportDocumentsMetadata.Builder addAllCollectionIds(Iterable<String> values)
Which collection ids are being imported.
repeated string collection_ids = 6;
values
- The collectionIds to add.public ImportDocumentsMetadata.Builder clearCollectionIds()
Which collection ids are being imported.
repeated string collection_ids = 6;
public ImportDocumentsMetadata.Builder addCollectionIdsBytes(com.google.protobuf.ByteString value)
Which collection ids are being imported.
repeated string collection_ids = 6;
value
- The bytes of the collectionIds to add.public String getInputUriPrefix()
The location of the documents being imported.
string input_uri_prefix = 7;
getInputUriPrefix
in interface ImportDocumentsMetadataOrBuilder
public com.google.protobuf.ByteString getInputUriPrefixBytes()
The location of the documents being imported.
string input_uri_prefix = 7;
getInputUriPrefixBytes
in interface ImportDocumentsMetadataOrBuilder
public ImportDocumentsMetadata.Builder setInputUriPrefix(String value)
The location of the documents being imported.
string input_uri_prefix = 7;
value
- The inputUriPrefix to set.public ImportDocumentsMetadata.Builder clearInputUriPrefix()
The location of the documents being imported.
string input_uri_prefix = 7;
public ImportDocumentsMetadata.Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value)
The location of the documents being imported.
string input_uri_prefix = 7;
value
- The bytes for inputUriPrefix to set.public final ImportDocumentsMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder>
public final ImportDocumentsMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder>
Copyright © 2023 Google LLC. All rights reserved.