public static final class IntentsGrpc.IntentsStub extends AbstractAsyncStub<IntentsGrpc.IntentsStub>
Service for managing [Intents][google.cloud.dialogflow.v2beta1.Intent].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
void |
batchDeleteIntents(BatchDeleteIntentsRequest request,
StreamObserver<Operation> responseObserver)
Deletes intents in the specified agent.
|
void |
batchUpdateIntents(BatchUpdateIntentsRequest request,
StreamObserver<Operation> responseObserver)
Updates/Creates multiple intents in the specified agent.
|
protected IntentsGrpc.IntentsStub |
build(Channel channel,
CallOptions callOptions) |
void |
createIntent(CreateIntentRequest request,
StreamObserver<Intent> responseObserver)
Creates an intent in the specified agent.
|
void |
deleteIntent(DeleteIntentRequest request,
StreamObserver<Empty> responseObserver)
Deletes the specified intent and its direct or indirect followup intents.
|
void |
getIntent(GetIntentRequest request,
StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
|
void |
listIntents(ListIntentsRequest request,
StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
|
void |
updateIntent(UpdateIntentRequest request,
StreamObserver<Intent> responseObserver)
Updates the specified intent.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected IntentsGrpc.IntentsStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<IntentsGrpc.IntentsStub>
public void listIntents(ListIntentsRequest request, StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
public void getIntent(GetIntentRequest request, StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
public void createIntent(CreateIntentRequest request, StreamObserver<Intent> responseObserver)
Creates an intent in the specified agent.
public void updateIntent(UpdateIntentRequest request, StreamObserver<Intent> responseObserver)
Updates the specified intent.
public void deleteIntent(DeleteIntentRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified intent and its direct or indirect followup intents.
public void batchUpdateIntents(BatchUpdateIntentsRequest request, StreamObserver<Operation> responseObserver)
Updates/Creates multiple intents in the specified agent. Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse]>
public void batchDeleteIntents(BatchDeleteIntentsRequest request, StreamObserver<Operation> responseObserver)
Deletes intents in the specified agent. Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
Copyright © 2021 Google LLC. All rights reserved.