Class IntentsGrpc.IntentsStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<IntentsGrpc.IntentsStub>
-
- com.google.cloud.dialogflow.cx.v3beta1.IntentsGrpc.IntentsStub
-
- Enclosing class:
- IntentsGrpc
public static final class IntentsGrpc.IntentsStub extends io.grpc.stub.AbstractAsyncStub<IntentsGrpc.IntentsStub>
A stub to allow clients to do asynchronous rpc calls to service Intents.Service for managing [Intents][google.cloud.dialogflow.cx.v3beta1.Intent].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntentsGrpc.IntentsStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createIntent(CreateIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Creates an intent in the specified agent.void
deleteIntent(DeleteIntentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified intent.void
getIntent(GetIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Retrieves the specified intent.void
listIntents(ListIntentsRequest request, io.grpc.stub.StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.void
updateIntent(UpdateIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Updates the specified intent.
-
-
-
Method Detail
-
build
protected IntentsGrpc.IntentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<IntentsGrpc.IntentsStub>
-
listIntents
public void listIntents(ListIntentsRequest request, io.grpc.stub.StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
-
getIntent
public void getIntent(GetIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
-
createIntent
public void createIntent(CreateIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
-
updateIntent
public void updateIntent(UpdateIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
-
deleteIntent
public void deleteIntent(DeleteIntentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
-
-