diff --git a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java index 78a32273f..1719e59fc 100644 --- a/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionsGrpc.java @@ -22,9 +22,8 @@ * *
* 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. **/ @javax.annotation.Generated( @@ -269,9 +268,8 @@ public SessionsFutureStub newStub( * *
* 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. **/ public abstract static class SessionsImplBase implements io.grpc.BindableService { @@ -339,13 +337,9 @@ public void matchIntent( * * *
- * 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. **/ public void fulfillIntent( @@ -396,9 +390,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * *
* 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. **/ public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub
- * 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. **/ public void fulfillIntent( @@ -504,9 +493,8 @@ public void fulfillIntent( * *
* 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. **/ public static final class SessionsBlockingStub @@ -557,13 +545,9 @@ public com.google.cloud.dialogflow.cx.v3.MatchIntentResponse matchIntent( * * *
- * 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. **/ public com.google.cloud.dialogflow.cx.v3.FulfillIntentResponse fulfillIntent( @@ -578,9 +562,8 @@ public com.google.cloud.dialogflow.cx.v3.FulfillIntentResponse fulfillIntent( * *
* 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. **/ public static final class SessionsFutureStub @@ -633,13 +616,9 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
- * 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. **/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java index 7c9dbaf0d..e3903c569 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionsGrpc.java @@ -22,9 +22,8 @@ * *
* 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. **/ @javax.annotation.Generated( @@ -269,9 +268,8 @@ public SessionsFutureStub newStub( * *
* 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. **/ public abstract static class SessionsImplBase implements io.grpc.BindableService { @@ -339,13 +337,9 @@ public void matchIntent( * * *
- * 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. **/ public void fulfillIntent( @@ -396,9 +390,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * *
* 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. **/ public static final class SessionsStub extends io.grpc.stub.AbstractAsyncStub
- * 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. **/ public void fulfillIntent( @@ -504,9 +493,8 @@ public void fulfillIntent( * *
* 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. **/ public static final class SessionsBlockingStub @@ -557,13 +545,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse matchIntent( * * *
- * 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. **/ public com.google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse fulfillIntent( @@ -578,9 +562,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse fulfillInten * *
* 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. **/ public static final class SessionsFutureStub @@ -633,13 +616,9 @@ protected SessionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
- * 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. **/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java index 03f1370f4..80ffebdfe 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInput.java @@ -188,9 +188,8 @@ public com.google.cloud.dialogflow.cx.v3.InputAudioConfigOrBuilder getConfigOrBu *
* 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 @@ -760,9 +759,8 @@ public com.google.cloud.dialogflow.cx.v3.InputAudioConfigOrBuilder getConfigOrBu ** 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 @@ -783,9 +781,8 @@ public com.google.protobuf.ByteString getAudio() { ** 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 @@ -812,9 +809,8 @@ public Builder setAudio(com.google.protobuf.ByteString value) { ** 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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java index 6700e8ef0..a8e337ffc 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AudioInputOrBuilder.java @@ -70,9 +70,8 @@ public interface AudioInputOrBuilder ** 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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java index cf48f0d03..4762cd36d 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponse.java @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java index 70e5dc9b2..d1665648c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/DetectIntentResponseOrBuilder.java @@ -92,9 +92,9 @@ public interface DetectIntentResponseOrBuilder * 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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java index d82543226..0d1307818 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponse.java @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java index d63618eb3..1cfcc6301 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillIntentResponseOrBuilder.java @@ -92,9 +92,9 @@ public interface FulfillIntentResponseOrBuilder * 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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java index 7cfcd2653..cede0d489 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Match.java @@ -414,10 +414,9 @@ private MatchType(int value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -432,10 +431,9 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -452,10 +450,9 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1143,10 +1140,9 @@ public Builder mergeFrom( * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1160,10 +1156,9 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1183,10 +1178,9 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1208,10 +1202,9 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1230,10 +1223,9 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent.Builder builde * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1259,10 +1251,9 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1282,10 +1273,9 @@ public Builder clearIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1299,10 +1289,9 @@ public com.google.cloud.dialogflow.cx.v3.Intent.Builder getIntentBuilder() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -1320,10 +1309,9 @@ public com.google.cloud.dialogflow.cx.v3.IntentOrBuilder getIntentOrBuilder() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java index 7db3c1d63..8b673efcd 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponse.java @@ -221,8 +221,8 @@ public QueryCase getQueryCase() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -236,8 +236,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -264,8 +264,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -294,9 +294,9 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -311,9 +311,9 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -341,9 +341,9 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -373,8 +373,7 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -389,8 +388,7 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -418,8 +416,7 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -449,8 +446,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -464,8 +461,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -492,8 +489,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -597,9 +594,8 @@ public com.google.cloud.dialogflow.cx.v3.MatchOrBuilder getMatchesOrBuilder(int * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -614,9 +610,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -633,9 +628,8 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -1162,8 +1156,8 @@ public Builder clearQuery() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1178,8 +1172,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1207,8 +1201,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1236,8 +1230,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1258,8 +1252,8 @@ public Builder setText(java.lang.String value) { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1278,8 +1272,8 @@ public Builder clearText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1302,9 +1296,9 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -1320,9 +1314,9 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -1351,9 +1345,9 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -1382,9 +1376,9 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -1406,9 +1400,9 @@ public Builder setTriggerIntent(java.lang.String value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -1428,9 +1422,9 @@ public Builder clearTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -1454,8 +1448,7 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -1471,8 +1464,7 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -1501,8 +1493,7 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -1531,8 +1522,7 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -1554,8 +1544,7 @@ public Builder setTranscript(java.lang.String value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -1575,8 +1564,7 @@ public Builder clearTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -1600,8 +1588,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1616,8 +1604,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1645,8 +1633,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1674,8 +1662,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1696,8 +1684,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1716,8 +1704,8 @@ public Builder clearTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -2112,9 +2100,8 @@ public java.util.ListgetMatche * * * - * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2128,9 +2115,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2150,9 +2136,8 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2174,9 +2159,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2195,9 +2179,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page.Builder bui * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2223,9 +2206,8 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2245,9 +2227,8 @@ public Builder clearCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2261,9 +2242,8 @@ public com.google.cloud.dialogflow.cx.v3.Page.Builder getCurrentPageBuilder() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -2281,9 +2261,8 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java index 2b887e8f4..22a27edb4 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentResponseOrBuilder.java @@ -27,8 +27,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -40,8 +40,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -53,8 +53,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -67,9 +67,9 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -82,9 +82,9 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -97,9 +97,9 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -113,8 +113,7 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -127,8 +126,7 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -141,8 +139,7 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -156,8 +153,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -169,8 +166,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -182,8 +179,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -253,9 +250,8 @@ public interface MatchIntentResponseOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -267,9 +263,8 @@ public interface MatchIntentResponseOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
@@ -281,9 +276,8 @@ public interface MatchIntentResponseOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 5;
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java index cf498b0bd..30ddca277 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchOrBuilder.java @@ -27,10 +27,9 @@ public interface MatchOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -42,10 +41,9 @@ public interface MatchOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
@@ -57,10 +55,9 @@ public interface MatchOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - * Some, not all fields are filled in this message, including but not limited - * to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 1;
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java index c81a58552..7d902a153 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParameters.java @@ -587,18 +587,16 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -621,18 +619,16 @@ public java.lang.String getCurrentPage() { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2695,18 +2691,16 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2728,18 +2722,16 @@ public java.lang.String getCurrentPage() { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2761,18 +2753,16 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2793,18 +2783,16 @@ public Builder setCurrentPage(java.lang.String value) { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2821,18 +2809,16 @@ public Builder clearCurrentPage() { * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java index f884457fd..ced514c13 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryParametersOrBuilder.java @@ -315,18 +315,16 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -338,18 +336,16 @@ com.google.cloud.dialogflow.cx.v3.SessionEntityTypeOrBuilder getSessionEntityTyp * * *- * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - * override the [current page][QueryResult.current_page] in the session. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/pages/<page ID>`. + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + * page][QueryResult.current_page] in the session. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - * and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java index 4e7aa98c0..674551c91 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java @@ -343,8 +343,8 @@ public QueryCase getQueryCase() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -358,8 +358,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -386,8 +386,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -416,9 +416,9 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -433,9 +433,9 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -463,9 +463,9 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -495,8 +495,7 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -511,8 +510,7 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -540,8 +538,7 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -571,8 +568,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -586,8 +583,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -614,8 +611,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -700,8 +697,7 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -729,8 +725,7 @@ public boolean hasParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -758,8 +753,7 @@ public com.google.protobuf.Struct getParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -938,9 +932,8 @@ public com.google.rpc.StatusOrBuilder getWebhookStatusesOrBuilder(int index) { * * ** *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -954,9 +947,8 @@ public java.util.ListgetWebhookPayloadsList() { * * * - * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -971,9 +963,8 @@ public java.util.ListgetWebhookPayloadsList() { * * * - * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -987,9 +978,8 @@ public int getWebhookPayloadsCount() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -1003,9 +993,8 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -1022,9 +1011,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -1039,9 +1027,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -1058,9 +1045,8 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -1076,12 +1062,10 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -1097,12 +1081,10 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -1120,12 +1102,10 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -1148,9 +1128,7 @@ public com.google.cloud.dialogflow.cx.v3.IntentOrBuilder getIntentOrBuilder() { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -1271,8 +1249,7 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { ** The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -1290,8 +1267,7 @@ public boolean hasSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -1311,8 +1287,7 @@ public com.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult getSentimentAna *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -2120,8 +2095,8 @@ public Builder clearQuery() { * * *
- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2136,8 +2111,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2165,8 +2140,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2194,8 +2169,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2216,8 +2191,8 @@ public Builder setText(java.lang.String value) { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2236,8 +2211,8 @@ public Builder clearText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2260,9 +2235,9 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -2278,9 +2253,9 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -2309,9 +2284,9 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -2340,9 +2315,9 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -2364,9 +2339,9 @@ public Builder setTriggerIntent(java.lang.String value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -2386,9 +2361,9 @@ public Builder clearTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -2412,8 +2387,7 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -2429,8 +2403,7 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -2459,8 +2432,7 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -2489,8 +2461,7 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -2512,8 +2483,7 @@ public Builder setTranscript(java.lang.String value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -2533,8 +2503,7 @@ public Builder clearTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -2558,8 +2527,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2574,8 +2543,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2603,8 +2572,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2632,8 +2601,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2654,8 +2623,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2674,8 +2643,8 @@ public Builder clearTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2825,8 +2794,7 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2853,8 +2821,7 @@ public boolean hasParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2885,8 +2852,7 @@ public com.google.protobuf.Struct getParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2921,8 +2887,7 @@ public Builder setParameters(com.google.protobuf.Struct value) { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2954,8 +2919,7 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2992,8 +2956,7 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3026,8 +2989,7 @@ public Builder clearParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3054,8 +3016,7 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * * ** *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3084,8 +3045,7 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * ** *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3883,9 +3843,8 @@ private void ensureWebhookPayloadsIsMutable() { * * ** *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3902,9 +3861,8 @@ public java.util.ListgetWebhookPayloadsList() { * * * - * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3921,9 +3879,8 @@ public int getWebhookPayloadsCount() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3940,9 +3897,8 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3965,9 +3921,8 @@ public Builder setWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3988,9 +3943,8 @@ public Builder setWebhookPayloads( * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4013,9 +3967,8 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct value) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4038,9 +3991,8 @@ public Builder addWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4060,9 +4012,8 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct.Builder builderForV * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4083,9 +4034,8 @@ public Builder addWebhookPayloads( * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4106,9 +4056,8 @@ public Builder addAllWebhookPayloads( * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4128,9 +4077,8 @@ public Builder clearWebhookPayloads() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4150,9 +4098,8 @@ public Builder removeWebhookPayloads(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4165,9 +4112,8 @@ public com.google.protobuf.Struct.Builder getWebhookPayloadsBuilder(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4184,9 +4130,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4204,9 +4149,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4220,9 +4164,8 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4236,9 +4179,8 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4278,9 +4220,8 @@ public java.util.ListgetWebhookPayloadsBuil * * * - * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4294,9 +4235,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4316,9 +4256,8 @@ public com.google.cloud.dialogflow.cx.v3.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4340,9 +4279,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4361,9 +4299,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3.Page.Builder bui * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4389,9 +4326,8 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3.Page value) { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4411,9 +4347,8 @@ public Builder clearCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4427,9 +4362,8 @@ public com.google.cloud.dialogflow.cx.v3.Page.Builder getCurrentPageBuilder() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4447,9 +4381,8 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -4481,12 +4414,10 @@ public com.google.cloud.dialogflow.cx.v3.PageOrBuilder getCurrentPageOrBuilder() * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4501,12 +4432,10 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4527,12 +4456,10 @@ public com.google.cloud.dialogflow.cx.v3.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4555,12 +4482,10 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4580,12 +4505,10 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3.Intent.Builder builde * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4612,12 +4535,10 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3.Intent value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4638,12 +4559,10 @@ public Builder clearIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4658,12 +4577,10 @@ public com.google.cloud.dialogflow.cx.v3.Intent.Builder getIntentBuilder() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4682,12 +4599,10 @@ public com.google.cloud.dialogflow.cx.v3.IntentOrBuilder getIntentOrBuilder() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -4720,9 +4635,7 @@ public com.google.cloud.dialogflow.cx.v3.IntentOrBuilder getIntentOrBuilder() { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -4744,9 +4657,7 @@ public float getIntentDetectionConfidence() { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -4771,9 +4682,7 @@ public Builder setIntentDetectionConfidence(float value) { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -5188,8 +5097,7 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { ** The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5206,8 +5114,7 @@ public boolean hasSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5230,8 +5137,7 @@ public com.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult getSentimentAna *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5257,8 +5163,7 @@ public Builder setSentimentAnalysisResult( *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5281,8 +5186,7 @@ public Builder setSentimentAnalysisResult( *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5313,8 +5217,7 @@ public Builder mergeSentimentAnalysisResult( *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5337,8 +5240,7 @@ public Builder clearSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5356,8 +5258,7 @@ public Builder clearSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -5379,8 +5280,7 @@ public Builder clearSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java index 6953218e0..9035761f8 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java @@ -27,8 +27,8 @@ public interface QueryResultOrBuilder * * *
- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -40,8 +40,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -53,8 +53,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - * provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -67,9 +67,9 @@ public interface QueryResultOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -82,9 +82,9 @@ public interface QueryResultOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -97,9 +97,9 @@ public interface QueryResultOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - * input, this field will contain a copy of the intent identifier. Format: - * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent * ID>/intents/<Intent ID>`. ** @@ -113,8 +113,7 @@ public interface QueryResultOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -127,8 +126,7 @@ public interface QueryResultOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -141,8 +139,7 @@ public interface QueryResultOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + * If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, * this field will contain the transcript for the audio. ** @@ -156,8 +153,8 @@ public interface QueryResultOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -169,8 +166,8 @@ public interface QueryResultOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -182,8 +179,8 @@ public interface QueryResultOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - * input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -227,8 +224,7 @@ public interface QueryResultOrBuilder * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -253,8 +249,7 @@ public interface QueryResultOrBuilder * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -279,8 +274,7 @@ public interface QueryResultOrBuilder * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -418,9 +412,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * ** *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -431,9 +424,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -444,9 +436,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -457,9 +448,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -470,9 +460,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -484,9 +473,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -498,9 +486,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -512,9 +499,8 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3.Page current_page = 7;
@@ -525,12 +511,10 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -543,12 +527,10 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -561,12 +543,10 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * * *- * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3.Intent intent = 8 [deprecated = true];
@@ -584,9 +564,7 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -678,8 +656,7 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr ** The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -694,8 +671,7 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; @@ -710,8 +686,7 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult sentiment_analysis_result = 17; diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ServiceName.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ServiceName.java new file mode 100644 index 000000000..791cddff5 --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ServiceName.java @@ -0,0 +1,259 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class ServiceName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NAMESPACE_SERVICE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}"); + private volatile Map
fieldValuesMap; + private final String project; + private final String location; + private final String namespace; + private final String service; + + @Deprecated + protected ServiceName() { + project = null; + location = null; + namespace = null; + service = null; + } + + private ServiceName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + namespace = Preconditions.checkNotNull(builder.getNamespace()); + service = Preconditions.checkNotNull(builder.getService()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNamespace() { + return namespace; + } + + public String getService() { + return service; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static ServiceName of(String project, String location, String namespace, String service) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNamespace(namespace) + .setService(service) + .build(); + } + + public static String format(String project, String location, String namespace, String service) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNamespace(namespace) + .setService(service) + .build() + .toString(); + } + + public static ServiceName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_NAMESPACE_SERVICE.validatedMatch( + formattedString, "ServiceName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("namespace"), + matchMap.get("service")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (ServiceName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_NAMESPACE_SERVICE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (namespace != null) { + fieldMapBuilder.put("namespace", namespace); + } + if (service != null) { + fieldMapBuilder.put("service", service); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_NAMESPACE_SERVICE.instantiate( + "project", project, "location", location, "namespace", namespace, "service", service); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + ServiceName that = ((ServiceName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.namespace, that.namespace) + && Objects.equals(this.service, that.service); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(namespace); + h *= 1000003; + h ^= Objects.hashCode(service); + return h; + } + + /** + * Builder for projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + */ + public static class Builder { + private String project; + private String location; + private String namespace; + private String service; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNamespace() { + return namespace; + } + + public String getService() { + return service; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setNamespace(String namespace) { + this.namespace = namespace; + return this; + } + + public Builder setService(String service) { + this.service = service; + return this; + } + + private Builder(ServiceName serviceName) { + project = serviceName.project; + location = serviceName.location; + namespace = serviceName.namespace; + service = serviceName.service; + } + + public ServiceName build() { + return new ServiceName(this); + } + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java index 5e0654142..1d042f220 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java @@ -118,19 +118,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n+google/cloud/dialogflow/cx/v3/session." + "proto\022\035google.cloud.dialogflow.cx.v3\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\0320google/" - + "cloud/dialogflow/cx/v3/audio_config.prot" - + "o\032(google/cloud/dialogflow/cx/v3/flow.pr" - + "oto\032*google/cloud/dialogflow/cx/v3/inten" - + "t.proto\032(google/cloud/dialogflow/cx/v3/p" - + "age.proto\0324google/cloud/dialogflow/cx/v3" - + "/response_message.proto\0327google/cloud/di" - + "alogflow/cx/v3/session_entity_type.proto" - + "\032\036google/protobuf/duration.proto\032\034google" - + "/protobuf/struct.proto\032\027google/rpc/statu" - + "s.proto\032\030google/type/latlng.proto\"\253\002\n\023De" + + "ogle/api/annotations.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\0320google/cloud/dialogflow/cx/v3/au" + + "dio_config.proto\032(google/cloud/dialogflo" + + "w/cx/v3/flow.proto\032*google/cloud/dialogf" + + "low/cx/v3/intent.proto\032(google/cloud/dia" + + "logflow/cx/v3/page.proto\0324google/cloud/d" + + "ialogflow/cx/v3/response_message.proto\0327" + + "google/cloud/dialogflow/cx/v3/session_en" + + "tity_type.proto\032\036google/protobuf/duratio" + + "n.proto\032\034google/protobuf/struct.proto\032\027g" + + "oogle/rpc/status.proto\032\030google/type/latl" + + "ng.proto\032\027google/api/client.proto\"\253\002\n\023De" + "tectIntentRequest\022:\n\007session\030\001 \001(\tB)\340A\002\372" + "A#\n!dialogflow.googleapis.com/Session\022D\n" + "\014query_params\030\002 \001(\0132..google.cloud.dialo" @@ -296,7 +296,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.dialogflow.cx.v3.AudioConfigProto.getDescriptor(), @@ -309,6 +308,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.StructProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), com.google.type.LatLngProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), }); internal_static_google_cloud_dialogflow_cx_v3_DetectIntentRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -518,7 +518,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.dialogflow.cx.v3.AudioConfigProto.getDescriptor(); @@ -531,6 +530,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.StructProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); com.google.type.LatLngProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java index 6d25ea28c..07ce37ea6 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingDetectIntentRequest.java @@ -23,26 +23,21 @@ * * * The top-level message sent by the client to the - * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] - * method. + * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method. * Multiple request messages should be sent in order: * 1. The first message must contain * [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], - * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] - * plus optionally - * [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. - * If the client wants to receive an audio response, it should also contain + * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally + * [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client + * wants to receive an audio response, it should also contain * [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config]. - * 2. If - * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] - * was set to - * [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], - * all subsequent messages must contain - * [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] - * to continue with Speech recognition. If you decide to rather detect an - * intent from text input after you already started Speech recognition, - * please send a message with - * [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. + * 2. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to + * [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages + * must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] to continue with + * Speech recognition. + * If you decide to rather detect an intent from text + * input after you already started Speech recognition, please send a message + * with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. * However, note that: * * Dialogflow will bill you for the audio duration so far. * * Dialogflow discards all Speech recognition results in favor of the @@ -622,26 +617,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * ** ** The top-level message sent by the client to the - * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] - * method. + * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method. * Multiple request messages should be sent in order: * 1. The first message must contain * [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], - * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] - * plus optionally - * [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. - * If the client wants to receive an audio response, it should also contain + * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally + * [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client + * wants to receive an audio response, it should also contain * [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config]. - * 2. If - * [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] - * was set to - * [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], - * all subsequent messages must contain - * [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] - * to continue with Speech recognition. If you decide to rather detect an - * intent from text input after you already started Speech recognition, - * please send a message with - * [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. + * 2. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to + * [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages + * must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] to continue with + * Speech recognition. + * If you decide to rather detect an intent from text + * input after you already started Speech recognition, please send a message + * with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. * However, note that: * * Dialogflow will bill you for the audio duration so far. * * Dialogflow discards all Speech recognition results in favor of the diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java index adba49151..f2325fb66 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResult.java @@ -226,8 +226,8 @@ public enum MessageType implements com.google.protobuf.ProtocolMessageEnum { * additional results). The client should stop sending additional audio * data, half-close the gRPC connection, and wait for any additional results * until the server closes the gRPC connection. This message is only sent if - * [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] - * was set to `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] was set to + * `true`, and is not used otherwise. ** *END_OF_SINGLE_UTTERANCE = 2;
@@ -266,8 +266,8 @@ public enum MessageType implements com.google.protobuf.ProtocolMessageEnum { * additional results). The client should stop sending additional audio * data, half-close the gRPC connection, and wait for any additional results * until the server closes the gRPC connection. This message is only sent if - * [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] - * was set to `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] was set to + * `true`, and is not used otherwise. *END_OF_SINGLE_UTTERANCE = 2;
@@ -526,8 +526,7 @@ public float getStability() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -542,8 +541,7 @@ public java.util.ListgetSpeec * * * Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -559,8 +557,7 @@ public java.util.ListgetSpeec * * * Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -575,8 +572,7 @@ public int getSpeechWordInfoCount() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -591,8 +587,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo getSpeechWordInfo(int in * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1585,8 +1580,7 @@ private void ensureSpeechWordInfoIsMutable() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1605,8 +1599,7 @@ private void ensureSpeechWordInfoIsMutable() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1624,8 +1617,7 @@ public int getSpeechWordInfoCount() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1643,8 +1635,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo getSpeechWordInfo(int in * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1669,8 +1660,7 @@ public Builder setSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1692,8 +1682,7 @@ public Builder setSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1717,8 +1706,7 @@ public Builder addSpeechWordInfo(com.google.cloud.dialogflow.cx.v3.SpeechWordInf * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1743,8 +1731,7 @@ public Builder addSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1766,8 +1753,7 @@ public Builder addSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1789,8 +1775,7 @@ public Builder addSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1812,8 +1797,7 @@ public Builder addAllSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1834,8 +1818,7 @@ public Builder clearSpeechWordInfo() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1856,8 +1839,7 @@ public Builder removeSpeechWordInfo(int index) { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1872,8 +1854,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo.Builder getSpeechWordInf * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1892,8 +1873,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfoOrBuilder getSpeechWordIn * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1912,8 +1892,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfoOrBuilder getSpeechWordIn * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1928,8 +1907,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo.Builder addSpeechWordInf * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1945,8 +1923,7 @@ public com.google.cloud.dialogflow.cx.v3.SpeechWordInfo.Builder addSpeechWordInf * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java index 07676219c..4d61de878 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/StreamingRecognitionResultOrBuilder.java @@ -135,8 +135,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -148,8 +147,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -161,8 +159,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -174,8 +171,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -188,8 +184,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java index 96c173da0..1c75ede4d 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInput.java @@ -117,8 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -141,8 +141,8 @@ public java.lang.String getText() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -483,8 +483,8 @@ public Builder mergeFrom( * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -506,8 +506,8 @@ public java.lang.String getText() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -529,8 +529,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -551,8 +551,8 @@ public Builder setText(java.lang.String value) { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -569,8 +569,8 @@ public Builder clearText() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java index 751d1a8ba..650d4b337 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextInputOrBuilder.java @@ -27,8 +27,8 @@ public interface TextInputOrBuilder * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -40,8 +40,8 @@ public interface TextInputOrBuilder * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Webhook.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Webhook.java index 062976a1b..640d77b5a 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Webhook.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Webhook.java @@ -126,6 +126,27 @@ private Webhook( timeout_ = subBuilder.buildPartial(); } + break; + } + case 58: + { + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder subBuilder = + null; + if (webhookCase_ == 7) { + subBuilder = + ((com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_) + .toBuilder(); + } + webhook_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_); + webhook_ = subBuilder.buildPartial(); + } + webhookCase_ = 7; break; } default: @@ -1654,212 +1675,1339 @@ public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService getDefaultIns } } - private int webhookCase_ = 0; - private java.lang.Object webhook_; - - public enum WebhookCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - GENERIC_WEB_SERVICE(4), - WEBHOOK_NOT_SET(0); - private final int value; + public interface ServiceDirectoryConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) + com.google.protobuf.MessageOrBuilder { - private WebhookCase(int value) { - this.value = value; - } /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The service. */ - @java.lang.Deprecated - public static WebhookCase valueOf(int value) { - return forNumber(value); - } - - public static WebhookCase forNumber(int value) { - switch (value) { - case 4: - return GENERIC_WEB_SERVICE; - case 0: - return WEBHOOK_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public WebhookCase getWebhookCase() { - return WebhookCase.forNumber(webhookCase_); - } + java.lang.String getService(); + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The bytes for service. + */ + com.google.protobuf.ByteString getServiceBytes(); - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *- * The unique identifier of the webhook. - * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. - * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/webhooks/<Webhook ID>`. - *- * - *string name = 1;
- * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return Whether the genericWebService field is set. + */ + boolean hasGenericWebService(); + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return The genericWebService. + */ + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService getGenericWebService(); + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder(); } /** * * *- * The unique identifier of the webhook. - * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. - * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/webhooks/<Webhook ID>`. + * Represents configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. ** - *string name = 1;
- * - * @return The bytes for name. + * Protobuf type {@code google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig} */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public static final class ServiceDirectoryConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) + ServiceDirectoryConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ServiceDirectoryConfig.newBuilder() to construct. + private ServiceDirectoryConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); } - } - public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object displayName_; - /** - * - * - *- * Required. The human-readable name of the webhook, unique within the agent. - *- * - *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } - } - /** - * - * - *- * Required. The human-readable name of the webhook, unique within the agent. - *- * - *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * - * @return The bytes for displayName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + private ServiceDirectoryConfig() { + service_ = ""; } - } - public static final int GENERIC_WEB_SERVICE_FIELD_NUMBER = 4; - /** - * - * - *- * Configuration for a generic web service. - *- * - *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;
- * - * @return Whether the genericWebService field is set. - */ - @java.lang.Override - public boolean hasGenericWebService() { - return webhookCase_ == 4; - } - /** - * - * - *- * Configuration for a generic web service. - *- * - *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;
- * - * @return The genericWebService. - */ - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService getGenericWebService() { - if (webhookCase_ == 4) { - return (com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService) webhook_; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ServiceDirectoryConfig(); } - return com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance(); - } - /** - * - * - *- * Configuration for a generic web service. - *- * - *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;
- */ - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder - getGenericWebServiceOrBuilder() { - if (webhookCase_ == 4) { - return (com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService) webhook_; + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - return com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance(); - } - public static final int TIMEOUT_FIELD_NUMBER = 6; - private com.google.protobuf.Duration timeout_; - /** - * + private ServiceDirectoryConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + service_ = s; + break; + } + case 18: + { + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.Builder subBuilder = + null; + if (genericWebService_ != null) { + subBuilder = genericWebService_.toBuilder(); + } + genericWebService_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(genericWebService_); + genericWebService_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.class, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder.class); + } + + public static final int SERVICE_FIELD_NUMBER = 1; + private volatile java.lang.Object service_; + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The service. + */ + @java.lang.Override + public java.lang.String getService() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The bytes for service. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GENERIC_WEB_SERVICE_FIELD_NUMBER = 2; + private com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService genericWebService_; + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return Whether the genericWebService field is set. + */ + @java.lang.Override + public boolean hasGenericWebService() { + return genericWebService_ != null; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return The genericWebService. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService getGenericWebService() { + return genericWebService_ == null + ? com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance() + : genericWebService_; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder() { + return getGenericWebService(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getServiceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); + } + if (genericWebService_ != null) { + output.writeMessage(2, getGenericWebService()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getServiceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); + } + if (genericWebService_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGenericWebService()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig other = + (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) obj; + + if (!getService().equals(other.getService())) return false; + if (hasGenericWebService() != other.hasGenericWebService()) return false; + if (hasGenericWebService()) { + if (!getGenericWebService().equals(other.getGenericWebService())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + if (hasGenericWebService()) { + hash = (37 * hash) + GENERIC_WEB_SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getGenericWebService().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *+ * Represents configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder+ implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.class, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + service_ = ""; + + if (genericWebServiceBuilder_ == null) { + genericWebService_ = null; + } else { + genericWebService_ = null; + genericWebServiceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig build() { + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig buildPartial() { + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig result = + new com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig(this); + result.service_ = service_; + if (genericWebServiceBuilder_ == null) { + result.genericWebService_ = genericWebService_; + } else { + result.genericWebService_ = genericWebServiceBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig other) { + if (other + == com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + .getDefaultInstance()) return this; + if (!other.getService().isEmpty()) { + service_ = other.service_; + onChanged(); + } + if (other.hasGenericWebService()) { + mergeGenericWebService(other.getGenericWebService()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object service_ = ""; + /** + * + * + * + * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The service. + */ + public java.lang.String getService() { + java.lang.Object ref = service_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The bytes for service. + */ + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @param value The service to set. + * @return This builder for chaining. + */ + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + service_ = value; + onChanged(); + return this; + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return This builder for chaining. + */ + public Builder clearService() { + + service_ = getDefaultInstance().getService(); + onChanged(); + return this; + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @param value The bytes for service to set. + * @return This builder for chaining. + */ + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + service_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService genericWebService_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService, + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.Builder, + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder> + genericWebServiceBuilder_; + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return Whether the genericWebService field is set. + */ + public boolean hasGenericWebService() { + return genericWebServiceBuilder_ != null || genericWebService_ != null; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return The genericWebService. + */ + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService getGenericWebService() { + if (genericWebServiceBuilder_ == null) { + return genericWebService_ == null + ? com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance() + : genericWebService_; + } else { + return genericWebServiceBuilder_.getMessage(); + } + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder setGenericWebService( + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService value) { + if (genericWebServiceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + genericWebService_ = value; + onChanged(); + } else { + genericWebServiceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder setGenericWebService( + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.Builder builderForValue) { + if (genericWebServiceBuilder_ == null) { + genericWebService_ = builderForValue.build(); + onChanged(); + } else { + genericWebServiceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder mergeGenericWebService( + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService value) { + if (genericWebServiceBuilder_ == null) { + if (genericWebService_ != null) { + genericWebService_ = + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.newBuilder( + genericWebService_) + .mergeFrom(value) + .buildPartial(); + } else { + genericWebService_ = value; + } + onChanged(); + } else { + genericWebServiceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder clearGenericWebService() { + if (genericWebServiceBuilder_ == null) { + genericWebService_ = null; + onChanged(); + } else { + genericWebService_ = null; + genericWebServiceBuilder_ = null; + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.Builder + getGenericWebServiceBuilder() { + + onChanged(); + return getGenericWebServiceFieldBuilder().getBuilder(); + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder() { + if (genericWebServiceBuilder_ != null) { + return genericWebServiceBuilder_.getMessageOrBuilder(); + } else { + return genericWebService_ == null + ? com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance() + : genericWebService_; + } + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService, + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.Builder, + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder> + getGenericWebServiceFieldBuilder() { + if (genericWebServiceBuilder_ == null) { + genericWebServiceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService, + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.Builder, + com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder>( + getGenericWebService(), getParentForChildren(), isClean()); + genericWebService_ = null; + } + return genericWebServiceBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) + private static final com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig(); + } + + public static com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.ParserPARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public ServiceDirectoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ServiceDirectoryConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int webhookCase_ = 0; + private java.lang.Object webhook_; + + public enum WebhookCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + GENERIC_WEB_SERVICE(4), + SERVICE_DIRECTORY(7), + WEBHOOK_NOT_SET(0); + private final int value; + + private WebhookCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static WebhookCase valueOf(int value) { + return forNumber(value); + } + + public static WebhookCase forNumber(int value) { + switch (value) { + case 4: + return GENERIC_WEB_SERVICE; + case 7: + return SERVICE_DIRECTORY; + case 0: + return WEBHOOK_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public WebhookCase getWebhookCase() { + return WebhookCase.forNumber(webhookCase_); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + * + * The unique identifier of the webhook. + * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. + * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/webhooks/<Webhook ID>`. + *+ * + *string name = 1;
+ * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *+ * The unique identifier of the webhook. + * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. + * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/webhooks/<Webhook ID>`. + *+ * + *string name = 1;
+ * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object displayName_; + /** + * + * + *+ * Required. The human-readable name of the webhook, unique within the agent. + *+ * + *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + * + * + *+ * Required. The human-readable name of the webhook, unique within the agent. + *+ * + *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GENERIC_WEB_SERVICE_FIELD_NUMBER = 4; + /** + * + * + *+ * Configuration for a generic web service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;
+ * + * @return Whether the genericWebService field is set. + */ + @java.lang.Override + public boolean hasGenericWebService() { + return webhookCase_ == 4; + } + /** + * + * + *+ * Configuration for a generic web service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;
+ * + * @return The genericWebService. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService getGenericWebService() { + if (webhookCase_ == 4) { + return (com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService) webhook_; + } + return com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance(); + } + /** + * + * + *+ * Configuration for a generic web service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder() { + if (webhookCase_ == 4) { + return (com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService) webhook_; + } + return com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.getDefaultInstance(); + } + + public static final int SERVICE_DIRECTORY_FIELD_NUMBER = 7; + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return Whether the serviceDirectory field is set. + */ + @java.lang.Override + public boolean hasServiceDirectory() { + return webhookCase_ == 7; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return The serviceDirectory. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig getServiceDirectory() { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.getDefaultInstance(); + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder + getServiceDirectoryOrBuilder() { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.getDefaultInstance(); + } + + public static final int TIMEOUT_FIELD_NUMBER = 6; + private com.google.protobuf.Duration timeout_; + /** + * * ** Webhook execution timeout. Execution is considered failed if Dialogflow @@ -1956,6 +3104,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (timeout_ != null) { output.writeMessage(6, getTimeout()); } + if (webhookCase_ == 7) { + output.writeMessage( + 7, (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_); + } unknownFields.writeTo(output); } @@ -1982,6 +3134,11 @@ public int getSerializedSize() { if (timeout_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimeout()); } + if (webhookCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2010,6 +3167,9 @@ public boolean equals(final java.lang.Object obj) { case 4: if (!getGenericWebService().equals(other.getGenericWebService())) return false; break; + case 7: + if (!getServiceDirectory().equals(other.getServiceDirectory())) return false; + break; case 0: default: } @@ -2039,6 +3199,10 @@ public int hashCode() { hash = (37 * hash) + GENERIC_WEB_SERVICE_FIELD_NUMBER; hash = (53 * hash) + getGenericWebService().hashCode(); break; + case 7: + hash = (37 * hash) + SERVICE_DIRECTORY_FIELD_NUMBER; + hash = (53 * hash) + getServiceDirectory().hashCode(); + break; case 0: default: } @@ -2240,6 +3404,13 @@ public com.google.cloud.dialogflow.cx.v3.Webhook buildPartial() { result.webhook_ = genericWebServiceBuilder_.build(); } } + if (webhookCase_ == 7) { + if (serviceDirectoryBuilder_ == null) { + result.webhook_ = webhook_; + } else { + result.webhook_ = serviceDirectoryBuilder_.build(); + } + } if (timeoutBuilder_ == null) { result.timeout_ = timeout_; } else { @@ -2316,6 +3487,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Webhook other) { mergeGenericWebService(other.getGenericWebService()); break; } + case SERVICE_DIRECTORY: + { + mergeServiceDirectory(other.getServiceDirectory()); + break; + } case WEBHOOK_NOT_SET: { break; @@ -2821,6 +3997,243 @@ public Builder clearGenericWebService() { return genericWebServiceBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder> + serviceDirectoryBuilder_; + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return Whether the serviceDirectory field is set. + */ + @java.lang.Override + public boolean hasServiceDirectory() { + return webhookCase_ == 7; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return The serviceDirectory. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig getServiceDirectory() { + if (serviceDirectoryBuilder_ == null) { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } else { + if (webhookCase_ == 7) { + return serviceDirectoryBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder setServiceDirectory( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig value) { + if (serviceDirectoryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + webhook_ = value; + onChanged(); + } else { + serviceDirectoryBuilder_.setMessage(value); + } + webhookCase_ = 7; + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder setServiceDirectory( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder builderForValue) { + if (serviceDirectoryBuilder_ == null) { + webhook_ = builderForValue.build(); + onChanged(); + } else { + serviceDirectoryBuilder_.setMessage(builderForValue.build()); + } + webhookCase_ = 7; + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder mergeServiceDirectory( + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig value) { + if (serviceDirectoryBuilder_ == null) { + if (webhookCase_ == 7 + && webhook_ + != com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + .getDefaultInstance()) { + webhook_ = + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.newBuilder( + (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_) + .mergeFrom(value) + .buildPartial(); + } else { + webhook_ = value; + } + onChanged(); + } else { + if (webhookCase_ == 7) { + serviceDirectoryBuilder_.mergeFrom(value); + } + serviceDirectoryBuilder_.setMessage(value); + } + webhookCase_ = 7; + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder clearServiceDirectory() { + if (serviceDirectoryBuilder_ == null) { + if (webhookCase_ == 7) { + webhookCase_ = 0; + webhook_ = null; + onChanged(); + } + } else { + if (webhookCase_ == 7) { + webhookCase_ = 0; + webhook_ = null; + } + serviceDirectoryBuilder_.clear(); + } + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder + getServiceDirectoryBuilder() { + return getServiceDirectoryFieldBuilder().getBuilder(); + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder + getServiceDirectoryOrBuilder() { + if ((webhookCase_ == 7) && (serviceDirectoryBuilder_ != null)) { + return serviceDirectoryBuilder_.getMessageOrBuilder(); + } else { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder> + getServiceDirectoryFieldBuilder() { + if (serviceDirectoryBuilder_ == null) { + if (!(webhookCase_ == 7)) { + webhook_ = + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.getDefaultInstance(); + } + serviceDirectoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig.Builder, + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder>( + (com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig) webhook_, + getParentForChildren(), + isClean()); + webhook_ = null; + } + webhookCase_ = 7; + onChanged(); + ; + return serviceDirectoryBuilder_; + } + private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookOrBuilder.java index c0af70ac2..5979cc389 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookOrBuilder.java @@ -117,6 +117,48 @@ public interface WebhookOrBuilder com.google.cloud.dialogflow.cx.v3.Webhook.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder(); + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return Whether the serviceDirectory field is set. + */ + boolean hasServiceDirectory(); + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return The serviceDirectory. + */ + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig getServiceDirectory(); + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + com.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfigOrBuilder + getServiceDirectoryOrBuilder(); + /** * * diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookProto.java index 12d969188..b0a2f19c2 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookProto.java +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/WebhookProto.java @@ -39,6 +39,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3_Webhook_GenericWebService_RequestHeadersEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3_Webhook_GenericWebService_RequestHeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_cx_v3_ListWebhooksRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -133,141 +137,147 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\032\036google/protobuf/duration.proto\032\033g" + "oogle/protobuf/empty.proto\032 google/proto" + "buf/field_mask.proto\032\034google/protobuf/st" - + "ruct.proto\"\271\004\n\007Webhook\022\014\n\004name\030\001 \001(\t\022\031\n\014" + + "ruct.proto\"\311\006\n\007Webhook\022\014\n\004name\030\001 \001(\t\022\031\n\014" + "display_name\030\002 \001(\tB\003\340A\002\022W\n\023generic_web_s" + "ervice\030\004 \001(\01328.google.cloud.dialogflow.c" - + "x.v3.Webhook.GenericWebServiceH\000\022*\n\007time" - + "out\030\006 \001(\0132\031.google.protobuf.Duration\022\020\n\010" - + "disabled\030\005 \001(\010\032\357\001\n\021GenericWebService\022\020\n\003" - + "uri\030\001 \001(\tB\003\340A\002\022\024\n\010username\030\002 \001(\tB\002\030\001\022\024\n\010" - + "password\030\003 \001(\tB\002\030\001\022e\n\017request_headers\030\004 " - + "\003(\0132L.google.cloud.dialogflow.cx.v3.Webh" - + "ook.GenericWebService.RequestHeadersEntr" - + "y\0325\n\023RequestHeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001:q\352An\n!dialogflow.google" - + "apis.com/Webhook\022Iprojects/{project}/loc" - + "ations/{location}/agents/{agent}/webhook" - + "s/{webhook}B\t\n\007webhook\"w\n\023ListWebhooksRe" - + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflo" - + "w.googleapis.com/Webhook\022\021\n\tpage_size\030\002 " - + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"i\n\024ListWebhooksR" - + "esponse\0228\n\010webhooks\030\001 \003(\0132&.google.cloud" - + ".dialogflow.cx.v3.Webhook\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"L\n\021GetWebhookRequest\0227\n\004name\030" - + "\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com" - + "/Webhook\"\217\001\n\024CreateWebhookRequest\0229\n\006par" - + "ent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.googleapis" - + ".com/Webhook\022<\n\007webhook\030\002 \001(\0132&.google.c" - + "loud.dialogflow.cx.v3.WebhookB\003\340A\002\"\205\001\n\024U" - + "pdateWebhookRequest\022<\n\007webhook\030\001 \001(\0132&.g" - + "oogle.cloud.dialogflow.cx.v3.WebhookB\003\340A" - + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMask\"^\n\024DeleteWebhookRequest\0227\n\004na" - + "me\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis." - + "com/Webhook\022\r\n\005force\030\002 \001(\010\"\352\t\n\016WebhookRe" - + "quest\022!\n\031detect_intent_response_id\030\001 \001(\t" - + "\022\016\n\004text\030\n \001(\tH\000\022?\n\016trigger_intent\030\013 \001(\t" - + "B%\372A\"\n dialogflow.googleapis.com/IntentH" - + "\000\022\024\n\ntranscript\030\014 \001(\tH\000\022\027\n\rtrigger_event" - + "\030\016 \001(\tH\000\022\025\n\rlanguage_code\030\017 \001(\t\022W\n\020fulfi" - + "llment_info\030\006 \001(\0132=.google.cloud.dialogf" - + "low.cx.v3.WebhookRequest.FulfillmentInfo" - + "\022M\n\013intent_info\030\003 \001(\01328.google.cloud.dia" - + "logflow.cx.v3.WebhookRequest.IntentInfo\022" - + ":\n\tpage_info\030\004 \001(\0132\'.google.cloud.dialog" - + "flow.cx.v3.PageInfo\022@\n\014session_info\030\005 \001(" - + "\0132*.google.cloud.dialogflow.cx.v3.Sessio" - + "nInfo\022@\n\010messages\030\007 \003(\0132..google.cloud.d" - + "ialogflow.cx.v3.ResponseMessage\022(\n\007paylo" - + "ad\030\010 \001(\0132\027.google.protobuf.Struct\022h\n\031sen" - + "timent_analysis_result\030\t \001(\0132E.google.cl" - + "oud.dialogflow.cx.v3.WebhookRequest.Sent" - + "imentAnalysisResult\032\036\n\017FulfillmentInfo\022\013" - + "\n\003tag\030\001 \001(\t\032\273\003\n\nIntentInfo\022B\n\023last_match" - + "ed_intent\030\001 \001(\tB%\372A\"\n dialogflow.googlea" - + "pis.com/Intent\022\024\n\014display_name\030\003 \001(\t\022\\\n\n" - + "parameters\030\002 \003(\0132H.google.cloud.dialogfl" - + "ow.cx.v3.WebhookRequest.IntentInfo.Param" - + "etersEntry\022\022\n\nconfidence\030\004 \001(\002\032^\n\024Intent" - + "ParameterValue\022\026\n\016original_value\030\001 \001(\t\022." - + "\n\016resolved_value\030\002 \001(\0132\026.google.protobuf" - + ".Value\032\200\001\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022" - + "\\\n\005value\030\002 \001(\0132M.google.cloud.dialogflow" - + ".cx.v3.WebhookRequest.IntentInfo.IntentP" - + "arameterValue:\0028\001\032;\n\027SentimentAnalysisRe" - + "sult\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\002B\007" - + "\n\005query\"\257\005\n\017WebhookResponse\022`\n\024fulfillme" - + "nt_response\030\001 \001(\0132B.google.cloud.dialogf" - + "low.cx.v3.WebhookResponse.FulfillmentRes" - + "ponse\022:\n\tpage_info\030\002 \001(\0132\'.google.cloud." - + "dialogflow.cx.v3.PageInfo\022@\n\014session_inf" - + "o\030\003 \001(\0132*.google.cloud.dialogflow.cx.v3." - + "SessionInfo\022(\n\007payload\030\004 \001(\0132\027.google.pr" - + "otobuf.Struct\022:\n\013target_page\030\005 \001(\tB#\372A \n" - + "\036dialogflow.googleapis.com/PageH\000\022:\n\013tar" - + "get_flow\030\006 \001(\tB#\372A \n\036dialogflow.googleap" - + "is.com/FlowH\000\032\213\002\n\023FulfillmentResponse\022@\n" - + "\010messages\030\001 \003(\0132..google.cloud.dialogflo" - + "w.cx.v3.ResponseMessage\022h\n\016merge_behavio" - + "r\030\002 \001(\0162P.google.cloud.dialogflow.cx.v3." - + "WebhookResponse.FulfillmentResponse.Merg" - + "eBehavior\"H\n\rMergeBehavior\022\036\n\032MERGE_BEHA" - + "VIOR_UNSPECIFIED\020\000\022\n\n\006APPEND\020\001\022\013\n\007REPLAC" - + "E\020\002B\014\n\ntransition\"\235\004\n\010PageInfo\0229\n\014curren" - + "t_page\030\001 \001(\tB#\372A \n\036dialogflow.googleapis" - + ".com/Page\022C\n\tform_info\030\003 \001(\01320.google.cl" - + "oud.dialogflow.cx.v3.PageInfo.FormInfo\032\220" - + "\003\n\010FormInfo\022V\n\016parameter_info\030\002 \003(\0132>.go" - + "ogle.cloud.dialogflow.cx.v3.PageInfo.For" - + "mInfo.ParameterInfo\032\253\002\n\rParameterInfo\022\024\n" - + "\014display_name\030\001 \001(\t\022\020\n\010required\030\002 \001(\010\022\\\n" - + "\005state\030\003 \001(\0162M.google.cloud.dialogflow.c" - + "x.v3.PageInfo.FormInfo.ParameterInfo.Par" - + "ameterState\022%\n\005value\030\004 \001(\0132\026.google.prot" - + "obuf.Value\022\026\n\016just_collected\030\005 \001(\010\"U\n\016Pa" - + "rameterState\022\037\n\033PARAMETER_STATE_UNSPECIF" - + "IED\020\000\022\t\n\005EMPTY\020\001\022\013\n\007INVALID\020\002\022\n\n\006FILLED\020" - + "\003\"\341\001\n\013SessionInfo\0227\n\007session\030\001 \001(\tB&\372A#\n" - + "!dialogflow.googleapis.com/Session\022N\n\npa" - + "rameters\030\002 \003(\0132:.google.cloud.dialogflow" - + ".cx.v3.SessionInfo.ParametersEntry\032I\n\017Pa" - + "rametersEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(" - + "\0132\026.google.protobuf.Value:\0028\0012\267\010\n\010Webhoo" - + "ks\022\277\001\n\014ListWebhooks\0222.google.cloud.dialo" - + "gflow.cx.v3.ListWebhooksRequest\0323.google" - + ".cloud.dialogflow.cx.v3.ListWebhooksResp" - + "onse\"F\202\323\344\223\0027\0225/v3/{parent=projects/*/loc" - + "ations/*/agents/*}/webhooks\332A\006parent\022\254\001\n" - + "\nGetWebhook\0220.google.cloud.dialogflow.cx" - + ".v3.GetWebhookRequest\032&.google.cloud.dia" - + "logflow.cx.v3.Webhook\"D\202\323\344\223\0027\0225/v3/{name" - + "=projects/*/locations/*/agents/*/webhook" - + "s/*}\332A\004name\022\305\001\n\rCreateWebhook\0223.google.c" - + "loud.dialogflow.cx.v3.CreateWebhookReque" - + "st\032&.google.cloud.dialogflow.cx.v3.Webho" - + "ok\"W\202\323\344\223\002@\"5/v3/{parent=projects/*/locat" - + "ions/*/agents/*}/webhooks:\007webhook\332A\016par" - + "ent,webhook\022\322\001\n\rUpdateWebhook\0223.google.c" - + "loud.dialogflow.cx.v3.UpdateWebhookReque" - + "st\032&.google.cloud.dialogflow.cx.v3.Webho" - + "ok\"d\202\323\344\223\002H2=/v3/{webhook.name=projects/*" - + "/locations/*/agents/*/webhooks/*}:\007webho" - + "ok\332A\023webhook,update_mask\022\242\001\n\rDeleteWebho" - + "ok\0223.google.cloud.dialogflow.cx.v3.Delet" - + "eWebhookRequest\032\026.google.protobuf.Empty\"" - + "D\202\323\344\223\0027*5/v3/{name=projects/*/locations/" - + "*/agents/*/webhooks/*}\332A\004name\032x\312A\031dialog" - + "flow.googleapis.com\322AYhttps://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/dialogflowB\233\002\n!com." - + "google.cloud.dialogflow.cx.v3B\014WebhookPr" - + "otoP\001Z?google.golang.org/genproto/google" - + "apis/cloud/dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002" - + "\035Google.Cloud.Dialogflow.Cx.V3\352A|\n\'servi" - + "cedirectory.googleapis.com/Service\022Qproj" - + "ects/{project}/locations/{location}/name" - + "spaces/{namespace}/services/{service}b\006p" - + "roto3" + + "x.v3.Webhook.GenericWebServiceH\000\022Z\n\021serv" + + "ice_directory\030\007 \001(\0132=.google.cloud.dialo" + + "gflow.cx.v3.Webhook.ServiceDirectoryConf" + + "igH\000\022*\n\007timeout\030\006 \001(\0132\031.google.protobuf." + + "Duration\022\020\n\010disabled\030\005 \001(\010\032\357\001\n\021GenericWe" + + "bService\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022\024\n\010username\030\002" + + " \001(\tB\002\030\001\022\024\n\010password\030\003 \001(\tB\002\030\001\022e\n\017reques" + + "t_headers\030\004 \003(\0132L.google.cloud.dialogflo" + + "w.cx.v3.Webhook.GenericWebService.Reques" + + "tHeadersEntry\0325\n\023RequestHeadersEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\261\001\n\026Service" + + "DirectoryConfig\022@\n\007service\030\001 \001(\tB/\340A\002\372A)" + + "\n\'servicedirectory.googleapis.com/Servic" + + "e\022U\n\023generic_web_service\030\002 \001(\01328.google." + + "cloud.dialogflow.cx.v3.Webhook.GenericWe" + + "bService:q\352An\n!dialogflow.googleapis.com" + + "/Webhook\022Iprojects/{project}/locations/{" + + "location}/agents/{agent}/webhooks/{webho" + + "ok}B\t\n\007webhook\"w\n\023ListWebhooksRequest\0229\n" + + "\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.google" + + "apis.com/Webhook\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"i\n\024ListWebhooksResponse\022" + + "8\n\010webhooks\030\001 \003(\0132&.google.cloud.dialogf" + + "low.cx.v3.Webhook\022\027\n\017next_page_token\030\002 \001" + + "(\t\"L\n\021GetWebhookRequest\0227\n\004name\030\001 \001(\tB)\340" + + "A\002\372A#\n!dialogflow.googleapis.com/Webhook" + + "\"\217\001\n\024CreateWebhookRequest\0229\n\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\022!dialogflow.googleapis.com/Web" + + "hook\022<\n\007webhook\030\002 \001(\0132&.google.cloud.dia" + + "logflow.cx.v3.WebhookB\003\340A\002\"\205\001\n\024UpdateWeb" + + "hookRequest\022<\n\007webhook\030\001 \001(\0132&.google.cl" + + "oud.dialogflow.cx.v3.WebhookB\003\340A\002\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"^\n\024DeleteWebhookRequest\0227\n\004name\030\001 \001(\t" + + "B)\340A\002\372A#\n!dialogflow.googleapis.com/Webh" + + "ook\022\r\n\005force\030\002 \001(\010\"\352\t\n\016WebhookRequest\022!\n" + + "\031detect_intent_response_id\030\001 \001(\t\022\016\n\004text" + + "\030\n \001(\tH\000\022?\n\016trigger_intent\030\013 \001(\tB%\372A\"\n d" + + "ialogflow.googleapis.com/IntentH\000\022\024\n\ntra" + + "nscript\030\014 \001(\tH\000\022\027\n\rtrigger_event\030\016 \001(\tH\000" + + "\022\025\n\rlanguage_code\030\017 \001(\t\022W\n\020fulfillment_i" + + "nfo\030\006 \001(\0132=.google.cloud.dialogflow.cx.v" + + "3.WebhookRequest.FulfillmentInfo\022M\n\013inte" + + "nt_info\030\003 \001(\01328.google.cloud.dialogflow." + + "cx.v3.WebhookRequest.IntentInfo\022:\n\tpage_" + + "info\030\004 \001(\0132\'.google.cloud.dialogflow.cx." + + "v3.PageInfo\022@\n\014session_info\030\005 \001(\0132*.goog" + + "le.cloud.dialogflow.cx.v3.SessionInfo\022@\n" + + "\010messages\030\007 \003(\0132..google.cloud.dialogflo" + + "w.cx.v3.ResponseMessage\022(\n\007payload\030\010 \001(\013" + + "2\027.google.protobuf.Struct\022h\n\031sentiment_a" + + "nalysis_result\030\t \001(\0132E.google.cloud.dial" + + "ogflow.cx.v3.WebhookRequest.SentimentAna" + + "lysisResult\032\036\n\017FulfillmentInfo\022\013\n\003tag\030\001 " + + "\001(\t\032\273\003\n\nIntentInfo\022B\n\023last_matched_inten" + + "t\030\001 \001(\tB%\372A\"\n dialogflow.googleapis.com/" + + "Intent\022\024\n\014display_name\030\003 \001(\t\022\\\n\nparamete" + + "rs\030\002 \003(\0132H.google.cloud.dialogflow.cx.v3" + + ".WebhookRequest.IntentInfo.ParametersEnt" + + "ry\022\022\n\nconfidence\030\004 \001(\002\032^\n\024IntentParamete" + + "rValue\022\026\n\016original_value\030\001 \001(\t\022.\n\016resolv" + + "ed_value\030\002 \001(\0132\026.google.protobuf.Value\032\200" + + "\001\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\\\n\005value" + + "\030\002 \001(\0132M.google.cloud.dialogflow.cx.v3.W" + + "ebhookRequest.IntentInfo.IntentParameter" + + "Value:\0028\001\032;\n\027SentimentAnalysisResult\022\r\n\005" + + "score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\002B\007\n\005query\"" + + "\257\005\n\017WebhookResponse\022`\n\024fulfillment_respo" + + "nse\030\001 \001(\0132B.google.cloud.dialogflow.cx.v" + + "3.WebhookResponse.FulfillmentResponse\022:\n" + + "\tpage_info\030\002 \001(\0132\'.google.cloud.dialogfl" + + "ow.cx.v3.PageInfo\022@\n\014session_info\030\003 \001(\0132" + + "*.google.cloud.dialogflow.cx.v3.SessionI" + + "nfo\022(\n\007payload\030\004 \001(\0132\027.google.protobuf.S" + + "truct\022:\n\013target_page\030\005 \001(\tB#\372A \n\036dialogf" + + "low.googleapis.com/PageH\000\022:\n\013target_flow" + + "\030\006 \001(\tB#\372A \n\036dialogflow.googleapis.com/F" + + "lowH\000\032\213\002\n\023FulfillmentResponse\022@\n\010message" + + "s\030\001 \003(\0132..google.cloud.dialogflow.cx.v3." + + "ResponseMessage\022h\n\016merge_behavior\030\002 \001(\0162" + + "P.google.cloud.dialogflow.cx.v3.WebhookR" + + "esponse.FulfillmentResponse.MergeBehavio" + + "r\"H\n\rMergeBehavior\022\036\n\032MERGE_BEHAVIOR_UNS" + + "PECIFIED\020\000\022\n\n\006APPEND\020\001\022\013\n\007REPLACE\020\002B\014\n\nt" + + "ransition\"\235\004\n\010PageInfo\0229\n\014current_page\030\001" + + " \001(\tB#\372A \n\036dialogflow.googleapis.com/Pag" + + "e\022C\n\tform_info\030\003 \001(\01320.google.cloud.dial" + + "ogflow.cx.v3.PageInfo.FormInfo\032\220\003\n\010FormI" + + "nfo\022V\n\016parameter_info\030\002 \003(\0132>.google.clo" + + "ud.dialogflow.cx.v3.PageInfo.FormInfo.Pa" + + "rameterInfo\032\253\002\n\rParameterInfo\022\024\n\014display" + + "_name\030\001 \001(\t\022\020\n\010required\030\002 \001(\010\022\\\n\005state\030\003" + + " \001(\0162M.google.cloud.dialogflow.cx.v3.Pag" + + "eInfo.FormInfo.ParameterInfo.ParameterSt" + + "ate\022%\n\005value\030\004 \001(\0132\026.google.protobuf.Val" + + "ue\022\026\n\016just_collected\030\005 \001(\010\"U\n\016ParameterS" + + "tate\022\037\n\033PARAMETER_STATE_UNSPECIFIED\020\000\022\t\n" + + "\005EMPTY\020\001\022\013\n\007INVALID\020\002\022\n\n\006FILLED\020\003\"\341\001\n\013Se" + + "ssionInfo\0227\n\007session\030\001 \001(\tB&\372A#\n!dialogf" + + "low.googleapis.com/Session\022N\n\nparameters" + + "\030\002 \003(\0132:.google.cloud.dialogflow.cx.v3.S" + + "essionInfo.ParametersEntry\032I\n\017Parameters" + + "Entry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.goog" + + "le.protobuf.Value:\0028\0012\267\010\n\010Webhooks\022\277\001\n\014L" + + "istWebhooks\0222.google.cloud.dialogflow.cx" + + ".v3.ListWebhooksRequest\0323.google.cloud.d" + + "ialogflow.cx.v3.ListWebhooksResponse\"F\202\323" + + "\344\223\0027\0225/v3/{parent=projects/*/locations/*" + + "/agents/*}/webhooks\332A\006parent\022\254\001\n\nGetWebh" + + "ook\0220.google.cloud.dialogflow.cx.v3.GetW" + + "ebhookRequest\032&.google.cloud.dialogflow." + + "cx.v3.Webhook\"D\202\323\344\223\0027\0225/v3/{name=project" + + "s/*/locations/*/agents/*/webhooks/*}\332A\004n" + + "ame\022\305\001\n\rCreateWebhook\0223.google.cloud.dia" + + "logflow.cx.v3.CreateWebhookRequest\032&.goo" + + "gle.cloud.dialogflow.cx.v3.Webhook\"W\202\323\344\223" + + "\002@\"5/v3/{parent=projects/*/locations/*/a" + + "gents/*}/webhooks:\007webhook\332A\016parent,webh" + + "ook\022\322\001\n\rUpdateWebhook\0223.google.cloud.dia" + + "logflow.cx.v3.UpdateWebhookRequest\032&.goo" + + "gle.cloud.dialogflow.cx.v3.Webhook\"d\202\323\344\223" + + "\002H2=/v3/{webhook.name=projects/*/locatio" + + "ns/*/agents/*/webhooks/*}:\007webhook\332A\023web" + + "hook,update_mask\022\242\001\n\rDeleteWebhook\0223.goo" + + "gle.cloud.dialogflow.cx.v3.DeleteWebhook" + + "Request\032\026.google.protobuf.Empty\"D\202\323\344\223\0027*" + + "5/v3/{name=projects/*/locations/*/agents" + + "/*/webhooks/*}\332A\004name\032x\312A\031dialogflow.goo" + + "gleapis.com\322AYhttps://www.googleapis.com" + + "/auth/cloud-platform,https://www.googlea" + + "pis.com/auth/dialogflowB\233\002\n!com.google.c" + + "loud.dialogflow.cx.v3B\014WebhookProtoP\001Z?g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google." + + "Cloud.Dialogflow.Cx.V3\352A|\n\'servicedirect" + + "ory.googleapis.com/Service\022Qprojects/{pr" + + "oject}/locations/{location}/namespaces/{" + + "namespace}/services/{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -289,7 +299,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3_Webhook_descriptor, new java.lang.String[] { - "Name", "DisplayName", "GenericWebService", "Timeout", "Disabled", "Webhook", + "Name", + "DisplayName", + "GenericWebService", + "ServiceDirectory", + "Timeout", + "Disabled", + "Webhook", }); internal_static_google_cloud_dialogflow_cx_v3_Webhook_GenericWebService_descriptor = internal_static_google_cloud_dialogflow_cx_v3_Webhook_descriptor.getNestedTypes().get(0); @@ -309,6 +325,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_descriptor = + internal_static_google_cloud_dialogflow_cx_v3_Webhook_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3_Webhook_ServiceDirectoryConfig_descriptor, + new java.lang.String[] { + "Service", "GenericWebService", + }); internal_static_google_cloud_dialogflow_cx_v3_ListWebhooksRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_dialogflow_cx_v3_ListWebhooksRequest_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto index 823faab99..a31d8c8e5 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3; import "google/api/annotations.proto"; -import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/dialogflow/cx/v3/audio_config.proto"; @@ -30,6 +29,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/rpc/status.proto"; import "google/type/latlng.proto"; +import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3"; @@ -45,9 +45,8 @@ option (google.api.resource_definition) = { }; // 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. service Sessions { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -80,8 +79,8 @@ service Sessions { // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). - rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) - returns (stream StreamingDetectIntentResponse) {} + rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) returns (stream StreamingDetectIntentResponse) { + } // Returns preliminary intent match results, doesn't change the session // status. @@ -96,13 +95,9 @@ service Sessions { }; } - // 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. rpc FulfillIntent(FulfillIntentRequest) returns (FulfillIntentResponse) { option (google.api.http) = { post: "/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent" @@ -162,9 +157,9 @@ message DetectIntentResponse { // 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 @@ -177,29 +172,24 @@ message DetectIntentResponse { } // The top-level message sent by the client to the -// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] -// method. +// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method. // // Multiple request messages should be sent in order: // // 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], -// [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain +// [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally +// [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client +// wants to receive an audio response, it should also contain // [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config]. // -// 2. If -// [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] -// was set to -// [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. +// 2. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to +// [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages +// must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] to continue with +// Speech recognition. +// If you decide to rather detect an intent from text +// input after you already started Speech recognition, please send a message +// with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. // // However, note that: // @@ -228,8 +218,8 @@ message StreamingDetectIntentRequest { // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). string session = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Session" - }]; + type: "dialogflow.googleapis.com/Session" + }]; // The parameters of this query. QueryParameters query_params = 2; @@ -315,8 +305,8 @@ message StreamingRecognitionResult { // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if - // [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] - // was set to `true`, and is not used otherwise. + // [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] was set to + // `true`, and is not used otherwise. END_OF_SINGLE_UTTERANCE = 2; } @@ -352,8 +342,7 @@ message StreamingRecognitionResult { float stability = 6; // Word-specific information for the words recognized by Speech in - // [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. - // Populated if and only if `message_type` = `TRANSCRIPT` and + // [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and // [InputAudioConfig.enable_word_info] is set. repeated SpeechWordInfo speech_word_info = 7; @@ -415,22 +404,20 @@ message QueryParameters { // - Else: parameter value google.protobuf.Struct parameters = 5; - // The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to - // override the [current page][QueryResult.current_page] in the session. - // Format: `projects//locations/ /agents/ /pages/ `. + // The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current + // page][QueryResult.current_page] in the session. Format: `projects/ /locations/ /agents/ /pages/ `. // // If `current_page` is specified, the previous state of the session will be // ignored by Dialogflow, including the [previous // page][QueryResult.current_page] and the [previous session // parameters][QueryResult.parameters]. - // In most cases, - // [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] - // and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] - // should be configured together to direct a session to a specific state. - string current_page = 6 [ - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } - ]; + // In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and + // [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to + // direct a session to a specific state. + string current_page = 6 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + }]; // Whether to disable webhook calls for this request. bool disable_webhook = 7; @@ -490,25 +477,24 @@ message QueryInput { message QueryResult { // The original conversational query. oneof query { - // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - // provided as input, this field will contain a copy of the text. + // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + // will contain a copy of the text. string text = 1; - // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - // input, this field will contain a copy of the intent identifier. Format: - // `projects/ /locations/ /agents/ /locations/ /agents/ /intents/ `. string trigger_intent = 11 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; - // If [natural language speech - // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + // If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, // this field will contain the transcript for the audio. string transcript = 12; - // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - // input, this field will contain the name of the event. + // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain + // the name of the event. string trigger_event = 14; } @@ -518,8 +504,7 @@ message QueryResult { // for a list of the currently supported language codes. string language_code = 2; - // The collected [session - // parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. + // The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object @@ -545,23 +530,19 @@ message QueryResult { // The list of webhook call status in the order of call sequence. repeated google.rpc.Status webhook_statuses = 13; - // The list of webhook payload in - // [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], - // in the order of call sequence. If some webhook call fails or doesn't return + // The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in + // the order of call sequence. If some webhook call fails or doesn't return // any payload, an empty `Struct` would be used instead. repeated google.protobuf.Struct webhook_payloads = 6; - // The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - // fields are filled in this message, including but not limited to `name` and - // `display_name`. + // The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + // including but not limited to `name` and `display_name`. Page current_page = 7; - // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the - // conversational query. Some, not all fields are filled in this message, - // including but not limited to: `name` and `display_name`. This field is - // deprecated, please use - // [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - // instead. + // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields + // are filled in this message, including but not limited to: `name` and + // `display_name`. + // This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. Intent intent = 8 [deprecated = true]; // The intent detection confidence. Values range from 0.0 (completely @@ -570,9 +551,7 @@ message QueryResult { // help match the best intent within the classification threshold. // This value may change for the same end-user expression at any time due to a // model retraining or change in implementation. - // This field is deprecated, please use - // [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] - // instead. + // This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead. float intent_detection_confidence = 9 [deprecated = true]; // Intent match result, could be an intent or an event. @@ -585,15 +564,14 @@ message QueryResult { // The sentiment analyss result, which depends on // [`analyze_query_text_sentiment`] - // [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], - // specified in the request. + // [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request. SentimentAnalysisResult sentiment_analysis_result = 17; } // Represents the natural language text to be processed. message TextInput { - // Required. The UTF-8 encoded natural language text to be processed. Text - // length must not exceed 256 characters. + // Required. The UTF-8 encoded natural language text to be processed. Text length must + // not exceed 256 characters. string text = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -618,9 +596,8 @@ message AudioInput { // 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. @@ -670,10 +647,9 @@ message Match { EVENT = 6; } - // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. - // Some, not all fields are filled in this message, including but not limited - // to: `name` and `display_name`. Only filled for - // [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. + // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in + // this message, including but not limited to: `name` and `display_name`. Only + // filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. Intent intent = 1; // The event that matched the query. Only filled for @@ -747,25 +723,24 @@ message MatchIntentRequest { message MatchIntentResponse { // The original conversational query. oneof query { - // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was - // provided as input, this field will contain a copy of the text. + // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field + // will contain a copy of the text. string text = 1; - // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as - // input, this field will contain a copy of the intent identifier. Format: - // `projects/ /locations/ /agents/ /locations/ /agents/ /intents/ `. string trigger_intent = 2 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; - // If [natural language speech - // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, + // If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, // this field will contain the transcript for the audio. string transcript = 3; - // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as - // input, this field will contain a copy of the event name. + // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will + // contain a copy of the event name. string trigger_event = 6; } @@ -773,9 +748,8 @@ message MatchIntentResponse { // we have that the particular intent matches the query. repeated Match matches = 4; - // The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all - // fields are filled in this message, including but not limited to `name` and - // `display_name`. + // The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message, + // including but not limited to `name` and `display_name`. Page current_page = 5; } @@ -804,9 +778,9 @@ message FulfillIntentResponse { // 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 diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/webhook.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/webhook.proto index 3424d9c21..aec0eaa5c 100644 --- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/webhook.proto +++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/webhook.proto @@ -114,6 +114,26 @@ message Webhook { map request_headers = 4; } + // Represents configuration for a [Service + // Directory](https://cloud.google.com/service-directory) service. + message ServiceDirectoryConfig { + // Required. The name of [Service + // Directory](https://cloud.google.com/service-directory) service. + // Format: `projects/ /locations/ /namespaces/ /services/ `. + // `Location ID` of the service directory must be the same as the location + // of the agent. + string service = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "servicedirectory.googleapis.com/Service" + } + ]; + + // Generic Service configuration of this webhook. + GenericWebService generic_web_service = 2; + } + // The unique identifier of the webhook. // Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. // [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. @@ -128,6 +148,10 @@ message Webhook { oneof webhook { // Configuration for a generic web service. GenericWebService generic_web_service = 4; + + // Configuration for a [Service + // Directory](https://cloud.google.com/service-directory) service. + ServiceDirectoryConfig service_directory = 7; } // Webhook execution timeout. Execution is considered failed if Dialogflow diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java index 149fe729c..8a6b70203 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInput.java @@ -188,9 +188,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.InputAudioConfigOrBuilder getConfi * * 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.v3beta1.QueryResult.transcript] cannot - * contain more than 256 bytes. + * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.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 @@ -762,9 +761,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.InputAudioConfigOrBuilder getConfi ** 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.v3beta1.QueryResult.transcript] cannot - * contain more than 256 bytes. + * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.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 @@ -785,9 +783,8 @@ public com.google.protobuf.ByteString getAudio() { ** 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.v3beta1.QueryResult.transcript] cannot - * contain more than 256 bytes. + * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.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 @@ -814,9 +811,8 @@ public Builder setAudio(com.google.protobuf.ByteString value) { ** 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.v3beta1.QueryResult.transcript] cannot - * contain more than 256 bytes. + * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java index 91ada388d..d5ee628a0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioInputOrBuilder.java @@ -70,9 +70,8 @@ public interface AudioInputOrBuilder ** 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.v3beta1.QueryResult.transcript] cannot - * contain more than 256 bytes. + * The [transcribed text][google.cloud.dialogflow.cx.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java index 20b81369c..c144fbed4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java @@ -259,9 +259,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * 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.v3beta1.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.v3beta1.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 @@ -1021,9 +1021,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * 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.v3beta1.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.v3beta1.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 @@ -1045,9 +1045,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.v3beta1.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.v3beta1.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 @@ -1075,9 +1075,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.v3beta1.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.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java index cf5735378..0acc80768 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java @@ -92,9 +92,9 @@ public interface DetectIntentResponseOrBuilder * 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.v3beta1.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.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java index d095798bc..e602ce21f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponse.java @@ -259,9 +259,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * 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.v3beta1.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.v3beta1.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 @@ -1023,9 +1023,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResultOrBuilder getQueryResul * 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.v3beta1.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.v3beta1.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 @@ -1047,9 +1047,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.v3beta1.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.v3beta1.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 @@ -1077,9 +1077,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.v3beta1.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.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java index ede5f0e55..7c9a92b54 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillIntentResponseOrBuilder.java @@ -92,9 +92,9 @@ public interface FulfillIntentResponseOrBuilder * 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.v3beta1.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.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java index c44a563eb..6b0f8f511 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Match.java @@ -414,10 +414,9 @@ private MatchType(int value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -432,10 +431,9 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -452,10 +450,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1148,10 +1145,9 @@ public Builder mergeFrom( * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1165,10 +1161,9 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1188,10 +1183,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1213,10 +1207,9 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1236,10 +1229,9 @@ public Builder setIntent( * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1265,10 +1257,9 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1288,10 +1279,9 @@ public Builder clearIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1305,10 +1295,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder getIntentBuilder() * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -1326,10 +1315,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java index 6139e8682..3800c784b 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponse.java @@ -221,8 +221,8 @@ public QueryCase getQueryCase() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -236,8 +236,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -264,8 +264,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -294,10 +294,10 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -311,10 +311,10 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -341,10 +341,10 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -373,9 +373,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -389,9 +388,8 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -418,9 +416,8 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -449,8 +446,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -464,8 +461,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -492,8 +489,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -597,9 +594,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchOrBuilder getMatchesOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -614,9 +610,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -633,9 +628,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -1162,8 +1156,8 @@ public Builder clearQuery() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1178,8 +1172,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1207,8 +1201,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1236,8 +1230,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1258,8 +1252,8 @@ public Builder setText(java.lang.String value) { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1278,8 +1272,8 @@ public Builder clearText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -1302,10 +1296,10 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -1320,10 +1314,10 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -1351,10 +1345,10 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -1382,10 +1376,10 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -1406,10 +1400,10 @@ public Builder setTriggerIntent(java.lang.String value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -1428,10 +1422,10 @@ public Builder clearTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -1454,9 +1448,8 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -1471,9 +1464,8 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -1501,9 +1493,8 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -1531,9 +1522,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -1554,9 +1544,8 @@ public Builder setTranscript(java.lang.String value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -1575,9 +1564,8 @@ public Builder clearTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -1600,8 +1588,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1616,8 +1604,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1645,8 +1633,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1674,8 +1662,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1696,8 +1684,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -1716,8 +1704,8 @@ public Builder clearTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -2114,9 +2102,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Match.Builder addMatchesBuilder(in * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2130,9 +2117,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2152,9 +2138,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2176,9 +2161,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page value) * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2198,9 +2182,8 @@ public Builder setCurrentPage( * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2226,9 +2209,8 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page valu * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2248,9 +2230,8 @@ public Builder clearCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2264,9 +2245,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder getCurrentPageBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -2284,9 +2264,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java index 2b9c87ddf..ffe7b42d1 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentResponseOrBuilder.java @@ -27,8 +27,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -40,8 +40,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -53,8 +53,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -67,10 +67,10 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -82,10 +82,10 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -97,10 +97,10 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
@@ -113,9 +113,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -127,9 +126,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -141,9 +139,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 3;
@@ -156,8 +153,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -169,8 +166,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -182,8 +179,8 @@ public interface MatchIntentResponseOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain a copy of the event name. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + * contain a copy of the event name. ** *string trigger_event = 6;
@@ -253,9 +250,8 @@ public interface MatchIntentResponseOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -267,9 +263,8 @@ public interface MatchIntentResponseOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
@@ -281,9 +276,8 @@ public interface MatchIntentResponseOrBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java index 54aa6db8b..1eca0a51c 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchOrBuilder.java @@ -27,10 +27,9 @@ public interface MatchOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -42,10 +41,9 @@ public interface MatchOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
@@ -57,10 +55,9 @@ public interface MatchOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * query. Some, not all fields are filled in this message, including but not - * limited to: `name` and `display_name`. Only filled for - * [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + * this message, including but not limited to: `name` and `display_name`. Only + * filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java index 42e066723..323364893 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java @@ -589,19 +589,16 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -624,19 +621,16 @@ public java.lang.String getCurrentPage() { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2724,19 +2718,16 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2758,19 +2749,16 @@ public java.lang.String getCurrentPage() { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2792,19 +2780,16 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2825,19 +2810,16 @@ public Builder setCurrentPage(java.lang.String value) { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -2854,19 +2836,16 @@ public Builder clearCurrentPage() { * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java index 2363b4999..0e2dc6465 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java @@ -316,19 +316,16 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
@@ -340,19 +337,16 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * * *- * The unique identifier of the - * [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current * page][QueryResult.current_page] in the session. Format: `projects/<Project * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session * parameters][QueryResult.parameters]. - * In most cases, - * [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - * and - * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - * should be configured together to direct a session to a specific state. + * In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + * [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + * direct a session to a specific state. ** *string current_page = 6 [(.google.api.resource_reference) = { ... }
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java index a10753575..ea52600be 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResult.java @@ -345,8 +345,8 @@ public QueryCase getQueryCase() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -360,8 +360,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -388,8 +388,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -418,10 +418,10 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -435,10 +435,10 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -465,10 +465,10 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -497,9 +497,8 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -513,9 +512,8 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -542,9 +540,8 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -573,8 +570,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -588,8 +585,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -616,8 +613,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -702,8 +699,7 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -731,8 +727,7 @@ public boolean hasParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -760,8 +755,7 @@ public com.google.protobuf.Struct getParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -945,9 +939,8 @@ public com.google.rpc.StatusOrBuilder getWebhookStatusesOrBuilder(int index) { * * ** *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -961,9 +954,8 @@ public java.util.ListgetWebhookPayloadsList() { * * * - * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -978,9 +970,8 @@ public java.util.ListgetWebhookPayloadsList() { * * * - * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -994,9 +985,8 @@ public int getWebhookPayloadsCount() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -1010,9 +1000,8 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -1029,9 +1018,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -1046,9 +1034,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -1065,9 +1052,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -1083,12 +1069,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -1104,12 +1088,10 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -1127,12 +1109,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -1155,9 +1135,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -1280,8 +1258,7 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { ** The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -1300,8 +1277,7 @@ public boolean hasSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -1323,8 +1299,7 @@ public boolean hasSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -2135,8 +2110,8 @@ public Builder clearQuery() { * * *
- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2151,8 +2126,8 @@ public boolean hasText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2180,8 +2155,8 @@ public java.lang.String getText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2209,8 +2184,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2231,8 +2206,8 @@ public Builder setText(java.lang.String value) { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2251,8 +2226,8 @@ public Builder clearText() { * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -2275,10 +2250,10 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -2293,10 +2268,10 @@ public boolean hasTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -2324,10 +2299,10 @@ public java.lang.String getTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -2355,10 +2330,10 @@ public com.google.protobuf.ByteString getTriggerIntentBytes() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -2379,10 +2354,10 @@ public Builder setTriggerIntent(java.lang.String value) { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -2401,10 +2376,10 @@ public Builder clearTriggerIntent() { * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -2427,9 +2402,8 @@ public Builder setTriggerIntentBytes(com.google.protobuf.ByteString value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -2444,9 +2418,8 @@ public boolean hasTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -2474,9 +2447,8 @@ public java.lang.String getTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -2504,9 +2476,8 @@ public com.google.protobuf.ByteString getTranscriptBytes() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -2527,9 +2498,8 @@ public Builder setTranscript(java.lang.String value) { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -2548,9 +2518,8 @@ public Builder clearTranscript() { * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -2573,8 +2542,8 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2589,8 +2558,8 @@ public boolean hasTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2618,8 +2587,8 @@ public java.lang.String getTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2647,8 +2616,8 @@ public com.google.protobuf.ByteString getTriggerEventBytes() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2669,8 +2638,8 @@ public Builder setTriggerEvent(java.lang.String value) { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2689,8 +2658,8 @@ public Builder clearTriggerEvent() { * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -2840,8 +2809,7 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2868,8 +2836,7 @@ public boolean hasParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2900,8 +2867,7 @@ public com.google.protobuf.Struct getParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2936,8 +2902,7 @@ public Builder setParameters(com.google.protobuf.Struct value) { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -2969,8 +2934,7 @@ public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3007,8 +2971,7 @@ public Builder mergeParameters(com.google.protobuf.Struct value) { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3041,8 +3004,7 @@ public Builder clearParameters() { * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3069,8 +3031,7 @@ public com.google.protobuf.Struct.Builder getParametersBuilder() { * * ** *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3099,8 +3060,7 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * ** *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -3919,9 +3879,8 @@ private void ensureWebhookPayloadsIsMutable() { * * ** *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3938,9 +3897,8 @@ public java.util.ListgetWebhookPayloadsList() { * * * - * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3957,9 +3915,8 @@ public int getWebhookPayloadsCount() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -3976,9 +3933,8 @@ public com.google.protobuf.Struct getWebhookPayloads(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4001,9 +3957,8 @@ public Builder setWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4024,9 +3979,8 @@ public Builder setWebhookPayloads( * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4049,9 +4003,8 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct value) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4074,9 +4027,8 @@ public Builder addWebhookPayloads(int index, com.google.protobuf.Struct value) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4096,9 +4048,8 @@ public Builder addWebhookPayloads(com.google.protobuf.Struct.Builder builderForV * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4119,9 +4070,8 @@ public Builder addWebhookPayloads( * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4142,9 +4092,8 @@ public Builder addAllWebhookPayloads( * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4164,9 +4113,8 @@ public Builder clearWebhookPayloads() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4186,9 +4134,8 @@ public Builder removeWebhookPayloads(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4201,9 +4148,8 @@ public com.google.protobuf.Struct.Builder getWebhookPayloadsBuilder(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4220,9 +4166,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4240,9 +4185,8 @@ public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4256,9 +4200,8 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder() { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4272,9 +4215,8 @@ public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder(int index) { * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -4314,9 +4256,8 @@ public java.util.ListgetWebhookPayloadsBuil * * * - * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4330,9 +4271,8 @@ public boolean hasCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4352,9 +4292,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page getCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4376,9 +4315,8 @@ public Builder setCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page value) * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4398,9 +4336,8 @@ public Builder setCurrentPage( * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4426,9 +4363,8 @@ public Builder mergeCurrentPage(com.google.cloud.dialogflow.cx.v3beta1.Page valu * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4448,9 +4384,8 @@ public Builder clearCurrentPage() { * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4464,9 +4399,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder getCurrentPageBuilder * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4484,9 +4418,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -4518,12 +4451,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getCurrentPageOrBuil * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4538,12 +4469,10 @@ public boolean hasIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4564,12 +4493,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4592,12 +4519,10 @@ public Builder setIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4618,12 +4543,10 @@ public Builder setIntent( * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4650,12 +4573,10 @@ public Builder mergeIntent(com.google.cloud.dialogflow.cx.v3beta1.Intent value) * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4676,12 +4597,10 @@ public Builder clearIntent() { * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4696,12 +4615,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder getIntentBuilder() * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4720,12 +4637,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -4758,9 +4673,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentOrBuilder * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -4782,9 +4695,7 @@ public float getIntentDetectionConfidence() { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -4809,9 +4720,7 @@ public Builder setIntentDetectionConfidence(float value) { * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -5226,8 +5135,7 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() { ** The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5245,8 +5153,7 @@ public boolean hasSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5271,8 +5178,7 @@ public boolean hasSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5299,8 +5205,7 @@ public Builder setSentimentAnalysisResult( *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5324,8 +5229,7 @@ public Builder setSentimentAnalysisResult( *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5357,8 +5261,7 @@ public Builder mergeSentimentAnalysisResult( *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5382,8 +5285,7 @@ public Builder clearSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5402,8 +5304,7 @@ public Builder clearSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -5426,8 +5327,7 @@ public Builder clearSentimentAnalysisResult() { *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java index ee8d3a6af..57ec257b5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryResultOrBuilder.java @@ -27,8 +27,8 @@ public interface QueryResultOrBuilder * * *
- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -40,8 +40,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -53,8 +53,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - * was provided as input, this field will contain a copy of the text. + * If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + * will contain a copy of the text. ** *string text = 1;
@@ -67,10 +67,10 @@ public interface QueryResultOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -82,10 +82,10 @@ public interface QueryResultOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -97,10 +97,10 @@ public interface QueryResultOrBuilder * * *- * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - * provided as input, this field will contain a copy of the intent - * identifier. Format: `projects/<Project ID>/locations/<Location - * ID>/agents/<Agent ID>/intents/<Intent ID>`. + * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + * contain a copy of the intent identifier. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/intents/<Intent ID>`. ** *string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
@@ -113,9 +113,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -127,9 +126,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -141,9 +139,8 @@ public interface QueryResultOrBuilder * * *- * If [natural language speech - * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - * input, this field will contain the transcript for the audio. + * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + * this field will contain the transcript for the audio. ** *string transcript = 12;
@@ -156,8 +153,8 @@ public interface QueryResultOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -169,8 +166,8 @@ public interface QueryResultOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -182,8 +179,8 @@ public interface QueryResultOrBuilder * * *- * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - * as input, this field will contain the name of the event. + * If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + * the name of the event. ** *string trigger_event = 14;
@@ -227,8 +224,7 @@ public interface QueryResultOrBuilder * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -253,8 +249,7 @@ public interface QueryResultOrBuilder * * *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -279,8 +274,7 @@ public interface QueryResultOrBuilder * * ** *- * The collected [session - * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + * The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. * Depending on your protocol or client library language, this is a * map, associative array, symbol table, dictionary, or JSON object * composed of a collection of (MapKey, MapValue) pairs: @@ -423,9 +417,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * ** *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -436,9 +429,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -449,9 +441,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -462,9 +453,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -475,9 +465,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The list of webhook payload in - * [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - * in the order of call sequence. If some webhook call fails or doesn't return + * The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + * the order of call sequence. If some webhook call fails or doesn't return * any payload, an empty `Struct` would be used instead. ** @@ -489,9 +478,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -503,9 +491,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -517,9 +504,8 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - * fields are filled in this message, including but not limited to `name` and - * `display_name`. + * The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + * including but not limited to `name` and `display_name`. ** *.google.cloud.dialogflow.cx.v3beta1.Page current_page = 7;
@@ -530,12 +516,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -548,12 +532,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -566,12 +548,10 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * * *- * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - * conversational query. Some, not all fields are filled in this message, - * including but not limited to: `name` and `display_name`. This field is - * deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + * are filled in this message, including but not limited to: `name` and + * `display_name`. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. ** *.google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
@@ -589,9 +569,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa * help match the best intent within the classification threshold. * This value may change for the same end-user expression at any time due to a * model retraining or change in implementation. - * This field is deprecated, please use - * [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - * instead. + * This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. *float intent_detection_confidence = 9 [deprecated = true];
@@ -683,8 +661,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa ** The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -700,8 +677,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *@@ -717,8 +693,7 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa *
* The sentiment analyss result, which depends on * [`analyze_query_text_sentiment`] - * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - * specified in the request. + * [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. ** *diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ServiceName.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ServiceName.java new file mode 100644 index 000000000..24b5aec9f --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ServiceName.java @@ -0,0 +1,259 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class ServiceName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NAMESPACE_SERVICE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}"); + private volatile Map
fieldValuesMap; + private final String project; + private final String location; + private final String namespace; + private final String service; + + @Deprecated + protected ServiceName() { + project = null; + location = null; + namespace = null; + service = null; + } + + private ServiceName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + namespace = Preconditions.checkNotNull(builder.getNamespace()); + service = Preconditions.checkNotNull(builder.getService()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNamespace() { + return namespace; + } + + public String getService() { + return service; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static ServiceName of(String project, String location, String namespace, String service) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNamespace(namespace) + .setService(service) + .build(); + } + + public static String format(String project, String location, String namespace, String service) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNamespace(namespace) + .setService(service) + .build() + .toString(); + } + + public static ServiceName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_NAMESPACE_SERVICE.validatedMatch( + formattedString, "ServiceName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("namespace"), + matchMap.get("service")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (ServiceName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_NAMESPACE_SERVICE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (namespace != null) { + fieldMapBuilder.put("namespace", namespace); + } + if (service != null) { + fieldMapBuilder.put("service", service); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_NAMESPACE_SERVICE.instantiate( + "project", project, "location", location, "namespace", namespace, "service", service); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + ServiceName that = ((ServiceName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.namespace, that.namespace) + && Objects.equals(this.service, that.service); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(namespace); + h *= 1000003; + h ^= Objects.hashCode(service); + return h; + } + + /** + * Builder for projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. + */ + public static class Builder { + private String project; + private String location; + private String namespace; + private String service; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNamespace() { + return namespace; + } + + public String getService() { + return service; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setNamespace(String namespace) { + this.namespace = namespace; + return this; + } + + public Builder setService(String service) { + this.service = service; + return this; + } + + private Builder(ServiceName serviceName) { + project = serviceName.project; + location = serviceName.location; + namespace = serviceName.namespace; + service = serviceName.service; + } + + public ServiceName build() { + return new ServiceName(this); + } + } +} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java index 5826fa7f8..55e6d9afd 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java @@ -118,20 +118,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n0google/cloud/dialogflow/cx/v3beta1/ses" + "sion.proto\022\"google.cloud.dialogflow.cx.v" - + "3beta1\032\034google/api/annotations.proto\032\027go" - + "ogle/api/client.proto\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\0325google/cloud/dialogflow/cx/v3beta1/au" - + "dio_config.proto\032-google/cloud/dialogflo" - + "w/cx/v3beta1/flow.proto\032/google/cloud/di" - + "alogflow/cx/v3beta1/intent.proto\032-google" - + "/cloud/dialogflow/cx/v3beta1/page.proto\032" - + "9google/cloud/dialogflow/cx/v3beta1/resp" - + "onse_message.proto\032 * The top-level message sent by the client to the - * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] - * method. + * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] method. * Multiple request messages should be sent in order: * 1. The first message must contain * [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session], - * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] - * plus optionally - * [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. - * If the client wants to receive an audio response, it should also contain + * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally + * [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client + * wants to receive an audio response, it should also contain * [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config]. - * 2. If - * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] - * was set to - * [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], - * all subsequent messages must contain - * [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] - * to continue with Speech recognition. If you decide to rather detect an - * intent from text input after you already started Speech recognition, - * please send a message with - * [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. + * 2. If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to + * [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages + * must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with + * Speech recognition. + * If you decide to rather detect an intent from text + * input after you already started Speech recognition, please send a message + * with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. * However, note that: * * Dialogflow will bill you for the audio duration so far. * * Dialogflow discards all Speech recognition results in favor of the @@ -624,26 +619,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * * The top-level message sent by the client to the - * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] - * method. + * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] method. * Multiple request messages should be sent in order: * 1. The first message must contain * [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session], - * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] - * plus optionally - * [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. - * If the client wants to receive an audio response, it should also contain + * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally + * [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client + * wants to receive an audio response, it should also contain * [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config]. - * 2. If - * [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] - * was set to - * [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], - * all subsequent messages must contain - * [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] - * to continue with Speech recognition. If you decide to rather detect an - * intent from text input after you already started Speech recognition, - * please send a message with - * [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. + * 2. If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to + * [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages + * must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with + * Speech recognition. + * If you decide to rather detect an intent from text + * input after you already started Speech recognition, please send a message + * with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. * However, note that: * * Dialogflow will bill you for the audio duration so far. * * Dialogflow discards all Speech recognition results in favor of the diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java index 5867a9d5b..2b7cea14d 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResult.java @@ -227,8 +227,8 @@ public enum MessageType implements com.google.protobuf.ProtocolMessageEnum { * additional results). The client should stop sending additional audio * data, half-close the gRPC connection, and wait for any additional results * until the server closes the gRPC connection. This message is only sent if - * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] - * was set to `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] was set to + * `true`, and is not used otherwise. ** *END_OF_SINGLE_UTTERANCE = 2;
@@ -267,8 +267,8 @@ public enum MessageType implements com.google.protobuf.ProtocolMessageEnum { * additional results). The client should stop sending additional audio * data, half-close the gRPC connection, and wait for any additional results * until the server closes the gRPC connection. This message is only sent if - * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] - * was set to `true`, and is not used otherwise. + * [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] was set to + * `true`, and is not used otherwise. *END_OF_SINGLE_UTTERANCE = 2;
@@ -530,8 +530,7 @@ public float getStability() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -547,8 +546,7 @@ public float getStability() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -564,8 +562,7 @@ public float getStability() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -580,8 +577,7 @@ public int getSpeechWordInfoCount() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -596,8 +592,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo getSpeechWordInfo(i * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1600,8 +1595,7 @@ private void ensureSpeechWordInfoIsMutable() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1621,8 +1615,7 @@ private void ensureSpeechWordInfoIsMutable() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1641,8 +1634,7 @@ public int getSpeechWordInfoCount() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1661,8 +1653,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo getSpeechWordInfo(i * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1688,8 +1679,7 @@ public Builder setSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1712,8 +1702,7 @@ public Builder setSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1738,8 +1727,7 @@ public Builder addSpeechWordInfo(com.google.cloud.dialogflow.cx.v3beta1.SpeechWo * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1765,8 +1753,7 @@ public Builder addSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1789,8 +1776,7 @@ public Builder addSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1813,8 +1799,7 @@ public Builder addSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1838,8 +1823,7 @@ public Builder addAllSpeechWordInfo( * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1861,8 +1845,7 @@ public Builder clearSpeechWordInfo() { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1884,8 +1867,7 @@ public Builder removeSpeechWordInfo(int index) { * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1901,8 +1883,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1922,8 +1903,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1943,8 +1923,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1961,8 +1940,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder getSpeechWo * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -1980,8 +1958,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo.Builder addSpeechWo * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java index 95f0fe243..c661fa7cb 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingRecognitionResultOrBuilder.java @@ -137,8 +137,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -150,8 +149,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -163,8 +161,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -176,8 +173,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** @@ -190,8 +186,7 @@ public interface StreamingRecognitionResultOrBuilder * ** Word-specific information for the words recognized by Speech in - * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - * Populated if and only if `message_type` = `TRANSCRIPT` and + * [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and * [InputAudioConfig.enable_word_info] is set. ** diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java index 9d1d32959..b009a8614 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInput.java @@ -117,8 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -141,8 +141,8 @@ public java.lang.String getText() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -484,8 +484,8 @@ public Builder mergeFrom( * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -507,8 +507,8 @@ public java.lang.String getText() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -530,8 +530,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -552,8 +552,8 @@ public Builder setText(java.lang.String value) { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -570,8 +570,8 @@ public Builder clearText() { * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java index 3ad28d61b..7d37f79d6 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextInputOrBuilder.java @@ -27,8 +27,8 @@ public interface TextInputOrBuilder * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -40,8 +40,8 @@ public interface TextInputOrBuilder * * *- * Required. The UTF-8 encoded natural language text to be processed. Text - * length must not exceed 256 characters. + * Required. The UTF-8 encoded natural language text to be processed. Text length must + * not exceed 256 characters. ** *string text = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java index ca9061ccd..badb7c01d 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Webhook.java @@ -127,6 +127,30 @@ private Webhook( timeout_ = subBuilder.buildPartial(); } + break; + } + case 58: + { + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder + subBuilder = null; + if (webhookCase_ == 7) { + subBuilder = + ((com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + webhook_) + .toBuilder(); + } + webhook_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + webhook_); + webhook_ = subBuilder.buildPartial(); + } + webhookCase_ = 7; break; } default: @@ -1662,212 +1686,1359 @@ public com.google.protobuf.ParsergetParserForType() { } } - private int webhookCase_ = 0; - private java.lang.Object webhook_; - - public enum WebhookCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - GENERIC_WEB_SERVICE(4), - WEBHOOK_NOT_SET(0); - private final int value; + public interface ServiceDirectoryConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + com.google.protobuf.MessageOrBuilder { - private WebhookCase(int value) { - this.value = value; - } /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. + * + * + * + * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The service. */ - @java.lang.Deprecated - public static WebhookCase valueOf(int value) { - return forNumber(value); - } - - public static WebhookCase forNumber(int value) { - switch (value) { - case 4: - return GENERIC_WEB_SERVICE; - case 0: - return WEBHOOK_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public WebhookCase getWebhookCase() { - return WebhookCase.forNumber(webhookCase_); - } + java.lang.String getService(); + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The bytes for service. + */ + com.google.protobuf.ByteString getServiceBytes(); - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *- * The unique identifier of the webhook. - * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. - * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/webhooks/<Webhook ID>`. - *- * - *string name = 1;
- * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return Whether the genericWebService field is set. + */ + boolean hasGenericWebService(); + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return The genericWebService. + */ + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService getGenericWebService(); + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder(); } /** * * *- * The unique identifier of the webhook. - * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. - * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. - * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - * ID>/webhooks/<Webhook ID>`. + * Represents configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. ** - *string name = 1;
- * - * @return The bytes for name. + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig} */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public static final class ServiceDirectoryConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + ServiceDirectoryConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ServiceDirectoryConfig.newBuilder() to construct. + private ServiceDirectoryConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); } - } - public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object displayName_; - /** - * - * - *- * Required. The human-readable name of the webhook, unique within the agent. - *- * - *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } - } - /** - * - * - *- * Required. The human-readable name of the webhook, unique within the agent. - *- * - *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * - * @return The bytes for displayName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + private ServiceDirectoryConfig() { + service_ = ""; } - } - public static final int GENERIC_WEB_SERVICE_FIELD_NUMBER = 4; - /** - * - * - *- * Configuration for a generic web service. - *- * - *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4; - *
- * - * @return Whether the genericWebService field is set. - */ - @java.lang.Override - public boolean hasGenericWebService() { - return webhookCase_ == 4; - } - /** - * - * - *- * Configuration for a generic web service. - *- * - *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4; - *
- * - * @return The genericWebService. - */ - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService getGenericWebService() { - if (webhookCase_ == 4) { - return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService) webhook_; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ServiceDirectoryConfig(); } - return com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.getDefaultInstance(); - } - /** - * - * - *- * Configuration for a generic web service. - *- * - *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4; - *
- */ - @java.lang.Override - public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder - getGenericWebServiceOrBuilder() { - if (webhookCase_ == 4) { - return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService) webhook_; + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - return com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.getDefaultInstance(); - } - public static final int TIMEOUT_FIELD_NUMBER = 6; + private ServiceDirectoryConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + service_ = s; + break; + } + case 18: + { + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.Builder + subBuilder = null; + if (genericWebService_ != null) { + subBuilder = genericWebService_.toBuilder(); + } + genericWebService_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(genericWebService_); + genericWebService_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.class, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder.class); + } + + public static final int SERVICE_FIELD_NUMBER = 1; + private volatile java.lang.Object service_; + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The service. + */ + @java.lang.Override + public java.lang.String getService() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The bytes for service. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GENERIC_WEB_SERVICE_FIELD_NUMBER = 2; + private com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService genericWebService_; + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return Whether the genericWebService field is set. + */ + @java.lang.Override + public boolean hasGenericWebService() { + return genericWebService_ != null; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return The genericWebService. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService getGenericWebService() { + return genericWebService_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.getDefaultInstance() + : genericWebService_; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder() { + return getGenericWebService(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getServiceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); + } + if (genericWebService_ != null) { + output.writeMessage(2, getGenericWebService()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getServiceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); + } + if (genericWebService_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGenericWebService()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig other = + (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) obj; + + if (!getService().equals(other.getService())) return false; + if (hasGenericWebService() != other.hasGenericWebService()) return false; + if (hasGenericWebService()) { + if (!getGenericWebService().equals(other.getGenericWebService())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + if (hasGenericWebService()) { + hash = (37 * hash) + GENERIC_WEB_SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getGenericWebService().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *+ * Represents configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder+ implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.class, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder + .class); + } + + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + service_ = ""; + + if (genericWebServiceBuilder_ == null) { + genericWebService_ = null; + } else { + genericWebService_ = null; + genericWebServiceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig build() { + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig result = + new com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig(this); + result.service_ = service_; + if (genericWebServiceBuilder_ == null) { + result.genericWebService_ = genericWebService_; + } else { + result.genericWebService_ = genericWebServiceBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance()) return this; + if (!other.getService().isEmpty()) { + service_ = other.service_; + onChanged(); + } + if (other.hasGenericWebService()) { + mergeGenericWebService(other.getGenericWebService()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object service_ = ""; + /** + * + * + * + * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The service. + */ + public java.lang.String getService() { + java.lang.Object ref = service_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return The bytes for service. + */ + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @param value The service to set. + * @return This builder for chaining. + */ + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + service_ = value; + onChanged(); + return this; + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @return This builder for chaining. + */ + public Builder clearService() { + + service_ = getDefaultInstance().getService(); + onChanged(); + return this; + } + /** + * + * + *+ * Required. The name of [Service + * Directory](https://cloud.google.com/service-directory) service. + * Format: `projects/<Project ID>/locations/<Location + * ID>/namespaces/<Namespace ID>/services/<Service ID>`. + * `Location ID` of the service directory must be the same as the location + * of the agent. + *+ * + *+ * string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + *
+ * + * @param value The bytes for service to set. + * @return This builder for chaining. + */ + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + service_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService genericWebService_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder> + genericWebServiceBuilder_; + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return Whether the genericWebService field is set. + */ + public boolean hasGenericWebService() { + return genericWebServiceBuilder_ != null || genericWebService_ != null; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ * + * @return The genericWebService. + */ + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService + getGenericWebService() { + if (genericWebServiceBuilder_ == null) { + return genericWebService_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService + .getDefaultInstance() + : genericWebService_; + } else { + return genericWebServiceBuilder_.getMessage(); + } + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder setGenericWebService( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService value) { + if (genericWebServiceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + genericWebService_ = value; + onChanged(); + } else { + genericWebServiceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder setGenericWebService( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.Builder + builderForValue) { + if (genericWebServiceBuilder_ == null) { + genericWebService_ = builderForValue.build(); + onChanged(); + } else { + genericWebServiceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder mergeGenericWebService( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService value) { + if (genericWebServiceBuilder_ == null) { + if (genericWebService_ != null) { + genericWebService_ = + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.newBuilder( + genericWebService_) + .mergeFrom(value) + .buildPartial(); + } else { + genericWebService_ = value; + } + onChanged(); + } else { + genericWebServiceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public Builder clearGenericWebService() { + if (genericWebServiceBuilder_ == null) { + genericWebService_ = null; + onChanged(); + } else { + genericWebService_ = null; + genericWebServiceBuilder_ = null; + } + + return this; + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.Builder + getGenericWebServiceBuilder() { + + onChanged(); + return getGenericWebServiceFieldBuilder().getBuilder(); + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder() { + if (genericWebServiceBuilder_ != null) { + return genericWebServiceBuilder_.getMessageOrBuilder(); + } else { + return genericWebService_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService + .getDefaultInstance() + : genericWebService_; + } + } + /** + * + * + *+ * Generic Service configuration of this webhook. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 2; + *
+ */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder> + getGenericWebServiceFieldBuilder() { + if (genericWebServiceBuilder_ == null) { + genericWebServiceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder>( + getGenericWebService(), getParentForChildren(), isClean()); + genericWebService_ = null; + } + return genericWebServiceBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + private static final com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.ParserPARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public ServiceDirectoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ServiceDirectoryConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int webhookCase_ = 0; + private java.lang.Object webhook_; + + public enum WebhookCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + GENERIC_WEB_SERVICE(4), + SERVICE_DIRECTORY(7), + WEBHOOK_NOT_SET(0); + private final int value; + + private WebhookCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static WebhookCase valueOf(int value) { + return forNumber(value); + } + + public static WebhookCase forNumber(int value) { + switch (value) { + case 4: + return GENERIC_WEB_SERVICE; + case 7: + return SERVICE_DIRECTORY; + case 0: + return WEBHOOK_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public WebhookCase getWebhookCase() { + return WebhookCase.forNumber(webhookCase_); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + * + * The unique identifier of the webhook. + * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. + * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/webhooks/<Webhook ID>`. + *+ * + *string name = 1;
+ * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *+ * The unique identifier of the webhook. + * Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. + * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/webhooks/<Webhook ID>`. + *+ * + *string name = 1;
+ * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object displayName_; + /** + * + * + *+ * Required. The human-readable name of the webhook, unique within the agent. + *+ * + *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + * + * + *+ * Required. The human-readable name of the webhook, unique within the agent. + *+ * + *string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GENERIC_WEB_SERVICE_FIELD_NUMBER = 4; + /** + * + * + *+ * Configuration for a generic web service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4; + *
+ * + * @return Whether the genericWebService field is set. + */ + @java.lang.Override + public boolean hasGenericWebService() { + return webhookCase_ == 4; + } + /** + * + * + *+ * Configuration for a generic web service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4; + *
+ * + * @return The genericWebService. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService getGenericWebService() { + if (webhookCase_ == 4) { + return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService) webhook_; + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.getDefaultInstance(); + } + /** + * + * + *+ * Configuration for a generic web service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder + getGenericWebServiceOrBuilder() { + if (webhookCase_ == 4) { + return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService) webhook_; + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.getDefaultInstance(); + } + + public static final int SERVICE_DIRECTORY_FIELD_NUMBER = 7; + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return Whether the serviceDirectory field is set. + */ + @java.lang.Override + public boolean hasServiceDirectory() { + return webhookCase_ == 7; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return The serviceDirectory. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + getServiceDirectory() { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder + getServiceDirectoryOrBuilder() { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + + public static final int TIMEOUT_FIELD_NUMBER = 6; private com.google.protobuf.Duration timeout_; /** * @@ -1967,6 +3138,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (timeout_ != null) { output.writeMessage(6, getTimeout()); } + if (webhookCase_ == 7) { + output.writeMessage( + 7, (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_); + } unknownFields.writeTo(output); } @@ -1993,6 +3168,11 @@ public int getSerializedSize() { if (timeout_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimeout()); } + if (webhookCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2021,6 +3201,9 @@ public boolean equals(final java.lang.Object obj) { case 4: if (!getGenericWebService().equals(other.getGenericWebService())) return false; break; + case 7: + if (!getServiceDirectory().equals(other.getServiceDirectory())) return false; + break; case 0: default: } @@ -2050,6 +3233,10 @@ public int hashCode() { hash = (37 * hash) + GENERIC_WEB_SERVICE_FIELD_NUMBER; hash = (53 * hash) + getGenericWebService().hashCode(); break; + case 7: + hash = (37 * hash) + SERVICE_DIRECTORY_FIELD_NUMBER; + hash = (53 * hash) + getServiceDirectory().hashCode(); + break; case 0: default: } @@ -2251,6 +3438,13 @@ public com.google.cloud.dialogflow.cx.v3beta1.Webhook buildPartial() { result.webhook_ = genericWebServiceBuilder_.build(); } } + if (webhookCase_ == 7) { + if (serviceDirectoryBuilder_ == null) { + result.webhook_ = webhook_; + } else { + result.webhook_ = serviceDirectoryBuilder_.build(); + } + } if (timeoutBuilder_ == null) { result.timeout_ = timeout_; } else { @@ -2327,6 +3521,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Webhook other) { mergeGenericWebService(other.getGenericWebService()); break; } + case SERVICE_DIRECTORY: + { + mergeServiceDirectory(other.getServiceDirectory()); + break; + } case WEBHOOK_NOT_SET: { break; @@ -2835,6 +4034,256 @@ public Builder clearGenericWebService() { return genericWebServiceBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder> + serviceDirectoryBuilder_; + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return Whether the serviceDirectory field is set. + */ + @java.lang.Override + public boolean hasServiceDirectory() { + return webhookCase_ == 7; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return The serviceDirectory. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + getServiceDirectory() { + if (serviceDirectoryBuilder_ == null) { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } else { + if (webhookCase_ == 7) { + return serviceDirectoryBuilder_.getMessage(); + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder setServiceDirectory( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig value) { + if (serviceDirectoryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + webhook_ = value; + onChanged(); + } else { + serviceDirectoryBuilder_.setMessage(value); + } + webhookCase_ = 7; + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder setServiceDirectory( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder + builderForValue) { + if (serviceDirectoryBuilder_ == null) { + webhook_ = builderForValue.build(); + onChanged(); + } else { + serviceDirectoryBuilder_.setMessage(builderForValue.build()); + } + webhookCase_ = 7; + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder mergeServiceDirectory( + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig value) { + if (serviceDirectoryBuilder_ == null) { + if (webhookCase_ == 7 + && webhook_ + != com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance()) { + webhook_ = + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.newBuilder( + (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) + webhook_) + .mergeFrom(value) + .buildPartial(); + } else { + webhook_ = value; + } + onChanged(); + } else { + if (webhookCase_ == 7) { + serviceDirectoryBuilder_.mergeFrom(value); + } + serviceDirectoryBuilder_.setMessage(value); + } + webhookCase_ = 7; + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public Builder clearServiceDirectory() { + if (serviceDirectoryBuilder_ == null) { + if (webhookCase_ == 7) { + webhookCase_ = 0; + webhook_ = null; + onChanged(); + } + } else { + if (webhookCase_ == 7) { + webhookCase_ = 0; + webhook_ = null; + } + serviceDirectoryBuilder_.clear(); + } + return this; + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder + getServiceDirectoryBuilder() { + return getServiceDirectoryFieldBuilder().getBuilder(); + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder + getServiceDirectoryOrBuilder() { + if ((webhookCase_ == 7) && (serviceDirectoryBuilder_ != null)) { + return serviceDirectoryBuilder_.getMessageOrBuilder(); + } else { + if (webhookCase_ == 7) { + return (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_; + } + return com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + } + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *+ * .google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder> + getServiceDirectoryFieldBuilder() { + if (serviceDirectoryBuilder_ == null) { + if (!(webhookCase_ == 7)) { + webhook_ = + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig + .getDefaultInstance(); + } + serviceDirectoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder>( + (com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig) webhook_, + getParentForChildren(), + isClean()); + webhook_ = null; + } + webhookCase_ = 7; + onChanged(); + ; + return serviceDirectoryBuilder_; + } + private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java index d34f019a5..761145fe3 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookOrBuilder.java @@ -120,6 +120,48 @@ public interface WebhookOrBuilder com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder(); + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return Whether the serviceDirectory field is set. + */ + boolean hasServiceDirectory(); + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ * + * @return The serviceDirectory. + */ + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig getServiceDirectory(); + /** + * + * + *+ * Configuration for a [Service + * Directory](https://cloud.google.com/service-directory) service. + *+ * + *.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7; + *
+ */ + com.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfigOrBuilder + getServiceDirectoryOrBuilder(); + /** * * diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java index c25c59100..afa275ad9 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java @@ -39,6 +39,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_GenericWebService_RequestHeadersEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_GenericWebService_RequestHeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_dialogflow_cx_v3beta1_ListWebhooksRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -133,146 +137,153 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "sponse_message.proto\032\036google/protobuf/du" + "ration.proto\032\033google/protobuf/empty.prot" + "o\032 google/protobuf/field_mask.proto\032\034goo" - + "gle/protobuf/struct.proto\"\303\004\n\007Webhook\022\014\n" + + "gle/protobuf/struct.proto\"\335\006\n\007Webhook\022\014\n" + "\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\\" + "\n\023generic_web_service\030\004 \001(\0132=.google.clo" + "ud.dialogflow.cx.v3beta1.Webhook.Generic" - + "WebServiceH\000\022*\n\007timeout\030\006 \001(\0132\031.google.p" - + "rotobuf.Duration\022\020\n\010disabled\030\005 \001(\010\032\364\001\n\021G" - + "enericWebService\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022\024\n\010us" - + "ername\030\002 \001(\tB\002\030\001\022\024\n\010password\030\003 \001(\tB\002\030\001\022j" - + "\n\017request_headers\030\004 \003(\0132Q.google.cloud.d" - + "ialogflow.cx.v3beta1.Webhook.GenericWebS" - + "ervice.RequestHeadersEntry\0325\n\023RequestHea" - + "dersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001:q\352An\n!dialogflow.googleapis.com/Webhoo" - + "k\022Iprojects/{project}/locations/{locatio" - + "n}/agents/{agent}/webhooks/{webhook}B\t\n\007" - + "webhook\"w\n\023ListWebhooksRequest\0229\n\006parent" - + "\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.googleapis.co" - + "m/Webhook\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\"n\n\024ListWebhooksResponse\022=\n\010webh" - + "ooks\030\001 \003(\0132+.google.cloud.dialogflow.cx." - + "v3beta1.Webhook\022\027\n\017next_page_token\030\002 \001(\t" - + "\"L\n\021GetWebhookRequest\0227\n\004name\030\001 \001(\tB)\340A\002" - + "\372A#\n!dialogflow.googleapis.com/Webhook\"\224" - + "\001\n\024CreateWebhookRequest\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\022!dialogflow.googleapis.com/Webho" - + "ok\022A\n\007webhook\030\002 \001(\0132+.google.cloud.dialo" - + "gflow.cx.v3beta1.WebhookB\003\340A\002\"\212\001\n\024Update" - + "WebhookRequest\022A\n\007webhook\030\001 \001(\0132+.google" - + ".cloud.dialogflow.cx.v3beta1.WebhookB\003\340A" - + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMask\"^\n\024DeleteWebhookRequest\0227\n\004na" - + "me\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis." - + "com/Webhook\022\r\n\005force\030\002 \001(\010\"\222\n\n\016WebhookRe" - + "quest\022!\n\031detect_intent_response_id\030\001 \001(\t" - + "\022\016\n\004text\030\n \001(\tH\000\022?\n\016trigger_intent\030\013 \001(\t" - + "B%\372A\"\n dialogflow.googleapis.com/IntentH" - + "\000\022\024\n\ntranscript\030\014 \001(\tH\000\022\027\n\rtrigger_event" - + "\030\016 \001(\tH\000\022\025\n\rlanguage_code\030\017 \001(\t\022\\\n\020fulfi" - + "llment_info\030\006 \001(\0132B.google.cloud.dialogf" - + "low.cx.v3beta1.WebhookRequest.Fulfillmen" - + "tInfo\022R\n\013intent_info\030\003 \001(\0132=.google.clou" - + "d.dialogflow.cx.v3beta1.WebhookRequest.I" - + "ntentInfo\022?\n\tpage_info\030\004 \001(\0132,.google.cl" - + "oud.dialogflow.cx.v3beta1.PageInfo\022E\n\014se" - + "ssion_info\030\005 \001(\0132/.google.cloud.dialogfl" - + "ow.cx.v3beta1.SessionInfo\022E\n\010messages\030\007 " - + "\003(\01323.google.cloud.dialogflow.cx.v3beta1" - + ".ResponseMessage\022(\n\007payload\030\010 \001(\0132\027.goog" - + "le.protobuf.Struct\022m\n\031sentiment_analysis" - + "_result\030\t \001(\0132J.google.cloud.dialogflow." - + "cx.v3beta1.WebhookRequest.SentimentAnaly" - + "sisResult\032\036\n\017FulfillmentInfo\022\013\n\003tag\030\001 \001(" - + "\t\032\305\003\n\nIntentInfo\022B\n\023last_matched_intent\030" - + "\001 \001(\tB%\372A\"\n dialogflow.googleapis.com/In" - + "tent\022\024\n\014display_name\030\003 \001(\t\022a\n\nparameters" - + "\030\002 \003(\0132M.google.cloud.dialogflow.cx.v3be" - + "ta1.WebhookRequest.IntentInfo.Parameters" - + "Entry\022\022\n\nconfidence\030\004 \001(\002\032^\n\024IntentParam" - + "eterValue\022\026\n\016original_value\030\001 \001(\t\022.\n\016res" - + "olved_value\030\002 \001(\0132\026.google.protobuf.Valu" - + "e\032\205\001\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022a\n\005va" - + "lue\030\002 \001(\0132R.google.cloud.dialogflow.cx.v" - + "3beta1.WebhookRequest.IntentInfo.IntentP" - + "arameterValue:\0028\001\032;\n\027SentimentAnalysisRe" - + "sult\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\002B\007" - + "\n\005query\"\310\005\n\017WebhookResponse\022e\n\024fulfillme" - + "nt_response\030\001 \001(\0132G.google.cloud.dialogf" - + "low.cx.v3beta1.WebhookResponse.Fulfillme" - + "ntResponse\022?\n\tpage_info\030\002 \001(\0132,.google.c" - + "loud.dialogflow.cx.v3beta1.PageInfo\022E\n\014s" - + "ession_info\030\003 \001(\0132/.google.cloud.dialogf" - + "low.cx.v3beta1.SessionInfo\022(\n\007payload\030\004 " - + "\001(\0132\027.google.protobuf.Struct\022:\n\013target_p" - + "age\030\005 \001(\tB#\372A \n\036dialogflow.googleapis.co" - + "m/PageH\000\022:\n\013target_flow\030\006 \001(\tB#\372A \n\036dial" - + "ogflow.googleapis.com/FlowH\000\032\225\002\n\023Fulfill" - + "mentResponse\022E\n\010messages\030\001 \003(\01323.google." - + "cloud.dialogflow.cx.v3beta1.ResponseMess" - + "age\022m\n\016merge_behavior\030\002 \001(\0162U.google.clo" - + "ud.dialogflow.cx.v3beta1.WebhookResponse" - + ".FulfillmentResponse.MergeBehavior\"H\n\rMe" - + "rgeBehavior\022\036\n\032MERGE_BEHAVIOR_UNSPECIFIE" - + "D\020\000\022\n\n\006APPEND\020\001\022\013\n\007REPLACE\020\002B\014\n\ntransiti" - + "on\"\254\004\n\010PageInfo\0229\n\014current_page\030\001 \001(\tB#\372" - + "A \n\036dialogflow.googleapis.com/Page\022H\n\tfo" - + "rm_info\030\003 \001(\01325.google.cloud.dialogflow." - + "cx.v3beta1.PageInfo.FormInfo\032\232\003\n\010FormInf" - + "o\022[\n\016parameter_info\030\002 \003(\0132C.google.cloud" - + ".dialogflow.cx.v3beta1.PageInfo.FormInfo" - + ".ParameterInfo\032\260\002\n\rParameterInfo\022\024\n\014disp" - + "lay_name\030\001 \001(\t\022\020\n\010required\030\002 \001(\010\022a\n\005stat" - + "e\030\003 \001(\0162R.google.cloud.dialogflow.cx.v3b" - + "eta1.PageInfo.FormInfo.ParameterInfo.Par" - + "ameterState\022%\n\005value\030\004 \001(\0132\026.google.prot" - + "obuf.Value\022\026\n\016just_collected\030\005 \001(\010\"U\n\016Pa" - + "rameterState\022\037\n\033PARAMETER_STATE_UNSPECIF" - + "IED\020\000\022\t\n\005EMPTY\020\001\022\013\n\007INVALID\020\002\022\n\n\006FILLED\020" - + "\003\"\346\001\n\013SessionInfo\0227\n\007session\030\001 \001(\tB&\372A#\n" - + "!dialogflow.googleapis.com/Session\022S\n\npa" - + "rameters\030\002 \003(\0132?.google.cloud.dialogflow" - + ".cx.v3beta1.SessionInfo.ParametersEntry\032" - + "I\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value" - + "\030\002 \001(\0132\026.google.protobuf.Value:\0028\0012\375\010\n\010W" - + "ebhooks\022\316\001\n\014ListWebhooks\0227.google.cloud." - + "dialogflow.cx.v3beta1.ListWebhooksReques" - + "t\0328.google.cloud.dialogflow.cx.v3beta1.L" - + "istWebhooksResponse\"K\202\323\344\223\002<\022:/v3beta1/{p" - + "arent=projects/*/locations/*/agents/*}/w" - + "ebhooks\332A\006parent\022\273\001\n\nGetWebhook\0225.google" - + ".cloud.dialogflow.cx.v3beta1.GetWebhookR" - + "equest\032+.google.cloud.dialogflow.cx.v3be" - + "ta1.Webhook\"I\202\323\344\223\002<\022:/v3beta1/{name=proj" - + "ects/*/locations/*/agents/*/webhooks/*}\332" - + "A\004name\022\324\001\n\rCreateWebhook\0228.google.cloud." - + "dialogflow.cx.v3beta1.CreateWebhookReque" - + "st\032+.google.cloud.dialogflow.cx.v3beta1." - + "Webhook\"\\\202\323\344\223\002E\":/v3beta1/{parent=projec" - + "ts/*/locations/*/agents/*}/webhooks:\007web" - + "hook\332A\016parent,webhook\022\341\001\n\rUpdateWebhook\022" - + "8.google.cloud.dialogflow.cx.v3beta1.Upd" - + "ateWebhookRequest\032+.google.cloud.dialogf" - + "low.cx.v3beta1.Webhook\"i\202\323\344\223\002M2B/v3beta1" - + "/{webhook.name=projects/*/locations/*/ag" - + "ents/*/webhooks/*}:\007webhook\332A\023webhook,up" - + "date_mask\022\254\001\n\rDeleteWebhook\0228.google.clo" - + "ud.dialogflow.cx.v3beta1.DeleteWebhookRe" - + "quest\032\026.google.protobuf.Empty\"I\202\323\344\223\002<*:/" - + "v3beta1/{name=projects/*/locations/*/age" - + "nts/*/webhooks/*}\332A\004name\032x\312A\031dialogflow." - + "googleapis.com\322AYhttps://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/dialogflowB\252\002\n&com.googl" - + "e.cloud.dialogflow.cx.v3beta1B\014WebhookPr" - + "otoP\001ZDgoogle.golang.org/genproto/google" - + "apis/cloud/dialogflow/cx/v3beta1;cx\370\001\001\242\002" - + "\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Beta1" - + "\352A|\n\'servicedirectory.googleapis.com/Ser" - + "vice\022Qprojects/{project}/locations/{loca" - + "tion}/namespaces/{namespace}/services/{s" - + "ervice}b\006proto3" + + "WebServiceH\000\022_\n\021service_directory\030\007 \001(\0132" + + "B.google.cloud.dialogflow.cx.v3beta1.Web" + + "hook.ServiceDirectoryConfigH\000\022*\n\007timeout" + + "\030\006 \001(\0132\031.google.protobuf.Duration\022\020\n\010dis" + + "abled\030\005 \001(\010\032\364\001\n\021GenericWebService\022\020\n\003uri" + + "\030\001 \001(\tB\003\340A\002\022\024\n\010username\030\002 \001(\tB\002\030\001\022\024\n\010pas" + + "sword\030\003 \001(\tB\002\030\001\022j\n\017request_headers\030\004 \003(\013" + + "2Q.google.cloud.dialogflow.cx.v3beta1.We" + + "bhook.GenericWebService.RequestHeadersEn" + + "try\0325\n\023RequestHeadersEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\032\266\001\n\026ServiceDirectoryC" + + "onfig\022@\n\007service\030\001 \001(\tB/\340A\002\372A)\n\'serviced" + + "irectory.googleapis.com/Service\022Z\n\023gener" + + "ic_web_service\030\002 \001(\0132=.google.cloud.dial" + + "ogflow.cx.v3beta1.Webhook.GenericWebServ" + + "ice:q\352An\n!dialogflow.googleapis.com/Webh" + + "ook\022Iprojects/{project}/locations/{locat" + + "ion}/agents/{agent}/webhooks/{webhook}B\t" + + "\n\007webhook\"w\n\023ListWebhooksRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.googleapis." + + "com/Webhook\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"n\n\024ListWebhooksResponse\022=\n\010we" + + "bhooks\030\001 \003(\0132+.google.cloud.dialogflow.c" + + "x.v3beta1.Webhook\022\027\n\017next_page_token\030\002 \001" + + "(\t\"L\n\021GetWebhookRequest\0227\n\004name\030\001 \001(\tB)\340" + + "A\002\372A#\n!dialogflow.googleapis.com/Webhook" + + "\"\224\001\n\024CreateWebhookRequest\0229\n\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\022!dialogflow.googleapis.com/Web" + + "hook\022A\n\007webhook\030\002 \001(\0132+.google.cloud.dia" + + "logflow.cx.v3beta1.WebhookB\003\340A\002\"\212\001\n\024Upda" + + "teWebhookRequest\022A\n\007webhook\030\001 \001(\0132+.goog" + + "le.cloud.dialogflow.cx.v3beta1.WebhookB\003" + + "\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protob" + + "uf.FieldMask\"^\n\024DeleteWebhookRequest\0227\n\004" + + "name\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapi" + + "s.com/Webhook\022\r\n\005force\030\002 \001(\010\"\222\n\n\016Webhook" + + "Request\022!\n\031detect_intent_response_id\030\001 \001" + + "(\t\022\016\n\004text\030\n \001(\tH\000\022?\n\016trigger_intent\030\013 \001" + + "(\tB%\372A\"\n dialogflow.googleapis.com/Inten" + + "tH\000\022\024\n\ntranscript\030\014 \001(\tH\000\022\027\n\rtrigger_eve" + + "nt\030\016 \001(\tH\000\022\025\n\rlanguage_code\030\017 \001(\t\022\\\n\020ful" + + "fillment_info\030\006 \001(\0132B.google.cloud.dialo" + + "gflow.cx.v3beta1.WebhookRequest.Fulfillm" + + "entInfo\022R\n\013intent_info\030\003 \001(\0132=.google.cl" + + "oud.dialogflow.cx.v3beta1.WebhookRequest" + + ".IntentInfo\022?\n\tpage_info\030\004 \001(\0132,.google." + + "cloud.dialogflow.cx.v3beta1.PageInfo\022E\n\014" + + "session_info\030\005 \001(\0132/.google.cloud.dialog" + + "flow.cx.v3beta1.SessionInfo\022E\n\010messages\030" + + "\007 \003(\01323.google.cloud.dialogflow.cx.v3bet" + + "a1.ResponseMessage\022(\n\007payload\030\010 \001(\0132\027.go" + + "ogle.protobuf.Struct\022m\n\031sentiment_analys" + + "is_result\030\t \001(\0132J.google.cloud.dialogflo" + + "w.cx.v3beta1.WebhookRequest.SentimentAna" + + "lysisResult\032\036\n\017FulfillmentInfo\022\013\n\003tag\030\001 " + + "\001(\t\032\305\003\n\nIntentInfo\022B\n\023last_matched_inten" + + "t\030\001 \001(\tB%\372A\"\n dialogflow.googleapis.com/" + + "Intent\022\024\n\014display_name\030\003 \001(\t\022a\n\nparamete" + + "rs\030\002 \003(\0132M.google.cloud.dialogflow.cx.v3" + + "beta1.WebhookRequest.IntentInfo.Paramete" + + "rsEntry\022\022\n\nconfidence\030\004 \001(\002\032^\n\024IntentPar" + + "ameterValue\022\026\n\016original_value\030\001 \001(\t\022.\n\016r" + + "esolved_value\030\002 \001(\0132\026.google.protobuf.Va" + + "lue\032\205\001\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022a\n\005" + + "value\030\002 \001(\0132R.google.cloud.dialogflow.cx" + + ".v3beta1.WebhookRequest.IntentInfo.Inten" + + "tParameterValue:\0028\001\032;\n\027SentimentAnalysis" + + "Result\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\002" + + "B\007\n\005query\"\310\005\n\017WebhookResponse\022e\n\024fulfill" + + "ment_response\030\001 \001(\0132G.google.cloud.dialo" + + "gflow.cx.v3beta1.WebhookResponse.Fulfill" + + "mentResponse\022?\n\tpage_info\030\002 \001(\0132,.google" + + ".cloud.dialogflow.cx.v3beta1.PageInfo\022E\n" + + "\014session_info\030\003 \001(\0132/.google.cloud.dialo" + + "gflow.cx.v3beta1.SessionInfo\022(\n\007payload\030" + + "\004 \001(\0132\027.google.protobuf.Struct\022:\n\013target" + + "_page\030\005 \001(\tB#\372A \n\036dialogflow.googleapis." + + "com/PageH\000\022:\n\013target_flow\030\006 \001(\tB#\372A \n\036di" + + "alogflow.googleapis.com/FlowH\000\032\225\002\n\023Fulfi" + + "llmentResponse\022E\n\010messages\030\001 \003(\01323.googl" + + "e.cloud.dialogflow.cx.v3beta1.ResponseMe" + + "ssage\022m\n\016merge_behavior\030\002 \001(\0162U.google.c" + + "loud.dialogflow.cx.v3beta1.WebhookRespon" + + "se.FulfillmentResponse.MergeBehavior\"H\n\r" + + "MergeBehavior\022\036\n\032MERGE_BEHAVIOR_UNSPECIF" + + "IED\020\000\022\n\n\006APPEND\020\001\022\013\n\007REPLACE\020\002B\014\n\ntransi" + + "tion\"\254\004\n\010PageInfo\0229\n\014current_page\030\001 \001(\tB" + + "#\372A \n\036dialogflow.googleapis.com/Page\022H\n\t" + + "form_info\030\003 \001(\01325.google.cloud.dialogflo" + + "w.cx.v3beta1.PageInfo.FormInfo\032\232\003\n\010FormI" + + "nfo\022[\n\016parameter_info\030\002 \003(\0132C.google.clo" + + "ud.dialogflow.cx.v3beta1.PageInfo.FormIn" + + "fo.ParameterInfo\032\260\002\n\rParameterInfo\022\024\n\014di" + + "splay_name\030\001 \001(\t\022\020\n\010required\030\002 \001(\010\022a\n\005st" + + "ate\030\003 \001(\0162R.google.cloud.dialogflow.cx.v" + + "3beta1.PageInfo.FormInfo.ParameterInfo.P" + + "arameterState\022%\n\005value\030\004 \001(\0132\026.google.pr" + + "otobuf.Value\022\026\n\016just_collected\030\005 \001(\010\"U\n\016" + + "ParameterState\022\037\n\033PARAMETER_STATE_UNSPEC" + + "IFIED\020\000\022\t\n\005EMPTY\020\001\022\013\n\007INVALID\020\002\022\n\n\006FILLE" + + "D\020\003\"\346\001\n\013SessionInfo\0227\n\007session\030\001 \001(\tB&\372A" + + "#\n!dialogflow.googleapis.com/Session\022S\n\n" + + "parameters\030\002 \003(\0132?.google.cloud.dialogfl" + + "ow.cx.v3beta1.SessionInfo.ParametersEntr" + + "y\032I\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022%\n\005val" + + "ue\030\002 \001(\0132\026.google.protobuf.Value:\0028\0012\375\010\n" + + "\010Webhooks\022\316\001\n\014ListWebhooks\0227.google.clou" + + "d.dialogflow.cx.v3beta1.ListWebhooksRequ" + + "est\0328.google.cloud.dialogflow.cx.v3beta1" + + ".ListWebhooksResponse\"K\202\323\344\223\002<\022:/v3beta1/" + + "{parent=projects/*/locations/*/agents/*}" + + "/webhooks\332A\006parent\022\273\001\n\nGetWebhook\0225.goog" + + "le.cloud.dialogflow.cx.v3beta1.GetWebhoo" + + "kRequest\032+.google.cloud.dialogflow.cx.v3" + + "beta1.Webhook\"I\202\323\344\223\002<\022:/v3beta1/{name=pr" + + "ojects/*/locations/*/agents/*/webhooks/*" + + "}\332A\004name\022\324\001\n\rCreateWebhook\0228.google.clou" + + "d.dialogflow.cx.v3beta1.CreateWebhookReq" + + "uest\032+.google.cloud.dialogflow.cx.v3beta" + + "1.Webhook\"\\\202\323\344\223\002E\":/v3beta1/{parent=proj" + + "ects/*/locations/*/agents/*}/webhooks:\007w" + + "ebhook\332A\016parent,webhook\022\341\001\n\rUpdateWebhoo" + + "k\0228.google.cloud.dialogflow.cx.v3beta1.U" + + "pdateWebhookRequest\032+.google.cloud.dialo" + + "gflow.cx.v3beta1.Webhook\"i\202\323\344\223\002M2B/v3bet" + + "a1/{webhook.name=projects/*/locations/*/" + + "agents/*/webhooks/*}:\007webhook\332A\023webhook," + + "update_mask\022\254\001\n\rDeleteWebhook\0228.google.c" + + "loud.dialogflow.cx.v3beta1.DeleteWebhook" + + "Request\032\026.google.protobuf.Empty\"I\202\323\344\223\002<*" + + ":/v3beta1/{name=projects/*/locations/*/a" + + "gents/*/webhooks/*}\332A\004name\032x\312A\031dialogflo" + + "w.googleapis.com\322AYhttps://www.googleapi" + + "s.com/auth/cloud-platform,https://www.go" + + "ogleapis.com/auth/dialogflowB\252\002\n&com.goo" + + "gle.cloud.dialogflow.cx.v3beta1B\014Webhook" + + "ProtoP\001ZDgoogle.golang.org/genproto/goog" + + "leapis/cloud/dialogflow/cx/v3beta1;cx\370\001\001" + + "\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Bet" + + "a1\352A|\n\'servicedirectory.googleapis.com/S" + + "ervice\022Qprojects/{project}/locations/{lo" + + "cation}/namespaces/{namespace}/services/" + + "{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -294,7 +305,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_descriptor, new java.lang.String[] { - "Name", "DisplayName", "GenericWebService", "Timeout", "Disabled", "Webhook", + "Name", + "DisplayName", + "GenericWebService", + "ServiceDirectory", + "Timeout", + "Disabled", + "Webhook", }); internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_GenericWebService_descriptor = internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_descriptor @@ -316,6 +333,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Webhook_ServiceDirectoryConfig_descriptor, + new java.lang.String[] { + "Service", "GenericWebService", + }); internal_static_google_cloud_dialogflow_cx_v3beta1_ListWebhooksRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_dialogflow_cx_v3beta1_ListWebhooksRequest_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto index 38f05bd52..098467a63 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto @@ -29,31 +29,6 @@ option java_outer_classname = "AudioConfigProto"; option java_package = "com.google.cloud.dialogflow.cx.v3beta1"; option objc_class_prefix = "DF"; -// Information for a word recognized by the speech recognizer. -message SpeechWordInfo { - // The word this info is for. - string word = 3; - - // Time offset relative to the beginning of the audio that corresponds to the - // start of the spoken word. This is an experimental feature and the accuracy - // of the time offset can vary. - google.protobuf.Duration start_offset = 1; - - // Time offset relative to the beginning of the audio that corresponds to the - // end of the spoken word. This is an experimental feature and the accuracy of - // the time offset can vary. - google.protobuf.Duration end_offset = 2; - - // The Speech confidence between 0.0 and 1.0 for this word. A higher number - // indicates an estimated greater likelihood that the recognized word is - // correct. The default of 0.0 is a sentinel value indicating that confidence - // was not set. - // - // This field is not guaranteed to be fully stable over time for the same - // audio input. Users should also not rely on it to always be provided. - float confidence = 4; -} - // Audio encoding of the audio content sent in the conversational query request. // Refer to the // [Cloud Speech API @@ -103,6 +78,31 @@ enum AudioEncoding { AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; } +// Information for a word recognized by the speech recognizer. +message SpeechWordInfo { + // The word this info is for. + string word = 3; + + // Time offset relative to the beginning of the audio that corresponds to the + // start of the spoken word. This is an experimental feature and the accuracy + // of the time offset can vary. + google.protobuf.Duration start_offset = 1; + + // Time offset relative to the beginning of the audio that corresponds to the + // end of the spoken word. This is an experimental feature and the accuracy of + // the time offset can vary. + google.protobuf.Duration end_offset = 2; + + // The Speech confidence between 0.0 and 1.0 for this word. A higher number + // indicates an estimated greater likelihood that the recognized word is + // correct. The default of 0.0 is a sentinel value indicating that confidence + // was not set. + // + // This field is not guaranteed to be fully stable over time for the same + // audio input. Users should also not rely on it to always be provided. + float confidence = 4; +} + // Instructs the speech recognizer on how to process the audio content. message InputAudioConfig { // Required. Audio encoding of the audio content to process. diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto index 0a79181a5..c62199c1f 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3beta1; import "google/api/annotations.proto"; -import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/dialogflow/cx/v3beta1/audio_config.proto"; @@ -30,6 +29,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/rpc/status.proto"; import "google/type/latlng.proto"; +import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1"; @@ -45,9 +45,8 @@ option (google.api.resource_definition) = { }; // 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. service Sessions { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -80,8 +79,8 @@ service Sessions { // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). - rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) - returns (stream StreamingDetectIntentResponse) {} + rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) returns (stream StreamingDetectIntentResponse) { + } // Returns preliminary intent match results, doesn't change the session // status. @@ -96,13 +95,9 @@ service Sessions { }; } - // 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. rpc FulfillIntent(FulfillIntentRequest) returns (FulfillIntentResponse) { option (google.api.http) = { post: "/v3beta1/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent" @@ -162,9 +157,9 @@ message DetectIntentResponse { // 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.v3beta1.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.v3beta1.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 @@ -177,29 +172,24 @@ message DetectIntentResponse { } // The top-level message sent by the client to the -// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] -// method. +// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent] method. // // Multiple request messages should be sent in order: // // 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session], -// [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain +// [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally +// [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client +// wants to receive an audio response, it should also contain // [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config]. // -// 2. If -// [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] -// was set to -// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. +// 2. If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to +// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages +// must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with +// Speech recognition. +// If you decide to rather detect an intent from text +// input after you already started Speech recognition, please send a message +// with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. // // However, note that: // @@ -228,8 +218,8 @@ message StreamingDetectIntentRequest { // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). string session = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Session" - }]; + type: "dialogflow.googleapis.com/Session" + }]; // The parameters of this query. QueryParameters query_params = 2; @@ -315,8 +305,8 @@ message StreamingRecognitionResult { // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if - // [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] - // was set to `true`, and is not used otherwise. + // [`single_utterance`][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.single_utterance] was set to + // `true`, and is not used otherwise. END_OF_SINGLE_UTTERANCE = 2; } @@ -352,8 +342,7 @@ message StreamingRecognitionResult { float stability = 6; // Word-specific information for the words recognized by Speech in - // [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. - // Populated if and only if `message_type` = `TRANSCRIPT` and + // [transcript][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and // [InputAudioConfig.enable_word_info] is set. repeated SpeechWordInfo speech_word_info = 7; @@ -415,8 +404,7 @@ message QueryParameters { // - Else: parameter value google.protobuf.Struct parameters = 5; - // The unique identifier of the - // [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current + // The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current // page][QueryResult.current_page] in the session. Format: `projects//locations/ /agents/ /pages/ `. // @@ -424,14 +412,12 @@ message QueryParameters { // ignored by Dialogflow, including the [previous // page][QueryResult.current_page] and the [previous session // parameters][QueryResult.parameters]. - // In most cases, - // [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] - // and - // [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] - // should be configured together to direct a session to a specific state. - string current_page = 6 [ - (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" } - ]; + // In most cases, [current_page][google.cloud.dialogflow.cx.v3beta1.QueryParameters.current_page] and + // [parameters][google.cloud.dialogflow.cx.v3beta1.QueryParameters.parameters] should be configured together to + // direct a session to a specific state. + string current_page = 6 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + }]; // Whether to disable webhook calls for this request. bool disable_webhook = 7; @@ -491,25 +477,24 @@ message QueryInput { message QueryResult { // The original conversational query. oneof query { - // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - // was provided as input, this field will contain a copy of the text. + // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + // will contain a copy of the text. string text = 1; - // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - // provided as input, this field will contain a copy of the intent - // identifier. Format: `projects/ /locations/ /agents/ /intents/ `. + // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + // contain a copy of the intent identifier. + // Format: `projects/ /locations/ /agents/ /intents/ `. string trigger_intent = 11 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; - // If [natural language speech - // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - // input, this field will contain the transcript for the audio. + // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + // this field will contain the transcript for the audio. string transcript = 12; - // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - // as input, this field will contain the name of the event. + // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain + // the name of the event. string trigger_event = 14; } @@ -519,8 +504,7 @@ message QueryResult { // for a list of the currently supported language codes. string language_code = 2; - // The collected [session - // parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. + // The collected [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object @@ -546,23 +530,19 @@ message QueryResult { // The list of webhook call status in the order of call sequence. repeated google.rpc.Status webhook_statuses = 13; - // The list of webhook payload in - // [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], - // in the order of call sequence. If some webhook call fails or doesn't return + // The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload], in + // the order of call sequence. If some webhook call fails or doesn't return // any payload, an empty `Struct` would be used instead. repeated google.protobuf.Struct webhook_payloads = 6; - // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - // fields are filled in this message, including but not limited to `name` and - // `display_name`. + // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + // including but not limited to `name` and `display_name`. Page current_page = 7; - // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - // conversational query. Some, not all fields are filled in this message, - // including but not limited to: `name` and `display_name`. This field is - // deprecated, please use - // [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - // instead. + // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the conversational query. Some, not all fields + // are filled in this message, including but not limited to: `name` and + // `display_name`. + // This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. Intent intent = 8 [deprecated = true]; // The intent detection confidence. Values range from 0.0 (completely @@ -571,9 +551,7 @@ message QueryResult { // help match the best intent within the classification threshold. // This value may change for the same end-user expression at any time due to a // model retraining or change in implementation. - // This field is deprecated, please use - // [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] - // instead. + // This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match] instead. float intent_detection_confidence = 9 [deprecated = true]; // Intent match result, could be an intent or an event. @@ -586,15 +564,14 @@ message QueryResult { // The sentiment analyss result, which depends on // [`analyze_query_text_sentiment`] - // [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], - // specified in the request. + // [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], specified in the request. SentimentAnalysisResult sentiment_analysis_result = 17; } // Represents the natural language text to be processed. message TextInput { - // Required. The UTF-8 encoded natural language text to be processed. Text - // length must not exceed 256 characters. + // Required. The UTF-8 encoded natural language text to be processed. Text length must + // not exceed 256 characters. string text = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -619,9 +596,8 @@ message AudioInput { // 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.v3beta1.QueryResult.transcript] cannot - // contain more than 256 bytes. + // The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256 + // bytes. // // For non-streaming audio detect intent, both `config` and `audio` must be // provided. @@ -671,10 +647,9 @@ message Match { EVENT = 6; } - // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the - // query. Some, not all fields are filled in this message, including but not - // limited to: `name` and `display_name`. Only filled for - // [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. + // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in + // this message, including but not limited to: `name` and `display_name`. Only + // filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type. Intent intent = 1; // The event that matched the query. Only filled for @@ -748,25 +723,24 @@ message MatchIntentRequest { message MatchIntentResponse { // The original conversational query. oneof query { - // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] - // was provided as input, this field will contain a copy of the text. + // If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field + // will contain a copy of the text. string text = 1; - // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was - // provided as input, this field will contain a copy of the intent - // identifier. Format: `projects/ /locations/ /agents/ /intents/ `. + // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will + // contain a copy of the intent identifier. + // Format: `projects/ /locations/ /agents/ /intents/ `. string trigger_intent = 2 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; - // If [natural language speech - // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as - // input, this field will contain the transcript for the audio. + // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, + // this field will contain the transcript for the audio. string transcript = 3; - // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided - // as input, this field will contain a copy of the event name. + // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will + // contain a copy of the event name. string trigger_event = 6; } @@ -774,9 +748,8 @@ message MatchIntentResponse { // we have that the particular intent matches the query. repeated Match matches = 4; - // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all - // fields are filled in this message, including but not limited to `name` and - // `display_name`. + // The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all fields are filled in this message, + // including but not limited to `name` and `display_name`. Page current_page = 5; } @@ -805,9 +778,9 @@ message FulfillIntentResponse { // 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.v3beta1.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.v3beta1.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 diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto index d0fb224f6..7786dd229 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto @@ -114,6 +114,26 @@ message Webhook { map request_headers = 4; } + // Represents configuration for a [Service + // Directory](https://cloud.google.com/service-directory) service. + message ServiceDirectoryConfig { + // Required. The name of [Service + // Directory](https://cloud.google.com/service-directory) service. + // Format: `projects/ /locations/ /namespaces/ /services/ `. + // `Location ID` of the service directory must be the same as the location + // of the agent. + string service = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "servicedirectory.googleapis.com/Service" + } + ]; + + // Generic Service configuration of this webhook. + GenericWebService generic_web_service = 2; + } + // The unique identifier of the webhook. // Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook] method. // [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook] populates the name automatically. @@ -128,6 +148,10 @@ message Webhook { oneof webhook { // Configuration for a generic web service. GenericWebService generic_web_service = 4; + + // Configuration for a [Service + // Directory](https://cloud.google.com/service-directory) service. + ServiceDirectoryConfig service_directory = 7; } // Webhook execution timeout. Execution is considered failed if Dialogflow diff --git a/synth.metadata b/synth.metadata index 36cfd1289..0ee82d6c6 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dialogflow-cx.git", - "sha": "bd8f30c0e97ce8f90450c826415c13f39a49bcca" + "sha": "ae769cb33cefa9003578550d338bb32936b77092" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0fa726c5d8e4b8442f49974abc875db1af432316", - "internalRef": "370928139" + "sha": "3e32fd102910803198332eb5039cbc0b6dee9850", + "internalRef": "372602458" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0fa726c5d8e4b8442f49974abc875db1af432316", - "internalRef": "370928139" + "sha": "3e32fd102910803198332eb5039cbc0b6dee9850", + "internalRef": "372602458" } }, { @@ -692,6 +692,7 @@ "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SecuritySettingsProto.java", "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SentimentAnalysisResult.java", "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SentimentAnalysisResultOrBuilder.java", + "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ServiceName.java", "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityType.java", "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityTypeName.java", "proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionEntityTypeOrBuilder.java", @@ -1104,6 +1105,7 @@ "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsProto.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java", + "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ServiceName.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeName.java", "proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java",