/// Gets multiple documents.
///
/// Documents returned by this method are not guaranteed to be returned in the
/// same order that they were requested.
Gets multiple documents.
Documents returned by this method are not guaranteed to be returned in the
same order that they were requested.
Gets multiple documents . Documents returned by this method are not guaranteed to be returned in the same order that they were requested .
pub async fn batch_get_documents(
            &mut self,
            request: impl tonic::IntoRequest<super::BatchGetDocumentsRequest>,
        ) -> Result<
            tonic::Response<tonic::codec::Streaming<super::BatchGetDocumentsResponse>>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.firestore.v1.Firestore/BatchGetDocuments",
            );
            self.inner.server_streaming(request.into_request(), path, codec).await
        }
pub async fn batch_get_documents ( & mut self , request : impl tonic :: IntoRequest < super :: BatchGetDocumentsRequest > , ) -> Result < tonic :: Response < tonic :: codec :: Streaming < super :: BatchGetDocumentsResponse > > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . server_streaming ( request . into_request ( ) , path , codec ) . await }
Gets multiple documents.
Gets multiple documents .
&mut self
request
impl tonic::IntoRequest<super::BatchGetDocumentsRequest>