Class ExportDocumentsMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportDocumentsMetadata.Builder>
com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder
All Implemented Interfaces:
ExportDocumentsMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportDocumentsMetadata

public static final class ExportDocumentsMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportDocumentsMetadata.Builder> implements ExportDocumentsMetadataOrBuilder
 Metadata for [google.longrunning.Operation][google.longrunning.Operation]
 results from
 [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
 
Protobuf type google.firestore.admin.v1.ExportDocumentsMetadata
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExportDocumentsMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExportDocumentsMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExportDocumentsMetadata.Builder>
    • getDefaultInstanceForType

      public ExportDocumentsMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExportDocumentsMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExportDocumentsMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExportDocumentsMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportDocumentsMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExportDocumentsMetadata.Builder>
    • mergeFrom

      public ExportDocumentsMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportDocumentsMetadata.Builder>
      Throws:
      IOException
    • hasStartTime

      public boolean hasStartTime()
       The time this operation started.
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      hasStartTime in interface ExportDocumentsMetadataOrBuilder
      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:
      getStartTime in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public ExportDocumentsMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
       The time this operation started.
       
      .google.protobuf.Timestamp start_time = 1;
    • setStartTime

      public ExportDocumentsMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time this operation started.
       
      .google.protobuf.Timestamp start_time = 1;
    • mergeStartTime

      public ExportDocumentsMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       The time this operation started.
       
      .google.protobuf.Timestamp start_time = 1;
    • clearStartTime

      public ExportDocumentsMetadata.Builder 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:
      getStartTimeOrBuilder in interface ExportDocumentsMetadataOrBuilder
    • 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:
      hasEndTime in interface ExportDocumentsMetadataOrBuilder
      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:
      getEndTime in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public ExportDocumentsMetadata.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;
    • setEndTime

      public ExportDocumentsMetadata.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

      public ExportDocumentsMetadata.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;
    • clearEndTime

      public ExportDocumentsMetadata.Builder 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:
      getEndTimeOrBuilder in interface ExportDocumentsMetadataOrBuilder
    • getOperationStateValue

      public int getOperationStateValue()
       The state of the export operation.
       
      .google.firestore.admin.v1.OperationState operation_state = 3;
      Specified by:
      getOperationStateValue in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for operationState.
    • setOperationStateValue

      public ExportDocumentsMetadata.Builder setOperationStateValue(int value)
       The state of the export 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

      public OperationState getOperationState()
       The state of the export operation.
       
      .google.firestore.admin.v1.OperationState operation_state = 3;
      Specified by:
      getOperationState in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The operationState.
    • setOperationState

      public ExportDocumentsMetadata.Builder setOperationState(OperationState value)
       The state of the export operation.
       
      .google.firestore.admin.v1.OperationState operation_state = 3;
      Parameters:
      value - The operationState to set.
      Returns:
      This builder for chaining.
    • clearOperationState

      public ExportDocumentsMetadata.Builder clearOperationState()
       The state of the export 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:
      hasProgressDocuments in interface ExportDocumentsMetadataOrBuilder
      Returns:
      Whether the progressDocuments field is set.
    • getProgressDocuments

      public Progress getProgressDocuments()
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
      Specified by:
      getProgressDocuments in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The progressDocuments.
    • setProgressDocuments

      public ExportDocumentsMetadata.Builder setProgressDocuments(Progress value)
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
    • setProgressDocuments

      public ExportDocumentsMetadata.Builder setProgressDocuments(Progress.Builder builderForValue)
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
    • mergeProgressDocuments

      public ExportDocumentsMetadata.Builder mergeProgressDocuments(Progress value)
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
    • clearProgressDocuments

      public ExportDocumentsMetadata.Builder clearProgressDocuments()
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
    • getProgressDocumentsBuilder

      public Progress.Builder getProgressDocumentsBuilder()
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
    • getProgressDocumentsOrBuilder

      public ProgressOrBuilder getProgressDocumentsOrBuilder()
       The progress, in documents, of this operation.
       
      .google.firestore.admin.v1.Progress progress_documents = 4;
      Specified by:
      getProgressDocumentsOrBuilder in interface ExportDocumentsMetadataOrBuilder
    • hasProgressBytes

      public boolean hasProgressBytes()
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
      Specified by:
      hasProgressBytes in interface ExportDocumentsMetadataOrBuilder
      Returns:
      Whether the progressBytes field is set.
    • getProgressBytes

      public Progress getProgressBytes()
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
      Specified by:
      getProgressBytes in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The progressBytes.
    • setProgressBytes

      public ExportDocumentsMetadata.Builder setProgressBytes(Progress value)
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
    • setProgressBytes

      public ExportDocumentsMetadata.Builder setProgressBytes(Progress.Builder builderForValue)
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
    • mergeProgressBytes

      public ExportDocumentsMetadata.Builder mergeProgressBytes(Progress value)
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
    • clearProgressBytes

      public ExportDocumentsMetadata.Builder clearProgressBytes()
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
    • getProgressBytesBuilder

      public Progress.Builder getProgressBytesBuilder()
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
    • getProgressBytesOrBuilder

      public ProgressOrBuilder getProgressBytesOrBuilder()
       The progress, in bytes, of this operation.
       
      .google.firestore.admin.v1.Progress progress_bytes = 5;
      Specified by:
      getProgressBytesOrBuilder in interface ExportDocumentsMetadataOrBuilder
    • getCollectionIdsList

      public com.google.protobuf.ProtocolStringList getCollectionIdsList()
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Specified by:
      getCollectionIdsList in interface ExportDocumentsMetadataOrBuilder
      Returns:
      A list containing the collectionIds.
    • getCollectionIdsCount

      public int getCollectionIdsCount()
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Specified by:
      getCollectionIdsCount in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The count of collectionIds.
    • getCollectionIds

      public String getCollectionIds(int index)
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Specified by:
      getCollectionIds in interface ExportDocumentsMetadataOrBuilder
      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 exported.
       
      repeated string collection_ids = 6;
      Specified by:
      getCollectionIdsBytes in interface ExportDocumentsMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the collectionIds at the given index.
    • setCollectionIds

      public ExportDocumentsMetadata.Builder setCollectionIds(int index, String value)
       Which collection IDs are being exported.
       
      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

      public ExportDocumentsMetadata.Builder addCollectionIds(String value)
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Parameters:
      value - The collectionIds to add.
      Returns:
      This builder for chaining.
    • addAllCollectionIds

      public ExportDocumentsMetadata.Builder addAllCollectionIds(Iterable<String> values)
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Parameters:
      values - The collectionIds to add.
      Returns:
      This builder for chaining.
    • clearCollectionIds

      public ExportDocumentsMetadata.Builder clearCollectionIds()
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Returns:
      This builder for chaining.
    • addCollectionIdsBytes

      public ExportDocumentsMetadata.Builder addCollectionIdsBytes(com.google.protobuf.ByteString value)
       Which collection IDs are being exported.
       
      repeated string collection_ids = 6;
      Parameters:
      value - The bytes of the collectionIds to add.
      Returns:
      This builder for chaining.
    • getOutputUriPrefix

      public String getOutputUriPrefix()
       Where the documents are being exported to.
       
      string output_uri_prefix = 7;
      Specified by:
      getOutputUriPrefix in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The outputUriPrefix.
    • getOutputUriPrefixBytes

      public com.google.protobuf.ByteString getOutputUriPrefixBytes()
       Where the documents are being exported to.
       
      string output_uri_prefix = 7;
      Specified by:
      getOutputUriPrefixBytes in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The bytes for outputUriPrefix.
    • setOutputUriPrefix

      public ExportDocumentsMetadata.Builder setOutputUriPrefix(String value)
       Where the documents are being exported to.
       
      string output_uri_prefix = 7;
      Parameters:
      value - The outputUriPrefix to set.
      Returns:
      This builder for chaining.
    • clearOutputUriPrefix

      public ExportDocumentsMetadata.Builder clearOutputUriPrefix()
       Where the documents are being exported to.
       
      string output_uri_prefix = 7;
      Returns:
      This builder for chaining.
    • setOutputUriPrefixBytes

      public ExportDocumentsMetadata.Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value)
       Where the documents are being exported to.
       
      string output_uri_prefix = 7;
      Parameters:
      value - The bytes for outputUriPrefix to set.
      Returns:
      This builder for chaining.
    • getNamespaceIdsList

      public com.google.protobuf.ProtocolStringList getNamespaceIdsList()
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Specified by:
      getNamespaceIdsList in interface ExportDocumentsMetadataOrBuilder
      Returns:
      A list containing the namespaceIds.
    • getNamespaceIdsCount

      public int getNamespaceIdsCount()
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Specified by:
      getNamespaceIdsCount in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The count of namespaceIds.
    • getNamespaceIds

      public String getNamespaceIds(int index)
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Specified by:
      getNamespaceIds in interface ExportDocumentsMetadataOrBuilder
      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 exported.
       
      repeated string namespace_ids = 8;
      Specified by:
      getNamespaceIdsBytes in interface ExportDocumentsMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the namespaceIds at the given index.
    • setNamespaceIds

      public ExportDocumentsMetadata.Builder setNamespaceIds(int index, String value)
       Which namespace IDs are being exported.
       
      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

      public ExportDocumentsMetadata.Builder addNamespaceIds(String value)
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Parameters:
      value - The namespaceIds to add.
      Returns:
      This builder for chaining.
    • addAllNamespaceIds

      public ExportDocumentsMetadata.Builder addAllNamespaceIds(Iterable<String> values)
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Parameters:
      values - The namespaceIds to add.
      Returns:
      This builder for chaining.
    • clearNamespaceIds

      public ExportDocumentsMetadata.Builder clearNamespaceIds()
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Returns:
      This builder for chaining.
    • addNamespaceIdsBytes

      public ExportDocumentsMetadata.Builder addNamespaceIdsBytes(com.google.protobuf.ByteString value)
       Which namespace IDs are being exported.
       
      repeated string namespace_ids = 8;
      Parameters:
      value - The bytes of the namespaceIds to add.
      Returns:
      This builder for chaining.
    • hasSnapshotTime

      public boolean hasSnapshotTime()
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
      Specified by:
      hasSnapshotTime in interface ExportDocumentsMetadataOrBuilder
      Returns:
      Whether the snapshotTime field is set.
    • getSnapshotTime

      public com.google.protobuf.Timestamp getSnapshotTime()
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
      Specified by:
      getSnapshotTime in interface ExportDocumentsMetadataOrBuilder
      Returns:
      The snapshotTime.
    • setSnapshotTime

      public ExportDocumentsMetadata.Builder setSnapshotTime(com.google.protobuf.Timestamp value)
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
    • setSnapshotTime

      public ExportDocumentsMetadata.Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
    • mergeSnapshotTime

      public ExportDocumentsMetadata.Builder mergeSnapshotTime(com.google.protobuf.Timestamp value)
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
    • clearSnapshotTime

      public ExportDocumentsMetadata.Builder clearSnapshotTime()
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
    • getSnapshotTimeBuilder

      public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder()
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
    • getSnapshotTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder()
       The timestamp that corresponds to the version of the database that is being
       exported. If unspecified, there are no guarantees about the consistency of
       the documents being exported.
       
      .google.protobuf.Timestamp snapshot_time = 9;
      Specified by:
      getSnapshotTimeOrBuilder in interface ExportDocumentsMetadataOrBuilder