/// Applies a batch of write operations.
///
/// The BatchWrite method does not apply the write operations atomically
/// and can apply them out of order. Method does not allow more than one write
/// per document. Each write succeeds or fails independently. See the
/// [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the success status of each write.
///
/// If you require an atomically applied set of writes, use
/// [Commit][google.firestore.v1.Firestore.Commit] instead.
Applies a batch of write operations.
The BatchWrite method does not apply the write operations atomically
and can apply them out of order. Method does not allow more than one write
per document. Each write succeeds or fails independently. See the
[BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the success status of each write.

If you require an atomically applied set of writes, use
[Commit][google.firestore.v1.Firestore.Commit] instead.
Applies a batch of write operations . The BatchWrite method does not apply the write operations atomically and can apply them out of order . Method does not allow more than one write per document . Each write succeeds or fails independently . See the [ BatchWriteResponse ] [ google . firestore . v1 . BatchWriteResponse ] for the success status of each write . If you require an atomically applied set of writes use [ Commit ] [ google . firestore . v1 . Firestore . Commit ] instead .
pub async fn batch_write(
            &mut self,
            request: impl tonic::IntoRequest<super::BatchWriteRequest>,
        ) -> Result<tonic::Response<super::BatchWriteResponse>, 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/BatchWrite",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn batch_write ( & mut self , request : impl tonic :: IntoRequest < super :: BatchWriteRequest > , ) -> Result < tonic :: Response < super :: BatchWriteResponse > , 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 . unary ( request . into_request ( ) , path , codec ) . await }
Applies a batch of write operations.
Applies a batch of write operations .
&mut self
request
impl tonic::IntoRequest<super::BatchWriteRequest>