Class ImportDocumentsMetadata.Builder (3.9.2)

public static final class ImportDocumentsMetadata.Builder extends GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder> implements ImportDocumentsMetadataOrBuilder

Metadata for google.longrunning.Operation results from FirestoreAdmin.ImportDocuments.

Protobuf type google.firestore.admin.v1.ImportDocumentsMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCollectionIds(Iterable<String> values)

public ImportDocumentsMetadata.Builder addAllCollectionIds(Iterable<String> values)

Which collection ids are being imported.

repeated string collection_ids = 6;

Parameter
NameDescription
valuesIterable<String>

The collectionIds to add.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

addCollectionIds(String value)

public ImportDocumentsMetadata.Builder addCollectionIds(String value)

Which collection ids are being imported.

repeated string collection_ids = 6;

Parameter
NameDescription
valueString

The collectionIds to add.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

addCollectionIdsBytes(ByteString value)

public ImportDocumentsMetadata.Builder addCollectionIdsBytes(ByteString value)

Which collection ids are being imported.

repeated string collection_ids = 6;

Parameter
NameDescription
valueByteString

The bytes of the collectionIds to add.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

build()

public ImportDocumentsMetadata build()
Returns
TypeDescription
ImportDocumentsMetadata

buildPartial()

public ImportDocumentsMetadata buildPartial()
Returns
TypeDescription
ImportDocumentsMetadata

clear()

public ImportDocumentsMetadata.Builder clear()
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

clearCollectionIds()

public ImportDocumentsMetadata.Builder clearCollectionIds()

Which collection ids are being imported.

repeated string collection_ids = 6;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

clearEndTime()

public ImportDocumentsMetadata.Builder clearEndTime()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportDocumentsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

clearInputUriPrefix()

public ImportDocumentsMetadata.Builder clearInputUriPrefix()

The location of the documents being imported.

string input_uri_prefix = 7;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDocumentsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

clearOperationState()

public ImportDocumentsMetadata.Builder clearOperationState()

The state of the import operation.

.google.firestore.admin.v1.OperationState operation_state = 3;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

clearProgressBytes()

public ImportDocumentsMetadata.Builder clearProgressBytes()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

clearProgressDocuments()

public ImportDocumentsMetadata.Builder clearProgressDocuments()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

clearStartTime()

public ImportDocumentsMetadata.Builder clearStartTime()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
ImportDocumentsMetadata.Builder

clone()

public ImportDocumentsMetadata.Builder clone()
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

getCollectionIds(int index)

public String getCollectionIds(int index)

Which collection ids are being imported.

repeated string collection_ids = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The collectionIds at the given index.

getCollectionIdsBytes(int index)

public ByteString getCollectionIdsBytes(int index)

Which collection ids are being imported.

repeated string collection_ids = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the collectionIds at the given index.

getCollectionIdsCount()

public int getCollectionIdsCount()

Which collection ids are being imported.

repeated string collection_ids = 6;

Returns
TypeDescription
int

The count of collectionIds.

getCollectionIdsList()

public ProtocolStringList getCollectionIdsList()

Which collection ids are being imported.

repeated string collection_ids = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the collectionIds.

getDefaultInstanceForType()

public ImportDocumentsMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportDocumentsMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getInputUriPrefix()

public String getInputUriPrefix()

The location of the documents being imported.

string input_uri_prefix = 7;

Returns
TypeDescription
String

The inputUriPrefix.

getInputUriPrefixBytes()

public ByteString getInputUriPrefixBytes()

The location of the documents being imported.

string input_uri_prefix = 7;

Returns
TypeDescription
ByteString

The bytes for inputUriPrefix.

getOperationState()

public OperationState getOperationState()

The state of the import operation.

.google.firestore.admin.v1.OperationState operation_state = 3;

Returns
TypeDescription
OperationState

The operationState.

getOperationStateValue()

public int getOperationStateValue()

The state of the import operation.

.google.firestore.admin.v1.OperationState operation_state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for operationState.

getProgressBytes()

public Progress getProgressBytes()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Returns
TypeDescription
Progress

The progressBytes.

getProgressBytesBuilder()

public Progress.Builder getProgressBytesBuilder()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Returns
TypeDescription
Progress.Builder

getProgressBytesOrBuilder()

public ProgressOrBuilder getProgressBytesOrBuilder()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Returns
TypeDescription
ProgressOrBuilder

getProgressDocuments()

