/// Processes a natural language query in audio format in a streaming fashion
/// and returns structured, actionable data as a result. This method is only
/// available via the gRPC API (not REST).
///
/// Note: Always use agent versions for production traffic.
/// See [Versions and
/// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
Processes a natural language query in audio format in a streaming fashion
and returns structured, actionable data as a result. This method is only
available via the gRPC API (not REST).

Always use agent versions for production traffic.
See [Versions and
environments].
Processes a natural language query in audio format in a streaming fashion and returns structured actionable data as a result . This method is only available via the gRPC API ( not REST ) . Always use agent versions for production traffic . See [ Versions and environments ] .
pub async fn streaming_detect_intent(
            &mut self,
            request: impl tonic::IntoStreamingRequest<
                Message = super::StreamingDetectIntentRequest,
            >,
        ) -> Result<
            tonic::Response<
                tonic::codec::Streaming<super::StreamingDetectIntentResponse>,
            >,
            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.dialogflow.cx.v3beta1.Sessions/StreamingDetectIntent",
            );
            self.inner.streaming(request.into_streaming_request(), path, codec).await
        }
pub async fn streaming_detect_intent ( & mut self , request : impl tonic :: IntoStreamingRequest < Message = super :: StreamingDetectIntentRequest , > , ) -> Result < tonic :: Response < tonic :: codec :: Streaming < super :: StreamingDetectIntentResponse > , > , 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 . streaming ( request . into_streaming_request ( ) , path , codec ) . await }
Processes a natural language query in audio format in a streaming fashion
and returns structured, actionable data as a result.
Processes a natural language query in audio format in a streaming fashion and returns structured actionable data as a result .
&mut self
request
impl tonic::IntoStreamingRequest<
                Message = super::StreamingDetectIntentRequest,
            >