Class IntentsGrpc.IntentsBlockingStub

  • Enclosing class:
    IntentsGrpc

    public static final class IntentsGrpc.IntentsBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<IntentsGrpc.IntentsBlockingStub>
    A stub to allow clients to do synchronous rpc calls to service Intents.
     Service for managing [Intents][google.cloud.dialogflow.v2.Intent].
     
    • Method Detail

      • createIntent

        public Intent createIntent​(CreateIntentRequest request)
         Creates an intent in the specified agent.
         Note: You should always train an agent prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/es/docs/training).
         
      • updateIntent

        public Intent updateIntent​(UpdateIntentRequest request)
         Updates the specified intent.
         Note: You should always train an agent prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/es/docs/training).
         
      • deleteIntent

        public com.google.protobuf.Empty deleteIntent​(DeleteIntentRequest request)
         Deletes the specified intent and its direct or indirect followup intents.
         Note: You should always train an agent prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/es/docs/training).
         
      • batchUpdateIntents

        public com.google.longrunning.Operation batchUpdateIntents​(BatchUpdateIntentsRequest request)
         Updates/Creates multiple intents in the specified agent.
         This method is a [long-running
         operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
         The returned `Operation` type has the following method-specific fields:
         - `metadata`: An empty [Struct
           message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
         - `response`:
         [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]
         Note: You should always train an agent prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/es/docs/training).
         
      • batchDeleteIntents

        public com.google.longrunning.Operation batchDeleteIntents​(BatchDeleteIntentsRequest request)
         Deletes intents in the specified agent.
         This method is a [long-running
         operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
         The returned `Operation` type has the following method-specific fields:
         - `metadata`: An empty [Struct
           message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
         - `response`: An [Empty
           message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
         Note: You should always train an agent prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/es/docs/training).