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