/// Optimizes vehicle tours for one or more `OptimizeToursRequest`
/// messages as a batch.
///
/// This method is a Long Running Operation (LRO). The inputs for optimization
/// (`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`
/// messages) are read/written from/to Cloud Storage in user-specified
/// format. Like the `OptimizeTours` method, each `OptimizeToursRequest`
/// contains a `ShipmentModel` and returns an `OptimizeToursResponse`
/// containing `ShipmentRoute`s, which are a set of routes to be performed by
/// vehicles minimizing the overall cost.
Optimizes vehicle tours for one or more `OptimizeToursRequest`
messages as a batch.

This method is a Long Running Operation (LRO). The inputs for optimization
(`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`
messages) are read/written from/to Cloud Storage in user-specified
format.
Optimizes vehicle tours for one or more ` OptimizeToursRequest ` messages as a batch . This method is a Long Running Operation ( LRO ) . The inputs for optimization ( ` OptimizeToursRequest ` messages ) and outputs ( ` OptimizeToursResponse ` messages ) are read / written from / to Cloud Storage in user - specified format .
pub async fn batch_optimize_tours(
            &mut self,
            request: impl tonic::IntoRequest<super::BatchOptimizeToursRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            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.cloud.optimization.v1.FleetRouting/BatchOptimizeTours",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn batch_optimize_tours ( & mut self , request : impl tonic :: IntoRequest < super :: BatchOptimizeToursRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: longrunning :: Operation > , 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 }
Optimizes vehicle tours for one or more `OptimizeToursRequest`
messages as a batch.
Optimizes vehicle tours for one or more ` OptimizeToursRequest ` messages as a batch .
&mut self
request
impl tonic::IntoRequest<super::BatchOptimizeToursRequest>