diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java index 7de173cf0..d31f19492 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesGrpc.java @@ -26,8 +26,7 @@ * * *
- * Service for managing - * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. + * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. **/ @javax.annotation.Generated( @@ -315,8 +314,7 @@ public EntityTypesFutureStub newStub( * * *
- * Service for managing - * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. + * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. **/ public abstract static class EntityTypesImplBase implements io.grpc.BindableService { @@ -435,8 +433,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
- * Service for managing - * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. + * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. **/ public static final class EntityTypesStub @@ -539,8 +536,7 @@ public void deleteEntityType( * * *
- * Service for managing - * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. + * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. **/ public static final class EntityTypesBlockingStub @@ -623,8 +619,7 @@ public com.google.protobuf.Empty deleteEntityType( * * *
- * Service for managing - * [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. + * Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType]. **/ public static final class EntityTypesFutureStub diff --git a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java index c794eba01..7ebafc045 100644 --- a/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java +++ b/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypesGrpc.java @@ -26,8 +26,7 @@ * * *
- * Service for managing - * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. + * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. **/ @javax.annotation.Generated( @@ -338,8 +337,7 @@ public SessionEntityTypesFutureStub newStub( * * *
- * Service for managing - * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. + * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. **/ public abstract static class SessionEntityTypesImplBase implements io.grpc.BindableService { @@ -461,8 +459,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
- * Service for managing - * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. + * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. **/ public static final class SessionEntityTypesStub @@ -569,8 +566,7 @@ public void deleteSessionEntityType( * * *
- * Service for managing - * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. + * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. **/ public static final class SessionEntityTypesBlockingStub @@ -659,8 +655,7 @@ public com.google.protobuf.Empty deleteSessionEntityType( * * *
- * Service for managing - * [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. + * Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]. **/ public static final class SessionEntityTypesFutureStub 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 38f2d61ae..ad3ac2aac 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 @@ -30,9 +30,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( @@ -277,9 +276,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 { @@ -338,13 +336,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( @@ -394,9 +388,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( @@ -496,9 +485,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 @@ -544,13 +532,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( @@ -564,9 +548,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 @@ -616,13 +599,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-v3beta1/clirr-ignored-differences.xml b/proto-google-cloud-dialogflow-cx-v3beta1/clirr-ignored-differences.xml new file mode 100644 index 000000000..4634a3f0a --- /dev/null +++ b/proto-google-cloud-dialogflow-cx-v3beta1/clirr-ignored-differences.xml @@ -0,0 +1,31 @@ + + +
* 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/CreateEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java index 2ff323b16..ef03e8132 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateEntityTypeRequest.java @@ -22,8 +22,7 @@ * * ** *- * The request message for - * [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType]. + * The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateEntityTypeRequest} @@ -498,8 +497,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request message for - * [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType]. + * The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java index 9d1b671b6..ca560291e 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateFlowRequest.java @@ -22,8 +22,7 @@ * * *- * The request message for - * [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow]. + * The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest} @@ -493,8 +492,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request message for - * [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow]. + * The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateFlowRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java index 2521c4a07..4fd42ca6a 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreatePageRequest.java @@ -22,8 +22,7 @@ * * *- * The request message for - * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]. + * The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreatePageRequest} @@ -503,8 +502,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request message for - * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]. + * The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreatePageRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java index c13c4a32a..f13208eb0 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateSessionEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *- * The request message for - * [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType]. + * The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateSessionEntityTypeRequest} @@ -427,8 +426,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request message for - * [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType]. + * The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateSessionEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java index 8b0dec91d..052aca789 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/CreateWebhookRequest.java @@ -22,8 +22,7 @@ * * *- * The request message for - * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]. + * The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest} @@ -415,8 +414,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request message for - * [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]. + * The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.CreateWebhookRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java index 514a334ef..f83ee2965 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *- * The request message for - * [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType]. + * The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteEntityTypeRequest} @@ -186,11 +185,9 @@ public com.google.protobuf.ByteString getNameBytes() { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *bool force = 2;
@@ -375,8 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request message for - * [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType]. + * The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteEntityTypeRequest} @@ -677,11 +673,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *bool force = 2;
@@ -702,11 +696,9 @@ public boolean getForce() { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *bool force = 2;
@@ -730,11 +722,9 @@ public Builder setForce(boolean value) { * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *bool force = 2;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java index bd22e696e..01a36e192 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteEntityTypeRequestOrBuilder.java @@ -66,11 +66,9 @@ public interface DeleteEntityTypeRequestOrBuilder * indicating the referencing resources. * * If `force` is set to true, Dialogflow will remove the entity type, as * well as any references to the entity type (i.e. Page - * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the - * entity type will be changed to - * '@sys.any' and intent - * [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the - * entity type will be removed). + * [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to + * '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type + * will be removed). *
bool force = 2;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java
index 1771cc513..46ceef762 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteFlowRequest.java
@@ -22,8 +22,7 @@
*
*
* - * The request message for - * [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow]. + * The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest} @@ -373,8 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request message for - * [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow]. + * The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteFlowRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java index d73313b44..ad2e86800 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeletePageRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for - * [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage]. + * The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeletePageRequest} @@ -373,8 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request message for - * [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage]. + * The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeletePageRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java index ff196a841..618cec2e5 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteSessionEntityTypeRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for - * [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType]. + * The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteSessionEntityTypeRequest} @@ -343,8 +342,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request message for - * [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType]. + * The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteSessionEntityTypeRequest} diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java index 3d542ae10..3b1333469 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequest.java @@ -22,8 +22,7 @@ * * *
- * The request message for - * [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. + * The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteWebhookRequest} @@ -185,10 +184,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * *
bool force = 2;
@@ -373,8 +371,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* - * The request message for - * [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. + * The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook]. ** * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteWebhookRequest} @@ -671,10 +668,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. - * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and - * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments - * that point to this webhook will be removed). + * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] + * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook + * will be removed). * * *
bool force = 2;
@@ -694,10 +690,9 @@ public boolean getForce() {
* * If `force` is set to false, an error will be returned with message
* indicating the referenced resources.
* * If `force` is set to true, Dialogflow will remove the webhook, as well
- * as any references to the webhook (i.e.
- * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and
- * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments
- * that point to this webhook will be removed).
+ * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook]
+ * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook
+ * will be removed).
*
*
* bool force = 2;
@@ -720,10 +715,9 @@ public Builder setForce(boolean value) {
* * If `force` is set to false, an error will be returned with message
* indicating the referenced resources.
* * If `force` is set to true, Dialogflow will remove the webhook, as well
- * as any references to the webhook (i.e.
- * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and
- * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments
- * that point to this webhook will be removed).
+ * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook]
+ * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook
+ * will be removed).
*
*
* bool force = 2;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java
index 7ccc848fb..b29260f2b 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteWebhookRequestOrBuilder.java
@@ -65,10 +65,9 @@ public interface DeleteWebhookRequestOrBuilder
* * If `force` is set to false, an error will be returned with message
* indicating the referenced resources.
* * If `force` is set to true, Dialogflow will remove the webhook, as well
- * as any references to the webhook (i.e.
- * [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and
- * [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments
- * that point to this webhook will be removed).
+ * as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook]
+ * and [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments that point to this webhook
+ * will be removed).
*
*
* bool force = 2;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java
index cd9d1b466..ae90df790 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequest.java
@@ -177,6 +177,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -210,6 +212,8 @@ public java.lang.String getSession() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -799,6 +803,8 @@ public Builder mergeFrom(
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -831,6 +837,8 @@ public java.lang.String getSession() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -863,6 +871,8 @@ public com.google.protobuf.ByteString getSessionBytes() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -894,6 +904,8 @@ public Builder setSession(java.lang.String value) {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -921,6 +933,8 @@ public Builder clearSession() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java
index 0a81c346f..777218531 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentRequestOrBuilder.java
@@ -36,6 +36,8 @@ public interface DetectIntentRequestOrBuilder
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -58,6 +60,8 @@ public interface DetectIntentRequestOrBuilder
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
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/EntityType.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java
index 815df81f7..029a4e3ca 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityType.java
@@ -40,9 +40,7 @@
* entity is represented by the `EntityType` type.
* * **User** - entities that are built for an individual user such as
* favorites, preferences, playlists, and so on. A user entity is
- * represented by the
- * [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]
- * type.
+ * represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type.
* For more information about entity types, see the [Dialogflow
* documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
*
@@ -2320,8 +2318,7 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -2347,8 +2344,7 @@ public java.lang.String getName() {
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -2376,8 +2372,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -2400,8 +2395,7 @@ public java.lang.String getDisplayName() {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -2945,9 +2939,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* entity is represented by the `EntityType` type.
* * **User** - entities that are built for an individual user such as
* favorites, preferences, playlists, and so on. A user entity is
- * represented by the
- * [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]
- * type.
+ * represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type.
* For more information about entity types, see the [Dialogflow
* documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
*
@@ -3225,8 +3217,7 @@ public Builder mergeFrom(
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -3251,8 +3242,7 @@ public java.lang.String getName() {
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -3277,8 +3267,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -3302,8 +3291,7 @@ public Builder setName(java.lang.String value) {
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -3323,8 +3311,7 @@ public Builder clearName() {
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -3350,8 +3337,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -3373,8 +3359,7 @@ public java.lang.String getDisplayName() {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -3396,8 +3381,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -3418,8 +3402,7 @@ public Builder setDisplayName(java.lang.String value) {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -3436,8 +3419,7 @@ public Builder clearDisplayName() {
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java
index 84405f653..6c2cdc66c 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypeOrBuilder.java
@@ -28,8 +28,7 @@ public interface EntityTypeOrBuilder
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -44,8 +43,7 @@ public interface EntityTypeOrBuilder
*
*
* The unique identifier of the entity type.
- * Required for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<Entity Type ID>`.
*
@@ -60,8 +58,7 @@ public interface EntityTypeOrBuilder
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -73,8 +70,7 @@ public interface EntityTypeOrBuilder
*
*
*
- * Required. The human-readable name of the entity type, unique within the
- * agent.
+ * Required. The human-readable name of the entity type, unique within the agent.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java
index 76bcfca35..d20d16874 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventHandler.java
@@ -22,21 +22,16 @@
*
*
*
- * An event handler specifies an
- * [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be
- * handled during a session. When the specified event happens, the following
- * actions are taken in order:
+ * An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled
+ * during a session. When the specified event happens, the following actions are
+ * taken in order:
* * If there is a
- * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment]
- * associated with the event, it will be called.
- * * If there is a
- * [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page]
- * associated with the event, the session will transition into the specified
- * page.
- * * If there is a
- * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow]
- * associated with the event, the session will transition into the specified
- * flow.
+ * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with
+ * the event, it will be called.
+ * * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated
+ * with the event, the session will transition into the specified page.
+ * * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated
+ * with the event, the session will transition into the specified flow.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventHandler}
@@ -708,21 +703,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * An event handler specifies an
- * [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be
- * handled during a session. When the specified event happens, the following
- * actions are taken in order:
- * * If there is a
- * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment]
- * associated with the event, it will be called.
- * * If there is a
- * [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page]
- * associated with the event, the session will transition into the specified
- * page.
+ * An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled
+ * during a session. When the specified event happens, the following actions are
+ * taken in order:
* * If there is a
- * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow]
- * associated with the event, the session will transition into the specified
- * flow.
+ * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with
+ * the event, it will be called.
+ * * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated
+ * with the event, the session will transition into the specified page.
+ * * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated
+ * with the event, the session will transition into the specified flow.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventHandler}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java
new file mode 100644
index 000000000..c7e450de4
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInput.java
@@ -0,0 +1,636 @@
+/*
+ * Copyright 2020 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.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dialogflow/cx/v3beta1/session.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * Represents the event to trigger.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventInput}
+ */
+public final class EventInput extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.EventInput)
+ EventInputOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use EventInput.newBuilder() to construct.
+ private EventInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private EventInput() {
+ event_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new EventInput();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private EventInput(
+ 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();
+
+ event_ = s;
+ 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.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.class,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder.class);
+ }
+
+ public static final int EVENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object event_;
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return The event.
+ */
+ @java.lang.Override
+ public java.lang.String getEvent() {
+ java.lang.Object ref = event_;
+ 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();
+ event_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return The bytes for event.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEventBytes() {
+ java.lang.Object ref = event_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ event_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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 (!getEventBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, event_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getEventBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, event_);
+ }
+ 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.EventInput)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput other =
+ (com.google.cloud.dialogflow.cx.v3beta1.EventInput) obj;
+
+ if (!getEvent().equals(other.getEvent())) 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) + EVENT_FIELD_NUMBER;
+ hash = (53 * hash) + getEvent().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.EventInput parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.EventInput parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.EventInput parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.EventInput 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.EventInput 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.EventInput 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.EventInput 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.EventInput 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.EventInput 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.EventInput 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.EventInput 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 the event to trigger.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.EventInput}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.EventInput)
+ com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.class,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3beta1.EventInput.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();
+ event_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInput getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInput build() {
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInput buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput result =
+ new com.google.cloud.dialogflow.cx.v3beta1.EventInput(this);
+ result.event_ = event_;
+ 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.EventInput) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.EventInput) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.EventInput other) {
+ if (other == com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance())
+ return this;
+ if (!other.getEvent().isEmpty()) {
+ event_ = other.event_;
+ onChanged();
+ }
+ 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.EventInput parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.dialogflow.cx.v3beta1.EventInput) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object event_ = "";
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return The event.
+ */
+ public java.lang.String getEvent() {
+ java.lang.Object ref = event_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ event_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return The bytes for event.
+ */
+ public com.google.protobuf.ByteString getEventBytes() {
+ java.lang.Object ref = event_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ event_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @param value The event to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEvent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ event_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEvent() {
+
+ event_ = getDefaultInstance().getEvent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @param value The bytes for event to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEventBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ event_ = value;
+ onChanged();
+ return this;
+ }
+
+ @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.EventInput)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.EventInput)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.EventInput DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.EventInput();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.EventInput getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EventInput parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new EventInput(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.EventInput getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java
new file mode 100644
index 000000000..93452f6d6
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EventInputOrBuilder.java
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2020 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.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dialogflow/cx/v3beta1/session.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+public interface EventInputOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.EventInput)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return The event.
+ */
+ java.lang.String getEvent();
+ /**
+ *
+ *
+ *
+ * Name of the event.
+ *
+ *
+ * string event = 1;
+ *
+ * @return The bytes for event.
+ */
+ com.google.protobuf.ByteString getEventBytes();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java
index 5365f41a9..e4ddacffb 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Flow.java
@@ -488,10 +488,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -512,10 +511,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -536,10 +534,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -559,10 +556,9 @@ public int getEventHandlersCount() {
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -582,10 +578,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler getEventHandlers(int
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2086,10 +2081,9 @@ private void ensureEventHandlersIsMutable() {
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2113,10 +2107,9 @@ private void ensureEventHandlersIsMutable() {
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2139,10 +2132,9 @@ public int getEventHandlersCount() {
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2165,10 +2157,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler getEventHandlers(int
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2198,10 +2189,9 @@ public Builder setEventHandlers(
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2228,10 +2218,9 @@ public Builder setEventHandlers(
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2260,10 +2249,9 @@ public Builder addEventHandlers(com.google.cloud.dialogflow.cx.v3beta1.EventHand
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2293,10 +2281,9 @@ public Builder addEventHandlers(
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2323,10 +2310,9 @@ public Builder addEventHandlers(
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2353,10 +2339,9 @@ public Builder addEventHandlers(
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2383,10 +2368,9 @@ public Builder addAllEventHandlers(
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2412,10 +2396,9 @@ public Builder clearEventHandlers() {
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2441,10 +2424,9 @@ public Builder removeEventHandlers(int index) {
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2464,10 +2446,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler.Builder getEventHandl
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2491,10 +2472,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandlerOrBuilder getEventHand
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2518,10 +2498,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandlerOrBuilder getEventHand
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2541,10 +2520,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler.Builder addEventHandl
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -2566,10 +2544,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.EventHandler.Builder addEventHandl
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java
index aa224295c..1d4f81ae0 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowOrBuilder.java
@@ -228,10 +228,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -248,10 +247,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -268,10 +266,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -288,10 +285,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
@@ -309,10 +305,9 @@ com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder getTransitionRou
* handlers][Page.event_handlers], which can be used to handle common events
* regardless of the current page. Event handlers defined in the page
* have higher priority than those defined in the flow.
- * Unlike
- * [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes],
- * these handlers are evaluated on a first-match basis. The first one that
- * matches the event get executed, with the rest being ignored.
+ * Unlike [transition_routes][google.cloud.dialogflow.cx.v3beta1.Flow.transition_routes], these handlers are
+ * evaluated on a first-match basis. The first one that matches the event
+ * get executed, with the rest being ignored.
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java
index 60db1ba49..85a6844bc 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java
@@ -80,87 +80,86 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "google/cloud/dialogflow/cx/v3beta1/page."
+ "proto\032#google/longrunning/operations.pro"
+ "to\032\033google/protobuf/empty.proto\032 google/"
- + "protobuf/field_mask.proto\"\333\003\n\013NluSetting"
+ + "protobuf/field_mask.proto\"\266\003\n\013NluSetting"
+ "s\022M\n\nmodel_type\030\001 \001(\01629.google.cloud.dia"
+ "logflow.cx.v3beta1.NluSettings.ModelType"
+ "\022 \n\030classification_threshold\030\003 \001(\002\022^\n\023mo"
+ "del_training_mode\030\004 \001(\0162A.google.cloud.d"
+ "ialogflow.cx.v3beta1.NluSettings.ModelTr"
- + "ainingMode\022#\n\027enable_spell_correction\030\005 "
- + "\001(\010B\002\030\001\"Y\n\tModelType\022\032\n\026MODEL_TYPE_UNSPE"
- + "CIFIED\020\000\022\027\n\023MODEL_TYPE_STANDARD\020\001\022\027\n\023MOD"
- + "EL_TYPE_ADVANCED\020\003\"{\n\021ModelTrainingMode\022"
- + "#\n\037MODEL_TRAINING_MODE_UNSPECIFIED\020\000\022!\n\035"
- + "MODEL_TRAINING_MODE_AUTOMATIC\020\001\022\036\n\032MODEL"
- + "_TRAINING_MODE_MANUAL\020\002\"\217\003\n\004Flow\022\014\n\004name"
- + "\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013des"
- + "cription\030\003 \001(\t\022N\n\021transition_routes\030\004 \003("
- + "\01323.google.cloud.dialogflow.cx.v3beta1.T"
- + "ransitionRoute\022H\n\016event_handlers\030\n \003(\01320"
- + ".google.cloud.dialogflow.cx.v3beta1.Even"
- + "tHandler\022E\n\014nlu_settings\030\013 \001(\0132/.google."
- + "cloud.dialogflow.cx.v3beta1.NluSettings:"
- + "h\352Ae\n\036dialogflow.googleapis.com/Flow\022Cpr"
- + "ojects/{project}/locations/{location}/ag"
- + "ents/{agent}/flows/{flow}\"\237\001\n\021CreateFlow"
- + "Request\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogf"
- + "low.googleapis.com/Flow\022;\n\004flow\030\002 \001(\0132(."
- + "google.cloud.dialogflow.cx.v3beta1.FlowB"
- + "\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"X\n\021DeleteFlo"
- + "wRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogfl"
- + "ow.googleapis.com/Flow\022\r\n\005force\030\002 \001(\010\"\210\001"
- + "\n\020ListFlowsRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372"
- + "A \022\036dialogflow.googleapis.com/Flow\022\021\n\tpa"
- + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\025\n\rlan"
- + "guage_code\030\004 \001(\t\"e\n\021ListFlowsResponse\0227\n"
- + "\005flows\030\001 \003(\0132(.google.cloud.dialogflow.c"
- + "x.v3beta1.Flow\022\027\n\017next_page_token\030\002 \001(\t\""
- + "]\n\016GetFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n"
- + "\036dialogflow.googleapis.com/Flow\022\025\n\rlangu"
- + "age_code\030\002 \001(\t\"\235\001\n\021UpdateFlowRequest\022;\n\004"
- + "flow\030\001 \001(\0132(.google.cloud.dialogflow.cx."
- + "v3beta1.FlowB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032"
- + ".google.protobuf.FieldMaskB\003\340A\002\022\025\n\rlangu"
- + "age_code\030\003 \001(\t\"H\n\020TrainFlowRequest\0224\n\004na"
- + "me\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapis."
- + "com/Flow2\231\n\n\005Flows\022\302\001\n\nCreateFlow\0225.goog"
- + "le.cloud.dialogflow.cx.v3beta1.CreateFlo"
- + "wRequest\032(.google.cloud.dialogflow.cx.v3"
- + "beta1.Flow\"S\202\323\344\223\002?\"7/v3beta1/{parent=pro"
- + "jects/*/locations/*/agents/*}/flows:\004flo"
- + "w\332A\013parent,flow\022\243\001\n\nDeleteFlow\0225.google."
- + "cloud.dialogflow.cx.v3beta1.DeleteFlowRe"
- + "quest\032\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/"
- + "v3beta1/{name=projects/*/locations/*/age"
- + "nts/*/flows/*}\332A\004name\022\302\001\n\tListFlows\0224.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.ListFlo"
- + "wsRequest\0325.google.cloud.dialogflow.cx.v"
- + "3beta1.ListFlowsResponse\"H\202\323\344\223\0029\0227/v3bet"
- + "a1/{parent=projects/*/locations/*/agents"
- + "/*}/flows\332A\006parent\022\257\001\n\007GetFlow\0222.google."
- + "cloud.dialogflow.cx.v3beta1.GetFlowReque"
- + "st\032(.google.cloud.dialogflow.cx.v3beta1."
- + "Flow\"F\202\323\344\223\0029\0227/v3beta1/{name=projects/*/"
- + "locations/*/agents/*/flows/*}\332A\004name\022\314\001\n"
- + "\nUpdateFlow\0225.google.cloud.dialogflow.cx"
- + ".v3beta1.UpdateFlowRequest\032(.google.clou"
- + "d.dialogflow.cx.v3beta1.Flow\"]\202\323\344\223\002D2
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Form}
@@ -305,6 +304,21 @@ public interface ParameterOrBuilder
* .google.protobuf.Value default_value = 9;
*/
com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * name in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 11;
+ *
+ * @return The redact.
+ */
+ boolean getRedact();
}
/**
*
@@ -414,6 +428,11 @@ private Parameter(
defaultValue_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 88:
+ {
+ redact_ = input.readBool();
break;
}
default:
@@ -2899,6 +2918,26 @@ public com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder() {
return getDefaultValue();
}
+ public static final int REDACT_FIELD_NUMBER = 11;
+ private boolean redact_;
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * name in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 11;
+ *
+ * @return The redact.
+ */
+ @java.lang.Override
+ public boolean getRedact() {
+ return redact_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -2931,6 +2970,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (defaultValue_ != null) {
output.writeMessage(9, getDefaultValue());
}
+ if (redact_ != false) {
+ output.writeBool(11, redact_);
+ }
unknownFields.writeTo(output);
}
@@ -2958,6 +3000,9 @@ public int getSerializedSize() {
if (defaultValue_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDefaultValue());
}
+ if (redact_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, redact_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2986,6 +3031,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasDefaultValue()) {
if (!getDefaultValue().equals(other.getDefaultValue())) return false;
}
+ if (getRedact() != other.getRedact()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -3013,6 +3059,8 @@ public int hashCode() {
hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultValue().hashCode();
}
+ hash = (37 * hash) + REDACT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRedact());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -3181,6 +3229,8 @@ public Builder clear() {
defaultValue_ = null;
defaultValueBuilder_ = null;
}
+ redact_ = false;
+
return this;
}
@@ -3222,6 +3272,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter buildPartial() {
} else {
result.defaultValue_ = defaultValueBuilder_.build();
}
+ result.redact_ = redact_;
onBuilt();
return result;
}
@@ -3294,6 +3345,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Form.Parameter o
if (other.hasDefaultValue()) {
mergeDefaultValue(other.getDefaultValue());
}
+ if (other.getRedact() != false) {
+ setRedact(other.getRedact());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -4090,6 +4144,64 @@ public com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder() {
return defaultValueBuilder_;
}
+ private boolean redact_;
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * name in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 11;
+ *
+ * @return The redact.
+ */
+ @java.lang.Override
+ public boolean getRedact() {
+ return redact_;
+ }
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * name in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 11;
+ *
+ * @param value The redact to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRedact(boolean value) {
+
+ redact_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * name in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 11;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRedact() {
+
+ redact_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4380,9 +4492,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* A form is a data model that groups related parameters that can be collected
* from the user. The process in which the agent prompts the user and collects
* parameter values from the user is called form filling. A form can be added to
- * a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done,
- * the filled parameters will be written to the
- * [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done, the filled parameters will be
+ * written to the [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Form}
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/GetEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java
index 68ed1a7d1..cfe896b79 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetEntityTypeRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
+ * The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetEntityTypeRequest}
@@ -417,8 +416,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
+ * The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetEntityTypeRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java
index c6a71b34c..c2595d2ff 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetFlowRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The response message for
- * [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
+ * The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetFlowRequest}
@@ -415,8 +414,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response message for
- * [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
+ * The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetFlowRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java
index 22c6265fa..c061e15f8 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetPageRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
+ * The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetPageRequest}
@@ -423,8 +422,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
+ * The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3beta1.Pages.GetPage].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetPageRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java
index 23a944d76..6fd72da3a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetSessionEntityTypeRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
+ * The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetSessionEntityTypeRequest}
@@ -342,8 +341,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
+ * The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetSessionEntityTypeRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java
index 1a784451b..fad0e1648 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetWebhookRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
+ * The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetWebhookRequest}
@@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
+ * The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetWebhookRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java
new file mode 100644
index 000000000..95cb2f98d
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponse.java
@@ -0,0 +1,644 @@
+/*
+ * Copyright 2020 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.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dialogflow/cx/v3beta1/agent.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse}
+ */
+public final class ImportAgentResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse)
+ ImportAgentResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ImportAgentResponse.newBuilder() to construct.
+ private ImportAgentResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ImportAgentResponse() {
+ agent_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ImportAgentResponse();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ImportAgentResponse(
+ 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();
+
+ agent_ = s;
+ 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.AgentProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AgentProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.Builder.class);
+ }
+
+ public static final int AGENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object agent_;
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The agent.
+ */
+ @java.lang.Override
+ public java.lang.String getAgent() {
+ java.lang.Object ref = agent_;
+ 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();
+ agent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for agent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAgentBytes() {
+ java.lang.Object ref = agent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ agent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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 (!getAgentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agent_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getAgentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agent_);
+ }
+ 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.ImportAgentResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse other =
+ (com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) obj;
+
+ if (!getAgent().equals(other.getAgent())) 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) + AGENT_FIELD_NUMBER;
+ hash = (53 * hash) + getAgent().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.ImportAgentResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.ImportAgentResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse 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.ImportAgentResponse 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.ImportAgentResponse 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.ImportAgentResponse 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.ImportAgentResponse 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.ImportAgentResponse 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.ImportAgentResponse 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.ImportAgentResponse 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;
+ }
+ /**
+ *
+ *
+ *
+ * The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse)
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponseOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AgentProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AgentProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.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();
+ agent_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AgentProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ImportAgentResponse_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse build() {
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse result =
+ new com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse(this);
+ result.agent_ = agent_;
+ 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.ImportAgentResponse) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse other) {
+ if (other == com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse.getDefaultInstance())
+ return this;
+ if (!other.getAgent().isEmpty()) {
+ agent_ = other.agent_;
+ onChanged();
+ }
+ 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.ImportAgentResponse parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object agent_ = "";
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The agent.
+ */
+ public java.lang.String getAgent() {
+ java.lang.Object ref = agent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ agent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for agent.
+ */
+ public com.google.protobuf.ByteString getAgentBytes() {
+ java.lang.Object ref = agent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ agent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The agent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAgent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ agent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAgent() {
+
+ agent_ = getDefaultInstance().getAgent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes for agent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAgentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ agent_ = value;
+ onChanged();
+ return this;
+ }
+
+ @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.ImportAgentResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ImportAgentResponse parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ImportAgentResponse(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.ImportAgentResponse getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java
new file mode 100644
index 000000000..b9612cc5c
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ImportAgentResponseOrBuilder.java
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2020 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.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dialogflow/cx/v3beta1/agent.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+public interface ImportAgentResponseOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ImportAgentResponse)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The agent.
+ */
+ java.lang.String getAgent();
+ /**
+ *
+ *
+ *
+ * The unique identifier of the new agent.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+ *
+ *
+ * string agent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for agent.
+ */
+ com.google.protobuf.ByteString getAgentBytes();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java
index 7214be0ed..40c7cb901 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfig.java
@@ -227,12 +227,10 @@ public int getSampleRateHertz() {
*
*
*
- * Optional. If `true`, Dialogflow returns
- * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
- * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
- * with information about the recognized speech words, e.g. start and end time
- * offsets. If false or unspecified, Speech doesn't return any word-level
- * information.
+ * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+ * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech
+ * words, e.g. start and end time offsets. If false or unspecified, Speech
+ * doesn't return any word-level information.
*
*
* bool enable_word_info = 13;
@@ -396,8 +394,7 @@ public com.google.protobuf.ByteString getModelBytes() {
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -412,8 +409,7 @@ public int getModelVariantValue() {
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -1067,12 +1063,10 @@ public Builder clearSampleRateHertz() {
*
*
*
- * Optional. If `true`, Dialogflow returns
- * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
- * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
- * with information about the recognized speech words, e.g. start and end time
- * offsets. If false or unspecified, Speech doesn't return any word-level
- * information.
+ * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+ * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech
+ * words, e.g. start and end time offsets. If false or unspecified, Speech
+ * doesn't return any word-level information.
*
*
* bool enable_word_info = 13;
@@ -1087,12 +1081,10 @@ public boolean getEnableWordInfo() {
*
*
*
- * Optional. If `true`, Dialogflow returns
- * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
- * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
- * with information about the recognized speech words, e.g. start and end time
- * offsets. If false or unspecified, Speech doesn't return any word-level
- * information.
+ * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+ * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech
+ * words, e.g. start and end time offsets. If false or unspecified, Speech
+ * doesn't return any word-level information.
*
*
* bool enable_word_info = 13;
@@ -1110,12 +1102,10 @@ public Builder setEnableWordInfo(boolean value) {
*
*
*
- * Optional. If `true`, Dialogflow returns
- * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
- * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
- * with information about the recognized speech words, e.g. start and end time
- * offsets. If false or unspecified, Speech doesn't return any word-level
- * information.
+ * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+ * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech
+ * words, e.g. start and end time offsets. If false or unspecified, Speech
+ * doesn't return any word-level information.
*
*
* bool enable_word_info = 13;
@@ -1494,8 +1484,7 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -1510,8 +1499,7 @@ public int getModelVariantValue() {
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -1529,8 +1517,7 @@ public Builder setModelVariantValue(int value) {
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -1550,8 +1537,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant getModelVariant
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -1573,8 +1559,7 @@ public Builder setModelVariant(
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java
index 534e4021b..c01a08850 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/InputAudioConfigOrBuilder.java
@@ -73,12 +73,10 @@ public interface InputAudioConfigOrBuilder
*
*
*
- * Optional. If `true`, Dialogflow returns
- * [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
- * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
- * with information about the recognized speech words, e.g. start and end time
- * offsets. If false or unspecified, Speech doesn't return any word-level
- * information.
+ * Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+ * [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech
+ * words, e.g. start and end time offsets. If false or unspecified, Speech
+ * doesn't return any word-level information.
*
*
* bool enable_word_info = 13;
@@ -203,8 +201,7 @@ public interface InputAudioConfigOrBuilder
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
@@ -216,8 +213,7 @@ public interface InputAudioConfigOrBuilder
*
*
*
- * Optional. Which variant of the [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SpeechModelVariant model_variant = 10;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
index 8ae7089aa..551964f1f 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
@@ -2875,6 +2875,21 @@ public interface ParameterOrBuilder
* @return The isList.
*/
boolean getIsList();
+
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * id in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 4;
+ *
+ * @return The redact.
+ */
+ boolean getRedact();
}
/**
*
@@ -2948,6 +2963,11 @@ private Parameter(
isList_ = input.readBool();
break;
}
+ case 32:
+ {
+ redact_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -3116,6 +3136,26 @@ public boolean getIsList() {
return isList_;
}
+ public static final int REDACT_FIELD_NUMBER = 4;
+ private boolean redact_;
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * id in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 4;
+ *
+ * @return The redact.
+ */
+ @java.lang.Override
+ public boolean getRedact() {
+ return redact_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -3139,6 +3179,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (isList_ != false) {
output.writeBool(3, isList_);
}
+ if (redact_ != false) {
+ output.writeBool(4, redact_);
+ }
unknownFields.writeTo(output);
}
@@ -3157,6 +3200,9 @@ public int getSerializedSize() {
if (isList_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isList_);
}
+ if (redact_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, redact_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -3176,6 +3222,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getId().equals(other.getId())) return false;
if (!getEntityType().equals(other.getEntityType())) return false;
if (getIsList() != other.getIsList()) return false;
+ if (getRedact() != other.getRedact()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -3193,6 +3240,8 @@ public int hashCode() {
hash = (53 * hash) + getEntityType().hashCode();
hash = (37 * hash) + IS_LIST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsList());
+ hash = (37 * hash) + REDACT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRedact());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -3347,6 +3396,8 @@ public Builder clear() {
isList_ = false;
+ redact_ = false;
+
return this;
}
@@ -3377,6 +3428,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.Intent.Parameter buildPartial() {
result.id_ = id_;
result.entityType_ = entityType_;
result.isList_ = isList_;
+ result.redact_ = redact_;
onBuilt();
return result;
}
@@ -3440,6 +3492,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Intent.Parameter
if (other.getIsList() != false) {
setIsList(other.getIsList());
}
+ if (other.getRedact() != false) {
+ setRedact(other.getRedact());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -3779,6 +3834,64 @@ public Builder clearIsList() {
return this;
}
+ private boolean redact_;
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * id in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 4;
+ *
+ * @return The redact.
+ */
+ @java.lang.Override
+ public boolean getRedact() {
+ return redact_;
+ }
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * id in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 4;
+ *
+ * @param value The redact to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRedact(boolean value) {
+
+ redact_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Indicates whether the parameter content is logged in text and audio. If
+ * it is set to true, the parameter content will be replaced to parameter
+ * id in both request and response. The default value is false.
+ *
+ *
+ * bool redact = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRedact() {
+
+ redact_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java
index 9376c6e21..693913e26 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentProto.java
@@ -82,7 +82,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "gle/api/client.proto\032\037google/api/field_b"
+ "ehavior.proto\032\031google/api/resource.proto"
+ "\032\033google/protobuf/empty.proto\032 google/pr"
- + "otobuf/field_mask.proto\"\223\005\n\006Intent\022\014\n\004na"
+ + "otobuf/field_mask.proto\"\244\005\n\006Intent\022\014\n\004na"
+ "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022S\n\020t"
+ "raining_phrases\030\003 \003(\01329.google.cloud.dia"
+ "logflow.cx.v3beta1.Intent.TrainingPhrase"
@@ -93,68 +93,69 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ">.google.cloud.dialogflow.cx.v3beta1.Int"
+ "ent.TrainingPhrase.PartB\003\340A\002\022\024\n\014repeat_c"
+ "ount\030\003 \001(\005\032/\n\004Part\022\021\n\004text\030\001 \001(\tB\003\340A\002\022\024\n"
- + "\014parameter_id\030\002 \001(\t\032p\n\tParameter\022\017\n\002id\030\001"
- + " \001(\tB\003\340A\002\022A\n\013entity_type\030\002 \001(\tB,\340A\002\372A&\n$"
- + "dialogflow.googleapis.com/EntityType\022\017\n\007"
- + "is_list\030\003 \001(\010:n\352Ak\n dialogflow.googleapi"
- + "s.com/Intent\022Gprojects/{project}/locatio"
- + "ns/{location}/agents/{agent}/intents/{in"
- + "tent}\"\321\001\n\022ListIntentsRequest\0228\n\006parent\030\001"
- + " \001(\tB(\340A\002\372A\"\022 dialogflow.googleapis.com/"
- + "Intent\022\025\n\rlanguage_code\030\002 \001(\t\022C\n\013intent_"
- + "view\030\005 \001(\0162..google.cloud.dialogflow.cx."
- + "v3beta1.IntentView\022\021\n\tpage_size\030\003 \001(\005\022\022\n"
- + "\npage_token\030\004 \001(\t\"k\n\023ListIntentsResponse"
- + "\022;\n\007intents\030\001 \003(\0132*.google.cloud.dialogf"
- + "low.cx.v3beta1.Intent\022\027\n\017next_page_token"
- + "\030\002 \001(\t\"a\n\020GetIntentRequest\0226\n\004name\030\001 \001(\t"
- + "B(\340A\002\372A\"\n dialogflow.googleapis.com/Inte"
- + "nt\022\025\n\rlanguage_code\030\002 \001(\t\"\247\001\n\023CreateInte"
- + "ntRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 dialo"
- + "gflow.googleapis.com/Intent\022?\n\006intent\030\002 "
- + "\001(\0132*.google.cloud.dialogflow.cx.v3beta1"
- + ".IntentB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"\236\001\n\023"
- + "UpdateIntentRequest\022?\n\006intent\030\001 \001(\0132*.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.IntentB"
- + "\003\340A\002\022\025\n\rlanguage_code\030\002 \001(\t\022/\n\013update_ma"
- + "sk\030\003 \001(\0132\032.google.protobuf.FieldMask\"M\n\023"
- + "DeleteIntentRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A"
- + "\"\n dialogflow.googleapis.com/Intent*X\n\nI"
- + "ntentView\022\033\n\027INTENT_VIEW_UNSPECIFIED\020\000\022\027"
- + "\n\023INTENT_VIEW_PARTIAL\020\001\022\024\n\020INTENT_VIEW_F"
- + "ULL\020\0022\344\010\n\007Intents\022\312\001\n\013ListIntents\0226.goog"
- + "le.cloud.dialogflow.cx.v3beta1.ListInten"
- + "tsRequest\0327.google.cloud.dialogflow.cx.v"
- + "3beta1.ListIntentsResponse\"J\202\323\344\223\002;\0229/v3b"
- + "eta1/{parent=projects/*/locations/*/agen"
- + "ts/*}/intents\332A\006parent\022\267\001\n\tGetIntent\0224.g"
- + "oogle.cloud.dialogflow.cx.v3beta1.GetInt"
- + "entRequest\032*.google.cloud.dialogflow.cx."
- + "v3beta1.Intent\"H\202\323\344\223\002;\0229/v3beta1/{name=p"
- + "rojects/*/locations/*/agents/*/intents/*"
- + "}\332A\004name\022\316\001\n\014CreateIntent\0227.google.cloud"
- + ".dialogflow.cx.v3beta1.CreateIntentReque"
- + "st\032*.google.cloud.dialogflow.cx.v3beta1."
- + "Intent\"Y\202\323\344\223\002C\"9/v3beta1/{parent=project"
- + "s/*/locations/*/agents/*}/intents:\006inten"
- + "t\332A\rparent,intent\022\332\001\n\014UpdateIntent\0227.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.UpdateIn"
- + "tentRequest\032*.google.cloud.dialogflow.cx"
- + ".v3beta1.Intent\"e\202\323\344\223\002J2@/v3beta1/{inten"
- + "t.name=projects/*/locations/*/agents/*/i"
- + "ntents/*}:\006intent\332A\022intent,update_mask\022\251"
- + "\001\n\014DeleteIntent\0227.google.cloud.dialogflo"
- + "w.cx.v3beta1.DeleteIntentRequest\032\026.googl"
- + "e.protobuf.Empty\"H\202\323\344\223\002;*9/v3beta1/{name"
- + "=projects/*/locations/*/agents/*/intents"
- + "/*}\332A\004name\032x\312A\031dialogflow.googleapis.com"
- + "\322AYhttps://www.googleapis.com/auth/cloud"
- + "-platform,https://www.googleapis.com/aut"
- + "h/dialogflowB\252\001\n&com.google.cloud.dialog"
- + "flow.cx.v3beta1B\013IntentProtoP\001ZDgoogle.g"
- + "olang.org/genproto/googleapis/cloud/dial"
- + "ogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cl"
- + "oud.Dialogflow.Cx.V3Beta1b\006proto3"
+ + "\014parameter_id\030\002 \001(\t\032\200\001\n\tParameter\022\017\n\002id\030"
+ + "\001 \001(\tB\003\340A\002\022A\n\013entity_type\030\002 \001(\tB,\340A\002\372A&\n"
+ + "$dialogflow.googleapis.com/EntityType\022\017\n"
+ + "\007is_list\030\003 \001(\010\022\016\n\006redact\030\004 \001(\010:n\352Ak\n dia"
+ + "logflow.googleapis.com/Intent\022Gprojects/"
+ + "{project}/locations/{location}/agents/{a"
+ + "gent}/intents/{intent}\"\321\001\n\022ListIntentsRe"
+ + "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 dialogflo"
+ + "w.googleapis.com/Intent\022\025\n\rlanguage_code"
+ + "\030\002 \001(\t\022C\n\013intent_view\030\005 \001(\0162..google.clo"
+ + "ud.dialogflow.cx.v3beta1.IntentView\022\021\n\tp"
+ + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"k\n\023Li"
+ + "stIntentsResponse\022;\n\007intents\030\001 \003(\0132*.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.Intent\022\027"
+ + "\n\017next_page_token\030\002 \001(\t\"a\n\020GetIntentRequ"
+ + "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.go"
+ + "ogleapis.com/Intent\022\025\n\rlanguage_code\030\002 \001"
+ + "(\t\"\247\001\n\023CreateIntentRequest\0228\n\006parent\030\001 \001"
+ + "(\tB(\340A\002\372A\"\022 dialogflow.googleapis.com/In"
+ + "tent\022?\n\006intent\030\002 \001(\0132*.google.cloud.dial"
+ + "ogflow.cx.v3beta1.IntentB\003\340A\002\022\025\n\rlanguag"
+ + "e_code\030\003 \001(\t\"\236\001\n\023UpdateIntentRequest\022?\n\006"
+ + "intent\030\001 \001(\0132*.google.cloud.dialogflow.c"
+ + "x.v3beta1.IntentB\003\340A\002\022\025\n\rlanguage_code\030\002"
+ + " \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.proto"
+ + "buf.FieldMask\"M\n\023DeleteIntentRequest\0226\n\004"
+ + "name\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.googleapi"
+ + "s.com/Intent*X\n\nIntentView\022\033\n\027INTENT_VIE"
+ + "W_UNSPECIFIED\020\000\022\027\n\023INTENT_VIEW_PARTIAL\020\001"
+ + "\022\024\n\020INTENT_VIEW_FULL\020\0022\344\010\n\007Intents\022\312\001\n\013L"
+ + "istIntents\0226.google.cloud.dialogflow.cx."
+ + "v3beta1.ListIntentsRequest\0327.google.clou"
+ + "d.dialogflow.cx.v3beta1.ListIntentsRespo"
+ + "nse\"J\202\323\344\223\002;\0229/v3beta1/{parent=projects/*"
+ + "/locations/*/agents/*}/intents\332A\006parent\022"
+ + "\267\001\n\tGetIntent\0224.google.cloud.dialogflow."
+ + "cx.v3beta1.GetIntentRequest\032*.google.clo"
+ + "ud.dialogflow.cx.v3beta1.Intent\"H\202\323\344\223\002;\022"
+ + "9/v3beta1/{name=projects/*/locations/*/a"
+ + "gents/*/intents/*}\332A\004name\022\316\001\n\014CreateInte"
+ + "nt\0227.google.cloud.dialogflow.cx.v3beta1."
+ + "CreateIntentRequest\032*.google.cloud.dialo"
+ + "gflow.cx.v3beta1.Intent\"Y\202\323\344\223\002C\"9/v3beta"
+ + "1/{parent=projects/*/locations/*/agents/"
+ + "*}/intents:\006intent\332A\rparent,intent\022\332\001\n\014U"
+ + "pdateIntent\0227.google.cloud.dialogflow.cx"
+ + ".v3beta1.UpdateIntentRequest\032*.google.cl"
+ + "oud.dialogflow.cx.v3beta1.Intent\"e\202\323\344\223\002J"
+ + "2@/v3beta1/{intent.name=projects/*/locat"
+ + "ions/*/agents/*/intents/*}:\006intent\332A\022int"
+ + "ent,update_mask\022\251\001\n\014DeleteIntent\0227.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.DeleteInte"
+ + "ntRequest\032\026.google.protobuf.Empty\"H\202\323\344\223\002"
+ + ";*9/v3beta1/{name=projects/*/locations/*"
+ + "/agents/*/intents/*}\332A\004name\032x\312A\031dialogfl"
+ + "ow.googleapis.com\322AYhttps://www.googleap"
+ + "is.com/auth/cloud-platform,https://www.g"
+ + "oogleapis.com/auth/dialogflowB\252\001\n&com.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1B\013Intent"
+ + "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"
+ + "a1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -203,7 +204,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Intent_Parameter_descriptor,
new java.lang.String[] {
- "Id", "EntityType", "IsList",
+ "Id", "EntityType", "IsList", "Redact",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ListIntentsRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java
index 9d3d60fbe..6e975123a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+ * The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesRequest}
@@ -514,8 +513,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+ * The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java
index 247c41109..d2145c7e0 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListEntityTypesResponse.java
@@ -22,8 +22,7 @@
*
*
*
- * The response message for
- * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+ * The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesResponse}
@@ -431,8 +430,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response message for
- * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+ * The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListEntityTypesResponse}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java
index bd0b5979e..4b88dfbdb 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+ * The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest}
@@ -512,8 +511,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+ * The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java
index fc28db242..e9c3879e1 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListFlowsResponse.java
@@ -22,8 +22,7 @@
*
*
*
- * The response message for
- * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+ * The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse}
@@ -428,8 +427,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response message for
- * [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+ * The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java
index 0c926d5e5..699bbd7d5 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+ * The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesRequest}
@@ -522,8 +521,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+ * The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java
index 7fa22566e..3f7469217 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListPagesResponse.java
@@ -22,8 +22,7 @@
*
*
*
- * The response message for
- * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+ * The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesResponse}
@@ -428,8 +427,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response message for
- * [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+ * The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListPagesResponse}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java
index 1677f176b..242c4e85e 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+ * The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesRequest}
@@ -439,8 +438,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+ * The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java
index c96a6ac86..8ca058dab 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListSessionEntityTypesResponse.java
@@ -22,8 +22,7 @@
*
*
*
- * The response message for
- * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+ * The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesResponse}
@@ -442,8 +441,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response message for
- * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+ * The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesResponse}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java
index 0dde3d739..1433052f8 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+ * The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksRequest}
@@ -430,8 +429,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+ * The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java
index de3e31a13..cc964672d 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListWebhooksResponse.java
@@ -22,8 +22,7 @@
*
*
*
- * The response message for
- * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+ * The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse}
@@ -429,8 +428,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response message for
- * [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
+ * The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse}
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 53ad1eed9..6b8650c66 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
@@ -384,10 +384,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;
@@ -402,10 +401,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;
@@ -422,10 +420,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;
@@ -1048,10 +1045,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;
@@ -1065,10 +1061,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;
@@ -1088,10 +1083,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;
@@ -1113,10 +1107,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;
@@ -1136,10 +1129,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;
@@ -1165,10 +1157,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;
@@ -1188,10 +1179,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;
@@ -1205,10 +1195,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;
@@ -1226,10 +1215,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/MatchIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java
index a4a648bef..e1bee4170 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequest.java
@@ -160,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -193,6 +195,8 @@ public java.lang.String getSession() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -705,6 +709,8 @@ public Builder mergeFrom(
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -737,6 +743,8 @@ public java.lang.String getSession() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -769,6 +777,8 @@ public com.google.protobuf.ByteString getSessionBytes() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -800,6 +810,8 @@ public Builder setSession(java.lang.String value) {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -827,6 +839,8 @@ public Builder clearSession() {
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java
index ec01ba02f..73c58e6cf 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/MatchIntentRequestOrBuilder.java
@@ -36,6 +36,8 @@ public interface MatchIntentRequestOrBuilder
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
@@ -58,6 +60,8 @@ public interface MatchIntentRequestOrBuilder
* It's up to the API caller to choose an appropriate `Session ID`. It can be
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
*
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 8ba5f7b0b..eff2f11d5 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
@@ -117,6 +117,13 @@ private MatchIntentResponse(
currentPage_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 50:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ queryCase_ = 6;
+ query_ = s;
break;
}
default:
@@ -166,6 +173,7 @@ public enum QueryCase
TEXT(1),
TRIGGER_INTENT(2),
TRANSCRIPT(3),
+ TRIGGER_EVENT(6),
QUERY_NOT_SET(0);
private final int value;
@@ -190,6 +198,8 @@ public static QueryCase forNumber(int value) {
return TRIGGER_INTENT;
case 3:
return TRANSCRIPT;
+ case 6:
+ return TRIGGER_EVENT;
case 0:
return QUERY_NOT_SET;
default:
@@ -211,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;
@@ -239,8 +249,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;
@@ -269,9 +279,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -298,9 +307,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -329,9 +337,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -358,9 +365,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -384,6 +390,64 @@ public com.google.protobuf.ByteString getTranscriptBytes() {
}
}
+ public static final int TRIGGER_EVENT_FIELD_NUMBER = 6;
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @return The triggerEvent.
+ */
+ public java.lang.String getTriggerEvent() {
+ java.lang.Object ref = "";
+ if (queryCase_ == 6) {
+ ref = query_;
+ }
+ 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();
+ if (queryCase_ == 6) {
+ query_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @return The bytes for triggerEvent.
+ */
+ public com.google.protobuf.ByteString getTriggerEventBytes() {
+ java.lang.Object ref = "";
+ if (queryCase_ == 6) {
+ ref = query_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (queryCase_ == 6) {
+ query_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int MATCHES_FIELD_NUMBER = 4;
private java.util.List matches_;
/**
@@ -464,9 +528,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;
@@ -481,9 +544,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;
@@ -500,9 +562,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;
@@ -541,6 +602,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (currentPage_ != null) {
output.writeMessage(5, getCurrentPage());
}
+ if (queryCase_ == 6) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, query_);
+ }
unknownFields.writeTo(output);
}
@@ -565,6 +629,9 @@ public int getSerializedSize() {
if (currentPage_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCurrentPage());
}
+ if (queryCase_ == 6) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, query_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -597,6 +664,9 @@ public boolean equals(final java.lang.Object obj) {
case 3:
if (!getTranscript().equals(other.getTranscript())) return false;
break;
+ case 6:
+ if (!getTriggerEvent().equals(other.getTriggerEvent())) return false;
+ break;
case 0:
default:
}
@@ -632,6 +702,10 @@ public int hashCode() {
hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER;
hash = (53 * hash) + getTranscript().hashCode();
break;
+ case 6:
+ hash = (37 * hash) + TRIGGER_EVENT_FIELD_NUMBER;
+ hash = (53 * hash) + getTriggerEvent().hashCode();
+ break;
case 0:
default:
}
@@ -834,6 +908,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse buildPartial()
if (queryCase_ == 3) {
result.query_ = query_;
}
+ if (queryCase_ == 6) {
+ result.query_ = query_;
+ }
if (matchesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
matches_ = java.util.Collections.unmodifiableList(matches_);
@@ -951,6 +1028,13 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.MatchIntentRespo
onChanged();
break;
}
+ case TRIGGER_EVENT:
+ {
+ queryCase_ = 6;
+ query_ = other.query_;
+ onChanged();
+ break;
+ }
case QUERY_NOT_SET:
{
break;
@@ -1006,8 +1090,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;
@@ -1035,8 +1119,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;
@@ -1064,8 +1148,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;
@@ -1086,8 +1170,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;
@@ -1106,8 +1190,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;
@@ -1130,9 +1214,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -1160,9 +1243,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -1190,9 +1272,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -1213,9 +1294,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -1234,9 +1314,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -1259,9 +1338,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -1289,9 +1367,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -1319,9 +1396,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -1342,9 +1418,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -1363,9 +1438,8 @@ public Builder clearTranscript() {
*
*
*
- * If [natural language speech
- * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- * input, this field will contain the trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -1384,6 +1458,130 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) {
return this;
}
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @return The triggerEvent.
+ */
+ @java.lang.Override
+ public java.lang.String getTriggerEvent() {
+ java.lang.Object ref = "";
+ if (queryCase_ == 6) {
+ ref = query_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (queryCase_ == 6) {
+ query_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @return The bytes for triggerEvent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getTriggerEventBytes() {
+ java.lang.Object ref = "";
+ if (queryCase_ == 6) {
+ ref = query_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (queryCase_ == 6) {
+ query_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @param value The triggerEvent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTriggerEvent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ queryCase_ = 6;
+ query_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTriggerEvent() {
+ if (queryCase_ == 6) {
+ queryCase_ = 0;
+ query_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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;
+ *
+ * @param value The bytes for triggerEvent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTriggerEventBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ queryCase_ = 6;
+ query_ = value;
+ onChanged();
+ return this;
+ }
+
private java.util.List matches_ =
java.util.Collections.emptyList();
@@ -1762,9 +1960,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;
@@ -1778,9 +1975,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;
@@ -1800,9 +1996,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;
@@ -1824,9 +2019,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;
@@ -1846,9 +2040,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;
@@ -1874,9 +2067,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;
@@ -1896,9 +2088,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;
@@ -1912,9 +2103,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;
@@ -1932,9 +2122,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 7c381578e..189a48712 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;
@@ -54,9 +54,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -68,9 +67,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 2;
@@ -83,9 +81,8 @@ public interface MatchIntentResponseOrBuilder
*
*
*
- * If [natural language speech
- * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- * input, this field will contain the trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -97,9 +94,8 @@ public interface MatchIntentResponseOrBuilder
*
*
*
- * If [natural language speech
- * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- * input, this field will contain the trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 3;
@@ -108,6 +104,33 @@ public interface MatchIntentResponseOrBuilder
*/
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.
+ *
+ *
+ * string trigger_event = 6;
+ *
+ * @return The triggerEvent.
+ */
+ 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.
+ *
+ *
+ * string trigger_event = 6;
+ *
+ * @return The bytes for triggerEvent.
+ */
+ com.google.protobuf.ByteString getTriggerEventBytes();
+
/**
*
*
@@ -169,9 +192,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;
@@ -183,9 +205,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;
@@ -197,9 +218,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 43be1ec4d..633982743 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/NluSettings.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java
index faad46fe6..e589cdd88 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettings.java
@@ -90,11 +90,6 @@ private NluSettings(
modelTrainingMode_ = rawValue;
break;
}
- case 40:
- {
- enableSpellCorrection_ = input.readBool();
- break;
- }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -559,26 +554,6 @@ public int getModelTrainingModeValue() {
: result;
}
- public static final int ENABLE_SPELL_CORRECTION_FIELD_NUMBER = 5;
- private boolean enableSpellCorrection_;
- /**
- *
- *
- *
- * Indicates if automatic spell correction is enabled in detect intent
- * requests.
- *
- *
- * bool enable_spell_correction = 5 [deprecated = true];
- *
- * @return The enableSpellCorrection.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public boolean getEnableSpellCorrection() {
- return enableSpellCorrection_;
- }
-
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -607,9 +582,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
.getNumber()) {
output.writeEnum(4, modelTrainingMode_);
}
- if (enableSpellCorrection_ != false) {
- output.writeBool(5, enableSpellCorrection_);
- }
unknownFields.writeTo(output);
}
@@ -633,9 +605,6 @@ public int getSerializedSize() {
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, modelTrainingMode_);
}
- if (enableSpellCorrection_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableSpellCorrection_);
- }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -656,7 +625,6 @@ public boolean equals(final java.lang.Object obj) {
if (java.lang.Float.floatToIntBits(getClassificationThreshold())
!= java.lang.Float.floatToIntBits(other.getClassificationThreshold())) return false;
if (modelTrainingMode_ != other.modelTrainingMode_) return false;
- if (getEnableSpellCorrection() != other.getEnableSpellCorrection()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -674,8 +642,6 @@ public int hashCode() {
hash = (53 * hash) + java.lang.Float.floatToIntBits(getClassificationThreshold());
hash = (37 * hash) + MODEL_TRAINING_MODE_FIELD_NUMBER;
hash = (53 * hash) + modelTrainingMode_;
- hash = (37 * hash) + ENABLE_SPELL_CORRECTION_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSpellCorrection());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -827,8 +793,6 @@ public Builder clear() {
modelTrainingMode_ = 0;
- enableSpellCorrection_ = false;
-
return this;
}
@@ -859,7 +823,6 @@ public com.google.cloud.dialogflow.cx.v3beta1.NluSettings buildPartial() {
result.modelType_ = modelType_;
result.classificationThreshold_ = classificationThreshold_;
result.modelTrainingMode_ = modelTrainingMode_;
- result.enableSpellCorrection_ = enableSpellCorrection_;
onBuilt();
return result;
}
@@ -919,9 +882,6 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.NluSettings othe
if (other.modelTrainingMode_ != 0) {
setModelTrainingModeValue(other.getModelTrainingModeValue());
}
- if (other.getEnableSpellCorrection() != false) {
- setEnableSpellCorrection(other.getEnableSpellCorrection());
- }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1219,64 +1179,6 @@ public Builder clearModelTrainingMode() {
return this;
}
- private boolean enableSpellCorrection_;
- /**
- *
- *
- *
- * Indicates if automatic spell correction is enabled in detect intent
- * requests.
- *
- *
- * bool enable_spell_correction = 5 [deprecated = true];
- *
- * @return The enableSpellCorrection.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public boolean getEnableSpellCorrection() {
- return enableSpellCorrection_;
- }
- /**
- *
- *
- *
- * Indicates if automatic spell correction is enabled in detect intent
- * requests.
- *
- *
- * bool enable_spell_correction = 5 [deprecated = true];
- *
- * @param value The enableSpellCorrection to set.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated
- public Builder setEnableSpellCorrection(boolean value) {
-
- enableSpellCorrection_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- *
- * Indicates if automatic spell correction is enabled in detect intent
- * requests.
- *
- *
- * bool enable_spell_correction = 5 [deprecated = true];
- *
- * @return This builder for chaining.
- */
- @java.lang.Deprecated
- public Builder clearEnableSpellCorrection() {
-
- enableSpellCorrection_ = false;
- onChanged();
- return this;
- }
-
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java
index 108a24e7f..252b52453 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/NluSettingsOrBuilder.java
@@ -94,19 +94,4 @@ public interface NluSettingsOrBuilder
* @return The modelTrainingMode.
*/
com.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode getModelTrainingMode();
-
- /**
- *
- *
- *
- * Indicates if automatic spell correction is enabled in detect intent
- * requests.
- *
- *
- * bool enable_spell_correction = 5 [deprecated = true];
- *
- * @return The enableSpellCorrection.
- */
- @java.lang.Deprecated
- boolean getEnableSpellCorrection();
}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java
index b5ae7f2a4..4cb13bdd4 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Page.java
@@ -221,10 +221,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -251,10 +248,7 @@ public java.lang.String getName() {
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -430,10 +424,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FormOrBuilder getFormOrBuilder() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -455,10 +447,8 @@ public com.google.protobuf.ProtocolStringList getTransitionRouteGroupsList() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -480,10 +470,8 @@ public int getTransitionRouteGroupsCount() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -506,10 +494,8 @@ public java.lang.String getTransitionRouteGroups(int index) {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -542,8 +528,7 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -567,8 +552,7 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -592,8 +576,7 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -616,8 +599,7 @@ public int getTransitionRoutesCount() {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -640,8 +622,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -1283,10 +1264,7 @@ public Builder mergeFrom(
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1312,10 +1290,7 @@ public java.lang.String getName() {
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1341,10 +1316,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1369,10 +1341,7 @@ public Builder setName(java.lang.String value) {
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1393,10 +1362,7 @@ public Builder clearName() {
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -1919,10 +1885,8 @@ private void ensureTransitionRouteGroupsIsMutable() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -1945,10 +1909,8 @@ public com.google.protobuf.ProtocolStringList getTransitionRouteGroupsList() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -1971,10 +1933,8 @@ public int getTransitionRouteGroupsCount() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -1998,10 +1958,8 @@ public java.lang.String getTransitionRouteGroups(int index) {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -2025,10 +1983,8 @@ public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index) {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -2059,10 +2015,8 @@ public Builder setTransitionRouteGroups(int index, java.lang.String value) {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -2092,10 +2046,8 @@ public Builder addTransitionRouteGroups(java.lang.String value) {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -2122,10 +2074,8 @@ public Builder addAllTransitionRouteGroups(java.lang.Iterable
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -2151,10 +2101,8 @@ public Builder clearTransitionRouteGroups() {
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -2211,8 +2159,7 @@ private void ensureTransitionRoutesIsMutable() {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2239,8 +2186,7 @@ private void ensureTransitionRoutesIsMutable() {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2266,8 +2212,7 @@ public int getTransitionRoutesCount() {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2293,8 +2238,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute getTransitionRoute
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2327,8 +2271,7 @@ public Builder setTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2358,8 +2301,7 @@ public Builder setTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2392,8 +2334,7 @@ public Builder addTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2426,8 +2367,7 @@ public Builder addTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2457,8 +2397,7 @@ public Builder addTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2488,8 +2427,7 @@ public Builder addTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2520,8 +2458,7 @@ public Builder addAllTransitionRoutes(
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2550,8 +2487,7 @@ public Builder clearTransitionRoutes() {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2580,8 +2516,7 @@ public Builder removeTransitionRoutes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2604,8 +2539,7 @@ public Builder removeTransitionRoutes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2632,8 +2566,7 @@ public Builder removeTransitionRoutes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2660,8 +2593,7 @@ public Builder removeTransitionRoutes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2685,8 +2617,7 @@ public Builder removeTransitionRoutes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -2711,8 +2642,7 @@ public Builder removeTransitionRoutes(int index) {
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java
index 3d4feb37b..6283429c9 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfo.java
@@ -137,9 +137,7 @@ public interface FormInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -154,9 +152,7 @@ public interface FormInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -171,9 +167,7 @@ com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo getParame
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -187,9 +181,7 @@ com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo getParame
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -206,9 +198,7 @@ com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo getParame
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -334,9 +324,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -351,9 +339,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -369,9 +355,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
@@ -387,13 +371,10 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -408,13 +389,10 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -431,9 +409,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -447,9 +423,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -463,9 +437,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -478,10 +450,7 @@ public interface ParameterInfoOrBuilder
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
@@ -816,9 +785,7 @@ private ParameterState(int value) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -844,9 +811,7 @@ public java.lang.String getDisplayName() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -875,9 +840,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
@@ -898,13 +861,10 @@ public boolean getRequired() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -922,13 +882,10 @@ public int getStateValue() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -958,9 +915,7 @@ public int getStateValue() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -977,9 +932,7 @@ public boolean hasValue() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -996,9 +949,7 @@ public com.google.protobuf.Value getValue() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1016,10 +967,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
@@ -1461,9 +1409,7 @@ public Builder mergeFrom(
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -1488,9 +1434,7 @@ public java.lang.String getDisplayName() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -1515,9 +1459,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -1541,9 +1483,7 @@ public Builder setDisplayName(java.lang.String value) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -1563,9 +1503,7 @@ public Builder clearDisplayName() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
@@ -1592,9 +1530,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
@@ -1612,9 +1548,7 @@ public boolean getRequired() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
@@ -1635,9 +1569,7 @@ public Builder setRequired(boolean value) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
@@ -1659,13 +1591,10 @@ public Builder clearRequired() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -1683,13 +1612,10 @@ public int getStateValue() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -1710,13 +1636,10 @@ public Builder setStateValue(int value) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -1743,13 +1666,10 @@ public Builder setStateValue(int value) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -1775,13 +1695,10 @@ public Builder setState(
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Required for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
- * The state of the parameter. This field can be set to
- * [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
- * by the webhook to invalidate the parameter; other values set by the
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Required for
+ * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The state of the parameter. This field can be set
+ * to [INVALID][google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
+ * the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
@@ -1808,9 +1725,7 @@ public Builder clearState() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1826,9 +1741,7 @@ public boolean hasValue() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1848,9 +1761,7 @@ public com.google.protobuf.Value getValue() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1874,9 +1785,7 @@ public Builder setValue(com.google.protobuf.Value value) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1897,9 +1806,7 @@ public Builder setValue(com.google.protobuf.Value.Builder builderForValue) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1924,9 +1831,7 @@ public Builder mergeValue(com.google.protobuf.Value value) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1948,9 +1853,7 @@ public Builder clearValue() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1966,9 +1869,7 @@ public com.google.protobuf.Value.Builder getValueBuilder() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -1986,9 +1887,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
@@ -2017,10 +1916,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
@@ -2037,10 +1933,7 @@ public boolean getJustCollected() {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
@@ -2060,10 +1953,7 @@ public Builder setJustCollected(boolean value) {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
@@ -2142,9 +2032,7 @@ public com.google.protobuf.Parser getParserForType() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2162,9 +2050,7 @@ public com.google.protobuf.Parser getParserForType() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2184,9 +2070,7 @@ public com.google.protobuf.Parser getParserForType() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2203,9 +2087,7 @@ public int getParameterInfoCount() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2223,9 +2105,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.ParameterInfo ge
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2628,9 +2508,7 @@ private void ensureParameterInfoIsMutable() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2651,9 +2529,7 @@ private void ensureParameterInfoIsMutable() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2673,9 +2549,7 @@ public int getParameterInfoCount() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2696,9 +2570,7 @@ public int getParameterInfoCount() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2725,9 +2597,7 @@ public Builder setParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2753,9 +2623,7 @@ public Builder setParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2782,9 +2650,7 @@ public Builder addParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2811,9 +2677,7 @@ public Builder addParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2838,9 +2702,7 @@ public Builder addParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2866,9 +2728,7 @@ public Builder addParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2894,9 +2754,7 @@ public Builder addAllParameterInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2919,9 +2777,7 @@ public Builder clearParameterInfo() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2944,9 +2800,7 @@ public Builder removeParameterInfo(int index) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2963,9 +2817,7 @@ public Builder removeParameterInfo(int index) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -2986,9 +2838,7 @@ public Builder removeParameterInfo(int index) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -3011,9 +2861,7 @@ public Builder removeParameterInfo(int index) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -3033,9 +2881,7 @@ public Builder removeParameterInfo(int index) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -3056,9 +2902,7 @@ public Builder removeParameterInfo(int index) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
@@ -3151,13 +2995,10 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo getDefaultInstan
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3180,13 +3021,10 @@ public java.lang.String getCurrentPage() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3212,9 +3050,7 @@ public com.google.protobuf.ByteString getCurrentPageBytes() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3230,9 +3066,7 @@ public boolean hasFormInfo() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3250,9 +3084,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo getFormInfo() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3613,13 +3445,10 @@ public Builder mergeFrom(
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3641,13 +3470,10 @@ public java.lang.String getCurrentPage() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3669,13 +3495,10 @@ public com.google.protobuf.ByteString getCurrentPageBytes() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3696,13 +3519,10 @@ public Builder setCurrentPage(java.lang.String value) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3719,13 +3539,10 @@ public Builder clearCurrentPage() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -3754,9 +3571,7 @@ public Builder setCurrentPageBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3771,9 +3586,7 @@ public boolean hasFormInfo() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3794,9 +3607,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo getFormInfo() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3819,9 +3630,7 @@ public Builder setFormInfo(com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormI
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3842,9 +3651,7 @@ public Builder setFormInfo(
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3871,9 +3678,7 @@ public Builder mergeFormInfo(com.google.cloud.dialogflow.cx.v3beta1.PageInfo.For
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3894,9 +3699,7 @@ public Builder clearFormInfo() {
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3911,9 +3714,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.Builder getFormI
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -3933,9 +3734,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo.Builder getFormI
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java
index 17f3aaf00..a6608831f 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageInfoOrBuilder.java
@@ -27,13 +27,10 @@ public interface PageInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -45,13 +42,10 @@ public interface PageInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the current page. Format: `projects/<Project
- * ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
- * ID>`.
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the current page.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
@@ -64,9 +58,7 @@ public interface PageInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -79,9 +71,7 @@ public interface PageInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
@@ -94,9 +84,7 @@ public interface PageInfoOrBuilder
*
*
*
- * Optional for both
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
* Information about the form.
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java
index f11be7964..9ea6020db 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageOrBuilder.java
@@ -28,10 +28,7 @@ public interface PageOrBuilder
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -47,10 +44,7 @@ public interface PageOrBuilder
*
*
* The unique identifier of the page.
- * Required for the
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- * method.
- * [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ * Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
* populates the name automatically.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
@@ -164,10 +158,8 @@ public interface PageOrBuilder
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -187,10 +179,8 @@ public interface PageOrBuilder
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -210,10 +200,8 @@ public interface PageOrBuilder
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -234,10 +222,8 @@ public interface PageOrBuilder
*
*
*
- * Ordered list of
- * [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- * associated with the page. Transition route groups must be unique within a
- * page.
+ * Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ * with the page. Transition route groups must be unique within a page.
* * If multiple transition routes within a page scope refer to the same
* intent, then the precedence order is: page's transition route -> page's
* transition route group -> flow's transition routes.
@@ -266,8 +252,7 @@ public interface PageOrBuilder
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -287,8 +272,7 @@ public interface PageOrBuilder
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -308,8 +292,7 @@ public interface PageOrBuilder
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -329,8 +312,7 @@ public interface PageOrBuilder
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
@@ -351,8 +333,7 @@ public interface PageOrBuilder
* following order:
* * TransitionRoutes defined in the page with intent specified.
* * TransitionRoutes defined in the
- * [transition route
- * groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ * [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
* * TransitionRoutes defined in flow with intent specified.
* * TransitionRoutes defined in the page with only condition specified.
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java
index e8baeddf8..1866cd68a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/PageProto.java
@@ -106,86 +106,87 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Handler:u\352Ar\n\036dialogflow.googleapis.com/"
+ "Page\022Pprojects/{project}/locations/{loca"
+ "tion}/agents/{agent}/flows/{flow}/pages/"
- + "{page}\"\247\004\n\004Form\022F\n\nparameters\030\001 \003(\01322.go"
+ + "{page}\"\267\004\n\004Form\022F\n\nparameters\030\001 \003(\01322.go"
+ "ogle.cloud.dialogflow.cx.v3beta1.Form.Pa"
- + "rameter\032\326\003\n\tParameter\022\031\n\014display_name\030\001 "
+ + "rameter\032\346\003\n\tParameter\022\031\n\014display_name\030\001 "
+ "\001(\tB\003\340A\002\022\020\n\010required\030\002 \001(\010\022A\n\013entity_typ"
+ "e\030\003 \001(\tB,\340A\002\372A&\n$dialogflow.googleapis.c"
+ "om/EntityType\022\017\n\007is_list\030\004 \001(\010\022[\n\rfill_b"
+ "ehavior\030\007 \001(\0132?.google.cloud.dialogflow."
+ "cx.v3beta1.Form.Parameter.FillBehaviorB\003"
+ "\340A\002\022-\n\rdefault_value\030\t \001(\0132\026.google.prot"
- + "obuf.Value\032\273\001\n\014FillBehavior\022X\n\032initial_p"
- + "rompt_fulfillment\030\003 \001(\0132/.google.cloud.d"
- + "ialogflow.cx.v3beta1.FulfillmentB\003\340A\002\022Q\n"
- + "\027reprompt_event_handlers\030\005 \003(\01320.google."
- + "cloud.dialogflow.cx.v3beta1.EventHandler"
- + "\"\205\002\n\014EventHandler\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\022\n\005"
- + "event\030\004 \001(\tB\003\340A\002\022L\n\023trigger_fulfillment\030"
- + "\005 \001(\0132/.google.cloud.dialogflow.cx.v3bet"
- + "a1.Fulfillment\022:\n\013target_page\030\002 \001(\tB#\372A "
- + "\n\036dialogflow.googleapis.com/PageH\000\022:\n\013ta"
- + "rget_flow\030\003 \001(\tB#\372A \n\036dialogflow.googlea"
- + "pis.com/FlowH\000B\010\n\006target\"\276\002\n\017TransitionR"
- + "oute\022\021\n\004name\030\006 \001(\tB\003\340A\003\0225\n\006intent\030\001 \001(\tB"
- + "%\372A\"\n dialogflow.googleapis.com/Intent\022\021"
- + "\n\tcondition\030\002 \001(\t\022L\n\023trigger_fulfillment"
- + "\030\003 \001(\0132/.google.cloud.dialogflow.cx.v3be"
- + "ta1.Fulfillment\022:\n\013target_page\030\004 \001(\tB#\372A"
- + " \n\036dialogflow.googleapis.com/PageH\000\022:\n\013t"
- + "arget_flow\030\005 \001(\tB#\372A \n\036dialogflow.google"
- + "apis.com/FlowH\000B\010\n\006target\"\210\001\n\020ListPagesR"
- + "equest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogfl"
- + "ow.googleapis.com/Page\022\025\n\rlanguage_code\030"
- + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004"
- + " \001(\t\"e\n\021ListPagesResponse\0227\n\005pages\030\001 \003(\013"
- + "2(.google.cloud.dialogflow.cx.v3beta1.Pa"
- + "ge\022\027\n\017next_page_token\030\002 \001(\t\"]\n\016GetPageRe"
- + "quest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow."
- + "googleapis.com/Page\022\025\n\rlanguage_code\030\002 \001"
- + "(\t\"\237\001\n\021CreatePageRequest\0226\n\006parent\030\001 \001(\t"
- + "B&\340A\002\372A \022\036dialogflow.googleapis.com/Page"
- + "\022;\n\004page\030\002 \001(\0132(.google.cloud.dialogflow"
- + ".cx.v3beta1.PageB\003\340A\002\022\025\n\rlanguage_code\030\003"
- + " \001(\t\"\230\001\n\021UpdatePageRequest\022;\n\004page\030\001 \001(\013"
- + "2(.google.cloud.dialogflow.cx.v3beta1.Pa"
- + "geB\003\340A\002\022\025\n\rlanguage_code\030\002 \001(\t\022/\n\013update"
- + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\""
- + "X\n\021DeletePageRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372"
- + "A \n\036dialogflow.googleapis.com/Page\022\r\n\005fo"
- + "rce\030\002 \001(\0102\332\010\n\005Pages\022\312\001\n\tListPages\0224.goog"
- + "le.cloud.dialogflow.cx.v3beta1.ListPages"
- + "Request\0325.google.cloud.dialogflow.cx.v3b"
- + "eta1.ListPagesResponse\"P\202\323\344\223\002A\022?/v3beta1"
- + "/{parent=projects/*/locations/*/agents/*"
- + "/flows/*}/pages\332A\006parent\022\267\001\n\007GetPage\0222.g"
- + "oogle.cloud.dialogflow.cx.v3beta1.GetPag"
- + "eRequest\032(.google.cloud.dialogflow.cx.v3"
- + "beta1.Page\"N\202\323\344\223\002A\022?/v3beta1/{name=proje"
- + "cts/*/locations/*/agents/*/flows/*/pages"
- + "/*}\332A\004name\022\312\001\n\nCreatePage\0225.google.cloud"
- + ".dialogflow.cx.v3beta1.CreatePageRequest"
- + "\032(.google.cloud.dialogflow.cx.v3beta1.Pa"
- + "ge\"[\202\323\344\223\002G\"?/v3beta1/{parent=projects/*/"
- + "locations/*/agents/*/flows/*}/pages:\004pag"
- + "e\332A\013parent,page\022\324\001\n\nUpdatePage\0225.google."
- + "cloud.dialogflow.cx.v3beta1.UpdatePageRe"
- + "quest\032(.google.cloud.dialogflow.cx.v3bet"
- + "a1.Page\"e\202\323\344\223\002L2D/v3beta1/{page.name=pro"
- + "jects/*/locations/*/agents/*/flows/*/pag"
- + "es/*}:\004page\332A\020page,update_mask\022\253\001\n\nDelet"
- + "ePage\0225.google.cloud.dialogflow.cx.v3bet"
- + "a1.DeletePageRequest\032\026.google.protobuf.E"
- + "mpty\"N\202\323\344\223\002A*?/v3beta1/{name=projects/*/"
- + "locations/*/agents/*/flows/*/pages/*}\332A\004"
- + "name\032x\312A\031dialogflow.googleapis.com\322AYhtt"
- + "ps://www.googleapis.com/auth/cloud-platf"
- + "orm,https://www.googleapis.com/auth/dial"
- + "ogflowB\250\001\n&com.google.cloud.dialogflow.c"
- + "x.v3beta1B\tPageProtoP\001ZDgoogle.golang.or"
- + "g/genproto/googleapis/cloud/dialogflow/c"
- + "x/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dial"
- + "ogflow.Cx.V3Beta1b\006proto3"
+ + "obuf.Value\022\016\n\006redact\030\013 \001(\010\032\273\001\n\014FillBehav"
+ + "ior\022X\n\032initial_prompt_fulfillment\030\003 \001(\0132"
+ + "/.google.cloud.dialogflow.cx.v3beta1.Ful"
+ + "fillmentB\003\340A\002\022Q\n\027reprompt_event_handlers"
+ + "\030\005 \003(\01320.google.cloud.dialogflow.cx.v3be"
+ + "ta1.EventHandler\"\205\002\n\014EventHandler\022\021\n\004nam"
+ + "e\030\006 \001(\tB\003\340A\003\022\022\n\005event\030\004 \001(\tB\003\340A\002\022L\n\023trig"
+ + "ger_fulfillment\030\005 \001(\0132/.google.cloud.dia"
+ + "logflow.cx.v3beta1.Fulfillment\022:\n\013target"
+ + "_page\030\002 \001(\tB#\372A \n\036dialogflow.googleapis."
+ + "com/PageH\000\022:\n\013target_flow\030\003 \001(\tB#\372A \n\036di"
+ + "alogflow.googleapis.com/FlowH\000B\010\n\006target"
+ + "\"\276\002\n\017TransitionRoute\022\021\n\004name\030\006 \001(\tB\003\340A\003\022"
+ + "5\n\006intent\030\001 \001(\tB%\372A\"\n dialogflow.googlea"
+ + "pis.com/Intent\022\021\n\tcondition\030\002 \001(\t\022L\n\023tri"
+ + "gger_fulfillment\030\003 \001(\0132/.google.cloud.di"
+ + "alogflow.cx.v3beta1.Fulfillment\022:\n\013targe"
+ + "t_page\030\004 \001(\tB#\372A \n\036dialogflow.googleapis"
+ + ".com/PageH\000\022:\n\013target_flow\030\005 \001(\tB#\372A \n\036d"
+ + "ialogflow.googleapis.com/FlowH\000B\010\n\006targe"
+ + "t\"\210\001\n\020ListPagesRequest\0226\n\006parent\030\001 \001(\tB&"
+ + "\340A\002\372A \022\036dialogflow.googleapis.com/Page\022\025"
+ + "\n\rlanguage_code\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005"
+ + "\022\022\n\npage_token\030\004 \001(\t\"e\n\021ListPagesRespons"
+ + "e\0227\n\005pages\030\001 \003(\0132(.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.Page\022\027\n\017next_page_token\030\002 "
+ + "\001(\t\"]\n\016GetPageRequest\0224\n\004name\030\001 \001(\tB&\340A\002"
+ + "\372A \n\036dialogflow.googleapis.com/Page\022\025\n\rl"
+ + "anguage_code\030\002 \001(\t\"\237\001\n\021CreatePageRequest"
+ + "\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.goo"
+ + "gleapis.com/Page\022;\n\004page\030\002 \001(\0132(.google."
+ + "cloud.dialogflow.cx.v3beta1.PageB\003\340A\002\022\025\n"
+ + "\rlanguage_code\030\003 \001(\t\"\230\001\n\021UpdatePageReque"
+ + "st\022;\n\004page\030\001 \001(\0132(.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.PageB\003\340A\002\022\025\n\rlanguage_code"
+ + "\030\002 \001(\t\022/\n\013update_mask\030\003 \001(\0132\032.google.pro"
+ + "tobuf.FieldMask\"X\n\021DeletePageRequest\0224\n\004"
+ + "name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapi"
+ + "s.com/Page\022\r\n\005force\030\002 \001(\0102\332\010\n\005Pages\022\312\001\n\t"
+ + "ListPages\0224.google.cloud.dialogflow.cx.v"
+ + "3beta1.ListPagesRequest\0325.google.cloud.d"
+ + "ialogflow.cx.v3beta1.ListPagesResponse\"P"
+ + "\202\323\344\223\002A\022?/v3beta1/{parent=projects/*/loca"
+ + "tions/*/agents/*/flows/*}/pages\332A\006parent"
+ + "\022\267\001\n\007GetPage\0222.google.cloud.dialogflow.c"
+ + "x.v3beta1.GetPageRequest\032(.google.cloud."
+ + "dialogflow.cx.v3beta1.Page\"N\202\323\344\223\002A\022?/v3b"
+ + "eta1/{name=projects/*/locations/*/agents"
+ + "/*/flows/*/pages/*}\332A\004name\022\312\001\n\nCreatePag"
+ + "e\0225.google.cloud.dialogflow.cx.v3beta1.C"
+ + "reatePageRequest\032(.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.Page\"[\202\323\344\223\002G\"?/v3beta1/{pa"
+ + "rent=projects/*/locations/*/agents/*/flo"
+ + "ws/*}/pages:\004page\332A\013parent,page\022\324\001\n\nUpda"
+ + "tePage\0225.google.cloud.dialogflow.cx.v3be"
+ + "ta1.UpdatePageRequest\032(.google.cloud.dia"
+ + "logflow.cx.v3beta1.Page\"e\202\323\344\223\002L2D/v3beta"
+ + "1/{page.name=projects/*/locations/*/agen"
+ + "ts/*/flows/*/pages/*}:\004page\332A\020page,updat"
+ + "e_mask\022\253\001\n\nDeletePage\0225.google.cloud.dia"
+ + "logflow.cx.v3beta1.DeletePageRequest\032\026.g"
+ + "oogle.protobuf.Empty\"N\202\323\344\223\002A*?/v3beta1/{"
+ + "name=projects/*/locations/*/agents/*/flo"
+ + "ws/*/pages/*}\332A\004name\032x\312A\031dialogflow.goog"
+ + "leapis.com\322AYhttps://www.googleapis.com/"
+ + "auth/cloud-platform,https://www.googleap"
+ + "is.com/auth/dialogflowB\250\001\n&com.google.cl"
+ + "oud.dialogflow.cx.v3beta1B\tPageProtoP\001ZD"
+ + "google.golang.org/genproto/googleapis/cl"
+ + "oud/dialogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"G"
+ + "oogle.Cloud.Dialogflow.Cx.V3Beta1b\006proto"
+ + "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -228,7 +229,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Form_Parameter_descriptor,
new java.lang.String[] {
- "DisplayName", "Required", "EntityType", "IsList", "FillBehavior", "DefaultValue",
+ "DisplayName",
+ "Required",
+ "EntityType",
+ "IsList",
+ "FillBehavior",
+ "DefaultValue",
+ "Redact",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Form_Parameter_FillBehavior_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_Form_Parameter_descriptor
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java
index d43a1c6f8..9e5bd170a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java
@@ -132,6 +132,24 @@ private QueryInput(
inputCase_ = 5;
break;
}
+ case 50:
+ {
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder subBuilder = null;
+ if (inputCase_ == 6) {
+ subBuilder =
+ ((com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_).toBuilder();
+ }
+ input_ =
+ input.readMessage(
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_);
+ input_ = subBuilder.buildPartial();
+ }
+ inputCase_ = 6;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -176,6 +194,7 @@ public enum InputCase
TEXT(2),
INTENT(3),
AUDIO(5),
+ EVENT(6),
INPUT_NOT_SET(0);
private final int value;
@@ -200,6 +219,8 @@ public static InputCase forNumber(int value) {
return INTENT;
case 5:
return AUDIO;
+ case 6:
+ return EVENT;
case 0:
return INPUT_NOT_SET;
default:
@@ -369,6 +390,57 @@ public com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder getAudioOrBuil
return com.google.cloud.dialogflow.cx.v3beta1.AudioInput.getDefaultInstance();
}
+ public static final int EVENT_FIELD_NUMBER = 6;
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ *
+ * @return Whether the event field is set.
+ */
+ @java.lang.Override
+ public boolean hasEvent() {
+ return inputCase_ == 6;
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ *
+ * @return The event.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInput getEvent() {
+ if (inputCase_ == 6) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder() {
+ if (inputCase_ == 6) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ }
+
public static final int LANGUAGE_CODE_FIELD_NUMBER = 4;
private volatile java.lang.Object languageCode_;
/**
@@ -450,6 +522,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (inputCase_ == 5) {
output.writeMessage(5, (com.google.cloud.dialogflow.cx.v3beta1.AudioInput) input_);
}
+ if (inputCase_ == 6) {
+ output.writeMessage(6, (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_);
+ }
unknownFields.writeTo(output);
}
@@ -477,6 +552,11 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
5, (com.google.cloud.dialogflow.cx.v3beta1.AudioInput) input_);
}
+ if (inputCase_ == 6) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 6, (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -505,6 +585,9 @@ public boolean equals(final java.lang.Object obj) {
case 5:
if (!getAudio().equals(other.getAudio())) return false;
break;
+ case 6:
+ if (!getEvent().equals(other.getEvent())) return false;
+ break;
case 0:
default:
}
@@ -534,6 +617,10 @@ public int hashCode() {
hash = (37 * hash) + AUDIO_FIELD_NUMBER;
hash = (53 * hash) + getAudio().hashCode();
break;
+ case 6:
+ hash = (37 * hash) + EVENT_FIELD_NUMBER;
+ hash = (53 * hash) + getEvent().hashCode();
+ break;
case 0:
default:
}
@@ -736,6 +823,13 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryInput buildPartial() {
result.input_ = audioBuilder_.build();
}
}
+ if (inputCase_ == 6) {
+ if (eventBuilder_ == null) {
+ result.input_ = input_;
+ } else {
+ result.input_ = eventBuilder_.build();
+ }
+ }
result.languageCode_ = languageCode_;
result.inputCase_ = inputCase_;
onBuilt();
@@ -808,6 +902,11 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryInput other
mergeAudio(other.getAudio());
break;
}
+ case EVENT:
+ {
+ mergeEvent(other.getEvent());
+ break;
+ }
case INPUT_NOT_SET:
{
break;
@@ -1484,6 +1583,215 @@ public com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder getAudioOrBuil
return audioBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder>
+ eventBuilder_;
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ *
+ * @return Whether the event field is set.
+ */
+ @java.lang.Override
+ public boolean hasEvent() {
+ return inputCase_ == 6;
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ *
+ * @return The event.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInput getEvent() {
+ if (eventBuilder_ == null) {
+ if (inputCase_ == 6) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ } else {
+ if (inputCase_ == 6) {
+ return eventBuilder_.getMessage();
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ public Builder setEvent(com.google.cloud.dialogflow.cx.v3beta1.EventInput value) {
+ if (eventBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ input_ = value;
+ onChanged();
+ } else {
+ eventBuilder_.setMessage(value);
+ }
+ inputCase_ = 6;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ public Builder setEvent(
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder builderForValue) {
+ if (eventBuilder_ == null) {
+ input_ = builderForValue.build();
+ onChanged();
+ } else {
+ eventBuilder_.setMessage(builderForValue.build());
+ }
+ inputCase_ = 6;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ public Builder mergeEvent(com.google.cloud.dialogflow.cx.v3beta1.EventInput value) {
+ if (eventBuilder_ == null) {
+ if (inputCase_ == 6
+ && input_ != com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance()) {
+ input_ =
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.newBuilder(
+ (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ input_ = value;
+ }
+ onChanged();
+ } else {
+ if (inputCase_ == 6) {
+ eventBuilder_.mergeFrom(value);
+ }
+ eventBuilder_.setMessage(value);
+ }
+ inputCase_ = 6;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ public Builder clearEvent() {
+ if (eventBuilder_ == null) {
+ if (inputCase_ == 6) {
+ inputCase_ = 0;
+ input_ = null;
+ onChanged();
+ }
+ } else {
+ if (inputCase_ == 6) {
+ inputCase_ = 0;
+ input_ = null;
+ }
+ eventBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder getEventBuilder() {
+ return getEventFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder() {
+ if ((inputCase_ == 6) && (eventBuilder_ != null)) {
+ return eventBuilder_.getMessageOrBuilder();
+ } else {
+ if (inputCase_ == 6) {
+ return (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_;
+ }
+ return com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder>
+ getEventFieldBuilder() {
+ if (eventBuilder_ == null) {
+ if (!(inputCase_ == 6)) {
+ input_ = com.google.cloud.dialogflow.cx.v3beta1.EventInput.getDefaultInstance();
+ }
+ eventBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder>(
+ (com.google.cloud.dialogflow.cx.v3beta1.EventInput) input_,
+ getParentForChildren(),
+ isClean());
+ input_ = null;
+ }
+ inputCase_ = 6;
+ onChanged();
+ ;
+ return eventBuilder_;
+ }
+
private java.lang.Object languageCode_ = "";
/**
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java
index 5c7cea29a..4b79691f1 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInputOrBuilder.java
@@ -128,6 +128,41 @@ public interface QueryInputOrBuilder
*/
com.google.cloud.dialogflow.cx.v3beta1.AudioInputOrBuilder getAudioOrBuilder();
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ *
+ * @return Whether the event field is set.
+ */
+ boolean hasEvent();
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ *
+ * @return The event.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.EventInput getEvent();
+ /**
+ *
+ *
+ *
+ * The event to be triggered.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.EventInputOrBuilder getEventOrBuilder();
+
/**
*
*
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 bf08e7b37..1b53c5605 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
@@ -134,6 +134,11 @@ private QueryParameters(
parameters_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 64:
+ {
+ analyzeQueryTextSentiment_ = input.readBool();
break;
}
default:
@@ -501,6 +506,25 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
return getParameters();
}
+ public static final int ANALYZE_QUERY_TEXT_SENTIMENT_FIELD_NUMBER = 8;
+ private boolean analyzeQueryTextSentiment_;
+ /**
+ *
+ *
+ *
+ * Configures whether sentiment analysis should be performed. If not
+ * provided, sentiment analysis is not performed.
+ *
+ *
+ * bool analyze_query_text_sentiment = 8;
+ *
+ * @return The analyzeQueryTextSentiment.
+ */
+ @java.lang.Override
+ public boolean getAnalyzeQueryTextSentiment() {
+ return analyzeQueryTextSentiment_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -530,6 +554,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (parameters_ != null) {
output.writeMessage(5, getParameters());
}
+ if (analyzeQueryTextSentiment_ != false) {
+ output.writeBool(8, analyzeQueryTextSentiment_);
+ }
unknownFields.writeTo(output);
}
@@ -555,6 +582,9 @@ public int getSerializedSize() {
if (parameters_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getParameters());
}
+ if (analyzeQueryTextSentiment_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, analyzeQueryTextSentiment_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -585,6 +615,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasParameters()) {
if (!getParameters().equals(other.getParameters())) return false;
}
+ if (getAnalyzeQueryTextSentiment() != other.getAnalyzeQueryTextSentiment()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -614,6 +645,8 @@ public int hashCode() {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
}
+ hash = (37 * hash) + ANALYZE_QUERY_TEXT_SENTIMENT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAnalyzeQueryTextSentiment());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -788,6 +821,8 @@ public Builder clear() {
parameters_ = null;
parametersBuilder_ = null;
}
+ analyzeQueryTextSentiment_ = false;
+
return this;
}
@@ -841,6 +876,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryParameters buildPartial() {
} else {
result.parameters_ = parametersBuilder_.build();
}
+ result.analyzeQueryTextSentiment_ = analyzeQueryTextSentiment_;
onBuilt();
return result;
}
@@ -931,6 +967,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryParameters
if (other.hasParameters()) {
mergeParameters(other.getParameters());
}
+ if (other.getAnalyzeQueryTextSentiment() != false) {
+ setAnalyzeQueryTextSentiment(other.getAnalyzeQueryTextSentiment());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -2203,6 +2242,61 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
return parametersBuilder_;
}
+ private boolean analyzeQueryTextSentiment_;
+ /**
+ *
+ *
+ *
+ * Configures whether sentiment analysis should be performed. If not
+ * provided, sentiment analysis is not performed.
+ *
+ *
+ * bool analyze_query_text_sentiment = 8;
+ *
+ * @return The analyzeQueryTextSentiment.
+ */
+ @java.lang.Override
+ public boolean getAnalyzeQueryTextSentiment() {
+ return analyzeQueryTextSentiment_;
+ }
+ /**
+ *
+ *
+ *
+ * Configures whether sentiment analysis should be performed. If not
+ * provided, sentiment analysis is not performed.
+ *
+ *
+ * bool analyze_query_text_sentiment = 8;
+ *
+ * @param value The analyzeQueryTextSentiment to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnalyzeQueryTextSentiment(boolean value) {
+
+ analyzeQueryTextSentiment_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configures whether sentiment analysis should be performed. If not
+ * provided, sentiment analysis is not performed.
+ *
+ *
+ * bool analyze_query_text_sentiment = 8;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAnalyzeQueryTextSentiment() {
+
+ analyzeQueryTextSentiment_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
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 65deafe26..bf4c5c493 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
@@ -275,4 +275,18 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti
* .google.protobuf.Struct parameters = 5;
*/
com.google.protobuf.StructOrBuilder getParametersOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Configures whether sentiment analysis should be performed. If not
+ * provided, sentiment analysis is not performed.
+ *
+ *
+ * bool analyze_query_text_sentiment = 8;
+ *
+ * @return The analyzeQueryTextSentiment.
+ */
+ boolean getAnalyzeQueryTextSentiment();
}
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 56b95baf7..c600283ff 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
@@ -224,6 +224,24 @@ private QueryResult(
match_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 138:
+ {
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder subBuilder =
+ null;
+ if (sentimentAnalysisResult_ != null) {
+ subBuilder = sentimentAnalysisResult_.toBuilder();
+ }
+ sentimentAnalysisResult_ =
+ input.readMessage(
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(sentimentAnalysisResult_);
+ sentimentAnalysisResult_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -327,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;
@@ -355,8 +373,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;
@@ -385,9 +403,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -414,9 +431,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -445,9 +461,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -474,9 +489,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -505,8 +519,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;
@@ -533,8 +547,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;
@@ -619,8 +633,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:
@@ -647,8 +660,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:
@@ -675,8 +687,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:
@@ -859,9 +870,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.
*
*
@@ -875,9 +885,8 @@ public java.util.List getWebhookPayloadsList() {
*
*
*
- * 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.
*
*
@@ -892,9 +901,8 @@ public java.util.List getWebhookPayloadsList() {
*
*
*
- * 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.
*
*
@@ -908,9 +916,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.
*
*
@@ -924,9 +931,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.
*
*
@@ -943,9 +949,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;
@@ -960,9 +965,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;
@@ -979,9 +983,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;
@@ -997,12 +1000,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];
@@ -1018,12 +1019,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];
@@ -1041,12 +1040,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];
@@ -1069,9 +1066,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];
@@ -1186,6 +1181,68 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() {
return getDiagnosticInfo();
}
+ public static final int SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER = 17;
+ private com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentimentAnalysisResult_;
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ *
+ * @return Whether the sentimentAnalysisResult field is set.
+ */
+ @java.lang.Override
+ public boolean hasSentimentAnalysisResult() {
+ return sentimentAnalysisResult_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ *
+ * @return The sentimentAnalysisResult.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult
+ getSentimentAnalysisResult() {
+ return sentimentAnalysisResult_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance()
+ : sentimentAnalysisResult_;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder
+ getSentimentAnalysisResultOrBuilder() {
+ return getSentimentAnalysisResult();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1242,6 +1299,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (match_ != null) {
output.writeMessage(15, getMatch());
}
+ if (sentimentAnalysisResult_ != null) {
+ output.writeMessage(17, getSentimentAnalysisResult());
+ }
unknownFields.writeTo(output);
}
@@ -1293,6 +1353,11 @@ public int getSerializedSize() {
if (match_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getMatch());
}
+ if (sentimentAnalysisResult_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 17, getSentimentAnalysisResult());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1335,6 +1400,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasDiagnosticInfo()) {
if (!getDiagnosticInfo().equals(other.getDiagnosticInfo())) return false;
}
+ if (hasSentimentAnalysisResult() != other.hasSentimentAnalysisResult()) return false;
+ if (hasSentimentAnalysisResult()) {
+ if (!getSentimentAnalysisResult().equals(other.getSentimentAnalysisResult())) return false;
+ }
if (!getQueryCase().equals(other.getQueryCase())) return false;
switch (queryCase_) {
case 1:
@@ -1399,6 +1468,10 @@ public int hashCode() {
hash = (37 * hash) + DIAGNOSTIC_INFO_FIELD_NUMBER;
hash = (53 * hash) + getDiagnosticInfo().hashCode();
}
+ if (hasSentimentAnalysisResult()) {
+ hash = (37 * hash) + SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER;
+ hash = (53 * hash) + getSentimentAnalysisResult().hashCode();
+ }
switch (queryCase_) {
case 1:
hash = (37 * hash) + TEXT_FIELD_NUMBER;
@@ -1620,6 +1693,12 @@ public Builder clear() {
diagnosticInfo_ = null;
diagnosticInfoBuilder_ = null;
}
+ if (sentimentAnalysisResultBuilder_ == null) {
+ sentimentAnalysisResult_ = null;
+ } else {
+ sentimentAnalysisResult_ = null;
+ sentimentAnalysisResultBuilder_ = null;
+ }
queryCase_ = 0;
query_ = null;
return this;
@@ -1716,6 +1795,11 @@ public com.google.cloud.dialogflow.cx.v3beta1.QueryResult buildPartial() {
} else {
result.diagnosticInfo_ = diagnosticInfoBuilder_.build();
}
+ if (sentimentAnalysisResultBuilder_ == null) {
+ result.sentimentAnalysisResult_ = sentimentAnalysisResult_;
+ } else {
+ result.sentimentAnalysisResult_ = sentimentAnalysisResultBuilder_.build();
+ }
result.queryCase_ = queryCase_;
onBuilt();
return result;
@@ -1870,6 +1954,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.QueryResult othe
if (other.hasDiagnosticInfo()) {
mergeDiagnosticInfo(other.getDiagnosticInfo());
}
+ if (other.hasSentimentAnalysisResult()) {
+ mergeSentimentAnalysisResult(other.getSentimentAnalysisResult());
+ }
switch (other.getQueryCase()) {
case TEXT:
{
@@ -1954,8 +2041,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;
@@ -1983,8 +2070,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;
@@ -2012,8 +2099,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;
@@ -2034,8 +2121,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;
@@ -2054,8 +2141,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;
@@ -2078,9 +2165,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -2108,9 +2194,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -2138,9 +2223,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -2161,9 +2245,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -2182,9 +2265,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -2207,9 +2289,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -2237,9 +2318,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -2267,9 +2347,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -2290,9 +2369,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 trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -2311,9 +2389,8 @@ public Builder clearTranscript() {
*
*
*
- * If [natural language speech
- * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- * input, this field will contain the trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -2336,8 +2413,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;
@@ -2365,8 +2442,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;
@@ -2394,8 +2471,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;
@@ -2416,8 +2493,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;
@@ -2436,8 +2513,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;
@@ -2587,8 +2664,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:
@@ -2614,8 +2690,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:
@@ -2645,8 +2720,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:
@@ -2680,8 +2754,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:
@@ -2712,8 +2785,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:
@@ -2749,8 +2821,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:
@@ -2782,8 +2853,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:
@@ -2809,8 +2879,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:
@@ -2838,8 +2907,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:
@@ -3657,9 +3725,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.
*
*
@@ -3676,9 +3743,8 @@ public java.util.List getWebhookPayloadsList() {
*
*
*
- * 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.
*
*
@@ -3695,9 +3761,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.
*
*
@@ -3714,9 +3779,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.
*
*
@@ -3739,9 +3803,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.
*
*
@@ -3762,9 +3825,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.
*
*
@@ -3787,9 +3849,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.
*
*
@@ -3812,9 +3873,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.
*
*
@@ -3834,9 +3894,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.
*
*
@@ -3857,9 +3916,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.
*
*
@@ -3880,9 +3938,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.
*
*
@@ -3902,9 +3959,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.
*
*
@@ -3924,9 +3980,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.
*
*
@@ -3939,9 +3994,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.
*
*
@@ -3958,9 +4012,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.
*
*
@@ -3978,9 +4031,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.
*
*
@@ -3994,9 +4046,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.
*
*
@@ -4010,9 +4061,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.
*
*
@@ -4052,9 +4102,8 @@ public java.util.List getWebhookPayloadsBuil
*
*
*
- * 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;
@@ -4068,9 +4117,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;
@@ -4090,9 +4138,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;
@@ -4114,9 +4161,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;
@@ -4136,9 +4182,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;
@@ -4164,9 +4209,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;
@@ -4186,9 +4230,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;
@@ -4202,9 +4245,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;
@@ -4222,9 +4264,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;
@@ -4256,12 +4297,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];
@@ -4276,12 +4315,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];
@@ -4302,12 +4339,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];
@@ -4330,12 +4365,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];
@@ -4356,12 +4389,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];
@@ -4388,12 +4419,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];
@@ -4414,12 +4443,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];
@@ -4434,12 +4461,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];
@@ -4458,12 +4483,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];
@@ -4496,9 +4519,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];
@@ -4520,9 +4541,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];
@@ -4547,9 +4566,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];
@@ -4952,6 +4969,234 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() {
return diagnosticInfoBuilder_;
}
+ private com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentimentAnalysisResult_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder>
+ sentimentAnalysisResultBuilder_;
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ *
+ * @return Whether the sentimentAnalysisResult field is set.
+ */
+ public boolean hasSentimentAnalysisResult() {
+ return sentimentAnalysisResultBuilder_ != null || sentimentAnalysisResult_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ *
+ * @return The sentimentAnalysisResult.
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult
+ getSentimentAnalysisResult() {
+ if (sentimentAnalysisResultBuilder_ == null) {
+ return sentimentAnalysisResult_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance()
+ : sentimentAnalysisResult_;
+ } else {
+ return sentimentAnalysisResultBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ public Builder setSentimentAnalysisResult(
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult value) {
+ if (sentimentAnalysisResultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sentimentAnalysisResult_ = value;
+ onChanged();
+ } else {
+ sentimentAnalysisResultBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ public Builder setSentimentAnalysisResult(
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder builderForValue) {
+ if (sentimentAnalysisResultBuilder_ == null) {
+ sentimentAnalysisResult_ = builderForValue.build();
+ onChanged();
+ } else {
+ sentimentAnalysisResultBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ public Builder mergeSentimentAnalysisResult(
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult value) {
+ if (sentimentAnalysisResultBuilder_ == null) {
+ if (sentimentAnalysisResult_ != null) {
+ sentimentAnalysisResult_ =
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.newBuilder(
+ sentimentAnalysisResult_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ sentimentAnalysisResult_ = value;
+ }
+ onChanged();
+ } else {
+ sentimentAnalysisResultBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ public Builder clearSentimentAnalysisResult() {
+ if (sentimentAnalysisResultBuilder_ == null) {
+ sentimentAnalysisResult_ = null;
+ onChanged();
+ } else {
+ sentimentAnalysisResult_ = null;
+ sentimentAnalysisResultBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder
+ getSentimentAnalysisResultBuilder() {
+
+ onChanged();
+ return getSentimentAnalysisResultFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder
+ getSentimentAnalysisResultOrBuilder() {
+ if (sentimentAnalysisResultBuilder_ != null) {
+ return sentimentAnalysisResultBuilder_.getMessageOrBuilder();
+ } else {
+ return sentimentAnalysisResult_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance()
+ : sentimentAnalysisResult_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder>
+ getSentimentAnalysisResultFieldBuilder() {
+ if (sentimentAnalysisResultBuilder_ == null) {
+ sentimentAnalysisResultBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder>(
+ getSentimentAnalysisResult(), getParentForChildren(), isClean());
+ sentimentAnalysisResult_ = null;
+ }
+ return sentimentAnalysisResultBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
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 a5d685fd8..df71a6807 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;
@@ -54,9 +54,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -68,9 +67,8 @@ 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.
+ * If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ * contain a copy of the intent identifier.
*
*
* string trigger_intent = 11;
@@ -83,9 +81,8 @@ public interface QueryResultOrBuilder
*
*
*
- * If [natural language speech
- * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- * input, this field will contain the trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -97,9 +94,8 @@ public interface QueryResultOrBuilder
*
*
*
- * If [natural language speech
- * audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- * input, this field will contain the trascript for the audio.
+ * If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ * this field will contain the trascript for the audio.
*
*
* string transcript = 12;
@@ -112,8 +108,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;
@@ -125,8 +121,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;
@@ -170,8 +166,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:
@@ -195,8 +190,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:
@@ -220,8 +214,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:
@@ -363,9 +356,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.
*
*
@@ -376,9 +368,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.
*
*
@@ -389,9 +380,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.
*
*
@@ -402,9 +392,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.
*
*
@@ -415,9 +404,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.
*
*
@@ -429,9 +417,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;
@@ -443,9 +430,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;
@@ -457,9 +443,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;
@@ -470,12 +455,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];
@@ -488,12 +471,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];
@@ -506,12 +487,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];
@@ -529,9 +508,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];
@@ -617,5 +594,53 @@ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getResponseMessa
*/
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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ *
+ * @return Whether the sentimentAnalysisResult field is set.
+ */
+ 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ *
+ * @return The sentimentAnalysisResult.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult getSentimentAnalysisResult();
+ /**
+ *
+ *
+ *
+ * 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.SentimentAnalysisResult sentiment_analysis_result = 17;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder
+ getSentimentAnalysisResultOrBuilder();
+
public com.google.cloud.dialogflow.cx.v3beta1.QueryResult.QueryCase getQueryCase();
}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java
index 51000c456..64da5a812 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessage.java
@@ -347,8 +347,8 @@ public interface TextOrBuilder
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
* request.
*
*
@@ -531,8 +531,8 @@ public com.google.protobuf.ByteString getTextBytes(int index) {
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
* request.
*
*
@@ -1081,8 +1081,8 @@ public Builder addTextBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
* request.
*
*
@@ -1099,8 +1099,8 @@ public boolean getAllowPlaybackInterruption() {
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
* request.
*
*
@@ -1120,8 +1120,8 @@ public Builder setAllowPlaybackInterruption(boolean value) {
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
* request.
*
*
@@ -1242,9 +1242,7 @@ public interface LiveAgentHandoffOrBuilder
* to a human agent for measurement purposes. What else to do with this signal
* is up to you and your handoff procedures.
* You may set this, for example:
- * * In the
- * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment]
- * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
+ * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
* entering the page indicates something went extremely wrong in the
* conversation.
* * In a webhook response when you determine that the customer issue can only
@@ -1570,9 +1568,7 @@ protected Builder newBuilderForType(
* to a human agent for measurement purposes. What else to do with this signal
* is up to you and your handoff procedures.
* You may set this, for example:
- * * In the
- * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment]
- * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
+ * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
* entering the page indicates something went extremely wrong in the
* conversation.
* * In a webhook response when you determine that the customer issue can only
@@ -2049,9 +2045,7 @@ public interface ConversationSuccessOrBuilder
* conversation end page as successful even if they don't return
* [ConversationSuccess][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess].
* You may set this, for example:
- * * In the
- * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment]
- * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
+ * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
* entering the page indicates that the conversation succeeded.
* * In a webhook response when you determine that you handled the customer
* issue.
@@ -2381,9 +2375,7 @@ protected Builder newBuilderForType(
* conversation end page as successful even if they don't return
* [ConversationSuccess][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess].
* You may set this, for example:
- * * In the
- * [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment]
- * of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
+ * * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
* entering the page indicates that the conversation succeeded.
* * In a webhook response when you determine that you handled the customer
* issue.
@@ -2855,6 +2847,22 @@ public interface OutputAudioTextOrBuilder
*/
com.google.protobuf.ByteString getSsmlBytes();
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ boolean getAllowPlaybackInterruption();
+
public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText.SourceCase
getSourceCase();
}
@@ -2923,6 +2931,11 @@ private OutputAudioText(
source_ = s;
break;
}
+ case 24:
+ {
+ allowPlaybackInterruption_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -3118,6 +3131,27 @@ public com.google.protobuf.ByteString getSsmlBytes() {
}
}
+ public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3;
+ private boolean allowPlaybackInterruption_;
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ @java.lang.Override
+ public boolean getAllowPlaybackInterruption() {
+ return allowPlaybackInterruption_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -3138,6 +3172,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (sourceCase_ == 2) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_);
}
+ if (allowPlaybackInterruption_ != false) {
+ output.writeBool(3, allowPlaybackInterruption_);
+ }
unknownFields.writeTo(output);
}
@@ -3153,6 +3190,10 @@ public int getSerializedSize() {
if (sourceCase_ == 2) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_);
}
+ if (allowPlaybackInterruption_ != false) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -3170,6 +3211,7 @@ public boolean equals(final java.lang.Object obj) {
com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText other =
(com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText) obj;
+ if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false;
if (!getSourceCase().equals(other.getSourceCase())) return false;
switch (sourceCase_) {
case 1:
@@ -3192,6 +3234,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption());
switch (sourceCase_) {
case 1:
hash = (37 * hash) + TEXT_FIELD_NUMBER;
@@ -3356,6 +3400,8 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
+ allowPlaybackInterruption_ = false;
+
sourceCase_ = 0;
source_ = null;
return this;
@@ -3394,6 +3440,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText bu
if (sourceCase_ == 2) {
result.source_ = source_;
}
+ result.allowPlaybackInterruption_ = allowPlaybackInterruption_;
result.sourceCase_ = sourceCase_;
onBuilt();
return result;
@@ -3451,6 +3498,9 @@ public Builder mergeFrom(
if (other
== com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText
.getDefaultInstance()) return this;
+ if (other.getAllowPlaybackInterruption() != false) {
+ setAllowPlaybackInterruption(other.getAllowPlaybackInterruption());
+ }
switch (other.getSourceCase()) {
case TEXT:
{
@@ -3759,6 +3809,67 @@ public Builder setSsmlBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean allowPlaybackInterruption_;
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ @java.lang.Override
+ public boolean getAllowPlaybackInterruption() {
+ return allowPlaybackInterruption_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The allowPlaybackInterruption to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAllowPlaybackInterruption(boolean value) {
+
+ allowPlaybackInterruption_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAllowPlaybackInterruption() {
+
+ allowPlaybackInterruption_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4281,111 +4392,81 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- public interface MixedAudioOrBuilder
+ public interface PlayAudioOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
- * Segments this audio response is composed of.
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
*
*
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- java.util.List
- getSegmentsList();
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
+ * @return The audioUri.
*/
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments(
- int index);
+ java.lang.String getAudioUri();
/**
*
*
*
- * Segments this audio response is composed of.
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
*
*
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- int getSegmentsCount();
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
+ * @return The bytes for audioUri.
*/
- java.util.List<
- ? extends
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
- getSegmentsOrBuilderList();
+ com.google.protobuf.ByteString getAudioUriBytes();
+
/**
*
*
*
- * Segments this audio response is composed of.
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
*
*
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The allowPlaybackInterruption.
*/
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder
- getSegmentsOrBuilder(int index);
+ boolean getAllowPlaybackInterruption();
}
/**
*
*
*
- * Represents an audio message that is composed of both segments
- * synthesized from the Dialogflow agent prompts and ones hosted externally
- * at the specified URIs.
- * The external URIs are specified via
- * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
- * This message is generated by Dialogflow only and not supposed to be
- * defined by the user.
+ * Specifies an audio clip to be played by the client as part of the response.
*
*
- * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio}
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio}
*/
- public static final class MixedAudio extends com.google.protobuf.GeneratedMessageV3
+ public static final class PlayAudio extends com.google.protobuf.GeneratedMessageV3
implements
- // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
- MixedAudioOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ PlayAudioOrBuilder {
private static final long serialVersionUID = 0L;
- // Use MixedAudio.newBuilder() to construct.
- private MixedAudio(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use PlayAudio.newBuilder() to construct.
+ private PlayAudio(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private MixedAudio() {
- segments_ = java.util.Collections.emptyList();
+ private PlayAudio() {
+ audioUri_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new MixedAudio();
+ return new PlayAudio();
}
@java.lang.Override
@@ -4393,7 +4474,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
- private MixedAudio(
+ private PlayAudio(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -4401,7 +4482,6 @@ private MixedAudio(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -4414,18 +4494,14 @@ private MixedAudio(
break;
case 10:
{
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- segments_ =
- new java.util.ArrayList<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- .Segment>();
- mutable_bitField0_ |= 0x00000001;
- }
- segments_.add(
- input.readMessage(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- .parser(),
- extensionRegistry));
+ java.lang.String s = input.readStringRequireUtf8();
+
+ audioUri_ = s;
+ break;
+ }
+ case 16:
+ {
+ allowPlaybackInterruption_ = input.readBool();
break;
}
default:
@@ -4442,9 +4518,6 @@ private MixedAudio(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000001) != 0)) {
- segments_ = java.util.Collections.unmodifiableList(segments_);
- }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -4452,2217 +4525,1975 @@ private MixedAudio(
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class);
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class);
}
- public interface SegmentOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- *
- * Raw audio synthesized from the Dialogflow agent's response using
- * the output config specified in the request.
- *
- *
- * bytes audio = 1;
- *
- * @return The audio.
- */
- com.google.protobuf.ByteString getAudio();
-
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return The uri.
- */
- java.lang.String getUri();
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return The bytes for uri.
- */
- com.google.protobuf.ByteString getUriBytes();
-
- /**
- *
- *
- *
- * Output only. Whether the playback of this segment can be interrupted by
- * the end user's speech and the client should then start the next
- * Dialogflow request.
- *
- *
- * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @return The allowPlaybackInterruption.
- */
- boolean getAllowPlaybackInterruption();
-
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.ContentCase
- getContentCase();
+ public static final int AUDIO_URI_FIELD_NUMBER = 1;
+ private volatile java.lang.Object audioUri_;
+ /**
+ *
+ *
+ *
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
+ *
+ *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The audioUri.
+ */
+ @java.lang.Override
+ public java.lang.String getAudioUri() {
+ java.lang.Object ref = audioUri_;
+ 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();
+ audioUri_ = s;
+ return s;
+ }
}
/**
*
*
*
- * Represents one segment of audio.
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
*
*
- * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment}
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for audioUri.
*/
- public static final class Segment extends com.google.protobuf.GeneratedMessageV3
- implements
- // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
- SegmentOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Segment.newBuilder() to construct.
- private Segment(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAudioUriBytes() {
+ java.lang.Object ref = audioUri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audioUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
+ }
- private Segment() {}
+ public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 2;
+ private boolean allowPlaybackInterruption_;
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ @java.lang.Override
+ public boolean getAllowPlaybackInterruption() {
+ return allowPlaybackInterruption_;
+ }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new Segment();
- }
+ private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
+ @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 (!getAudioUriBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_);
+ }
+ if (allowPlaybackInterruption_ != false) {
+ output.writeBool(2, allowPlaybackInterruption_);
}
+ unknownFields.writeTo(output);
+ }
- private Segment(
- 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:
- {
- contentCase_ = 1;
- content_ = input.readBytes();
- break;
- }
- case 18:
- {
- java.lang.String s = input.readStringRequireUtf8();
- contentCase_ = 2;
- content_ = s;
- break;
- }
- case 24:
- {
- allowPlaybackInterruption_ = input.readBool();
- 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();
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getAudioUriBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioUri_);
+ }
+ if (allowPlaybackInterruption_ != false) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowPlaybackInterruption_);
}
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
+ @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.ResponseMessage.PlayAudio)) {
+ return super.equals(obj);
}
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other =
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) obj;
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- .class);
+ if (!getAudioUri().equals(other.getAudioUri())) return false;
+ if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) 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) + AUDIO_URI_FIELD_NUMBER;
+ hash = (53 * hash) + getAudioUri().hashCode();
+ hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- private int contentCase_ = 0;
- private java.lang.Object content_;
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public enum ContentCase
- implements
- com.google.protobuf.Internal.EnumLite,
- com.google.protobuf.AbstractMessage.InternalOneOfEnum {
- AUDIO(1),
- URI(2),
- CONTENT_NOT_SET(0);
- private final int value;
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- private ContentCase(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 ContentCase valueOf(int value) {
- return forNumber(value);
- }
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static ContentCase forNumber(int value) {
- switch (value) {
- case 1:
- return AUDIO;
- case 2:
- return URI;
- case 0:
- return CONTENT_NOT_SET;
- default:
- return null;
- }
- }
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- public int getNumber() {
- return this.value;
- }
- };
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public ContentCase getContentCase() {
- return ContentCase.forNumber(contentCase_);
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio 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.ResponseMessage.PlayAudio 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.ResponseMessage.PlayAudio 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.ResponseMessage.PlayAudio
+ 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.ResponseMessage.PlayAudio
+ 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.ResponseMessage.PlayAudio 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.ResponseMessage.PlayAudio 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.ResponseMessage.PlayAudio 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;
+ }
+ /**
+ *
+ *
+ *
+ * Specifies an audio clip to be played by the client as part of the response.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudioOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
}
- public static final int AUDIO_FIELD_NUMBER = 1;
- /**
- *
- *
- *
- * Raw audio synthesized from the Dialogflow agent's response using
- * the output config specified in the request.
- *
- *
- * bytes audio = 1;
- *
- * @return The audio.
- */
@java.lang.Override
- public com.google.protobuf.ByteString getAudio() {
- if (contentCase_ == 1) {
- return (com.google.protobuf.ByteString) content_;
- }
- return com.google.protobuf.ByteString.EMPTY;
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class);
}
- public static final int URI_FIELD_NUMBER = 2;
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return The uri.
- */
- public java.lang.String getUri() {
- java.lang.Object ref = "";
- if (contentCase_ == 2) {
- ref = content_;
- }
- 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();
- if (contentCase_ == 2) {
- content_ = s;
- }
- return s;
- }
+ // Construct using
+ // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
}
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return The bytes for uri.
- */
- public com.google.protobuf.ByteString getUriBytes() {
- java.lang.Object ref = "";
- if (contentCase_ == 2) {
- ref = content_;
- }
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- if (contentCase_ == 2) {
- content_ = b;
- }
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
}
- public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3;
- private boolean allowPlaybackInterruption_;
- /**
- *
- *
- *
- * Output only. Whether the playback of this segment can be interrupted by
- * the end user's speech and the client should then start the next
- * Dialogflow request.
- *
- *
- * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @return The allowPlaybackInterruption.
- */
- @java.lang.Override
- public boolean getAllowPlaybackInterruption() {
- return allowPlaybackInterruption_;
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
}
- private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ audioUri_ = "";
+
+ allowPlaybackInterruption_ = false;
+
+ return this;
+ }
@java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
+ }
- memoizedIsInitialized = 1;
- return true;
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ .getDefaultInstance();
}
@java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (contentCase_ == 1) {
- output.writeBytes(1, (com.google.protobuf.ByteString) content_);
- }
- if (contentCase_ == 2) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_);
- }
- if (allowPlaybackInterruption_ != false) {
- output.writeBool(3, allowPlaybackInterruption_);
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio build() {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
}
- unknownFields.writeTo(output);
+ return result;
}
@java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (contentCase_ == 1) {
- size +=
- com.google.protobuf.CodedOutputStream.computeBytesSize(
- 1, (com.google.protobuf.ByteString) content_);
- }
- if (contentCase_ == 2) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_);
- }
- if (allowPlaybackInterruption_ != false) {
- size +=
- com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result =
+ new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(this);
+ result.audioUri_ = audioUri_;
+ result.allowPlaybackInterruption_ = allowPlaybackInterruption_;
+ onBuilt();
+ return result;
}
@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.ResponseMessage.MixedAudio.Segment)) {
- return super.equals(obj);
- }
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other =
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) obj;
-
- if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false;
- if (!getContentCase().equals(other.getContentCase())) return false;
- switch (contentCase_) {
- case 1:
- if (!getAudio().equals(other.getAudio())) return false;
- break;
- case 2:
- if (!getUri().equals(other.getUri())) return false;
- break;
- case 0:
- default:
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
+ public Builder clone() {
+ return super.clone();
}
@java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER;
- hash =
- (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption());
- switch (contentCase_) {
- case 1:
- hash = (37 * hash) + AUDIO_FIELD_NUMBER;
- hash = (53 * hash) + getAudio().hashCode();
- break;
- case 2:
- hash = (37 * hash) + URI_FIELD_NUMBER;
- hash = (53 * hash) + getUri().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- 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.ResponseMessage.MixedAudio.Segment
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- 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.ResponseMessage.MixedAudio.Segment
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- 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.ResponseMessage.MixedAudio.Segment
- 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.ResponseMessage.MixedAudio.Segment
- 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.ResponseMessage.MixedAudio.Segment
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- 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 setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
@java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) {
+ return mergeFrom(
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
}
- public static Builder newBuilder(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ public Builder mergeFrom(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other) {
+ if (other
+ == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ .getDefaultInstance()) return this;
+ if (!other.getAudioUri().isEmpty()) {
+ audioUri_ = other.audioUri_;
+ onChanged();
+ }
+ if (other.getAllowPlaybackInterruption() != false) {
+ setAllowPlaybackInterruption(other.getAllowPlaybackInterruption());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
}
@java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ public final boolean isInitialized() {
+ return true;
}
@java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
}
+
+ private java.lang.Object audioUri_ = "";
/**
*
*
*
- * Represents one segment of audio.
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
*
*
- * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment}
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The audioUri.
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageV3.Builder
- implements
- // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
+ public java.lang.String getAudioUri() {
+ java.lang.Object ref = audioUri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ audioUri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
}
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- .class);
+ }
+ /**
+ *
+ *
+ *
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
+ *
+ *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for audioUri.
+ */
+ public com.google.protobuf.ByteString getAudioUriBytes() {
+ java.lang.Object ref = audioUri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audioUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
-
- // Construct using
- // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
+ }
+ /**
+ *
+ *
+ *
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
+ *
+ *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The audioUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudioUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
+ audioUri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
+ *
+ *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAudioUri() {
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ audioUri_ = getDefaultInstance().getAudioUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ * value. It is specific to the client that reads it.
+ *
+ *
+ * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for audioUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudioUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
- @java.lang.Override
- public Builder clear() {
- super.clear();
- allowPlaybackInterruption_ = false;
+ audioUri_ = value;
+ onChanged();
+ return this;
+ }
- contentCase_ = 0;
- content_ = null;
- return this;
- }
+ private boolean allowPlaybackInterruption_;
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ @java.lang.Override
+ public boolean getAllowPlaybackInterruption() {
+ return allowPlaybackInterruption_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The allowPlaybackInterruption to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAllowPlaybackInterruption(boolean value) {
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
- }
+ allowPlaybackInterruption_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this message can be interrupted by the end
+ * user's speech and the client can then starts the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAllowPlaybackInterruption() {
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- getDefaultInstanceForType() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- .getDefaultInstance();
- }
+ allowPlaybackInterruption_ = false;
+ onChanged();
+ return this;
+ }
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment build() {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result =
- buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- buildPartial() {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result =
- new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(this);
- if (contentCase_ == 1) {
- result.content_ = content_;
- }
- if (contentCase_ == 2) {
- result.content_ = content_;
- }
- result.allowPlaybackInterruption_ = allowPlaybackInterruption_;
- result.contentCase_ = contentCase_;
- onBuilt();
- return result;
- }
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ DEFAULT_INSTANCE;
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio();
+ }
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index,
- java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PlayAudio parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new PlayAudio(input, extensionRegistry);
+ }
+ };
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other
- instanceof
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) {
- return mergeFrom(
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
- public Builder mergeFrom(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other) {
- if (other
- == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- .getDefaultInstance()) return this;
- if (other.getAllowPlaybackInterruption() != false) {
- setAllowPlaybackInterruption(other.getAllowPlaybackInterruption());
- }
- switch (other.getContentCase()) {
- case AUDIO:
- {
- setAudio(other.getAudio());
- break;
- }
- case URI:
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface MixedAudioOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ java.util.List
+ getSegmentsList();
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments(
+ int index);
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ int getSegmentsCount();
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ java.util.List<
+ ? extends
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
+ getSegmentsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder
+ getSegmentsOrBuilder(int index);
+ }
+ /**
+ *
+ *
+ *
+ * Represents an audio message that is composed of both segments
+ * synthesized from the Dialogflow agent prompts and ones hosted externally
+ * at the specified URIs.
+ * The external URIs are specified via
+ * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
+ * This message is generated by Dialogflow only and not supposed to be
+ * defined by the user.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio}
+ */
+ public static final class MixedAudio extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
+ MixedAudioOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use MixedAudio.newBuilder() to construct.
+ private MixedAudio(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private MixedAudio() {
+ segments_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MixedAudio();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private MixedAudio(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ 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:
{
- contentCase_ = 2;
- content_ = other.content_;
- onChanged();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ segments_ =
+ new java.util.ArrayList<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
+ .Segment>();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ segments_.add(
+ input.readMessage(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ .parser(),
+ extensionRegistry));
break;
}
- case CONTENT_NOT_SET:
+ default:
{
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
break;
}
}
- 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.ResponseMessage.MixedAudio.Segment parsedMessage =
- null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage =
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
- e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
+ } 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 {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ segments_ = java.util.Collections.unmodifiableList(segments_);
}
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
- private int contentCase_ = 0;
- private java.lang.Object content_;
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
+ }
- public ContentCase getContentCase() {
- return ContentCase.forNumber(contentCase_);
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class);
+ }
- public Builder clearContent() {
- contentCase_ = 0;
- content_ = null;
- onChanged();
- return this;
- }
+ public interface SegmentOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ com.google.protobuf.MessageOrBuilder {
- /**
- *
- *
- *
- * Raw audio synthesized from the Dialogflow agent's response using
- * the output config specified in the request.
- *
- *
- * bytes audio = 1;
- *
- * @return The audio.
- */
- public com.google.protobuf.ByteString getAudio() {
- if (contentCase_ == 1) {
- return (com.google.protobuf.ByteString) content_;
- }
- return com.google.protobuf.ByteString.EMPTY;
+ /**
+ *
+ *
+ *
+ * Raw audio synthesized from the Dialogflow agent's response using
+ * the output config specified in the request.
+ *
+ *
+ * bytes audio = 1;
+ *
+ * @return The audio.
+ */
+ com.google.protobuf.ByteString getAudio();
+
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this segment can be interrupted by the end
+ * user's speech and the client should then start the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ boolean getAllowPlaybackInterruption();
+
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.ContentCase
+ getContentCase();
+ }
+ /**
+ *
+ *
+ *
+ * Represents one segment of audio.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment}
+ */
+ public static final class Segment extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ SegmentOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Segment.newBuilder() to construct.
+ private Segment(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private Segment() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Segment();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private Segment(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
}
- /**
- *
- *
- *
- * Raw audio synthesized from the Dialogflow agent's response using
- * the output config specified in the request.
- *
- *
- * bytes audio = 1;
- *
- * @param value The audio to set.
- * @return This builder for chaining.
- */
- public Builder setAudio(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new 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:
+ {
+ contentCase_ = 1;
+ content_ = input.readBytes();
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ contentCase_ = 2;
+ content_ = s;
+ break;
+ }
+ case 24:
+ {
+ allowPlaybackInterruption_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
}
- contentCase_ = 1;
- content_ = value;
- onChanged();
- return this;
+ } 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.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ .class);
+ }
+
+ private int contentCase_ = 0;
+ private java.lang.Object content_;
+
+ public enum ContentCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ AUDIO(1),
+ URI(2),
+ CONTENT_NOT_SET(0);
+ private final int value;
+
+ private ContentCase(int value) {
+ this.value = value;
}
/**
- *
- *
- *
- * Raw audio synthesized from the Dialogflow agent's response using
- * the output config specified in the request.
- *
- *
- * bytes audio = 1;
- *
- * @return This builder for chaining.
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
*/
- public Builder clearAudio() {
- if (contentCase_ == 1) {
- contentCase_ = 0;
- content_ = null;
- onChanged();
+ @java.lang.Deprecated
+ public static ContentCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ContentCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return AUDIO;
+ case 2:
+ return URI;
+ case 0:
+ return CONTENT_NOT_SET;
+ default:
+ return null;
}
- return this;
}
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return The uri.
- */
- @java.lang.Override
- public java.lang.String getUri() {
- java.lang.Object ref = "";
- if (contentCase_ == 2) {
- ref = content_;
- }
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (contentCase_ == 2) {
- content_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ public int getNumber() {
+ return this.value;
}
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return The bytes for uri.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getUriBytes() {
- java.lang.Object ref = "";
- if (contentCase_ == 2) {
- ref = content_;
- }
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- if (contentCase_ == 2) {
- content_ = b;
- }
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+ };
+
+ public ContentCase getContentCase() {
+ return ContentCase.forNumber(contentCase_);
+ }
+
+ public static final int AUDIO_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ *
+ * Raw audio synthesized from the Dialogflow agent's response using
+ * the output config specified in the request.
+ *
+ *
+ * bytes audio = 1;
+ *
+ * @return The audio.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAudio() {
+ if (contentCase_ == 1) {
+ return (com.google.protobuf.ByteString) content_;
}
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @param value The uri to set.
- * @return This builder for chaining.
- */
- public Builder setUri(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- contentCase_ = 2;
- content_ = value;
- onChanged();
- return this;
+ return com.google.protobuf.ByteString.EMPTY;
+ }
+
+ public static final int URI_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = "";
+ if (contentCase_ == 2) {
+ ref = content_;
}
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @return This builder for chaining.
- */
- public Builder clearUri() {
+ 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();
if (contentCase_ == 2) {
- contentCase_ = 0;
- content_ = null;
- onChanged();
+ content_ = s;
}
- return this;
+ return s;
}
- /**
- *
- *
- *
- * Client-specific URI that points to an audio clip accessible to the
- * client. Dialogflow does not impose any validation on it.
- *
- *
- * string uri = 2;
- *
- * @param value The bytes for uri to set.
- * @return This builder for chaining.
- */
- public Builder setUriBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ }
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = "";
+ if (contentCase_ == 2) {
+ ref = content_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (contentCase_ == 2) {
+ content_ = b;
}
- checkByteStringIsUtf8(value);
- contentCase_ = 2;
- content_ = value;
- onChanged();
- return this;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
+ }
- private boolean allowPlaybackInterruption_;
- /**
- *
- *
- *
- * Output only. Whether the playback of this segment can be interrupted by
- * the end user's speech and the client should then start the next
- * Dialogflow request.
- *
- *
- * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @return The allowPlaybackInterruption.
- */
- @java.lang.Override
- public boolean getAllowPlaybackInterruption() {
- return allowPlaybackInterruption_;
- }
- /**
- *
- *
- *
- * Output only. Whether the playback of this segment can be interrupted by
- * the end user's speech and the client should then start the next
- * Dialogflow request.
- *
- *
- * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @param value The allowPlaybackInterruption to set.
- * @return This builder for chaining.
- */
- public Builder setAllowPlaybackInterruption(boolean value) {
+ public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 3;
+ private boolean allowPlaybackInterruption_;
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this segment can be interrupted by the end
+ * user's speech and the client should then start the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ @java.lang.Override
+ public boolean getAllowPlaybackInterruption() {
+ return allowPlaybackInterruption_;
+ }
- allowPlaybackInterruption_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- *
- * Output only. Whether the playback of this segment can be interrupted by
- * the end user's speech and the client should then start the next
- * Dialogflow request.
- *
- *
- * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @return This builder for chaining.
- */
- public Builder clearAllowPlaybackInterruption() {
+ private byte memoizedIsInitialized = -1;
- allowPlaybackInterruption_ = false;
- onChanged();
- return this;
+ @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 (contentCase_ == 1) {
+ output.writeBytes(1, (com.google.protobuf.ByteString) content_);
+ }
+ if (contentCase_ == 2) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_);
+ }
+ if (allowPlaybackInterruption_ != false) {
+ output.writeBool(3, allowPlaybackInterruption_);
}
+ unknownFields.writeTo(output);
+ }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (contentCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBytesSize(
+ 1, (com.google.protobuf.ByteString) content_);
}
+ if (contentCase_ == 2) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_);
+ }
+ if (allowPlaybackInterruption_ != false) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowPlaybackInterruption_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
+ @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.ResponseMessage.MixedAudio.Segment)) {
+ return super.equals(obj);
}
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other =
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) obj;
- // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false;
+ if (!getContentCase().equals(other.getContentCase())) return false;
+ switch (contentCase_) {
+ case 1:
+ if (!getAudio().equals(other.getAudio())) return false;
+ break;
+ case 2:
+ if (!getUri().equals(other.getUri())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
- // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
- private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- DEFAULT_INSTANCE;
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER;
+ hash =
+ (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption());
+ switch (contentCase_) {
+ case 1:
+ hash = (37 * hash) + AUDIO_FIELD_NUMBER;
+ hash = (53 * hash) + getAudio().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- static {
- DEFAULT_INSTANCE =
- new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment();
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public Segment parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new Segment(input, extensionRegistry);
- }
- };
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static com.google.protobuf.Parser parser() {
- return PARSER;
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ 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.ResponseMessage.MixedAudio.Segment
+ 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 com.google.protobuf.Parser getParserForType() {
- return PARSER;
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
- }
- public static final int SEGMENTS_FIELD_NUMBER = 1;
- private java.util.List<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
- segments_;
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- @java.lang.Override
- public java.util.List
- getSegmentsList() {
- return segments_;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- @java.lang.Override
- public java.util.List<
- ? extends
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
- getSegmentsOrBuilderList() {
- return segments_;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- @java.lang.Override
- public int getSegmentsCount() {
- return segments_.size();
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments(
- int index) {
- return segments_.get(index);
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder
- getSegmentsOrBuilder(int index) {
- return segments_.get(index);
- }
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Represents one segment of audio.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
+ }
- private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ .class);
+ }
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ // Construct using
+ // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- for (int i = 0; i < segments_.size(); i++) {
- output.writeMessage(1, segments_.get(i));
- }
- unknownFields.writeTo(output);
- }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ allowPlaybackInterruption_ = false;
- size = 0;
- for (int i = 0; i < segments_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i));
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ contentCase_ = 0;
+ content_ = null;
+ return this;
+ }
- @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.ResponseMessage.MixedAudio)) {
- return super.equals(obj);
- }
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other =
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) obj;
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
+ }
- if (!getSegmentsList().equals(other.getSegmentsList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ .getDefaultInstance();
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getSegmentsCount() > 0) {
- hash = (37 * hash) + SEGMENTS_FIELD_NUMBER;
- hash = (53 * hash) + getSegmentsList().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment build() {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment result =
+ new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment(this);
+ if (contentCase_ == 1) {
+ result.content_ = content_;
+ }
+ if (contentCase_ == 2) {
+ result.content_ = content_;
+ }
+ result.allowPlaybackInterruption_ = allowPlaybackInterruption_;
+ result.contentCase_ = contentCase_;
+ onBuilt();
+ return result;
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.MixedAudio
- 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.ResponseMessage.MixedAudio
- 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.ResponseMessage.MixedAudio 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.ResponseMessage.MixedAudio 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.ResponseMessage.MixedAudio 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 an audio message that is composed of both segments
- * synthesized from the Dialogflow agent prompts and ones hosted externally
- * at the specified URIs.
- * The external URIs are specified via
- * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
- * This message is generated by Dialogflow only and not supposed to be
- * defined by the user.
- *
- *
- * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio}
- */
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageV3.Builder
- implements
- // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudioOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class);
- }
-
- // Construct using
- // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
-
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
- getSegmentsFieldBuilder();
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) {
+ return mergeFrom(
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
}
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (segmentsBuilder_ == null) {
- segments_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- segmentsBuilder_.clear();
+ public Builder mergeFrom(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment other) {
+ if (other
+ == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ .getDefaultInstance()) return this;
+ if (other.getAllowPlaybackInterruption() != false) {
+ setAllowPlaybackInterruption(other.getAllowPlaybackInterruption());
+ }
+ switch (other.getContentCase()) {
+ case AUDIO:
+ {
+ setAudio(other.getAudio());
+ break;
+ }
+ case URI:
+ {
+ contentCase_ = 2;
+ content_ = other.content_;
+ onChanged();
+ break;
+ }
+ case CONTENT_NOT_SET:
+ {
+ break;
+ }
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
}
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
- }
-
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- getDefaultInstanceForType() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- .getDefaultInstance();
- }
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio build() {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
}
- return result;
- }
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio buildPartial() {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result =
- new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(this);
- int from_bitField0_ = bitField0_;
- if (segmentsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- segments_ = java.util.Collections.unmodifiableList(segments_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ @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.ResponseMessage.MixedAudio.Segment parsedMessage =
+ null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
}
- result.segments_ = segments_;
- } else {
- result.segments_ = segmentsBuilder_.build();
+ return this;
}
- 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);
- }
+ private int contentCase_ = 0;
+ private java.lang.Object content_;
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
+ public ContentCase getContentCase() {
+ return ContentCase.forNumber(contentCase_);
+ }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index,
- java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
+ public Builder clearContent() {
+ contentCase_ = 0;
+ content_ = null;
+ onChanged();
+ return this;
+ }
- @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.ResponseMessage.MixedAudio) {
- return mergeFrom(
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) other);
- } else {
- super.mergeFrom(other);
+ /**
+ *
+ *
+ *
+ * Raw audio synthesized from the Dialogflow agent's response using
+ * the output config specified in the request.
+ *
+ *
+ * bytes audio = 1;
+ *
+ * @return The audio.
+ */
+ public com.google.protobuf.ByteString getAudio() {
+ if (contentCase_ == 1) {
+ return (com.google.protobuf.ByteString) content_;
+ }
+ return com.google.protobuf.ByteString.EMPTY;
+ }
+ /**
+ *
+ *
+ *
+ * Raw audio synthesized from the Dialogflow agent's response using
+ * the output config specified in the request.
+ *
+ *
+ * bytes audio = 1;
+ *
+ * @param value The audio to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudio(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ contentCase_ = 1;
+ content_ = value;
+ onChanged();
return this;
}
- }
-
- public Builder mergeFrom(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other) {
- if (other
- == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- .getDefaultInstance()) return this;
- if (segmentsBuilder_ == null) {
- if (!other.segments_.isEmpty()) {
- if (segments_.isEmpty()) {
- segments_ = other.segments_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureSegmentsIsMutable();
- segments_.addAll(other.segments_);
- }
+ /**
+ *
+ *
+ *
+ * Raw audio synthesized from the Dialogflow agent's response using
+ * the output config specified in the request.
+ *
+ *
+ * bytes audio = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAudio() {
+ if (contentCase_ == 1) {
+ contentCase_ = 0;
+ content_ = null;
onChanged();
}
- } else {
- if (!other.segments_.isEmpty()) {
- if (segmentsBuilder_.isEmpty()) {
- segmentsBuilder_.dispose();
- segmentsBuilder_ = null;
- segments_ = other.segments_;
- bitField0_ = (bitField0_ & ~0x00000001);
- segmentsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
- ? getSegmentsFieldBuilder()
- : null;
- } else {
- segmentsBuilder_.addAllMessages(other.segments_);
- }
- }
+ return this;
}
- 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.ResponseMessage.MixedAudio parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage =
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
- e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = "";
+ if (contentCase_ == 2) {
+ ref = content_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (contentCase_ == 2) {
+ content_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
}
}
- return this;
- }
-
- private int bitField0_;
-
- private java.util.List<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
- segments_ = java.util.Collections.emptyList();
-
- private void ensureSegmentsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- segments_ =
- new java.util.ArrayList<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>(
- segments_);
- bitField0_ |= 0x00000001;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
- segmentsBuilder_;
-
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public java.util.List<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
- getSegmentsList() {
- if (segmentsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(segments_);
- } else {
- return segmentsBuilder_.getMessageList();
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = "";
+ if (contentCase_ == 2) {
+ ref = content_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (contentCase_ == 2) {
+ content_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public int getSegmentsCount() {
- if (segmentsBuilder_ == null) {
- return segments_.size();
- } else {
- return segmentsBuilder_.getCount();
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ contentCase_ = 2;
+ content_ = value;
+ onChanged();
+ return this;
}
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments(
- int index) {
- if (segmentsBuilder_ == null) {
- return segments_.get(index);
- } else {
- return segmentsBuilder_.getMessage(index);
- }
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder setSegments(
- int index,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) {
- if (segmentsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSegmentsIsMutable();
- segments_.set(index, value);
- onChanged();
- } else {
- segmentsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder setSegments(
- int index,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- builderForValue) {
- if (segmentsBuilder_ == null) {
- ensureSegmentsIsMutable();
- segments_.set(index, builderForValue.build());
- onChanged();
- } else {
- segmentsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder addSegments(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) {
- if (segmentsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSegmentsIsMutable();
- segments_.add(value);
- onChanged();
- } else {
- segmentsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder addSegments(
- int index,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) {
- if (segmentsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSegmentsIsMutable();
- segments_.add(index, value);
- onChanged();
- } else {
- segmentsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder addSegments(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- builderForValue) {
- if (segmentsBuilder_ == null) {
- ensureSegmentsIsMutable();
- segments_.add(builderForValue.build());
- onChanged();
- } else {
- segmentsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder addSegments(
- int index,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- builderForValue) {
- if (segmentsBuilder_ == null) {
- ensureSegmentsIsMutable();
- segments_.add(index, builderForValue.build());
- onChanged();
- } else {
- segmentsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder addAllSegments(
- java.lang.Iterable<
- ? extends
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
- values) {
- if (segmentsBuilder_ == null) {
- ensureSegmentsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
- onChanged();
- } else {
- segmentsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder clearSegments() {
- if (segmentsBuilder_ == null) {
- segments_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- segmentsBuilder_.clear();
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public Builder removeSegments(int index) {
- if (segmentsBuilder_ == null) {
- ensureSegmentsIsMutable();
- segments_.remove(index);
- onChanged();
- } else {
- segmentsBuilder_.remove(index);
- }
- return this;
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- getSegmentsBuilder(int index) {
- return getSegmentsFieldBuilder().getBuilder(index);
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder
- getSegmentsOrBuilder(int index) {
- if (segmentsBuilder_ == null) {
- return segments_.get(index);
- } else {
- return segmentsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public java.util.List<
- ? extends
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- .SegmentOrBuilder>
- getSegmentsOrBuilderList() {
- if (segmentsBuilder_ != null) {
- return segmentsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(segments_);
- }
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- addSegmentsBuilder() {
- return getSegmentsFieldBuilder()
- .addBuilder(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- .getDefaultInstance());
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
- addSegmentsBuilder(int index) {
- return getSegmentsFieldBuilder()
- .addBuilder(
- index,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
- .getDefaultInstance());
- }
- /**
- *
- *
- *
- * Segments this audio response is composed of.
- *
- *
- *
- * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
- *
- */
- public java.util.List<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder>
- getSegmentsBuilderList() {
- return getSegmentsFieldBuilder().getBuilderList();
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
- getSegmentsFieldBuilder() {
- if (segmentsBuilder_ == null) {
- segmentsBuilder_ =
- new com.google.protobuf.RepeatedFieldBuilderV3<
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- .SegmentOrBuilder>(
- segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
- segments_ = null;
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+ if (contentCase_ == 2) {
+ contentCase_ = 0;
+ content_ = null;
+ onChanged();
+ }
+ return this;
}
- return segmentsBuilder_;
- }
-
- @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.ResponseMessage.MixedAudio)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
- private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio();
- }
-
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public MixedAudio parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new MixedAudio(input, extensionRegistry);
+ /**
+ *
+ *
+ *
+ * Client-specific URI that points to an audio clip accessible to the
+ * client. Dialogflow does not impose any validation on it.
+ *
+ *
+ * string uri = 2;
+ *
+ * @param value The bytes for uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- };
+ checkByteStringIsUtf8(value);
+ contentCase_ = 2;
+ content_ = value;
+ onChanged();
+ return this;
+ }
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ private boolean allowPlaybackInterruption_;
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this segment can be interrupted by the end
+ * user's speech and the client should then start the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The allowPlaybackInterruption.
+ */
+ @java.lang.Override
+ public boolean getAllowPlaybackInterruption() {
+ return allowPlaybackInterruption_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this segment can be interrupted by the end
+ * user's speech and the client should then start the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The allowPlaybackInterruption to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAllowPlaybackInterruption(boolean value) {
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ allowPlaybackInterruption_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Whether the playback of this segment can be interrupted by the end
+ * user's speech and the client should then start the next Dialogflow
+ * request.
+ *
+ *
+ * bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAllowPlaybackInterruption() {
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
- getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
+ allowPlaybackInterruption_ = false;
+ onChanged();
+ return this;
+ }
- public interface PlayAudioOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
- com.google.protobuf.MessageOrBuilder {
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
- /**
- *
- *
- *
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
- *
- *
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return The audioUri.
- */
- java.lang.String getAudioUri();
- /**
- *
- *
- *
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
- *
- *
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return The bytes for audioUri.
- */
- com.google.protobuf.ByteString getAudioUriBytes();
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
- /**
- *
- *
- *
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
- * request.
- *
- *
- * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @return The allowPlaybackInterruption.
- */
- boolean getAllowPlaybackInterruption();
- }
- /**
- *
- *
- *
- * Specifies an audio clip to be played by the client as part of the response.
- *
- *
- * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio}
- */
- public static final class PlayAudio extends com.google.protobuf.GeneratedMessageV3
- implements
- // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
- PlayAudioOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use PlayAudio.newBuilder() to construct.
- private PlayAudio(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ }
- private PlayAudio() {
- audioUri_ = "";
- }
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ DEFAULT_INSTANCE;
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new PlayAudio();
- }
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment();
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- private PlayAudio(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Segment parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Segment(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
}
- 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();
- audioUri_ = s;
- break;
- }
- case 16:
- {
- allowPlaybackInterruption_ = input.readBool();
- 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();
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
}
- }
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
}
+ public static final int SEGMENTS_FIELD_NUMBER = 1;
+ private java.util.List<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
+ segments_;
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class);
+ public java.util.List
+ getSegmentsList() {
+ return segments_;
}
-
- public static final int AUDIO_URI_FIELD_NUMBER = 1;
- private volatile java.lang.Object audioUri_;
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return The audioUri.
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
@java.lang.Override
- public java.lang.String getAudioUri() {
- java.lang.Object ref = audioUri_;
- 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();
- audioUri_ = s;
- return s;
- }
+ public java.util.List<
+ ? extends
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
+ getSegmentsOrBuilderList() {
+ return segments_;
}
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return The bytes for audioUri.
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
@java.lang.Override
- public com.google.protobuf.ByteString getAudioUriBytes() {
- java.lang.Object ref = audioUri_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- audioUri_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+ public int getSegmentsCount() {
+ return segments_.size();
}
-
- public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER = 2;
- private boolean allowPlaybackInterruption_;
/**
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
- * request.
+ * Segments this audio response is composed of.
*
*
- * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
*
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments(
+ int index) {
+ return segments_.get(index);
+ }
+ /**
*
- * @return The allowPlaybackInterruption.
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
@java.lang.Override
- public boolean getAllowPlaybackInterruption() {
- return allowPlaybackInterruption_;
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder
+ getSegmentsOrBuilder(int index) {
+ return segments_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -6679,11 +6510,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getAudioUriBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, audioUri_);
- }
- if (allowPlaybackInterruption_ != false) {
- output.writeBool(2, allowPlaybackInterruption_);
+ for (int i = 0; i < segments_.size(); i++) {
+ output.writeMessage(1, segments_.get(i));
}
unknownFields.writeTo(output);
}
@@ -6694,12 +6522,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getAudioUriBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, audioUri_);
- }
- if (allowPlaybackInterruption_ != false) {
- size +=
- com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowPlaybackInterruption_);
+ for (int i = 0; i < segments_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -6711,14 +6535,13 @@ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)) {
+ if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)) {
return super.equals(obj);
}
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other =
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) obj;
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other =
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) obj;
- if (!getAudioUri().equals(other.getAudioUri())) return false;
- if (getAllowPlaybackInterruption() != other.getAllowPlaybackInterruption()) return false;
+ if (!getSegmentsList().equals(other.getSegmentsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -6730,68 +6553,68 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + AUDIO_URI_FIELD_NUMBER;
- hash = (53 * hash) + getAudioUri().hashCode();
- hash = (37 * hash) + ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowPlaybackInterruption());
+ if (getSegmentsCount() > 0) {
+ hash = (37 * hash) + SEGMENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getSegmentsList().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.PlayAudio
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
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.ResponseMessage.PlayAudio
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -6799,12 +6622,12 @@ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio p
PARSER, input, extensionRegistry);
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio 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.ResponseMessage.PlayAudio parseFrom(
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -6822,7 +6645,7 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio prototype) {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -6841,33 +6664,39 @@ protected Builder newBuilderForType(
*
*
*
- * Specifies an audio clip to be played by the client as part of the response.
+ * Represents an audio message that is composed of both segments
+ * synthesized from the Dialogflow agent prompts and ones hosted externally
+ * at the specified URIs.
+ * The external URIs are specified via
+ * [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
+ * This message is generated by Dialogflow only and not supposed to be
+ * defined by the user.
*
*
- * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio}
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudioOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudioOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.class,
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.Builder.class);
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.class,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Builder.class);
}
// Construct using
- // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio.newBuilder()
+ // com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -6878,47 +6707,59 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getSegmentsFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- audioUri_ = "";
-
- allowPlaybackInterruption_ = false;
-
+ if (segmentsBuilder_ == null) {
+ segments_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ segmentsBuilder_.clear();
+ }
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto
- .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
}
@java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
getDefaultInstanceForType() {
- return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ return com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
.getDefaultInstance();
}
@java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio build() {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result = buildPartial();
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio build() {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
- return result;
- }
-
- @java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio buildPartial() {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio result =
- new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio(this);
- result.audioUri_ = audioUri_;
- result.allowPlaybackInterruption_ = allowPlaybackInterruption_;
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio result =
+ new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio(this);
+ int from_bitField0_ = bitField0_;
+ if (segmentsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ segments_ = java.util.Collections.unmodifiableList(segments_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.segments_ = segments_;
+ } else {
+ result.segments_ = segmentsBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -6960,9 +6801,9 @@ public Builder addRepeatedField(
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) {
+ if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) {
return mergeFrom(
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio) other);
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio) other);
} else {
super.mergeFrom(other);
return this;
@@ -6970,16 +6811,36 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio other) {
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio other) {
if (other
- == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ == com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
.getDefaultInstance()) return this;
- if (!other.getAudioUri().isEmpty()) {
- audioUri_ = other.audioUri_;
- onChanged();
- }
- if (other.getAllowPlaybackInterruption() != false) {
- setAllowPlaybackInterruption(other.getAllowPlaybackInterruption());
+ if (segmentsBuilder_ == null) {
+ if (!other.segments_.isEmpty()) {
+ if (segments_.isEmpty()) {
+ segments_ = other.segments_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureSegmentsIsMutable();
+ segments_.addAll(other.segments_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.segments_.isEmpty()) {
+ if (segmentsBuilder_.isEmpty()) {
+ segmentsBuilder_.dispose();
+ segmentsBuilder_ = null;
+ segments_ = other.segments_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ segmentsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getSegmentsFieldBuilder()
+ : null;
+ } else {
+ segmentsBuilder_.addAllMessages(other.segments_);
+ }
+ }
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -6996,12 +6857,12 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio parsedMessage = null;
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
- (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ (com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
@@ -7011,177 +6872,427 @@ public Builder mergeFrom(
}
return this;
}
-
- private java.lang.Object audioUri_ = "";
+
+ private int bitField0_;
+
+ private java.util.List<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
+ segments_ = java.util.Collections.emptyList();
+
+ private void ensureSegmentsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ segments_ =
+ new java.util.ArrayList<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>(
+ segments_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
+ segmentsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public java.util.List<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
+ getSegmentsList() {
+ if (segmentsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(segments_);
+ } else {
+ return segmentsBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public int getSegmentsCount() {
+ if (segmentsBuilder_ == null) {
+ return segments_.size();
+ } else {
+ return segmentsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment getSegments(
+ int index) {
+ if (segmentsBuilder_ == null) {
+ return segments_.get(index);
+ } else {
+ return segmentsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public Builder setSegments(
+ int index,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) {
+ if (segmentsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSegmentsIsMutable();
+ segments_.set(index, value);
+ onChanged();
+ } else {
+ segmentsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public Builder setSegments(
+ int index,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ builderForValue) {
+ if (segmentsBuilder_ == null) {
+ ensureSegmentsIsMutable();
+ segments_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ segmentsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public Builder addSegments(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) {
+ if (segmentsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSegmentsIsMutable();
+ segments_.add(value);
+ onChanged();
+ } else {
+ segmentsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public Builder addSegments(
+ int index,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment value) {
+ if (segmentsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSegmentsIsMutable();
+ segments_.add(index, value);
+ onChanged();
+ } else {
+ segmentsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public Builder addSegments(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ builderForValue) {
+ if (segmentsBuilder_ == null) {
+ ensureSegmentsIsMutable();
+ segments_.add(builderForValue.build());
+ onChanged();
+ } else {
+ segmentsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return The audioUri.
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
- public java.lang.String getAudioUri() {
- java.lang.Object ref = audioUri_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- audioUri_ = s;
- return s;
+ public Builder addSegments(
+ int index,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ builderForValue) {
+ if (segmentsBuilder_ == null) {
+ ensureSegmentsIsMutable();
+ segments_.add(index, builderForValue.build());
+ onChanged();
} else {
- return (java.lang.String) ref;
+ segmentsBuilder_.addMessage(index, builderForValue.build());
}
+ return this;
}
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return The bytes for audioUri.
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
- public com.google.protobuf.ByteString getAudioUriBytes() {
- java.lang.Object ref = audioUri_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- audioUri_ = b;
- return b;
+ public Builder addAllSegments(
+ java.lang.Iterable<
+ ? extends
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
+ values) {
+ if (segmentsBuilder_ == null) {
+ ensureSegmentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ segmentsBuilder_.addAllMessages(values);
}
+ return this;
}
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @param value The audioUri to set.
- * @return This builder for chaining.
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
- public Builder setAudioUri(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder clearSegments() {
+ if (segmentsBuilder_ == null) {
+ segments_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ segmentsBuilder_.clear();
}
-
- audioUri_ = value;
- onChanged();
return this;
}
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- *
- * @return This builder for chaining.
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
- public Builder clearAudioUri() {
-
- audioUri_ = getDefaultInstance().getAudioUri();
- onChanged();
+ public Builder removeSegments(int index) {
+ if (segmentsBuilder_ == null) {
+ ensureSegmentsIsMutable();
+ segments_.remove(index);
+ onChanged();
+ } else {
+ segmentsBuilder_.remove(index);
+ }
return this;
}
/**
*
*
*
- * Required. URI of the audio clip. Dialogflow does not impose any
- * validation on this value. It is specific to the client that reads it.
+ * Segments this audio response is composed of.
*
*
- * string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ getSegmentsBuilder(int index) {
+ return getSegmentsFieldBuilder().getBuilder(index);
+ }
+ /**
*
- * @param value The bytes for audioUri to set.
- * @return This builder for chaining.
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
- public Builder setAudioUriBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder
+ getSegmentsOrBuilder(int index) {
+ if (segmentsBuilder_ == null) {
+ return segments_.get(index);
+ } else {
+ return segmentsBuilder_.getMessageOrBuilder(index);
}
- checkByteStringIsUtf8(value);
-
- audioUri_ = value;
- onChanged();
- return this;
}
-
- private boolean allowPlaybackInterruption_;
/**
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
- * request.
+ * Segments this audio response is composed of.
*
*
- * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
*
- *
- * @return The allowPlaybackInterruption.
*/
- @java.lang.Override
- public boolean getAllowPlaybackInterruption() {
- return allowPlaybackInterruption_;
+ public java.util.List<
+ ? extends
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
+ .SegmentOrBuilder>
+ getSegmentsOrBuilderList() {
+ if (segmentsBuilder_ != null) {
+ return segmentsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(segments_);
+ }
}
/**
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
- * request.
+ * Segments this audio response is composed of.
*
*
- * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
*
- *
- * @param value The allowPlaybackInterruption to set.
- * @return This builder for chaining.
*/
- public Builder setAllowPlaybackInterruption(boolean value) {
-
- allowPlaybackInterruption_ = value;
- onChanged();
- return this;
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ addSegmentsBuilder() {
+ return getSegmentsFieldBuilder()
+ .addBuilder(
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ .getDefaultInstance());
}
/**
*
*
*
- * Output only. Whether the playback of this message can be interrupted by
- * the end user's speech and the client can then starts the next Dialogflow
- * request.
+ * Segments this audio response is composed of.
*
*
- * bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
*
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder
+ addSegmentsBuilder(int index) {
+ return getSegmentsFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
+ .getDefaultInstance());
+ }
+ /**
*
- * @return This builder for chaining.
+ *
+ *
+ * Segments this audio response is composed of.
+ *
+ *
+ *
+ * repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
+ *
*/
- public Builder clearAllowPlaybackInterruption() {
+ public java.util.List<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder>
+ getSegmentsBuilderList() {
+ return getSegmentsFieldBuilder().getBuilderList();
+ }
- allowPlaybackInterruption_ = false;
- onChanged();
- return this;
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>
+ getSegmentsFieldBuilder() {
+ if (segmentsBuilder_ == null) {
+ segmentsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
+ .SegmentOrBuilder>(
+ segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ segments_ = null;
+ }
+ return segmentsBuilder_;
}
@java.lang.Override
@@ -7196,44 +7307,44 @@ public final Builder mergeUnknownFields(
return super.mergeUnknownFields(unknownFields);
}
- // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
+ // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
}
- // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio)
- private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio();
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio();
}
- public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ public static com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public PlayAudio parsePartialFrom(
+ public MixedAudio parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new PlayAudio(input, extensionRegistry);
+ return new MixedAudio(input, extensionRegistry);
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio
+ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -7597,11 +7708,12 @@ public boolean hasLiveAgentHandoff() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -7618,11 +7730,12 @@ public boolean hasEndInteraction() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -7643,11 +7756,12 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction get
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -7671,9 +7785,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction get
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -7690,9 +7803,8 @@ public boolean hasPlayAudio() {
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -7712,9 +7824,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getPlayA
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -7733,8 +7844,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getPlayA
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -7754,8 +7865,8 @@ public boolean hasMixedAudio() {
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -7778,8 +7889,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getMixe
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -9533,11 +9644,12 @@ public Builder clearLiveAgentHandoff() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9554,11 +9666,12 @@ public boolean hasEndInteraction() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9588,11 +9701,12 @@ public boolean hasEndInteraction() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9617,11 +9731,12 @@ public Builder setEndInteraction(
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9644,11 +9759,12 @@ public Builder setEndInteraction(
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9685,11 +9801,12 @@ public Builder mergeEndInteraction(
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9716,11 +9833,12 @@ public Builder clearEndInteraction() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9735,11 +9853,12 @@ public Builder clearEndInteraction() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9763,11 +9882,12 @@ public Builder clearEndInteraction() {
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -9812,9 +9932,8 @@ public Builder clearEndInteraction() {
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9831,9 +9950,8 @@ public boolean hasPlayAudio() {
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9862,9 +9980,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio getPlayA
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9889,9 +10006,8 @@ public Builder setPlayAudio(
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9913,9 +10029,8 @@ public Builder setPlayAudio(
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9951,9 +10066,8 @@ public Builder mergePlayAudio(
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9980,9 +10094,8 @@ public Builder clearPlayAudio() {
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -9997,9 +10110,8 @@ public Builder clearPlayAudio() {
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -10023,9 +10135,8 @@ public Builder clearPlayAudio() {
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -10065,8 +10176,8 @@ public Builder clearPlayAudio() {
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10086,8 +10197,8 @@ public boolean hasMixedAudio() {
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10119,8 +10230,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio getMixe
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10148,8 +10259,8 @@ public Builder setMixedAudio(
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10174,8 +10285,8 @@ public Builder setMixedAudio(
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10214,8 +10325,8 @@ public Builder mergeMixedAudio(
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10245,8 +10356,8 @@ public Builder clearMixedAudio() {
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10264,8 +10375,8 @@ public Builder clearMixedAudio() {
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -10292,8 +10403,8 @@ public Builder clearMixedAudio() {
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java
index 6e87abbc9..3c151c81c 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageOrBuilder.java
@@ -227,11 +227,12 @@ public interface ResponseMessageOrBuilder
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -245,11 +246,12 @@ public interface ResponseMessageOrBuilder
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -263,11 +265,12 @@ public interface ResponseMessageOrBuilder
*
*
*
- * Output only. A signal that indicates the interaction with the Dialogflow
- * agent has ended. This message is generated by Dialogflow only when the
- * conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- * to be defined by the user. It's guaranteed that there is at most one such
- * message in each response.
+ * Output only. A signal that indicates the interaction with the Dialogflow agent has
+ * ended.
+ * This message is generated by Dialogflow only when the conversation
+ * reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ * defined by the user.
+ * It's guaranteed that there is at most one such message in each response.
*
*
*
@@ -283,9 +286,8 @@ public interface ResponseMessageOrBuilder
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -299,9 +301,8 @@ public interface ResponseMessageOrBuilder
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -315,9 +316,8 @@ public interface ResponseMessageOrBuilder
*
* Signal that the client should play an audio clip hosted at a
* client-specific URI. Dialogflow uses this to construct
- * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- * However, Dialogflow itself does not try to read or process the URI in any
- * way.
+ * [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ * does not try to read or process the URI in any way.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;
@@ -328,8 +328,8 @@ public interface ResponseMessageOrBuilder
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -346,8 +346,8 @@ public interface ResponseMessageOrBuilder
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
@@ -364,8 +364,8 @@ public interface ResponseMessageOrBuilder
*
*
*
- * Output only. An audio response message composed of both the synthesized
- * Dialogflow agent responses and responses defined via
+ * Output only. An audio response message composed of both the synthesized Dialogflow
+ * agent responses and responses defined via
* [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
* This message is generated by Dialogflow only and not supposed to be
* defined by the user.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java
index 65b1d153f..be28245f2 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ResponseMessageProto.java
@@ -51,6 +51,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -59,10 +63,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_Segment_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -74,9 +74,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n9google/cloud/dialogflow/cx/v3beta1/res"
+ "ponse_message.proto\022\"google.cloud.dialog"
- + "flow.cx.v3beta1\032\034google/api/annotations."
- + "proto\032\037google/api/field_behavior.proto\032\034"
- + "google/protobuf/struct.proto\"\203\n\n\017Respons"
+ + "flow.cx.v3beta1\032\037google/api/field_behavi"
+ + "or.proto\032\034google/protobuf/struct.proto\032\034"
+ + "google/api/annotations.proto\"\255\n\n\017Respons"
+ "eMessage\022H\n\004text\030\001 \001(\01328.google.cloud.di"
+ "alogflow.cx.v3beta1.ResponseMessage.Text"
+ "H\000\022*\n\007payload\030\002 \001(\0132\027.google.protobuf.St"
@@ -99,29 +99,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "tion\030\002 \001(\010B\003\340A\003\032=\n\020LiveAgentHandoff\022)\n\010m"
+ "etadata\030\001 \001(\0132\027.google.protobuf.Struct\032@"
+ "\n\023ConversationSuccess\022)\n\010metadata\030\001 \001(\0132"
- + "\027.google.protobuf.Struct\032;\n\017OutputAudioT"
- + "ext\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004ssml\030\002 \001(\tH\000B\010\n\006s"
- + "ource\032\020\n\016EndInteraction\032\306\001\n\nMixedAudio\022X"
- + "\n\010segments\030\001 \003(\0132F.google.cloud.dialogfl"
- + "ow.cx.v3beta1.ResponseMessage.MixedAudio"
- + ".Segment\032^\n\007Segment\022\017\n\005audio\030\001 \001(\014H\000\022\r\n\003"
- + "uri\030\002 \001(\tH\000\022(\n\033allow_playback_interrupti"
- + "on\030\003 \001(\010B\003\340A\003B\t\n\007content\032M\n\tPlayAudio\022\026\n"
- + "\taudio_uri\030\001 \001(\tB\003\340A\002\022(\n\033allow_playback_"
- + "interruption\030\002 \001(\010B\003\340A\003B\t\n\007messageB\263\001\n&c"
- + "om.google.cloud.dialogflow.cx.v3beta1B\024R"
- + "esponseMessageProtoP\001ZDgoogle.golang.org"
- + "/genproto/googleapis/cloud/dialogflow/cx"
- + "/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialo"
- + "gflow.Cx.V3Beta1b\006proto3"
+ + "\027.google.protobuf.Struct\032e\n\017OutputAudioT"
+ + "ext\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004ssml\030\002 \001(\tH\000\022(\n\033a"
+ + "llow_playback_interruption\030\003 \001(\010B\003\340A\003B\010\n"
+ + "\006source\032\020\n\016EndInteraction\032M\n\tPlayAudio\022\026"
+ + "\n\taudio_uri\030\001 \001(\tB\003\340A\002\022(\n\033allow_playback"
+ + "_interruption\030\002 \001(\010B\003\340A\003\032\306\001\n\nMixedAudio\022"
+ + "X\n\010segments\030\001 \003(\0132F.google.cloud.dialogf"
+ + "low.cx.v3beta1.ResponseMessage.MixedAudi"
+ + "o.Segment\032^\n\007Segment\022\017\n\005audio\030\001 \001(\014H\000\022\r\n"
+ + "\003uri\030\002 \001(\tH\000\022(\n\033allow_playback_interrupt"
+ + "ion\030\003 \001(\010B\003\340A\003B\t\n\007contentB\t\n\007messageB\263\001\n"
+ + "&com.google.cloud.dialogflow.cx.v3beta1B"
+ + "\024ResponseMessageProtoP\001ZDgoogle.golang.o"
+ + "rg/genproto/googleapis/cloud/dialogflow/"
+ + "cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dia"
+ + "logflow.Cx.V3Beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
+ com.google.api.AnnotationsProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -177,7 +178,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_OutputAudioText_descriptor,
new java.lang.String[] {
- "Text", "Ssml", "Source",
+ "Text", "Ssml", "AllowPlaybackInterruption", "Source",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
@@ -187,10 +188,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_EndInteraction_descriptor,
new java.lang.String[] {});
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor =
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
.getNestedTypes()
.get(5);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor,
+ new java.lang.String[] {
+ "AudioUri", "AllowPlaybackInterruption",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor =
+ internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
+ .getNestedTypes()
+ .get(6);
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_MixedAudio_descriptor,
@@ -207,24 +218,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Audio", "Uri", "AllowPlaybackInterruption", "Content",
});
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor =
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_descriptor
- .getNestedTypes()
- .get(6);
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_dialogflow_cx_v3beta1_ResponseMessage_PlayAudio_descriptor,
- new java.lang.String[] {
- "AudioUri", "AllowPlaybackInterruption",
- });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
+ com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java
new file mode 100644
index 000000000..2bbd1cf41
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResult.java
@@ -0,0 +1,657 @@
+/*
+ * Copyright 2020 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.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dialogflow/cx/v3beta1/session.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * The result of sentiment analysis. Sentiment analysis inspects user input
+ * and identifies the prevailing subjective opinion, especially to determine a
+ * user's attitude as positive, negative, or neutral.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult}
+ */
+public final class SentimentAnalysisResult extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult)
+ SentimentAnalysisResultOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use SentimentAnalysisResult.newBuilder() to construct.
+ private SentimentAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private SentimentAnalysisResult() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SentimentAnalysisResult();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private SentimentAnalysisResult(
+ 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 13:
+ {
+ score_ = input.readFloat();
+ break;
+ }
+ case 21:
+ {
+ magnitude_ = input.readFloat();
+ 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.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.class,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder.class);
+ }
+
+ public static final int SCORE_FIELD_NUMBER = 1;
+ private float score_;
+ /**
+ *
+ *
+ *
+ * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ * sentiment).
+ *
+ *
+ * float score = 1;
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+
+ public static final int MAGNITUDE_FIELD_NUMBER = 2;
+ private float magnitude_;
+ /**
+ *
+ *
+ *
+ * A non-negative number in the [0, +inf) range, which represents the absolute
+ * magnitude of sentiment, regardless of score (positive or negative).
+ *
+ *
+ * float magnitude = 2;
+ *
+ * @return The magnitude.
+ */
+ @java.lang.Override
+ public float getMagnitude() {
+ return magnitude_;
+ }
+
+ 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 (score_ != 0F) {
+ output.writeFloat(1, score_);
+ }
+ if (magnitude_ != 0F) {
+ output.writeFloat(2, magnitude_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (score_ != 0F) {
+ size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, score_);
+ }
+ if (magnitude_ != 0F) {
+ size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, magnitude_);
+ }
+ 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.SentimentAnalysisResult)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult other =
+ (com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) obj;
+
+ if (java.lang.Float.floatToIntBits(getScore())
+ != java.lang.Float.floatToIntBits(other.getScore())) return false;
+ if (java.lang.Float.floatToIntBits(getMagnitude())
+ != java.lang.Float.floatToIntBits(other.getMagnitude())) 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) + SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore());
+ hash = (37 * hash) + MAGNITUDE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getMagnitude());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.SentimentAnalysisResult parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.SentimentAnalysisResult parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult 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.SentimentAnalysisResult 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.SentimentAnalysisResult 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.SentimentAnalysisResult 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.SentimentAnalysisResult 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.SentimentAnalysisResult 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.SentimentAnalysisResult 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.SentimentAnalysisResult 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;
+ }
+ /**
+ *
+ *
+ *
+ * The result of sentiment analysis. Sentiment analysis inspects user input
+ * and identifies the prevailing subjective opinion, especially to determine a
+ * user's attitude as positive, negative, or neutral.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult)
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResultOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.class,
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.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();
+ score_ = 0F;
+
+ magnitude_ = 0F;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SessionProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult
+ getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult build() {
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult result =
+ new com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult(this);
+ result.score_ = score_;
+ result.magnitude_ = magnitude_;
+ 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.SentimentAnalysisResult) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult other) {
+ if (other
+ == com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult.getDefaultInstance())
+ return this;
+ if (other.getScore() != 0F) {
+ setScore(other.getScore());
+ }
+ if (other.getMagnitude() != 0F) {
+ setMagnitude(other.getMagnitude());
+ }
+ 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.SentimentAnalysisResult parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult)
+ e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private float score_;
+ /**
+ *
+ *
+ *
+ * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ * sentiment).
+ *
+ *
+ * float score = 1;
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+ /**
+ *
+ *
+ *
+ * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ * sentiment).
+ *
+ *
+ * float score = 1;
+ *
+ * @param value The score to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScore(float value) {
+
+ score_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ * sentiment).
+ *
+ *
+ * float score = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearScore() {
+
+ score_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private float magnitude_;
+ /**
+ *
+ *
+ *
+ * A non-negative number in the [0, +inf) range, which represents the absolute
+ * magnitude of sentiment, regardless of score (positive or negative).
+ *
+ *
+ * float magnitude = 2;
+ *
+ * @return The magnitude.
+ */
+ @java.lang.Override
+ public float getMagnitude() {
+ return magnitude_;
+ }
+ /**
+ *
+ *
+ *
+ * A non-negative number in the [0, +inf) range, which represents the absolute
+ * magnitude of sentiment, regardless of score (positive or negative).
+ *
+ *
+ * float magnitude = 2;
+ *
+ * @param value The magnitude to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMagnitude(float value) {
+
+ magnitude_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A non-negative number in the [0, +inf) range, which represents the absolute
+ * magnitude of sentiment, regardless of score (positive or negative).
+ *
+ *
+ * float magnitude = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMagnitude() {
+
+ magnitude_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ @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.SentimentAnalysisResult)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public SentimentAnalysisResult parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SentimentAnalysisResult(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.SentimentAnalysisResult
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java
new file mode 100644
index 000000000..b14b83434
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SentimentAnalysisResultOrBuilder.java
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2020 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.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/dialogflow/cx/v3beta1/session.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+public interface SentimentAnalysisResultOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ * sentiment).
+ *
+ *
+ * float score = 1;
+ *
+ * @return The score.
+ */
+ float getScore();
+
+ /**
+ *
+ *
+ *
+ * A non-negative number in the [0, +inf) range, which represents the absolute
+ * magnitude of sentiment, regardless of score (positive or negative).
+ *
+ *
+ * float magnitude = 2;
+ *
+ * @return The magnitude.
+ */
+ float getMagnitude();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java
index 7a2026bfc..464dcdcfe 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityType.java
@@ -26,9 +26,9 @@
* entities that are built for an individual user such as favorites,
* preferences, playlists, and so on.
* You can redefine a session entity type at the session level to extend or
- * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType]
- * at the user session level (we refer to the entity types defined at the agent
- * level as "custom entity types").
+ * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] at the user session level (we
+ * refer to the entity types defined at the agent level as "custom entity
+ * types").
* Note: session entity types apply to all queries, regardless of the language.
* For more information about entity types, see the [Dialogflow
* documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
@@ -188,9 +188,8 @@ public enum EntityOverrideMode implements com.google.protobuf.ProtocolMessageEnu
* `GetSessionEntityType`, `CreateSessionEntityType` and
* `UpdateSessionEntityType` only return the additional entities added in
* this session entity type. If you want to get the supplemented list,
- * please call
- * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType]
- * on the custom entity type and merge.
+ * please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] on the custom entity type
+ * and merge.
*
*
* ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2;
@@ -230,9 +229,8 @@ public enum EntityOverrideMode implements com.google.protobuf.ProtocolMessageEnu
* `GetSessionEntityType`, `CreateSessionEntityType` and
* `UpdateSessionEntityType` only return the additional entities added in
* this session entity type. If you want to get the supplemented list,
- * please call
- * [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType]
- * on the custom entity type and merge.
+ * please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] on the custom entity type
+ * and merge.
*
*
* ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2;
@@ -394,8 +392,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -412,8 +410,8 @@ public int getEntityOverrideModeValue() {
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -440,8 +438,8 @@ public int getEntityOverrideModeValue() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -457,8 +455,8 @@ public int getEntityOverrideModeValue() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -474,8 +472,8 @@ public int getEntityOverrideModeValue() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -490,8 +488,8 @@ public int getEntitiesCount() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -506,8 +504,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity getEntities(int
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -714,9 +712,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* entities that are built for an individual user such as favorites,
* preferences, playlists, and so on.
* You can redefine a session entity type at the session level to extend or
- * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType]
- * at the user session level (we refer to the entity types defined at the agent
- * level as "custom entity types").
+ * replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] at the user session level (we
+ * refer to the entity types defined at the agent level as "custom entity
+ * types").
* Note: session entity types apply to all queries, regardless of the language.
* For more information about entity types, see the [Dialogflow
* documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
@@ -1068,8 +1066,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -1086,8 +1084,8 @@ public int getEntityOverrideModeValue() {
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -1107,8 +1105,8 @@ public Builder setEntityOverrideModeValue(int value) {
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -1132,8 +1130,8 @@ public Builder setEntityOverrideModeValue(int value) {
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -1157,8 +1155,8 @@ public Builder setEntityOverrideMode(
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -1196,8 +1194,8 @@ private void ensureEntitiesIsMutable() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1216,8 +1214,8 @@ private void ensureEntitiesIsMutable() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1235,8 +1233,8 @@ public int getEntitiesCount() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1254,8 +1252,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity getEntities(int
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1280,8 +1278,8 @@ public Builder setEntities(
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1304,8 +1302,8 @@ public Builder setEntities(
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1329,8 +1327,8 @@ public Builder addEntities(com.google.cloud.dialogflow.cx.v3beta1.EntityType.Ent
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1355,8 +1353,8 @@ public Builder addEntities(
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1378,8 +1376,8 @@ public Builder addEntities(
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1402,8 +1400,8 @@ public Builder addEntities(
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1426,8 +1424,8 @@ public Builder addAllEntities(
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1448,8 +1446,8 @@ public Builder clearEntities() {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1470,8 +1468,8 @@ public Builder removeEntities(int index) {
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1486,8 +1484,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity.Builder getEntit
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1506,8 +1504,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.EntityOrBuilder getEnti
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1527,8 +1525,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.EntityOrBuilder getEnti
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1544,8 +1542,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity.Builder addEntit
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -1562,8 +1560,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.EntityType.Entity.Builder addEntit
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java
index b84030790..ae653bfa2 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionEntityTypeOrBuilder.java
@@ -64,8 +64,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -79,8 +79,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. Indicates whether the additional data should override or
- * supplement the custom entity type definition.
+ * Required. Indicates whether the additional data should override or supplement the
+ * custom entity type definition.
*
*
*
@@ -96,8 +96,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -109,8 +109,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -122,8 +122,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -135,8 +135,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
@@ -149,8 +149,8 @@ public interface SessionEntityTypeOrBuilder
*
*
*
- * Required. The collection of entities to override or supplement the custom
- * entity type.
+ * Required. The collection of entities to override or supplement the custom entity
+ * type.
*
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java
index 154ec9bed..08b4e999d 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfo.java
@@ -145,14 +145,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -176,14 +172,10 @@ public java.lang.String getSession() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -236,16 +228,12 @@ public int getParametersCount() {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -267,16 +255,12 @@ public java.util.Map getParameters(
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -289,16 +273,12 @@ public java.util.Map getParametersM
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -317,16 +297,12 @@ public com.google.protobuf.Value getParametersOrDefault(
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -711,14 +687,10 @@ public Builder mergeFrom(
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -741,14 +713,10 @@ public java.lang.String getSession() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -771,14 +739,10 @@ public com.google.protobuf.ByteString getSessionBytes() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -800,14 +764,10 @@ public Builder setSession(java.lang.String value) {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -825,14 +785,10 @@ public Builder clearSession() {
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -884,16 +840,12 @@ public int getParametersCount() {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -915,16 +867,12 @@ public java.util.Map getParameters(
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -937,16 +885,12 @@ public java.util.Map getParametersM
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -965,16 +909,12 @@ public com.google.protobuf.Value getParametersOrDefault(
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -1000,16 +940,12 @@ public Builder clearParameters() {
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -1030,16 +966,12 @@ public java.util.Map getMutablePara
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -1058,16 +990,12 @@ public Builder putParameters(java.lang.String key, com.google.protobuf.Value val
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java
index e7ce9697f..834c00b0a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionInfoOrBuilder.java
@@ -27,14 +27,10 @@ public interface SessionInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -47,14 +43,10 @@ public interface SessionInfoOrBuilder
*
*
*
- * Always present for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Ignored for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * unique identifier of the
- * [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session].
- * This field can be used by the webhook to identify a user. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * The unique identifier of the [session][google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.session]. This
+ * field can be used by the webhook to identify a user.
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/sessions/<Session ID>`.
*
*
@@ -68,16 +60,12 @@ public interface SessionInfoOrBuilder
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -87,16 +75,12 @@ public interface SessionInfoOrBuilder
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -109,16 +93,12 @@ public interface SessionInfoOrBuilder
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -128,16 +108,12 @@ public interface SessionInfoOrBuilder
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
@@ -148,16 +124,12 @@ com.google.protobuf.Value getParametersOrDefault(
*
*
*
- * Optional for
- * [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
- * Optional for
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. All
- * parameters collected from forms and intents during the session. Parameters
- * can be created, updated, or removed by the webhook. To remove a parameter
- * from the session, the webhook should explicitly set the parameter value to
- * null in
- * [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The
- * map is keyed by parameters' display names.
+ * Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
+ * All parameters collected from forms and intents during the session.
+ * Parameters can be created, updated, or removed by the webhook. To remove a
+ * parameter from the session, the webhook should explicitly set the parameter
+ * value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. The map is keyed by parameters'
+ * display names.
*
*
* map<string, .google.protobuf.Value> parameters = 2;
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 8033337a0..4638f3337 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
@@ -71,6 +71,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_dialogflow_cx_v3beta1_AudioInput_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_AudioInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -91,6 +95,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -102,175 +110,184 @@ 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/intent.proto\032-google/cloud/"
- + "dialogflow/cx/v3beta1/page.proto\0329google"
- + "/cloud/dialogflow/cx/v3beta1/response_me"
- + "ssage.proto\032.google"
- + ".cloud.dialogflow.cx.v3beta1.StreamingRe"
- + "cognitionResultH\000\022Z\n\026detect_intent_respo"
- + "nse\030\002 \001(\01328.google.cloud.dialogflow.cx.v"
- + "3beta1.DetectIntentResponseH\000B\n\n\010respons"
- + "e\"\251\003\n\032StreamingRecognitionResult\022`\n\014mess"
- + "age_type\030\001 \001(\0162J.google.cloud.dialogflow"
- + ".cx.v3beta1.StreamingRecognitionResult.M"
- + "essageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n\010is_fin"
- + "al\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\022\021\n\tstabilit"
- + "y\030\006 \001(\002\022L\n\020speech_word_info\030\007 \003(\01322.goog"
- + "le.cloud.dialogflow.cx.v3beta1.SpeechWor"
- + "dInfo\0224\n\021speech_end_offset\030\010 \001(\0132\031.googl"
- + "e.protobuf.Duration\"X\n\013MessageType\022\034\n\030ME"
- + "SSAGE_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001"
- + "\022\033\n\027END_OF_SINGLE_UTTERANCE\020\002\"\373\001\n\017QueryP"
- + "arameters\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014geo_loca"
- + "tion\030\002 \001(\0132\023.google.type.LatLng\022S\n\024sessi"
- + "on_entity_types\030\003 \003(\01325.google.cloud.dia"
- + "logflow.cx.v3beta1.SessionEntityType\022(\n\007"
- + "payload\030\004 \001(\0132\027.google.protobuf.Struct\022+"
- + "\n\nparameters\030\005 \001(\0132\027.google.protobuf.Str"
- + "uct\"\364\001\n\nQueryInput\022=\n\004text\030\002 \001(\0132-.googl"
- + "e.cloud.dialogflow.cx.v3beta1.TextInputH"
- + "\000\022A\n\006intent\030\003 \001(\0132/.google.cloud.dialogf"
- + "low.cx.v3beta1.IntentInputH\000\022?\n\005audio\030\005 "
- + "\001(\0132..google.cloud.dialogflow.cx.v3beta1"
- + ".AudioInputH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A"
- + "\002B\007\n\005input\"\371\004\n\013QueryResult\022\016\n\004text\030\001 \001(\t"
- + "H\000\022\030\n\016trigger_intent\030\013 \001(\tH\000\022\024\n\ntranscri"
- + "pt\030\014 \001(\tH\000\022\027\n\rtrigger_event\030\016 \001(\tH\000\022\025\n\rl"
- + "anguage_code\030\002 \001(\t\022+\n\nparameters\030\003 \001(\0132\027"
- + ".google.protobuf.Struct\022N\n\021response_mess"
- + "ages\030\004 \003(\01323.google.cloud.dialogflow.cx."
- + "v3beta1.ResponseMessage\022,\n\020webhook_statu"
- + "ses\030\r \003(\0132\022.google.rpc.Status\0221\n\020webhook"
- + "_payloads\030\006 \003(\0132\027.google.protobuf.Struct"
- + "\022>\n\014current_page\030\007 \001(\0132(.google.cloud.di"
- + "alogflow.cx.v3beta1.Page\022>\n\006intent\030\010 \001(\013"
- + "2*.google.cloud.dialogflow.cx.v3beta1.In"
- + "tentB\002\030\001\022\'\n\033intent_detection_confidence\030"
- + "\t \001(\002B\002\030\001\0228\n\005match\030\017 \001(\0132).google.cloud."
- + "dialogflow.cx.v3beta1.Match\0220\n\017diagnosti"
- + "c_info\030\n \001(\0132\027.google.protobuf.StructB\007\n"
- + "\005query\"\036\n\tTextInput\022\021\n\004text\030\001 \001(\tB\003\340A\002\"G"
- + "\n\013IntentInput\0228\n\006intent\030\001 \001(\tB(\340A\002\372A\"\n d"
- + "ialogflow.googleapis.com/Intent\"f\n\nAudio"
- + "Input\022I\n\006config\030\001 \001(\01324.google.cloud.dia"
- + "logflow.cx.v3beta1.InputAudioConfigB\003\340A\002"
- + "\022\r\n\005audio\030\002 \001(\014\"\340\002\n\005Match\022:\n\006intent\030\001 \001("
- + "\0132*.google.cloud.dialogflow.cx.v3beta1.I"
- + "ntent\022+\n\nparameters\030\002 \001(\0132\027.google.proto"
- + "buf.Struct\022\026\n\016resolved_input\030\003 \001(\t\022G\n\nma"
- + "tch_type\030\004 \001(\01623.google.cloud.dialogflow"
- + ".cx.v3beta1.Match.MatchType\022\022\n\nconfidenc"
- + "e\030\005 \001(\002\"y\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPE"
- + "CIFIED\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022"
- + "\025\n\021PARAMETER_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010"
- + "NO_INPUT\020\005\"\345\001\n\022MatchIntentRequest\022:\n\007ses"
- + "sion\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapi"
- + "s.com/Session\022I\n\014query_params\030\002 \001(\01323.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.QueryPa"
- + "rameters\022H\n\013query_input\030\003 \001(\0132..google.c"
- + "loud.dialogflow.cx.v3beta1.QueryInputB\003\340"
- + "A\002\"\332\001\n\023MatchIntentResponse\022\016\n\004text\030\001 \001(\t"
- + "H\000\022\030\n\016trigger_intent\030\002 \001(\tH\000\022\024\n\ntranscri"
- + "pt\030\003 \001(\tH\000\022:\n\007matches\030\004 \003(\0132).google.clo"
- + "ud.dialogflow.cx.v3beta1.Match\022>\n\014curren"
- + "t_page\030\005 \001(\0132(.google.cloud.dialogflow.c"
- + "x.v3beta1.PageB\007\n\005query\"\372\001\n\024FulfillInten"
- + "tRequest\022T\n\024match_intent_request\030\001 \001(\01326"
- + ".google.cloud.dialogflow.cx.v3beta1.Matc"
- + "hIntentRequest\0228\n\005match\030\002 \001(\0132).google.c"
- + "loud.dialogflow.cx.v3beta1.Match\022R\n\023outp"
- + "ut_audio_config\030\003 \001(\01325.google.cloud.dia"
- + "logflow.cx.v3beta1.OutputAudioConfig\"\335\001\n"
- + "\025FulfillIntentResponse\022\023\n\013response_id\030\001 "
- + "\001(\t\022E\n\014query_result\030\002 \001(\0132/.google.cloud"
- + ".dialogflow.cx.v3beta1.QueryResult\022\024\n\014ou"
- + "tput_audio\030\003 \001(\014\022R\n\023output_audio_config\030"
- + "\004 \001(\01325.google.cloud.dialogflow.cx.v3bet"
- + "a1.OutputAudioConfig2\212\n\n\010Sessions\022\272\002\n\014De"
- + "tectIntent\0227.google.cloud.dialogflow.cx."
- + "v3beta1.DetectIntentRequest\0328.google.clo"
- + "ud.dialogflow.cx.v3beta1.DetectIntentRes"
- + "ponse\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=proje"
- + "cts/*/locations/*/agents/*/sessions/*}:d"
- + "etectIntent:\001*Z^\"Y/v3beta1/{session=proj"
- + "ects/*/locations/*/agents/*/environments"
- + "/*/sessions/*}:detectIntent:\001*\022\242\001\n\025Strea"
- + "mingDetectIntent\022@.google.cloud.dialogfl"
- + "ow.cx.v3beta1.StreamingDetectIntentReque"
- + "st\032A.google.cloud.dialogflow.cx.v3beta1."
- + "StreamingDetectIntentResponse\"\000(\0010\001\022\265\002\n\013"
- + "MatchIntent\0226.google.cloud.dialogflow.cx"
- + ".v3beta1.MatchIntentRequest\0327.google.clo"
- + "ud.dialogflow.cx.v3beta1.MatchIntentResp"
- + "onse\"\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=projec"
- + "ts/*/locations/*/agents/*/sessions/*}:ma"
- + "tchIntent:\001*Z]\"X/v3beta1/{session=projec"
- + "ts/*/locations/*/agents/*/environments/*"
- + "/sessions/*}:matchIntent:\001*\022\351\002\n\rFulfillI"
- + "ntent\0228.google.cloud.dialogflow.cx.v3bet"
- + "a1.FulfillIntentRequest\0329.google.cloud.d"
- + "ialogflow.cx.v3beta1.FulfillIntentRespon"
- + "se\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_req"
- + "uest.session=projects/*/locations/*/agen"
- + "ts/*/sessions/*}:fulfillIntent:\001*Zt\"o/v3"
- + "beta1/{match_intent_request.session=proj"
- + "ects/*/locations/*/agents/*/environments"
- + "/*/sessions/*}:fulfillIntent:\001*\032x\312A\031dial"
- + "ogflow.googleapis.com\322AYhttps://www.goog"
- + "leapis.com/auth/cloud-platform,https://w"
- + "ww.googleapis.com/auth/dialogflowB\203\003\n&co"
- + "m.google.cloud.dialogflow.cx.v3beta1B\014Se"
- + "ssionProtoP\001ZDgoogle.golang.org/genproto"
- + "/googleapis/cloud/dialogflow/cx/v3beta1;"
- + "cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx."
- + "V3Beta1\352A\324\001\n!dialogflow.googleapis.com/S"
- + "ession\022Iprojects/{project}/locations/{lo"
- + "cation}/agents/{agent}/sessions/{session"
- + "}\022dprojects/{project}/locations/{locatio"
- + "n}/agents/{agent}/environments/{environm"
- + "ent}/sessions/{session}b\006proto3"
+ + "3beta1\032\034google/api/annotations.proto\032\037go"
+ + "ogle/api/field_behavior.proto\032\031google/ap"
+ + "i/resource.proto\0325google/cloud/dialogflo"
+ + "w/cx/v3beta1/audio_config.proto\032-google/"
+ + "cloud/dialogflow/cx/v3beta1/flow.proto\032/"
+ + "google/cloud/dialogflow/cx/v3beta1/inten"
+ + "t.proto\032-google/cloud/dialogflow/cx/v3be"
+ + "ta1/page.proto\0329google/cloud/dialogflow/"
+ + "cx/v3beta1/response_message.proto\032"
+ + ".google.cloud.dialogflow.cx.v3beta1.Stre"
+ + "amingRecognitionResultH\000\022Z\n\026detect_inten"
+ + "t_response\030\002 \001(\01328.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.DetectIntentResponseH\000B\n\n\010"
+ + "response\"\251\003\n\032StreamingRecognitionResult\022"
+ + "`\n\014message_type\030\001 \001(\0162J.google.cloud.dia"
+ + "logflow.cx.v3beta1.StreamingRecognitionR"
+ + "esult.MessageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n"
+ + "\010is_final\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\022\021\n\ts"
+ + "tability\030\006 \001(\002\022L\n\020speech_word_info\030\007 \003(\013"
+ + "22.google.cloud.dialogflow.cx.v3beta1.Sp"
+ + "eechWordInfo\0224\n\021speech_end_offset\030\010 \001(\0132"
+ + "\031.google.protobuf.Duration\"X\n\013MessageTyp"
+ + "e\022\034\n\030MESSAGE_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANS"
+ + "CRIPT\020\001\022\033\n\027END_OF_SINGLE_UTTERANCE\020\002\"\241\002\n"
+ + "\017QueryParameters\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014g"
+ + "eo_location\030\002 \001(\0132\023.google.type.LatLng\022S"
+ + "\n\024session_entity_types\030\003 \003(\01325.google.cl"
+ + "oud.dialogflow.cx.v3beta1.SessionEntityT"
+ + "ype\022(\n\007payload\030\004 \001(\0132\027.google.protobuf.S"
+ + "truct\022+\n\nparameters\030\005 \001(\0132\027.google.proto"
+ + "buf.Struct\022$\n\034analyze_query_text_sentime"
+ + "nt\030\010 \001(\010\"\265\002\n\nQueryInput\022=\n\004text\030\002 \001(\0132-."
+ + "google.cloud.dialogflow.cx.v3beta1.TextI"
+ + "nputH\000\022A\n\006intent\030\003 \001(\0132/.google.cloud.di"
+ + "alogflow.cx.v3beta1.IntentInputH\000\022?\n\005aud"
+ + "io\030\005 \001(\0132..google.cloud.dialogflow.cx.v3"
+ + "beta1.AudioInputH\000\022?\n\005event\030\006 \001(\0132..goog"
+ + "le.cloud.dialogflow.cx.v3beta1.EventInpu"
+ + "tH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\002B\007\n\005input"
+ + "\"\331\005\n\013QueryResult\022\016\n\004text\030\001 \001(\tH\000\022\030\n\016trig"
+ + "ger_intent\030\013 \001(\tH\000\022\024\n\ntranscript\030\014 \001(\tH\000"
+ + "\022\027\n\rtrigger_event\030\016 \001(\tH\000\022\025\n\rlanguage_co"
+ + "de\030\002 \001(\t\022+\n\nparameters\030\003 \001(\0132\027.google.pr"
+ + "otobuf.Struct\022N\n\021response_messages\030\004 \003(\013"
+ + "23.google.cloud.dialogflow.cx.v3beta1.Re"
+ + "sponseMessage\022,\n\020webhook_statuses\030\r \003(\0132"
+ + "\022.google.rpc.Status\0221\n\020webhook_payloads\030"
+ + "\006 \003(\0132\027.google.protobuf.Struct\022>\n\014curren"
+ + "t_page\030\007 \001(\0132(.google.cloud.dialogflow.c"
+ + "x.v3beta1.Page\022>\n\006intent\030\010 \001(\0132*.google."
+ + "cloud.dialogflow.cx.v3beta1.IntentB\002\030\001\022\'"
+ + "\n\033intent_detection_confidence\030\t \001(\002B\002\030\001\022"
+ + "8\n\005match\030\017 \001(\0132).google.cloud.dialogflow"
+ + ".cx.v3beta1.Match\0220\n\017diagnostic_info\030\n \001"
+ + "(\0132\027.google.protobuf.Struct\022^\n\031sentiment"
+ + "_analysis_result\030\021 \001(\0132;.google.cloud.di"
+ + "alogflow.cx.v3beta1.SentimentAnalysisRes"
+ + "ultB\007\n\005query\"\036\n\tTextInput\022\021\n\004text\030\001 \001(\tB"
+ + "\003\340A\002\"G\n\013IntentInput\0228\n\006intent\030\001 \001(\tB(\340A\002"
+ + "\372A\"\n dialogflow.googleapis.com/Intent\"f\n"
+ + "\nAudioInput\022I\n\006config\030\001 \001(\01324.google.clo"
+ + "ud.dialogflow.cx.v3beta1.InputAudioConfi"
+ + "gB\003\340A\002\022\r\n\005audio\030\002 \001(\014\"\033\n\nEventInput\022\r\n\005e"
+ + "vent\030\001 \001(\t\"\340\002\n\005Match\022:\n\006intent\030\001 \001(\0132*.g"
+ + "oogle.cloud.dialogflow.cx.v3beta1.Intent"
+ + "\022+\n\nparameters\030\002 \001(\0132\027.google.protobuf.S"
+ + "truct\022\026\n\016resolved_input\030\003 \001(\t\022G\n\nmatch_t"
+ + "ype\030\004 \001(\01623.google.cloud.dialogflow.cx.v"
+ + "3beta1.Match.MatchType\022\022\n\nconfidence\030\005 \001"
+ + "(\002\"y\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPECIFIE"
+ + "D\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022\025\n\021PA"
+ + "RAMETER_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010NO_IN"
+ + "PUT\020\005\"\345\001\n\022MatchIntentRequest\022:\n\007session\030"
+ + "\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com"
+ + "/Session\022I\n\014query_params\030\002 \001(\01323.google."
+ + "cloud.dialogflow.cx.v3beta1.QueryParamet"
+ + "ers\022H\n\013query_input\030\003 \001(\0132..google.cloud."
+ + "dialogflow.cx.v3beta1.QueryInputB\003\340A\002\"\363\001"
+ + "\n\023MatchIntentResponse\022\016\n\004text\030\001 \001(\tH\000\022\030\n"
+ + "\016trigger_intent\030\002 \001(\tH\000\022\024\n\ntranscript\030\003 "
+ + "\001(\tH\000\022\027\n\rtrigger_event\030\006 \001(\tH\000\022:\n\007matche"
+ + "s\030\004 \003(\0132).google.cloud.dialogflow.cx.v3b"
+ + "eta1.Match\022>\n\014current_page\030\005 \001(\0132(.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.PageB\007\n\005qu"
+ + "ery\"\372\001\n\024FulfillIntentRequest\022T\n\024match_in"
+ + "tent_request\030\001 \001(\01326.google.cloud.dialog"
+ + "flow.cx.v3beta1.MatchIntentRequest\0228\n\005ma"
+ + "tch\030\002 \001(\0132).google.cloud.dialogflow.cx.v"
+ + "3beta1.Match\022R\n\023output_audio_config\030\003 \001("
+ + "\01325.google.cloud.dialogflow.cx.v3beta1.O"
+ + "utputAudioConfig\"\335\001\n\025FulfillIntentRespon"
+ + "se\022\023\n\013response_id\030\001 \001(\t\022E\n\014query_result\030"
+ + "\002 \001(\0132/.google.cloud.dialogflow.cx.v3bet"
+ + "a1.QueryResult\022\024\n\014output_audio\030\003 \001(\014\022R\n\023"
+ + "output_audio_config\030\004 \001(\01325.google.cloud"
+ + ".dialogflow.cx.v3beta1.OutputAudioConfig"
+ + "\";\n\027SentimentAnalysisResult\022\r\n\005score\030\001 \001"
+ + "(\002\022\021\n\tmagnitude\030\002 \001(\0022\212\n\n\010Sessions\022\272\002\n\014D"
+ + "etectIntent\0227.google.cloud.dialogflow.cx"
+ + ".v3beta1.DetectIntentRequest\0328.google.cl"
+ + "oud.dialogflow.cx.v3beta1.DetectIntentRe"
+ + "sponse\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=proj"
+ + "ects/*/locations/*/agents/*/sessions/*}:"
+ + "detectIntent:\001*Z^\"Y/v3beta1/{session=pro"
+ + "jects/*/locations/*/agents/*/environment"
+ + "s/*/sessions/*}:detectIntent:\001*\022\242\001\n\025Stre"
+ + "amingDetectIntent\022@.google.cloud.dialogf"
+ + "low.cx.v3beta1.StreamingDetectIntentRequ"
+ + "est\032A.google.cloud.dialogflow.cx.v3beta1"
+ + ".StreamingDetectIntentResponse\"\000(\0010\001\022\265\002\n"
+ + "\013MatchIntent\0226.google.cloud.dialogflow.c"
+ + "x.v3beta1.MatchIntentRequest\0327.google.cl"
+ + "oud.dialogflow.cx.v3beta1.MatchIntentRes"
+ + "ponse\"\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=proje"
+ + "cts/*/locations/*/agents/*/sessions/*}:m"
+ + "atchIntent:\001*Z]\"X/v3beta1/{session=proje"
+ + "cts/*/locations/*/agents/*/environments/"
+ + "*/sessions/*}:matchIntent:\001*\022\351\002\n\rFulfill"
+ + "Intent\0228.google.cloud.dialogflow.cx.v3be"
+ + "ta1.FulfillIntentRequest\0329.google.cloud."
+ + "dialogflow.cx.v3beta1.FulfillIntentRespo"
+ + "nse\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_re"
+ + "quest.session=projects/*/locations/*/age"
+ + "nts/*/sessions/*}:fulfillIntent:\001*Zt\"o/v"
+ + "3beta1/{match_intent_request.session=pro"
+ + "jects/*/locations/*/agents/*/environment"
+ + "s/*/sessions/*}:fulfillIntent:\001*\032x\312A\031dia"
+ + "logflow.googleapis.com\322AYhttps://www.goo"
+ + "gleapis.com/auth/cloud-platform,https://"
+ + "www.googleapis.com/auth/dialogflowB\203\003\n&c"
+ + "om.google.cloud.dialogflow.cx.v3beta1B\014S"
+ + "essionProtoP\001ZDgoogle.golang.org/genprot"
+ + "o/googleapis/cloud/dialogflow/cx/v3beta1"
+ + ";cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx"
+ + ".V3Beta1\352A\324\001\n!dialogflow.googleapis.com/"
+ + "Session\022Iprojects/{project}/locations/{l"
+ + "ocation}/agents/{agent}/sessions/{sessio"
+ + "n}\022dprojects/{project}/locations/{locati"
+ + "on}/agents/{agent}/environments/{environ"
+ + "ment}/sessions/{session}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
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.v3beta1.AudioConfigProto.getDescriptor(),
+ com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor(),
com.google.cloud.dialogflow.cx.v3beta1.IntentProto.getDescriptor(),
com.google.cloud.dialogflow.cx.v3beta1.PageProto.getDescriptor(),
com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto.getDescriptor(),
@@ -279,6 +296,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_v3beta1_DetectIntentRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -332,7 +350,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_QueryParameters_descriptor,
new java.lang.String[] {
- "TimeZone", "GeoLocation", "SessionEntityTypes", "Payload", "Parameters",
+ "TimeZone",
+ "GeoLocation",
+ "SessionEntityTypes",
+ "Payload",
+ "Parameters",
+ "AnalyzeQueryTextSentiment",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_QueryInput_descriptor =
getDescriptor().getMessageTypes().get(6);
@@ -340,7 +363,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_QueryInput_descriptor,
new java.lang.String[] {
- "Text", "Intent", "Audio", "LanguageCode", "Input",
+ "Text", "Intent", "Audio", "Event", "LanguageCode", "Input",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_QueryResult_descriptor =
getDescriptor().getMessageTypes().get(7);
@@ -362,6 +385,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IntentDetectionConfidence",
"Match",
"DiagnosticInfo",
+ "SentimentAnalysisResult",
"Query",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_TextInput_descriptor =
@@ -388,8 +412,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Config", "Audio",
});
- internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor =
+ internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor =
getDescriptor().getMessageTypes().get(11);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_EventInput_descriptor,
+ new java.lang.String[] {
+ "Event",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor =
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_dialogflow_cx_v3beta1_Match_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Match_descriptor,
@@ -397,7 +429,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Intent", "Parameters", "ResolvedInput", "MatchType", "Confidence",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentRequest_descriptor,
@@ -405,15 +437,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Session", "QueryParams", "QueryInput",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_MatchIntentResponse_descriptor,
new java.lang.String[] {
- "Text", "TriggerIntent", "Transcript", "Matches", "CurrentPage", "Query",
+ "Text",
+ "TriggerIntent",
+ "Transcript",
+ "TriggerEvent",
+ "Matches",
+ "CurrentPage",
+ "Query",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentRequest_descriptor,
@@ -421,13 +459,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MatchIntentRequest", "Match", "OutputAudioConfig",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_FulfillIntentResponse_descriptor,
new java.lang.String[] {
"ResponseId", "QueryResult", "OutputAudio", "OutputAudioConfig",
});
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor =
+ getDescriptor().getMessageTypes().get(17);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_SentimentAnalysisResult_descriptor,
+ new java.lang.String[] {
+ "Score", "Magnitude",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
@@ -439,10 +485,10 @@ 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.v3beta1.AudioConfigProto.getDescriptor();
+ com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor();
com.google.cloud.dialogflow.cx.v3beta1.IntentProto.getDescriptor();
com.google.cloud.dialogflow.cx.v3beta1.PageProto.getDescriptor();
com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageProto.getDescriptor();
@@ -451,6 +497,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-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java
index 285dd6d4c..12ee4584a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SpeechModelVariant.java
@@ -22,8 +22,7 @@
*
*
*
- * Variant of the specified [Speech
- * model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ * Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
* See the [Cloud Speech
* documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
* for which models have different variants. For example, the "phone_call" model
@@ -78,8 +77,8 @@ public enum SpeechModelVariant implements com.google.protobuf.ProtocolMessageEnu
*
* Use an enhanced model variant:
* * If an enhanced variant does not exist for the given
- * [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and
- * request language, Dialogflow falls back to the standard variant.
+ * [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls
+ * back to the standard variant.
* The [Cloud Speech
* documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
* describes which models have enhanced variants.
@@ -139,8 +138,8 @@ public enum SpeechModelVariant implements com.google.protobuf.ProtocolMessageEnu
*
* Use an enhanced model variant:
* * If an enhanced variant does not exist for the given
- * [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and
- * request language, Dialogflow falls back to the standard variant.
+ * [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls
+ * back to the standard variant.
* The [Cloud Speech
* documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
* describes which models have enhanced variants.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
index 8403c0715..81cec9313 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
@@ -23,26 +23,21 @@
*
*
* 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
@@ -204,6 +199,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -236,6 +233,8 @@ public java.lang.String getSession() {
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -614,26 +613,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
@@ -858,6 +852,8 @@ public Builder mergeFrom(
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -889,6 +885,8 @@ public java.lang.String getSession() {
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -920,6 +918,8 @@ public com.google.protobuf.ByteString getSessionBytes() {
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -950,6 +950,8 @@ public Builder setSession(java.lang.String value) {
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -976,6 +978,8 @@ public Builder clearSession() {
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java
index 789c8d28c..2392d7a58 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java
@@ -37,6 +37,8 @@ public interface StreamingDetectIntentRequestOrBuilder
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
@@ -58,6 +60,8 @@ public interface StreamingDetectIntentRequestOrBuilder
* a random number or some type of session identifiers (preferably hashed).
* The length of the `Session ID` must not exceed 36 characters.
* Note: session must be set in the first request.
+ * For more information, see the [sessions
+ * guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
*
*
* string session = 1 [(.google.api.resource_reference) = { ... }
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/TrainFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java
index 01d9b8644..e66662a01 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TrainFlowRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
+ * The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest}
@@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
+ * The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TrainFlowRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java
index f7f882e3c..dd1ac09e8 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRoute.java
@@ -22,21 +22,16 @@
*
*
*
- * A transition route specifies a
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched
- * and/or a data condition that can be evaluated during a session. When a
- * specified transition is matched, the following actions are taken in order:
+ * A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a
+ * data condition that can be evaluated during a session. When a specified
+ * transition is matched, the following actions are taken in order:
* * If there is a
- * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment]
- * associated with the transition, it will be called.
- * * If there is a
- * [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page]
- * associated with the transition, the session will transition into the
- * specified page.
- * * If there is a
- * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow]
- * associated with the transition, the session will transition into the
- * specified flow.
+ * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with
+ * the transition, it will be called.
+ * * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated
+ * with the transition, the session will transition into the specified page.
+ * * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated
+ * with the transition, the session will transition into the specified flow.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TransitionRoute}
@@ -274,9 +269,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -305,9 +299,8 @@ public java.lang.String getIntent() {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -339,9 +332,8 @@ public com.google.protobuf.ByteString getIntentBytes() {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -369,9 +361,8 @@ public java.lang.String getCondition() {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -802,21 +793,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A transition route specifies a
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched
- * and/or a data condition that can be evaluated during a session. When a
- * specified transition is matched, the following actions are taken in order:
- * * If there is a
- * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment]
- * associated with the transition, it will be called.
- * * If there is a
- * [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page]
- * associated with the transition, the session will transition into the
- * specified page.
+ * A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a
+ * data condition that can be evaluated during a session. When a specified
+ * transition is matched, the following actions are taken in order:
* * If there is a
- * [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow]
- * associated with the transition, the session will transition into the
- * specified flow.
+ * [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with
+ * the transition, it will be called.
+ * * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated
+ * with the transition, the session will transition into the specified page.
+ * * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated
+ * with the transition, the session will transition into the specified flow.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TransitionRoute}
@@ -1153,9 +1139,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -1183,9 +1168,8 @@ public java.lang.String getIntent() {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -1213,9 +1197,8 @@ public com.google.protobuf.ByteString getIntentBytes() {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -1242,9 +1225,8 @@ public Builder setIntent(java.lang.String value) {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -1267,9 +1249,8 @@ public Builder clearIntent() {
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -1299,9 +1280,8 @@ public Builder setIntentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -1328,9 +1308,8 @@ public java.lang.String getCondition() {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -1357,9 +1336,8 @@ public com.google.protobuf.ByteString getConditionBytes() {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -1385,9 +1363,8 @@ public Builder setCondition(java.lang.String value) {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -1409,9 +1386,8 @@ public Builder clearCondition() {
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java
index a4f34ee0a..cb0c51c47 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TransitionRouteOrBuilder.java
@@ -52,9 +52,8 @@ public interface TransitionRouteOrBuilder
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -72,9 +71,8 @@ public interface TransitionRouteOrBuilder
*
*
*
- * The unique identifier of an
- * [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+ * The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent].
+ * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/intents/<Intent ID>`.
* Indicates that the transition can only happen when the given intent is
* matched.
@@ -93,9 +91,8 @@ public interface TransitionRouteOrBuilder
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
@@ -112,9 +109,8 @@ public interface TransitionRouteOrBuilder
*
*
*
- * The condition to evaluate against [form
- * parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- * parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ * The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ * [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
* See the [conditions
* reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
* At least one of `intent` or `condition` must be specified. When both
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java
index 88f851a73..ff393d694 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateEntityTypeRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateEntityTypeRequest}
@@ -501,8 +500,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ * The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateEntityTypeRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java
index 45b015545..e410f4d33 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
+ * The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateFlowRequest}
@@ -201,8 +200,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowOrBuilder() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -218,8 +217,8 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -235,8 +234,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -502,8 +501,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
+ * The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateFlowRequest}
@@ -899,8 +897,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowOrBuilder() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -915,8 +913,8 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -937,8 +935,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -961,8 +959,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -982,8 +980,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -1008,8 +1006,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -1030,8 +1028,8 @@ public Builder clearUpdateMask() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -1046,8 +1044,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -1066,8 +1064,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java
index 2247c1c6c..7b31b182d 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateFlowRequestOrBuilder.java
@@ -68,8 +68,8 @@ public interface UpdateFlowRequestOrBuilder
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -82,8 +82,8 @@ public interface UpdateFlowRequestOrBuilder
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -96,8 +96,8 @@ public interface UpdateFlowRequestOrBuilder
*
*
*
- * Required. The mask to control which fields get updated. If `update_mask` is
- * not specified, an error will be returned.
+ * Required. The mask to control which fields get updated. If `update_mask` is not
+ * specified, an error will be returned.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java
index 6f5f60ca3..7ba2df906 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdatePageRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
+ * The request message for [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdatePageRequest}
@@ -507,8 +506,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
+ * The request message for [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdatePageRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java
index cb5277818..eac9540a5 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateSessionEntityTypeRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
+ * The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateSessionEntityTypeRequest}
@@ -439,8 +438,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
+ * The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateSessionEntityTypeRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java
index a69580718..f1f9b3d16 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/UpdateWebhookRequest.java
@@ -22,8 +22,7 @@
*
*
*
- * The request message for
- * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
+ * The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest}
@@ -420,8 +419,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request message for
- * [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
+ * The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook].
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.UpdateWebhookRequest}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java
index 7481f2730..f03e09502 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParams.java
@@ -180,10 +180,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -200,10 +199,9 @@ public int getSsmlGenderValue() {
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -681,10 +679,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -701,10 +698,9 @@ public int getSsmlGenderValue() {
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -724,10 +720,9 @@ public Builder setSsmlGenderValue(int value) {
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -749,10 +744,9 @@ public com.google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender getSsmlGender() {
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -775,10 +769,9 @@ public Builder setSsmlGender(com.google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGen
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java
index ec70d48e3..4ab2d9bc3 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VoiceSelectionParamsOrBuilder.java
@@ -58,10 +58,9 @@ public interface VoiceSelectionParamsOrBuilder
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
@@ -75,10 +74,9 @@ public interface VoiceSelectionParamsOrBuilder
*
* Optional. The preferred gender of the voice. If not set, the service will
* choose a voice based on the other parameters such as language_code and
- * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- * that this is only a preference, not requirement. If a voice of the
- * appropriate gender is not available, the synthesizer should substitute a
- * voice with a different gender rather than failing the request.
+ * [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ * voice of the appropriate gender is not available, the synthesizer should
+ * substitute a voice with a different gender rather than failing the request.
*
*
* .google.cloud.dialogflow.cx.v3beta1.SsmlVoiceGender ssml_gender = 2;
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 52b5b02cc..ca9061ccd 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
@@ -172,8 +172,7 @@ public interface GenericWebServiceOrBuilder
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -185,8 +184,7 @@ public interface GenericWebServiceOrBuilder
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -453,8 +451,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -477,8 +474,7 @@ public java.lang.String getUri() {
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1117,8 +1113,7 @@ public Builder mergeFrom(
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1140,8 +1135,7 @@ public java.lang.String getUri() {
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1163,8 +1157,7 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1185,8 +1178,7 @@ public Builder setUri(java.lang.String value) {
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1203,8 +1195,7 @@ public Builder clearUri() {
*
*
*
- * Required. The webhook URI for receiving POST requests. It must use https
- * protocol.
+ * Required. The webhook URI for receiving POST requests. It must use https protocol.
*
*
* string uri = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -1722,12 +1713,10 @@ public WebhookCase getWebhookCase() {
*
*
* 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>`.
+ * 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;
@@ -1751,12 +1740,10 @@ public java.lang.String getName() {
*
*
* 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>`.
+ * 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;
@@ -2394,12 +2381,10 @@ public Builder clearWebhook() {
*
*
* 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>`.
+ * 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;
@@ -2422,12 +2407,10 @@ public java.lang.String getName() {
*
*
* 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>`.
+ * 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;
@@ -2450,12 +2433,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* 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>`.
+ * 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;
@@ -2477,12 +2458,10 @@ public Builder setName(java.lang.String value) {
*
*
* 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>`.
+ * 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;
@@ -2500,12 +2479,10 @@ public Builder clearName() {
*
*
* 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>`.
+ * 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;
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 b726f4f8e..d34f019a5 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
@@ -28,12 +28,10 @@ public interface WebhookOrBuilder
*
*
* 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>`.
+ * 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;
@@ -46,12 +44,10 @@ public interface WebhookOrBuilder
*
*
* 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>`.
+ * 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;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java
index 02c120351..54559d8d0 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java
@@ -901,9 +901,8 @@ public interface IntentInfoOrBuilder
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -916,9 +915,8 @@ public interface IntentInfoOrBuilder
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2189,9 +2187,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2215,9 +2212,8 @@ public java.lang.String getLastMatchedIntent() {
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2774,9 +2770,8 @@ public Builder mergeFrom(
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2799,9 +2794,8 @@ public java.lang.String getLastMatchedIntent() {
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2824,9 +2818,8 @@ public com.google.protobuf.ByteString getLastMatchedIntentBytes() {
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2848,9 +2841,8 @@ public Builder setLastMatchedIntent(java.lang.String value) {
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -2868,9 +2860,8 @@ public Builder clearLastMatchedIntent() {
*
*
* Always present. The unique identifier of the last matched
- * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- * `projects/<Project ID>/locations/<Location ID>/agents/<Agent
- * ID>/intents/<Intent ID>`.
+ * [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location
+ * ID>/agents/<Agent ID>/intents/<Intent ID>`.
*
*
* string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
@@ -3181,9 +3172,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -3206,9 +3196,8 @@ public java.lang.String getDetectIntentResponseId() {
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -3515,8 +3504,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder getMessag
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -3531,8 +3519,7 @@ public boolean hasPayload() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -3547,8 +3534,7 @@ public com.google.protobuf.Struct getPayload() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -4080,9 +4066,8 @@ public Builder mergeFrom(
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -4104,9 +4089,8 @@ public java.lang.String getDetectIntentResponseId() {
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -4128,9 +4112,8 @@ public com.google.protobuf.ByteString getDetectIntentResponseIdBytes() {
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -4151,9 +4134,8 @@ public Builder setDetectIntentResponseId(java.lang.String value) {
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -4170,9 +4152,8 @@ public Builder clearDetectIntentResponseId() {
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -5382,8 +5363,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Builder addMessage
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5397,8 +5377,7 @@ public boolean hasPayload() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5416,8 +5395,7 @@ public com.google.protobuf.Struct getPayload() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5439,8 +5417,7 @@ public Builder setPayload(com.google.protobuf.Struct value) {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5459,8 +5436,7 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5484,8 +5460,7 @@ public Builder mergePayload(com.google.protobuf.Struct value) {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5505,8 +5480,7 @@ public Builder clearPayload() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5520,8 +5494,7 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -5537,8 +5510,7 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() {
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java
index 7fc74410e..88aac4b74 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java
@@ -27,9 +27,8 @@ public interface WebhookRequestOrBuilder
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -41,9 +40,8 @@ public interface WebhookRequestOrBuilder
*
*
*
- * Always present. The unique identifier of the
- * [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
- * that will be returned to the API caller.
+ * Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that
+ * will be returned to the API caller.
*
*
* string detect_intent_response_id = 1;
@@ -266,8 +264,7 @@ public interface WebhookRequestOrBuilder
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -279,8 +276,7 @@ public interface WebhookRequestOrBuilder
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
@@ -292,8 +288,7 @@ public interface WebhookRequestOrBuilder
*
*
*
- * Custom data set in
- * [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
+ * Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
*
*
* .google.protobuf.Struct payload = 8;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java
index c90059205..f0fd8ac36 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponse.java
@@ -1817,8 +1817,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SessionInfoOrBuilder getSessionInf
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -1833,8 +1832,7 @@ public boolean hasPayload() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -1849,8 +1847,7 @@ public com.google.protobuf.Struct getPayload() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3097,8 +3094,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.SessionInfoOrBuilder getSessionInf
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3112,8 +3108,7 @@ public boolean hasPayload() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3131,8 +3126,7 @@ public com.google.protobuf.Struct getPayload() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3154,8 +3148,7 @@ public Builder setPayload(com.google.protobuf.Struct value) {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3174,8 +3167,7 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3199,8 +3191,7 @@ public Builder mergePayload(com.google.protobuf.Struct value) {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3220,8 +3211,7 @@ public Builder clearPayload() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3235,8 +3225,7 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -3252,8 +3241,7 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() {
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java
index 3b51c0215..95adb567c 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookResponseOrBuilder.java
@@ -149,8 +149,7 @@ public interface WebhookResponseOrBuilder
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -162,8 +161,7 @@ public interface WebhookResponseOrBuilder
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
@@ -175,8 +173,7 @@ public interface WebhookResponseOrBuilder
*
*
*
- * Value to append directly to
- * [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
+ * Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
index e2510668e..e0bf899a1 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
@@ -316,3 +316,12 @@ message RestoreAgentRequest {
bytes agent_content = 3;
}
}
+
+// The response message for [Agents.ImportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ImportAgent].
+message ImportAgentResponse {
+ // The unique identifier of the new agent.
+ // Format: `projects//locations//agents/`.
+ string agent = 1 [(google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Agent"
+ }];
+}
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 52a7706d7..e28a50da9 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
@@ -16,10 +16,10 @@ syntax = "proto3";
package google.cloud.dialogflow.cx.v3beta1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/duration.proto";
+import "google/api/annotations.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1";
@@ -115,12 +115,10 @@ message InputAudioConfig {
// more details.
int32 sample_rate_hertz = 2;
- // Optional. If `true`, Dialogflow returns
- // [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
- // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
- // with information about the recognized speech words, e.g. start and end time
- // offsets. If false or unspecified, Speech doesn't return any word-level
- // information.
+ // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3beta1.SpeechWordInfo] in
+ // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] with information about the recognized speech
+ // words, e.g. start and end time offsets. If false or unspecified, Speech
+ // doesn't return any word-level information.
bool enable_word_info = 13;
// Optional. A list of strings containing words and phrases that the speech
@@ -144,8 +142,7 @@ message InputAudioConfig {
// for more details.
string model = 7;
- // Optional. Which variant of the [Speech
- // model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+ // Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
SpeechModelVariant model_variant = 10;
// Optional. If `false` (default), recognition does not cease until the
@@ -159,8 +156,7 @@ message InputAudioConfig {
bool single_utterance = 8;
}
-// Variant of the specified [Speech
-// model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
+// Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] to use.
//
// See the [Cloud Speech
// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
@@ -189,8 +185,8 @@ enum SpeechModelVariant {
// Use an enhanced model variant:
//
// * If an enhanced variant does not exist for the given
- // [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and
- // request language, Dialogflow falls back to the standard variant.
+ // [model][google.cloud.dialogflow.cx.v3beta1.InputAudioConfig.model] and request language, Dialogflow falls
+ // back to the standard variant.
//
// The [Cloud Speech
// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
@@ -212,10 +208,9 @@ message VoiceSelectionParams {
// Optional. The preferred gender of the voice. If not set, the service will
// choose a voice based on the other parameters such as language_code and
- // [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note
- // that this is only a preference, not requirement. If a voice of the
- // appropriate gender is not available, the synthesizer should substitute a
- // voice with a different gender rather than failing the request.
+ // [name][google.cloud.dialogflow.cx.v3beta1.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
+ // voice of the appropriate gender is not available, the synthesizer should
+ // substitute a voice with a different gender rather than failing the request.
SsmlVoiceGender ssml_gender = 2;
}
@@ -271,8 +266,7 @@ enum SsmlVoiceGender {
// Instructs the speech synthesizer how to generate the output audio content.
message OutputAudioConfig {
// Required. Audio encoding of the synthesized audio content.
- OutputAudioEncoding audio_encoding = 1
- [(google.api.field_behavior) = REQUIRED];
+ OutputAudioEncoding audio_encoding = 1 [(google.api.field_behavior) = REQUIRED];
// Optional. The synthesis sample rate (in hertz) for this audio. If not
// provided, then the synthesizer will use the default sample rate based on
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto
index c53112c5d..8c5571a18 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/entity_type.proto
@@ -31,8 +31,7 @@ option java_outer_classname = "EntityTypeProto";
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
-// Service for managing
-// [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
+// Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
service EntityTypes {
option (google.api.default_host) = "dialogflow.googleapis.com";
option (google.api.oauth_scopes) =
@@ -40,8 +39,7 @@ service EntityTypes {
"https://www.googleapis.com/auth/dialogflow";
// Returns the list of all entity types in the specified agent.
- rpc ListEntityTypes(ListEntityTypesRequest)
- returns (ListEntityTypesResponse) {
+ rpc ListEntityTypes(ListEntityTypesRequest) returns (ListEntityTypesResponse) {
option (google.api.http) = {
get: "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes"
};
@@ -75,8 +73,7 @@ service EntityTypes {
}
// Deletes the specified entity type.
- rpc DeleteEntityType(DeleteEntityTypeRequest)
- returns (google.protobuf.Empty) {
+ rpc DeleteEntityType(DeleteEntityTypeRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v3beta1/{name=projects/*/locations/*/agents/*/entityTypes/*}"
};
@@ -107,9 +104,7 @@ service EntityTypes {
//
// * **User** - entities that are built for an individual user such as
// favorites, preferences, playlists, and so on. A user entity is
-// represented by the
-// [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]
-// type.
+// represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type.
//
// For more information about entity types, see the [Dialogflow
// documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
@@ -184,14 +179,12 @@ message EntityType {
}
// The unique identifier of the entity type.
- // Required for
- // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+ // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
// Format: `projects//locations//agents//entityTypes/`.
string name = 1;
- // Required. The human-readable name of the entity type, unique within the
- // agent.
+ // Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
// Required. Indicates the kind of entity type.
@@ -214,8 +207,7 @@ message EntityType {
bool enable_fuzzy_extraction = 7;
}
-// The request message for
-// [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+// The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
message ListEntityTypesRequest {
// Required. The agent to list all entity types for.
// Format: `projects//locations//agents/`.
@@ -248,8 +240,7 @@ message ListEntityTypesRequest {
string page_token = 4;
}
-// The response message for
-// [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
+// The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
message ListEntityTypesResponse {
// The list of entity types. There will be a maximum number of items returned
// based on the page_size field in the request.
@@ -260,8 +251,7 @@ message ListEntityTypesResponse {
string next_page_token = 2;
}
-// The request message for
-// [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
+// The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
message GetEntityTypeRequest {
// Required. The name of the entity type.
// Format: `projects//locations//agents//locations//agents/`.
@@ -317,8 +306,7 @@ message CreateEntityTypeRequest {
string language_code = 3;
}
-// The request message for
-// [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
+// The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
message UpdateEntityTypeRequest {
// Required. The entity type to update.
EntityType entity_type = 1 [(google.api.field_behavior) = REQUIRED];
@@ -340,8 +328,7 @@ message UpdateEntityTypeRequest {
google.protobuf.FieldMask update_mask = 3;
}
-// The request message for
-// [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
+// The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
message DeleteEntityTypeRequest {
// Required. The name of the entity type to delete.
// Format: `projects//locations//agents//locations//agents/`.
@@ -241,15 +235,16 @@ message CreateFlowRequest {
string language_code = 3;
}
-// The request message for
-// [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
+// The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
message DeleteFlowRequest {
// Required. The name of the flow to delete.
// Format: `projects//locations//agents//flows/`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" }
+ (google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Flow"
+ }
];
// This field has no effect for flows with no incoming transitions.
@@ -265,8 +260,7 @@ message DeleteFlowRequest {
bool force = 2;
}
-// The request message for
-// [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+// The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
message ListFlowsRequest {
// Required. The agent containing the flows.
// Format: `projects//locations//agents/`.
@@ -298,8 +292,7 @@ message ListFlowsRequest {
string language_code = 4;
}
-// The response message for
-// [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
+// The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
message ListFlowsResponse {
// The list of flows. There will be a maximum number of items returned based
// on the page_size field in the request.
@@ -310,15 +303,16 @@ message ListFlowsResponse {
string next_page_token = 2;
}
-// The response message for
-// [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
+// The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow].
message GetFlowRequest {
// Required. The name of the flow to get.
// Format: `projects//locations//agents//flows/`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" }
+ (google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Flow"
+ }
];
// The language to retrieve the flow for. The following fields are language
@@ -335,16 +329,14 @@ message GetFlowRequest {
string language_code = 2;
}
-// The request message for
-// [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
+// The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow].
message UpdateFlowRequest {
// Required. The flow to update.
Flow flow = 1 [(google.api.field_behavior) = REQUIRED];
- // Required. The mask to control which fields get updated. If `update_mask` is
- // not specified, an error will be returned.
- google.protobuf.FieldMask update_mask = 2
- [(google.api.field_behavior) = REQUIRED];
+ // Required. The mask to control which fields get updated. If `update_mask` is not
+ // specified, an error will be returned.
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
// The language of the following fields in `flow`:
//
@@ -359,14 +351,15 @@ message UpdateFlowRequest {
string language_code = 3;
}
-// The request message for
-// [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
+// The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow].
message TrainFlowRequest {
// Required. The flow to train.
// Format: `projects//locations//agents//flows/`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" }
+ (google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Flow"
+ }
];
}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
index d93e94489..b60577205 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
@@ -154,6 +154,11 @@ message Intent {
// Indicates whether the parameter represents a list of values.
bool is_list = 3;
+
+ // Indicates whether the parameter content is logged in text and audio. If
+ // it is set to true, the parameter content will be replaced to parameter
+ // id in both request and response. The default value is false.
+ bool redact = 4;
}
// The unique identifier of the intent.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto
index 32696477d..f63dcfae4 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/page.proto
@@ -106,10 +106,7 @@ message Page {
};
// The unique identifier of the page.
- // Required for the
- // [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage]
- // method.
- // [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
+ // Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage]
// populates the name automatically.
// Format: `projects//locations//agents//flows//pages/`.
@@ -125,10 +122,8 @@ message Page {
// relevant to the page.
Form form = 4;
- // Ordered list of
- // [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
- // associated with the page. Transition route groups must be unique within a
- // page.
+ // Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] associated
+ // with the page. Transition route groups must be unique within a page.
//
// * If multiple transition routes within a page scope refer to the same
// intent, then the precedence order is: page's transition route -> page's
@@ -139,10 +134,9 @@ message Page {
//
// Format:`projects//locations//agents//flows//transitionRouteGroups/`.
- repeated string transition_route_groups = 11
- [(google.api.resource_reference) = {
- type: "dialogflow.googleapis.com/TransitionRouteGroup"
- }];
+ repeated string transition_route_groups = 11 [(google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/TransitionRouteGroup"
+ }];
// A list of transitions for the transition rules of this page.
// They route the conversation to another page in the same flow, or another
@@ -153,8 +147,7 @@ message Page {
//
// * TransitionRoutes defined in the page with intent specified.
// * TransitionRoutes defined in the
- // [transition route
- // groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
+ // [transition route groups][google.cloud.dialogflow.cx.v3beta1.Page.transition_route_groups].
// * TransitionRoutes defined in flow with intent specified.
// * TransitionRoutes defined in the page with only condition specified.
repeated TransitionRoute transition_routes = 9;
@@ -167,9 +160,8 @@ message Page {
// A form is a data model that groups related parameters that can be collected
// from the user. The process in which the agent prompts the user and collects
// parameter values from the user is called form filling. A form can be added to
-// a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done,
-// the filled parameters will be written to the
-// [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+// a [page][google.cloud.dialogflow.cx.v3beta1.Page]. When form filling is done, the filled parameters will be
+// written to the [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
message Form {
// Represents a form parameter.
message Parameter {
@@ -177,8 +169,7 @@ message Form {
message FillBehavior {
// Required. The fulfillment to provide the initial prompt that the agent
// can present to the user in order to fill the parameter.
- Fulfillment initial_prompt_fulfillment = 3
- [(google.api.field_behavior) = REQUIRED];
+ Fulfillment initial_prompt_fulfillment = 3 [(google.api.field_behavior) = REQUIRED];
// The handlers for parameter-level events, used to provide reprompt for
// the parameter or transition to a different page/flow. The supported
@@ -246,28 +237,28 @@ message Form {
// The default value of an optional parameter. If the parameter is required,
// the default value will be ignored.
google.protobuf.Value default_value = 9;
+
+ // Indicates whether the parameter content is logged in text and audio. If
+ // it is set to true, the parameter content will be replaced to parameter
+ // name in both request and response. The default value is false.
+ bool redact = 11;
}
// Parameters to collect from the user.
repeated Parameter parameters = 1;
}
-// An event handler specifies an
-// [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be
-// handled during a session. When the specified event happens, the following
-// actions are taken in order:
+// An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled
+// during a session. When the specified event happens, the following actions are
+// taken in order:
//
// * If there is a
-// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment]
-// associated with the event, it will be called.
-// * If there is a
-// [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page]
-// associated with the event, the session will transition into the specified
-// page.
-// * If there is a
-// [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow]
-// associated with the event, the session will transition into the specified
-// flow.
+// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with
+// the event, it will be called.
+// * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated
+// with the event, the session will transition into the specified page.
+// * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated
+// with the event, the session will transition into the specified flow.
message EventHandler {
// Output only. The unique identifier of this event handler.
string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -282,49 +273,41 @@ message EventHandler {
Fulfillment trigger_fulfillment = 5;
// The target to transition to, either a page in the same host flow (the flow
- // that owns this
- // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or
- // another flow in the same agent.
+ // that owns this [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or another flow in the same agent.
oneof target {
// The target page to transition to.
// Format: `projects//locations//agents//flows//pages/`.
string target_page = 2 [(google.api.resource_reference) = {
- type: "dialogflow.googleapis.com/Page"
- }];
+ type: "dialogflow.googleapis.com/Page"
+ }];
// The target flow to transition to.
// Format: `projects//locations//agents//flows/`.
string target_flow = 3 [(google.api.resource_reference) = {
- type: "dialogflow.googleapis.com/Flow"
- }];
+ type: "dialogflow.googleapis.com/Flow"
+ }];
}
}
-// A transition route specifies a
-// [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched
-// and/or a data condition that can be evaluated during a session. When a
-// specified transition is matched, the following actions are taken in order:
+// A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.Intent] that can be matched and/or a
+// data condition that can be evaluated during a session. When a specified
+// transition is matched, the following actions are taken in order:
//
// * If there is a
-// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment]
-// associated with the transition, it will be called.
-// * If there is a
-// [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page]
-// associated with the transition, the session will transition into the
-// specified page.
-// * If there is a
-// [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow]
-// associated with the transition, the session will transition into the
-// specified flow.
+// [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.trigger_fulfillment] associated with
+// the transition, it will be called.
+// * If there is a [`target_page`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_page] associated
+// with the transition, the session will transition into the specified page.
+// * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute.target_flow] associated
+// with the transition, the session will transition into the specified flow.
message TransitionRoute {
// Output only. The unique identifier of this transition route.
string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
- // The unique identifier of an
- // [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format:
- // `projects//locations//agents//locations//agents//intents/`.
// Indicates that the transition can only happen when the given intent is
// matched.
@@ -332,12 +315,11 @@ message TransitionRoute {
// `intent` and `condition` are specified, the transition can only happen
// when both are fulfilled.
string intent = 1 [(google.api.resource_reference) = {
- type: "dialogflow.googleapis.com/Intent"
- }];
+ type: "dialogflow.googleapis.com/Intent"
+ }];
- // The condition to evaluate against [form
- // parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session
- // parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
+ // The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or
+ // [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
//
// See the [conditions
// reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
@@ -352,28 +334,25 @@ message TransitionRoute {
Fulfillment trigger_fulfillment = 3;
// The target to transition to, either a page in the same host flow (the flow
- // that owns this
- // [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or
- // another flow in the same agent.
+ // that owns this [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or another flow in the same agent.
oneof target {
// The target page to transition to.
// Format: `projects//locations//agents//flows//pages/`.
string target_page = 4 [(google.api.resource_reference) = {
- type: "dialogflow.googleapis.com/Page"
- }];
+ type: "dialogflow.googleapis.com/Page"
+ }];
// The target flow to transition to.
// Format: `projects//locations//agents//flows/`.
string target_flow = 5 [(google.api.resource_reference) = {
- type: "dialogflow.googleapis.com/Flow"
- }];
+ type: "dialogflow.googleapis.com/Flow"
+ }];
}
}
-// The request message for
-// [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
+// The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
message ListPagesRequest {
// Required. The flow to list all pages for.
// Format: `projects//locations//agents//locations//agents//flows//pages/`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }
+ (google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Page"
+ }
];
// The language to retrieve the page for. The following fields are language
@@ -451,8 +430,7 @@ message GetPageRequest {
string language_code = 2;
}
-// The request message for
-// [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
+// The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
message CreatePageRequest {
// Required. The flow to create a page for.
// Format: `projects//locations//agents//locations//agents//Flows//pages/`.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Page" }
+ (google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Page"
+ }
];
// This field has no effect for pages with no incoming transitions.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto
index 328a25e09..1627520eb 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/response_message.proto
@@ -16,9 +16,9 @@ syntax = "proto3";
package google.cloud.dialogflow.cx.v3beta1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/struct.proto";
+import "google/api/annotations.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1";
@@ -51,11 +51,10 @@ message ResponseMessage {
// Required. A collection of text responses.
repeated string text = 1 [(google.api.field_behavior) = REQUIRED];
- // Output only. Whether the playback of this message can be interrupted by
- // the end user's speech and the client can then starts the next Dialogflow
+ // Output only. Whether the playback of this message can be interrupted by the end
+ // user's speech and the client can then starts the next Dialogflow
// request.
- bool allow_playback_interruption = 2
- [(google.api.field_behavior) = OUTPUT_ONLY];
+ bool allow_playback_interruption = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Indicates that the conversation should be handed off to a live agent.
@@ -65,9 +64,7 @@ message ResponseMessage {
// is up to you and your handoff procedures.
//
// You may set this, for example:
- // * In the
- // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment]
- // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
+ // * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
// entering the page indicates something went extremely wrong in the
// conversation.
// * In a webhook response when you determine that the customer issue can only
@@ -88,9 +85,7 @@ message ResponseMessage {
// [ConversationSuccess][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess].
//
// You may set this, for example:
- // * In the
- // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment]
- // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
+ // * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if
// entering the page indicates that the conversation succeeded.
// * In a webhook response when you determine that you handled the customer
// issue.
@@ -111,12 +106,31 @@ message ResponseMessage {
// [SSML](/speech/text-to-speech/docs/ssml).
string ssml = 2;
}
+
+ // Output only. Whether the playback of this message can be interrupted by the end
+ // user's speech and the client can then starts the next Dialogflow
+ // request.
+ bool allow_playback_interruption = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Indicates that interaction with the Dialogflow agent has ended.
// This message is generated by Dialogflow only and not supposed to be
// defined by the user.
- message EndInteraction {}
+ message EndInteraction {
+
+ }
+
+ // Specifies an audio clip to be played by the client as part of the response.
+ message PlayAudio {
+ // Required. URI of the audio clip. Dialogflow does not impose any validation on this
+ // value. It is specific to the client that reads it.
+ string audio_uri = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Whether the playback of this message can be interrupted by the end
+ // user's speech and the client can then starts the next Dialogflow
+ // request.
+ bool allow_playback_interruption = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
// Represents an audio message that is composed of both segments
// synthesized from the Dialogflow agent prompts and ones hosted externally
@@ -139,30 +153,16 @@ message ResponseMessage {
string uri = 2;
}
- // Output only. Whether the playback of this segment can be interrupted by
- // the end user's speech and the client should then start the next
- // Dialogflow request.
- bool allow_playback_interruption = 3
- [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Whether the playback of this segment can be interrupted by the end
+ // user's speech and the client should then start the next Dialogflow
+ // request.
+ bool allow_playback_interruption = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Segments this audio response is composed of.
repeated Segment segments = 1;
}
- // Specifies an audio clip to be played by the client as part of the response.
- message PlayAudio {
- // Required. URI of the audio clip. Dialogflow does not impose any
- // validation on this value. It is specific to the client that reads it.
- string audio_uri = 1 [(google.api.field_behavior) = REQUIRED];
-
- // Output only. Whether the playback of this message can be interrupted by
- // the end user's speech and the client can then starts the next Dialogflow
- // request.
- bool allow_playback_interruption = 2
- [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
// Required. The rich response message.
oneof message {
// Returns a text response.
@@ -181,23 +181,22 @@ message ResponseMessage {
// Hands off conversation to a human agent.
LiveAgentHandoff live_agent_handoff = 10;
- // Output only. A signal that indicates the interaction with the Dialogflow
- // agent has ended. This message is generated by Dialogflow only when the
- // conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed
- // to be defined by the user. It's guaranteed that there is at most one such
- // message in each response.
- EndInteraction end_interaction = 11
- [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. A signal that indicates the interaction with the Dialogflow agent has
+ // ended.
+ // This message is generated by Dialogflow only when the conversation
+ // reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
+ // defined by the user.
+ // It's guaranteed that there is at most one such message in each response.
+ EndInteraction end_interaction = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
// Signal that the client should play an audio clip hosted at a
// client-specific URI. Dialogflow uses this to construct
- // [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio].
- // However, Dialogflow itself does not try to read or process the URI in any
- // way.
+ // [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself
+ // does not try to read or process the URI in any way.
PlayAudio play_audio = 12;
- // Output only. An audio response message composed of both the synthesized
- // Dialogflow agent responses and responses defined via
+ // Output only. An audio response message composed of both the synthesized Dialogflow
+ // agent responses and responses defined via
// [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio].
// This message is generated by Dialogflow only and not supposed to be
// defined by the user.
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 9f962d4a7..e3de731c1 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,10 +17,10 @@ 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";
+import "google/cloud/dialogflow/cx/v3beta1/flow.proto";
import "google/cloud/dialogflow/cx/v3beta1/intent.proto";
import "google/cloud/dialogflow/cx/v3beta1/page.proto";
import "google/cloud/dialogflow/cx/v3beta1/response_message.proto";
@@ -29,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";
@@ -44,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) =
@@ -71,8 +71,8 @@ service Sessions {
// Processes a natural language query in audio format in a streaming fashion
// and returns structured, actionable data as a result. This method is only
// available via the gRPC API (not REST).
- 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.
@@ -87,13 +87,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"
@@ -117,6 +113,9 @@ message DetectIntentRequest {
// It's up to the API caller to choose an appropriate `Session ID`. It can be
// a random number or some type of session identifiers (preferably hashed).
// The length of the `Session ID` must not exceed 36 characters.
+ //
+ // For more information, see the [sessions
+ // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
string session = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -146,9 +145,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
@@ -161,29 +160,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:
//
@@ -204,9 +198,12 @@ message StreamingDetectIntentRequest {
// a random number or some type of session identifiers (preferably hashed).
// The length of the `Session ID` must not exceed 36 characters.
// Note: session must be set in the first request.
+ //
+ // For more information, see the [sessions
+ // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
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;
@@ -287,8 +284,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;
}
@@ -324,8 +321,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;
@@ -374,6 +370,10 @@ message QueryParameters {
// map from composite entity property names to property values
// - Else: parameter value
google.protobuf.Struct parameters = 5;
+
+ // Configures whether sentiment analysis should be performed. If not
+ // provided, sentiment analysis is not performed.
+ bool analyze_query_text_sentiment = 8;
}
// Represents the query input. It can contain either:
@@ -392,6 +392,9 @@ message QueryInput {
// The natural language speech audio to be processed.
AudioInput audio = 5;
+
+ // The event to be triggered.
+ EventInput event = 6;
}
// Required. The language of the input. See [Language
@@ -405,22 +408,20 @@ 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.
+ // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ // contain a copy of the intent identifier.
string trigger_intent = 11;
- // If [natural language speech
- // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- // input, this field will contain the trascript for the audio.
+ // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ // this field will contain the trascript 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;
}
@@ -430,8 +431,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
@@ -456,23 +456,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
@@ -481,9 +477,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.
@@ -493,12 +487,17 @@ message QueryResult {
// webhook call latency. The string keys of the Struct's fields map can change
// without notice.
google.protobuf.Struct diagnostic_info = 10;
+
+ // 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.
+ 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];
}
@@ -523,9 +522,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.
@@ -534,6 +532,12 @@ message AudioInput {
bytes audio = 2;
}
+// Represents the event to trigger.
+message EventInput {
+ // Name of the event.
+ string event = 1;
+}
+
// Represents one match result of [MatchIntent][].
message Match {
// Type of a Match.
@@ -557,10 +561,9 @@ message Match {
NO_INPUT = 5;
}
- // 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 collection of parameters extracted from the query.
@@ -608,6 +611,9 @@ message MatchIntentRequest {
// It's up to the API caller to choose an appropriate `Session ID`. It can be
// a random number or some type of session identifiers (preferably hashed).
// The length of the `Session ID` must not exceed 36 characters.
+ //
+ // For more information, see the [sessions
+ // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
string session = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -626,28 +632,29 @@ 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.
+ // If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will
+ // contain a copy of the intent identifier.
string trigger_intent = 2;
- // If [natural language speech
- // audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
- // input, this field will contain the trascript for the audio.
+ // If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input,
+ // this field will contain the trascript 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.
+ string trigger_event = 6;
}
// Match results, if more than one, ordered descendingly by the confidence
// 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;
}
@@ -676,9 +683,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
@@ -689,3 +696,16 @@ message FulfillIntentResponse {
// The config used by the speech synthesizer to generate the output audio.
OutputAudioConfig output_audio_config = 4;
}
+
+// The result of sentiment analysis. Sentiment analysis inspects user input
+// and identifies the prevailing subjective opinion, especially to determine a
+// user's attitude as positive, negative, or neutral.
+message SentimentAnalysisResult {
+ // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ // sentiment).
+ float score = 1;
+
+ // A non-negative number in the [0, +inf) range, which represents the absolute
+ // magnitude of sentiment, regardless of score (positive or negative).
+ float magnitude = 2;
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto
index 25dd8f5f8..5b8f5df92 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto
@@ -32,8 +32,7 @@ option java_outer_classname = "SessionEntityTypeProto";
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
-// Service for managing
-// [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
+// Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityType].
service SessionEntityTypes {
option (google.api.default_host) = "dialogflow.googleapis.com";
option (google.api.oauth_scopes) =
@@ -41,8 +40,7 @@ service SessionEntityTypes {
"https://www.googleapis.com/auth/dialogflow";
// Returns the list of all session entity types in the specified session.
- rpc ListSessionEntityTypes(ListSessionEntityTypesRequest)
- returns (ListSessionEntityTypesResponse) {
+ rpc ListSessionEntityTypes(ListSessionEntityTypesRequest) returns (ListSessionEntityTypesResponse) {
option (google.api.http) = {
get: "/v3beta1/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes"
additional_bindings {
@@ -53,8 +51,7 @@ service SessionEntityTypes {
}
// Retrieves the specified session entity type.
- rpc GetSessionEntityType(GetSessionEntityTypeRequest)
- returns (SessionEntityType) {
+ rpc GetSessionEntityType(GetSessionEntityTypeRequest) returns (SessionEntityType) {
option (google.api.http) = {
get: "/v3beta1/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}"
additional_bindings {
@@ -68,8 +65,7 @@ service SessionEntityTypes {
//
// If the specified session entity type already exists, overrides the
// session entity type.
- rpc CreateSessionEntityType(CreateSessionEntityTypeRequest)
- returns (SessionEntityType) {
+ rpc CreateSessionEntityType(CreateSessionEntityTypeRequest) returns (SessionEntityType) {
option (google.api.http) = {
post: "/v3beta1/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes"
body: "session_entity_type"
@@ -82,8 +78,7 @@ service SessionEntityTypes {
}
// Updates the specified session entity type.
- rpc UpdateSessionEntityType(UpdateSessionEntityTypeRequest)
- returns (SessionEntityType) {
+ rpc UpdateSessionEntityType(UpdateSessionEntityTypeRequest) returns (SessionEntityType) {
option (google.api.http) = {
patch: "/v3beta1/{session_entity_type.name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}"
body: "session_entity_type"
@@ -96,8 +91,7 @@ service SessionEntityTypes {
}
// Deletes the specified session entity type.
- rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest)
- returns (google.protobuf.Empty) {
+ rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v3beta1/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}"
additional_bindings {
@@ -113,9 +107,9 @@ service SessionEntityTypes {
// preferences, playlists, and so on.
//
// You can redefine a session entity type at the session level to extend or
-// replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType]
-// at the user session level (we refer to the entity types defined at the agent
-// level as "custom entity types").
+// replace a [custom entity type][google.cloud.dialogflow.cx.v3beta1.EntityType] at the user session level (we
+// refer to the entity types defined at the agent level as "custom entity
+// types").
//
// Note: session entity types apply to all queries, regardless of the language.
//
@@ -144,9 +138,8 @@ message SessionEntityType {
// `GetSessionEntityType`, `CreateSessionEntityType` and
// `UpdateSessionEntityType` only return the additional entities added in
// this session entity type. If you want to get the supplemented list,
- // please call
- // [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType]
- // on the custom entity type and merge.
+ // please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType] on the custom entity type
+ // and merge.
ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2;
}
@@ -159,19 +152,16 @@ message SessionEntityType {
// environment.
string name = 1 [(google.api.field_behavior) = REQUIRED];
- // Required. Indicates whether the additional data should override or
- // supplement the custom entity type definition.
- EntityOverrideMode entity_override_mode = 3
- [(google.api.field_behavior) = REQUIRED];
+ // Required. Indicates whether the additional data should override or supplement the
+ // custom entity type definition.
+ EntityOverrideMode entity_override_mode = 3 [(google.api.field_behavior) = REQUIRED];
- // Required. The collection of entities to override or supplement the custom
- // entity type.
- repeated EntityType.Entity entities = 4
- [(google.api.field_behavior) = REQUIRED];
+ // Required. The collection of entities to override or supplement the custom entity
+ // type.
+ repeated EntityType.Entity entities = 4 [(google.api.field_behavior) = REQUIRED];
}
-// The request message for
-// [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
+// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes].
message ListSessionEntityTypesRequest {
// Required. The session to list all session entity types from.
// Format: `projects//locations//agents//locations//agents//locations//agents//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
// environment.
- SessionEntityType session_entity_type = 1
- [(google.api.field_behavior) = REQUIRED];
+ SessionEntityType session_entity_type = 1 [(google.api.field_behavior) = REQUIRED];
// The mask to control which fields get updated.
google.protobuf.FieldMask update_mask = 2;
}
-// The request message for
-// [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
+// The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
message DeleteSessionEntityTypeRequest {
// Required. The name of the session entity type to delete.
// Format: `projects//locations//agents//locations//agents//webhooks/`.
+ // 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//locations/