public Progress getProgressDocuments()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Returns
TypeDescription
Progress

The progressDocuments.

getProgressDocumentsBuilder()

public Progress.Builder getProgressDocumentsBuilder()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Returns
TypeDescription
Progress.Builder

getProgressDocumentsOrBuilder()

public ProgressOrBuilder getProgressDocumentsOrBuilder()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Returns
TypeDescription
ProgressOrBuilder

getStartTime()

public Timestamp getStartTime()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasProgressBytes()

public boolean hasProgressBytes()

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Returns
TypeDescription
boolean

Whether the progressBytes field is set.

hasProgressDocuments()

public boolean hasProgressDocuments()

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Returns
TypeDescription
boolean

Whether the progressDocuments field is set.

hasStartTime()

public boolean hasStartTime()

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public ImportDocumentsMetadata.Builder mergeEndTime(Timestamp value)

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ImportDocumentsMetadata.Builder

mergeFrom(ImportDocumentsMetadata other)

public ImportDocumentsMetadata.Builder mergeFrom(ImportDocumentsMetadata other)
Parameter
NameDescription
otherImportDocumentsMetadata
Returns
TypeDescription
ImportDocumentsMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDocumentsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportDocumentsMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

mergeProgressBytes(Progress value)

public ImportDocumentsMetadata.Builder mergeProgressBytes(Progress value)

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportDocumentsMetadata.Builder

mergeProgressDocuments(Progress value)

public ImportDocumentsMetadata.Builder mergeProgressDocuments(Progress value)

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportDocumentsMetadata.Builder

mergeStartTime(Timestamp value)

public ImportDocumentsMetadata.Builder mergeStartTime(Timestamp value)

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ImportDocumentsMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

setCollectionIds(int index, String value)

public ImportDocumentsMetadata.Builder setCollectionIds(int index, String value)

Which collection ids are being imported.

repeated string collection_ids = 6;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The collectionIds to set.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

setEndTime(Timestamp value)

public ImportDocumentsMetadata.Builder setEndTime(Timestamp value)

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public ImportDocumentsMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

The time this operation completed. Will be unset if operation still in progress.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

setInputUriPrefix(String value)

public ImportDocumentsMetadata.Builder setInputUriPrefix(String value)

The location of the documents being imported.

string input_uri_prefix = 7;

Parameter
NameDescription
valueString

The inputUriPrefix to set.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

setInputUriPrefixBytes(ByteString value)

public ImportDocumentsMetadata.Builder setInputUriPrefixBytes(ByteString value)

The location of the documents being imported.

string input_uri_prefix = 7;

Parameter
NameDescription
valueByteString

The bytes for inputUriPrefix to set.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

setOperationState(OperationState value)

public ImportDocumentsMetadata.Builder setOperationState(OperationState value)

The state of the import operation.

.google.firestore.admin.v1.OperationState operation_state = 3;

Parameter
NameDescription
valueOperationState

The operationState to set.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

setOperationStateValue(int value)

public ImportDocumentsMetadata.Builder setOperationStateValue(int value)

The state of the import operation.

.google.firestore.admin.v1.OperationState operation_state = 3;

Parameter
NameDescription
valueint

The enum numeric value on the wire for operationState to set.

Returns
TypeDescription
ImportDocumentsMetadata.Builder

This builder for chaining.

setProgressBytes(Progress value)

public ImportDocumentsMetadata.Builder setProgressBytes(Progress value)

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setProgressBytes(Progress.Builder builderForValue)

public ImportDocumentsMetadata.Builder setProgressBytes(Progress.Builder builderForValue)

The progress, in bytes, of this operation.

.google.firestore.admin.v1.Progress progress_bytes = 5;

Parameter
NameDescription
builderForValueProgress.Builder
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setProgressDocuments(Progress value)

public ImportDocumentsMetadata.Builder setProgressDocuments(Progress value)

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setProgressDocuments(Progress.Builder builderForValue)

public ImportDocumentsMetadata.Builder setProgressDocuments(Progress.Builder builderForValue)

The progress, in documents, of this operation.

.google.firestore.admin.v1.Progress progress_documents = 4;

Parameter
NameDescription
builderForValueProgress.Builder
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportDocumentsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides

setStartTime(Timestamp value)

public ImportDocumentsMetadata.Builder setStartTime(Timestamp value)

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public ImportDocumentsMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The time this operation started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ImportDocumentsMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportDocumentsMetadata.Builder
Overrides