/// Returns the list of all entity types in the specified agent.
Returns the list of all entity types in the specified agent.
Returns the list of all entity types in the specified agent .
pub async fn list_entity_types(
            &mut self,
            request: impl tonic::IntoRequest<super::ListEntityTypesRequest>,
        ) -> Result<tonic::Response<super::ListEntityTypesResponse>, 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.EntityTypes/ListEntityTypes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_entity_types ( & mut self , request : impl tonic :: IntoRequest < super :: ListEntityTypesRequest > , ) -> Result < tonic :: Response < super :: ListEntityTypesResponse > , 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 entity types in the specified agent.
Returns the list of all entity types in the specified agent .
&mut self
request
impl tonic::IntoRequest<super::ListEntityTypesRequest>