Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: add support for service directory webhooks #210

Merged
merged 2 commits into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
* determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
@javax.annotation.Generated(
Expand Down Expand Up @@ -269,9 +268,8 @@ public SessionsFutureStub newStub(
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
* determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public abstract static class SessionsImplBase implements io.grpc.BindableService {
Expand Down Expand Up @@ -339,13 +337,9 @@ public void matchIntent(
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
* called after
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
* input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public void fulfillIntent(
Expand Down Expand Up @@ -396,9 +390,8 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
* determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub<SessionsStub> {
Expand Down Expand Up @@ -479,13 +472,9 @@ public void matchIntent(
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
* called after
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
* input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public void fulfillIntent(
Expand All @@ -504,9 +493,8 @@ public void fulfillIntent(
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
* determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public static final class SessionsBlockingStub
Expand Down Expand Up @@ -557,13 +545,9 @@ public com.google.cloud.dialogflow.cx.v3.MatchIntentResponse matchIntent(
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
* called after
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
* input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public com.google.cloud.dialogflow.cx.v3.FulfillIntentResponse fulfillIntent(
Expand All @@ -578,9 +562,8 @@ public com.google.cloud.dialogflow.cx.v3.FulfillIntentResponse fulfillIntent(
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to
* determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public static final class SessionsFutureStub
Expand Down Expand Up @@ -633,13 +616,9 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
* called after
* [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
* input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
* method to determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
@javax.annotation.Generated(
Expand Down Expand Up @@ -269,9 +268,8 @@ public SessionsFutureStub newStub(
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
* method to determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public abstract static class SessionsImplBase implements io.grpc.BindableService {
Expand Down Expand Up @@ -339,13 +337,9 @@ public void matchIntent(
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
* with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public void fulfillIntent(
Expand Down Expand Up @@ -396,9 +390,8 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
* method to determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub<SessionsStub> {
Expand Down Expand Up @@ -479,13 +472,9 @@ public void matchIntent(
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
* with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public void fulfillIntent(
Expand All @@ -504,9 +493,8 @@ public void fulfillIntent(
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
* method to determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public static final class SessionsBlockingStub
Expand Down Expand Up @@ -557,13 +545,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse matchIntent(
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
* with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public com.google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse fulfillIntent(
Expand All @@ -578,9 +562,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse fulfillInten
*
* <pre>
* A session represents an interaction with a user. You retrieve user input
* and pass it to the
* [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent]
* method to determine user intent and respond.
* and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] method to determine
* user intent and respond.
* </pre>
*/
public static final class SessionsFutureStub
Expand Down Expand Up @@ -633,13 +616,9 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
*
*
* <pre>
* Fulfills a matched intent returned by
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after
* [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],
* with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].
* Otherwise, the behavior is undefined.
* Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].
* Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from
* [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@ public com.google.cloud.dialogflow.cx.v3.InputAudioConfigOrBuilder getConfigOrBu
* <pre>
* The natural language speech audio to be processed.
* A single request can contain up to 1 minute of speech audio data.
* The [transcribed
* text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
* more than 256 bytes.
* The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256
* bytes.
* For non-streaming audio detect intent, both `config` and `audio` must be
* provided.
* For streaming audio detect intent, `config` must be provided in
Expand Down Expand Up @@ -760,9 +759,8 @@ public com.google.cloud.dialogflow.cx.v3.InputAudioConfigOrBuilder getConfigOrBu
* <pre>
* The natural language speech audio to be processed.
* A single request can contain up to 1 minute of speech audio data.
* The [transcribed
* text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
* more than 256 bytes.
* The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256
* bytes.
* For non-streaming audio detect intent, both `config` and `audio` must be
* provided.
* For streaming audio detect intent, `config` must be provided in
Expand All @@ -783,9 +781,8 @@ public com.google.protobuf.ByteString getAudio() {
* <pre>
* The natural language speech audio to be processed.
* A single request can contain up to 1 minute of speech audio data.
* The [transcribed
* text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
* more than 256 bytes.
* The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256
* bytes.
* For non-streaming audio detect intent, both `config` and `audio` must be
* provided.
* For streaming audio detect intent, `config` must be provided in
Expand All @@ -812,9 +809,8 @@ public Builder setAudio(com.google.protobuf.ByteString value) {
* <pre>
* The natural language speech audio to be processed.
* A single request can contain up to 1 minute of speech audio data.
* The [transcribed
* text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
* more than 256 bytes.
* The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256
* bytes.
* For non-streaming audio detect intent, both `config` and `audio` must be
* provided.
* For streaming audio detect intent, `config` must be provided in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ public interface AudioInputOrBuilder
* <pre>
* The natural language speech audio to be processed.
* A single request can contain up to 1 minute of speech audio data.
* The [transcribed
* text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
* more than 256 bytes.
* The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256
* bytes.
* For non-streaming audio detect intent, both `config` and `audio` must be
* provided.
* For streaming audio detect intent, `config` must be provided in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ public com.google.cloud.dialogflow.cx.v3.QueryResultOrBuilder getQueryResultOrBu
* The audio data bytes encoded as specified in the request.
* Note: The output audio is generated based on the values of default platform
* text responses found in the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages]
* field. If multiple default text responses exist, they will be concatenated
* when generating audio. If no default platform text responses exist, the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If
* multiple default text responses exist, they will be concatenated when
* generating audio. If no default platform text responses exist, the
* generated audio content will be empty.
* In some scenarios, multiple output audio fields may be present in the
* response structure. In these cases, only the top-most-level audio output
Expand Down Expand Up @@ -1020,9 +1020,9 @@ public com.google.cloud.dialogflow.cx.v3.QueryResultOrBuilder getQueryResultOrBu
* The audio data bytes encoded as specified in the request.
* Note: The output audio is generated based on the values of default platform
* text responses found in the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages]
* field. If multiple default text responses exist, they will be concatenated
* when generating audio. If no default platform text responses exist, the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If
* multiple default text responses exist, they will be concatenated when
* generating audio. If no default platform text responses exist, the
* generated audio content will be empty.
* In some scenarios, multiple output audio fields may be present in the
* response structure. In these cases, only the top-most-level audio output
Expand All @@ -1044,9 +1044,9 @@ public com.google.protobuf.ByteString getOutputAudio() {
* The audio data bytes encoded as specified in the request.
* Note: The output audio is generated based on the values of default platform
* text responses found in the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages]
* field. If multiple default text responses exist, they will be concatenated
* when generating audio. If no default platform text responses exist, the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If
* multiple default text responses exist, they will be concatenated when
* generating audio. If no default platform text responses exist, the
* generated audio content will be empty.
* In some scenarios, multiple output audio fields may be present in the
* response structure. In these cases, only the top-most-level audio output
Expand Down Expand Up @@ -1074,9 +1074,9 @@ public Builder setOutputAudio(com.google.protobuf.ByteString value) {
* The audio data bytes encoded as specified in the request.
* Note: The output audio is generated based on the values of default platform
* text responses found in the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages]
* field. If multiple default text responses exist, they will be concatenated
* when generating audio. If no default platform text responses exist, the
* [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If
* multiple default text responses exist, they will be concatenated when
* generating audio. If no default platform text responses exist, the
* generated audio content will be empty.
* In some scenarios, multiple output audio fields may be present in the
* response structure. In these cases, only the top-most-level audio output
Expand Down
Loading