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

Commit

Permalink
feat: add support for service directory webhooks (#210)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/86e74812-c02f-4f90-8e42-37c2aca2b51d/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 372602458
Source-Link: googleapis/googleapis@3e32fd1
PiperOrigin-RevId: 372385924
Source-Link: googleapis/googleapis@0506eca
  • Loading branch information
yoshi-automation committed May 11, 2021
1 parent 8d6c4ef commit 0ae811a
Show file tree
Hide file tree
Showing 56 changed files with 5,733 additions and 2,728 deletions.
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
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
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
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
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

0 comments on commit 0ae811a

Please sign in to comment.