/// Returns the list of all session entity types in the specified session.
Returns the list of all session entity types in the specified session.
Returns the list of all session entity types in the specified session .
pub async fn list_session_entity_types(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSessionEntityTypesRequest>,
        ) -> Result<
            tonic::Response<super::ListSessionEntityTypesResponse>,
            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.SessionEntityTypes/ListSessionEntityTypes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_session_entity_types ( & mut self , request : impl tonic :: IntoRequest < super :: ListSessionEntityTypesRequest > , ) -> Result < tonic :: Response < super :: ListSessionEntityTypesResponse > , 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 }
Returns the list of all session entity types in the specified session.
Returns the list of all session entity types in the specified session .
&mut self
request
impl tonic::IntoRequest<super::ListSessionEntityTypesRequest>