- * repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;
*
*/
int getVersionConfigsCount();
@@ -156,14 +153,13 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
- *
- * repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;
*
*/
java.util.List extends com.google.cloud.dialogflow.cx.v3.Environment.VersionConfigOrBuilder>
@@ -172,14 +168,13 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
- *
- * repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;
*
*/
com.google.cloud.dialogflow.cx.v3.Environment.VersionConfigOrBuilder getVersionConfigsOrBuilder(
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java
index 2cd1b58581b0..34fa08e15d01 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java
@@ -129,151 +129,152 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "to\032+google/cloud/dialogflow/cx/v3/webhoo"
+ "k.proto\032#google/longrunning/operations.p"
+ "roto\032\033google/protobuf/empty.proto\032 googl"
- + "e/protobuf/field_mask.proto\032\037google/prot"
- + "obuf/timestamp.proto\"\264\006\n\013Environment\022\014\n\004"
- + "name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n"
- + "\013description\030\003 \001(\t\022V\n\017version_configs\030\006 "
- + "\003(\01328.google.cloud.dialogflow.cx.v3.Envi"
- + "ronment.VersionConfigB\003\340A\002\0224\n\013update_tim"
- + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
- + "\022U\n\021test_cases_config\030\007 \001(\0132:.google.clo"
- + "ud.dialogflow.cx.v3.Environment.TestCase"
- + "sConfig\022P\n\016webhook_config\030\n \001(\01328.google"
- + ".cloud.dialogflow.cx.v3.Environment.Webh"
- + "ookConfig\032K\n\rVersionConfig\022:\n\007version\030\001 "
- + "\001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com/V"
- + "ersion\032\217\001\n\017TestCasesConfig\022;\n\ntest_cases"
- + "\030\001 \003(\tB\'\372A$\n\"dialogflow.googleapis.com/T"
- + "estCase\022\035\n\025enable_continuous_run\030\002 \001(\010\022 "
- + "\n\030enable_predeployment_run\030\003 \001(\010\032R\n\rWebh"
- + "ookConfig\022A\n\021webhook_overrides\030\001 \003(\0132&.g"
- + "oogle.cloud.dialogflow.cx.v3.Webhook:}\352A"
- + "z\n%dialogflow.googleapis.com/Environment"
- + "\022Qprojects/{project}/locations/{location"
- + "}/agents/{agent}/environments/{environme"
- + "nt}\"\177\n\027ListEnvironmentsRequest\022=\n\006parent"
- + "\030\001 \001(\tB-\340A\002\372A\'\022%dialogflow.googleapis.co"
- + "m/Environment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
- + "_token\030\003 \001(\t\"u\n\030ListEnvironmentsResponse"
- + "\022@\n\014environments\030\001 \003(\0132*.google.cloud.di"
- + "alogflow.cx.v3.Environment\022\027\n\017next_page_"
- + "token\030\002 \001(\t\"T\n\025GetEnvironmentRequest\022;\n\004"
- + "name\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.googleapi"
- + "s.com/Environment\"\237\001\n\030CreateEnvironmentR"
- + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dialogfl"
- + "ow.googleapis.com/Environment\022D\n\013environ"
- + "ment\030\002 \001(\0132*.google.cloud.dialogflow.cx."
- + "v3.EnvironmentB\003\340A\002\"\226\001\n\030UpdateEnvironmen"
- + "tRequest\022D\n\013environment\030\001 \001(\0132*.google.c"
- + "loud.dialogflow.cx.v3.EnvironmentB\003\340A\002\0224"
- + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi"
- + "eldMaskB\003\340A\002\"W\n\030DeleteEnvironmentRequest"
- + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.googl"
- + "eapis.com/Environment\"\205\001\n\037LookupEnvironm"
- + "entHistoryRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n"
+ + "e/protobuf/field_mask.proto\032\034google/prot"
+ + "obuf/struct.proto\032\037google/protobuf/times"
+ + "tamp.proto\"\257\006\n\013Environment\022\014\n\004name\030\001 \001(\t"
+ + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descripti"
+ + "on\030\003 \001(\t\022Q\n\017version_configs\030\006 \003(\01328.goog"
+ + "le.cloud.dialogflow.cx.v3.Environment.Ve"
+ + "rsionConfig\0224\n\013update_time\030\005 \001(\0132\032.googl"
+ + "e.protobuf.TimestampB\003\340A\003\022U\n\021test_cases_"
+ + "config\030\007 \001(\0132:.google.cloud.dialogflow.c"
+ + "x.v3.Environment.TestCasesConfig\022P\n\016webh"
+ + "ook_config\030\n \001(\01328.google.cloud.dialogfl"
+ + "ow.cx.v3.Environment.WebhookConfig\032K\n\rVe"
+ + "rsionConfig\022:\n\007version\030\001 \001(\tB)\340A\002\372A#\n!di"
+ + "alogflow.googleapis.com/Version\032\217\001\n\017Test"
+ + "CasesConfig\022;\n\ntest_cases\030\001 \003(\tB\'\372A$\n\"di"
+ + "alogflow.googleapis.com/TestCase\022\035\n\025enab"
+ + "le_continuous_run\030\002 \001(\010\022 \n\030enable_predep"
+ + "loyment_run\030\003 \001(\010\032R\n\rWebhookConfig\022A\n\021we"
+ + "bhook_overrides\030\001 \003(\0132&.google.cloud.dia"
+ + "logflow.cx.v3.Webhook:}\352Az\n%dialogflow.g"
+ + "oogleapis.com/Environment\022Qprojects/{pro"
+ + "ject}/locations/{location}/agents/{agent"
+ + "}/environments/{environment}\"\177\n\027ListEnvi"
+ + "ronmentsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022"
+ "%dialogflow.googleapis.com/Environment\022\021"
- + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n"
- + " LookupEnvironmentHistoryResponse\022@\n\014env"
- + "ironments\030\001 \003(\0132*.google.cloud.dialogflo"
- + "w.cx.v3.Environment\022\027\n\017next_page_token\030\002"
- + " \001(\t\"\210\004\n\024ContinuousTestResult\022\014\n\004name\030\001 "
- + "\001(\t\022X\n\006result\030\002 \001(\0162H.google.cloud.dialo"
- + "gflow.cx.v3.ContinuousTestResult.Aggrega"
- + "tedTestResult\022H\n\021test_case_results\030\003 \003(\t"
- + "B-\372A*\n(dialogflow.googleapis.com/TestCas"
- + "eResult\022,\n\010run_time\030\004 \001(\0132\032.google.proto"
- + "buf.Timestamp\"V\n\024AggregatedTestResult\022&\n"
- + "\"AGGREGATED_TEST_RESULT_UNSPECIFIED\020\000\022\n\n"
- + "\006PASSED\020\001\022\n\n\006FAILED\020\002:\267\001\352A\263\001\n.dialogflow"
- + ".googleapis.com/ContinuousTestResult\022\200\001p"
- + "rojects/{project}/locations/{location}/a"
- + "gents/{agent}/environments/{environment}"
- + "/continuousTestResults/{continuous_test_"
- + "result}\"^\n\030RunContinuousTestRequest\022B\n\013e"
- + "nvironment\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.goo"
- + "gleapis.com/Environment\"p\n\031RunContinuous"
- + "TestResponse\022S\n\026continuous_test_result\030\001"
- + " \001(\01323.google.cloud.dialogflow.cx.v3.Con"
- + "tinuousTestResult\"U\n\031RunContinuousTestMe"
- + "tadata\0228\n\006errors\030\001 \003(\0132(.google.cloud.di"
- + "alogflow.cx.v3.TestError\"\221\001\n ListContinu"
- + "ousTestResultsRequest\022F\n\006parent\030\001 \001(\tB6\340"
- + "A\002\372A0\022.dialogflow.googleapis.com/Continu"
- + "ousTestResult\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
- + "_token\030\003 \001(\t\"\222\001\n!ListContinuousTestResul"
- + "tsResponse\022T\n\027continuous_test_results\030\001 "
- + "\003(\01323.google.cloud.dialogflow.cx.v3.Cont"
- + "inuousTestResult\022\027\n\017next_page_token\030\002 \001("
- + "\t\"\230\001\n\021DeployFlowRequest\022B\n\013environment\030\001"
- + " \001(\tB-\340A\002\372A\'\n%dialogflow.googleapis.com/"
- + "Environment\022?\n\014flow_version\030\002 \001(\tB)\340A\002\372A"
- + "#\n!dialogflow.googleapis.com/Version\"i\n\022"
- + "DeployFlowResponse\022?\n\013environment\030\001 \001(\0132"
- + "*.google.cloud.dialogflow.cx.v3.Environm"
- + "ent\022\022\n\ndeployment\030\002 \001(\t\"S\n\022DeployFlowMet"
- + "adata\022=\n\013test_errors\030\001 \003(\0132(.google.clou"
- + "d.dialogflow.cx.v3.TestError2\304\021\n\014Environ"
- + "ments\022\317\001\n\020ListEnvironments\0226.google.clou"
- + "d.dialogflow.cx.v3.ListEnvironmentsReque"
- + "st\0327.google.cloud.dialogflow.cx.v3.ListE"
- + "nvironmentsResponse\"J\202\323\344\223\002;\0229/v3/{parent"
- + "=projects/*/locations/*/agents/*}/enviro"
- + "nments\332A\006parent\022\274\001\n\016GetEnvironment\0224.goo"
- + "gle.cloud.dialogflow.cx.v3.GetEnvironmen"
- + "tRequest\032*.google.cloud.dialogflow.cx.v3"
- + ".Environment\"H\202\323\344\223\002;\0229/v3/{name=projects"
- + "/*/locations/*/agents/*/environments/*}\332"
- + "A\004name\022\371\001\n\021CreateEnvironment\0227.google.cl"
- + "oud.dialogflow.cx.v3.CreateEnvironmentRe"
- + "quest\032\035.google.longrunning.Operation\"\213\001\202"
- + "\323\344\223\002H\"9/v3/{parent=projects/*/locations/"
- + "*/agents/*}/environments:\013environment\332A\022"
- + "parent,environment\312A%\n\013Environment\022\026goog"
- + "le.protobuf.Struct\022\212\002\n\021UpdateEnvironment"
- + "\0227.google.cloud.dialogflow.cx.v3.UpdateE"
- + "nvironmentRequest\032\035.google.longrunning.O"
- + "peration\"\234\001\202\323\344\223\002T2E/v3/{environment.name"
- + "=projects/*/locations/*/agents/*/environ"
- + "ments/*}:\013environment\332A\027environment,upda"
- + "te_mask\312A%\n\013Environment\022\026google.protobuf"
- + ".Struct\022\256\001\n\021DeleteEnvironment\0227.google.c"
- + "loud.dialogflow.cx.v3.DeleteEnvironmentR"
- + "equest\032\026.google.protobuf.Empty\"H\202\323\344\223\002;*9"
- + "/v3/{name=projects/*/locations/*/agents/"
- + "*/environments/*}\332A\004name\022\376\001\n\030LookupEnvir"
- + "onmentHistory\022>.google.cloud.dialogflow."
- + "cx.v3.LookupEnvironmentHistoryRequest\032?."
- + "google.cloud.dialogflow.cx.v3.LookupEnvi"
- + "ronmentHistoryResponse\"a\202\323\344\223\002T\022R/v3/{nam"
- + "e=projects/*/locations/*/agents/*/enviro"
- + "nments/*}:lookupEnvironmentHistory\332A\004nam"
- + "e\022\204\002\n\021RunContinuousTest\0227.google.cloud.d"
- + "ialogflow.cx.v3.RunContinuousTestRequest"
- + "\032\035.google.longrunning.Operation\"\226\001\202\323\344\223\002W"
- + "\"R/v3/{environment=projects/*/locations/"
- + "*/agents/*/environments/*}:runContinuous"
- + "Test:\001*\312A6\n\031RunContinuousTestResponse\022\031R"
- + "unContinuousTestMetadata\022\202\002\n\031ListContinu"
- + "ousTestResults\022?.google.cloud.dialogflow"
- + ".cx.v3.ListContinuousTestResultsRequest\032"
- + "@.google.cloud.dialogflow.cx.v3.ListCont"
- + "inuousTestResultsResponse\"b\202\323\344\223\002S\022Q/v3/{"
- + "parent=projects/*/locations/*/agents/*/e"
- + "nvironments/*}/continuousTestResults\332A\006p"
- + "arent\022\341\001\n\nDeployFlow\0220.google.cloud.dial"
- + "ogflow.cx.v3.DeployFlowRequest\032\035.google."
- + "longrunning.Operation\"\201\001\202\323\344\223\002P\"K/v3/{env"
- + "ironment=projects/*/locations/*/agents/*"
- + "/environments/*}:deployFlow:\001*\312A(\n\022Deplo"
- + "yFlowResponse\022\022DeployFlowMetadata\032x\312A\031di"
- + "alogflow.googleapis.com\322AYhttps://www.go"
- + "ogleapis.com/auth/cloud-platform,https:/"
- + "/www.googleapis.com/auth/dialogflowB\266\001\n!"
- + "com.google.cloud.dialogflow.cx.v3B\020Envir"
- + "onmentProtoP\001Z1cloud.google.com/go/dialo"
- + "gflow/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Googl"
- + "e.Cloud.Dialogflow.Cx.V3\352\002!Google::Cloud"
- + "::Dialogflow::CX::V3b\006proto3"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"u\n"
+ + "\030ListEnvironmentsResponse\022@\n\014environment"
+ + "s\030\001 \003(\0132*.google.cloud.dialogflow.cx.v3."
+ + "Environment\022\027\n\017next_page_token\030\002 \001(\t\"T\n\025"
+ + "GetEnvironmentRequest\022;\n\004name\030\001 \001(\tB-\340A\002"
+ + "\372A\'\n%dialogflow.googleapis.com/Environme"
+ + "nt\"\237\001\n\030CreateEnvironmentRequest\022=\n\006paren"
+ + "t\030\001 \001(\tB-\340A\002\372A\'\022%dialogflow.googleapis.c"
+ + "om/Environment\022D\n\013environment\030\002 \001(\0132*.go"
+ + "ogle.cloud.dialogflow.cx.v3.EnvironmentB"
+ + "\003\340A\002\"\226\001\n\030UpdateEnvironmentRequest\022D\n\013env"
+ + "ironment\030\001 \001(\0132*.google.cloud.dialogflow"
+ + ".cx.v3.EnvironmentB\003\340A\002\0224\n\013update_mask\030\002"
+ + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"W\n"
+ + "\030DeleteEnvironmentRequest\022;\n\004name\030\001 \001(\tB"
+ + "-\340A\002\372A\'\n%dialogflow.googleapis.com/Envir"
+ + "onment\"\205\001\n\037LookupEnvironmentHistoryReque"
+ + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.goo"
+ + "gleapis.com/Environment\022\021\n\tpage_size\030\002 \001"
+ + "(\005\022\022\n\npage_token\030\003 \001(\t\"}\n LookupEnvironm"
+ + "entHistoryResponse\022@\n\014environments\030\001 \003(\013"
+ + "2*.google.cloud.dialogflow.cx.v3.Environ"
+ + "ment\022\027\n\017next_page_token\030\002 \001(\t\"\210\004\n\024Contin"
+ + "uousTestResult\022\014\n\004name\030\001 \001(\t\022X\n\006result\030\002"
+ + " \001(\0162H.google.cloud.dialogflow.cx.v3.Con"
+ + "tinuousTestResult.AggregatedTestResult\022H"
+ + "\n\021test_case_results\030\003 \003(\tB-\372A*\n(dialogfl"
+ + "ow.googleapis.com/TestCaseResult\022,\n\010run_"
+ + "time\030\004 \001(\0132\032.google.protobuf.Timestamp\"V"
+ + "\n\024AggregatedTestResult\022&\n\"AGGREGATED_TES"
+ + "T_RESULT_UNSPECIFIED\020\000\022\n\n\006PASSED\020\001\022\n\n\006FA"
+ + "ILED\020\002:\267\001\352A\263\001\n.dialogflow.googleapis.com"
+ + "/ContinuousTestResult\022\200\001projects/{projec"
+ + "t}/locations/{location}/agents/{agent}/e"
+ + "nvironments/{environment}/continuousTest"
+ + "Results/{continuous_test_result}\"^\n\030RunC"
+ + "ontinuousTestRequest\022B\n\013environment\030\001 \001("
+ + "\tB-\340A\002\372A\'\n%dialogflow.googleapis.com/Env"
+ + "ironment\"p\n\031RunContinuousTestResponse\022S\n"
+ + "\026continuous_test_result\030\001 \001(\01323.google.c"
+ + "loud.dialogflow.cx.v3.ContinuousTestResu"
+ + "lt\"U\n\031RunContinuousTestMetadata\0228\n\006error"
+ + "s\030\001 \003(\0132(.google.cloud.dialogflow.cx.v3."
+ + "TestError\"\221\001\n ListContinuousTestResultsR"
+ + "equest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.dialogfl"
+ + "ow.googleapis.com/ContinuousTestResult\022\021"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\222\001"
+ + "\n!ListContinuousTestResultsResponse\022T\n\027c"
+ + "ontinuous_test_results\030\001 \003(\01323.google.cl"
+ + "oud.dialogflow.cx.v3.ContinuousTestResul"
+ + "t\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n\021DeployFlo"
+ + "wRequest\022B\n\013environment\030\001 \001(\tB-\340A\002\372A\'\n%d"
+ + "ialogflow.googleapis.com/Environment\022?\n\014"
+ + "flow_version\030\002 \001(\tB)\340A\002\372A#\n!dialogflow.g"
+ + "oogleapis.com/Version\"i\n\022DeployFlowRespo"
+ + "nse\022?\n\013environment\030\001 \001(\0132*.google.cloud."
+ + "dialogflow.cx.v3.Environment\022\022\n\ndeployme"
+ + "nt\030\002 \001(\t\"S\n\022DeployFlowMetadata\022=\n\013test_e"
+ + "rrors\030\001 \003(\0132(.google.cloud.dialogflow.cx"
+ + ".v3.TestError2\304\021\n\014Environments\022\317\001\n\020ListE"
+ + "nvironments\0226.google.cloud.dialogflow.cx"
+ + ".v3.ListEnvironmentsRequest\0327.google.clo"
+ + "ud.dialogflow.cx.v3.ListEnvironmentsResp"
+ + "onse\"J\202\323\344\223\002;\0229/v3/{parent=projects/*/loc"
+ + "ations/*/agents/*}/environments\332A\006parent"
+ + "\022\274\001\n\016GetEnvironment\0224.google.cloud.dialo"
+ + "gflow.cx.v3.GetEnvironmentRequest\032*.goog"
+ + "le.cloud.dialogflow.cx.v3.Environment\"H\202"
+ + "\323\344\223\002;\0229/v3/{name=projects/*/locations/*/"
+ + "agents/*/environments/*}\332A\004name\022\371\001\n\021Crea"
+ + "teEnvironment\0227.google.cloud.dialogflow."
+ + "cx.v3.CreateEnvironmentRequest\032\035.google."
+ + "longrunning.Operation\"\213\001\202\323\344\223\002H\"9/v3/{par"
+ + "ent=projects/*/locations/*/agents/*}/env"
+ + "ironments:\013environment\332A\022parent,environm"
+ + "ent\312A%\n\013Environment\022\026google.protobuf.Str"
+ + "uct\022\212\002\n\021UpdateEnvironment\0227.google.cloud"
+ + ".dialogflow.cx.v3.UpdateEnvironmentReque"
+ + "st\032\035.google.longrunning.Operation\"\234\001\202\323\344\223"
+ + "\002T2E/v3/{environment.name=projects/*/loc"
+ + "ations/*/agents/*/environments/*}:\013envir"
+ + "onment\332A\027environment,update_mask\312A%\n\013Env"
+ + "ironment\022\026google.protobuf.Struct\022\256\001\n\021Del"
+ + "eteEnvironment\0227.google.cloud.dialogflow"
+ + ".cx.v3.DeleteEnvironmentRequest\032\026.google"
+ + ".protobuf.Empty\"H\202\323\344\223\002;*9/v3/{name=proje"
+ + "cts/*/locations/*/agents/*/environments/"
+ + "*}\332A\004name\022\376\001\n\030LookupEnvironmentHistory\022>"
+ + ".google.cloud.dialogflow.cx.v3.LookupEnv"
+ + "ironmentHistoryRequest\032?.google.cloud.di"
+ + "alogflow.cx.v3.LookupEnvironmentHistoryR"
+ + "esponse\"a\202\323\344\223\002T\022R/v3/{name=projects/*/lo"
+ + "cations/*/agents/*/environments/*}:looku"
+ + "pEnvironmentHistory\332A\004name\022\204\002\n\021RunContin"
+ + "uousTest\0227.google.cloud.dialogflow.cx.v3"
+ + ".RunContinuousTestRequest\032\035.google.longr"
+ + "unning.Operation\"\226\001\202\323\344\223\002W\"R/v3/{environm"
+ + "ent=projects/*/locations/*/agents/*/envi"
+ + "ronments/*}:runContinuousTest:\001*\312A6\n\031Run"
+ + "ContinuousTestResponse\022\031RunContinuousTes"
+ + "tMetadata\022\202\002\n\031ListContinuousTestResults\022"
+ + "?.google.cloud.dialogflow.cx.v3.ListCont"
+ + "inuousTestResultsRequest\032@.google.cloud."
+ + "dialogflow.cx.v3.ListContinuousTestResul"
+ + "tsResponse\"b\202\323\344\223\002S\022Q/v3/{parent=projects"
+ + "/*/locations/*/agents/*/environments/*}/"
+ + "continuousTestResults\332A\006parent\022\341\001\n\nDeplo"
+ + "yFlow\0220.google.cloud.dialogflow.cx.v3.De"
+ + "ployFlowRequest\032\035.google.longrunning.Ope"
+ + "ration\"\201\001\202\323\344\223\002P\"K/v3/{environment=projec"
+ + "ts/*/locations/*/agents/*/environments/*"
+ + "}:deployFlow:\001*\312A(\n\022DeployFlowResponse\022\022"
+ + "DeployFlowMetadata\032x\312A\031dialogflow.google"
+ + "apis.com\322AYhttps://www.googleapis.com/au"
+ + "th/cloud-platform,https://www.googleapis"
+ + ".com/auth/dialogflowB\266\001\n!com.google.clou"
+ + "d.dialogflow.cx.v3B\020EnvironmentProtoP\001Z1"
+ + "cloud.google.com/go/dialogflow/cx/apiv3/"
+ + "cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialogf"
+ + "low.Cx.V3\352\002!Google::Cloud::Dialogflow::C"
+ + "X::V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -288,6 +289,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3_Environment_descriptor =
@@ -491,6 +493,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java
index 25682ad2c640..aef04de4e3e2 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FlowProto.java
@@ -109,135 +109,136 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "loud/dialogflow/cx/v3/validation_message"
+ ".proto\032#google/longrunning/operations.pr"
+ "oto\032\033google/protobuf/empty.proto\032 google"
- + "/protobuf/field_mask.proto\032\037google/proto"
- + "buf/timestamp.proto\"\254\003\n\013NluSettings\022H\n\nm"
- + "odel_type\030\001 \001(\01624.google.cloud.dialogflo"
- + "w.cx.v3.NluSettings.ModelType\022 \n\030classif"
- + "ication_threshold\030\003 \001(\002\022Y\n\023model_trainin"
- + "g_mode\030\004 \001(\0162<.google.cloud.dialogflow.c"
- + "x.v3.NluSettings.ModelTrainingMode\"Y\n\tMo"
- + "delType\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\027\n\023M"
- + "ODEL_TYPE_STANDARD\020\001\022\027\n\023MODEL_TYPE_ADVAN"
- + "CED\020\003\"{\n\021ModelTrainingMode\022#\n\037MODEL_TRAI"
- + "NING_MODE_UNSPECIFIED\020\000\022!\n\035MODEL_TRAININ"
- + "G_MODE_AUTOMATIC\020\001\022\036\n\032MODEL_TRAINING_MOD"
- + "E_MANUAL\020\002\"\326\003\n\004Flow\022\014\n\004name\030\001 \001(\t\022\031\n\014dis"
- + "play_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001("
- + "\t\022I\n\021transition_routes\030\004 \003(\0132..google.cl"
- + "oud.dialogflow.cx.v3.TransitionRoute\022C\n\016"
- + "event_handlers\030\n \003(\0132+.google.cloud.dial"
- + "ogflow.cx.v3.EventHandler\022T\n\027transition_"
- + "route_groups\030\017 \003(\tB3\372A0\n.dialogflow.goog"
- + "leapis.com/TransitionRouteGroup\022@\n\014nlu_s"
- + "ettings\030\013 \001(\0132*.google.cloud.dialogflow."
- + "cx.v3.NluSettings:h\352Ae\n\036dialogflow.googl"
- + "eapis.com/Flow\022Cprojects/{project}/locat"
- + "ions/{location}/agents/{agent}/flows/{fl"
- + "ow}\"\232\001\n\021CreateFlowRequest\0226\n\006parent\030\001 \001("
- + "\tB&\340A\002\372A \022\036dialogflow.googleapis.com/Flo"
- + "w\0226\n\004flow\030\002 \001(\0132#.google.cloud.dialogflo"
- + "w.cx.v3.FlowB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t"
- + "\"X\n\021DeleteFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002"
- + "\372A \n\036dialogflow.googleapis.com/Flow\022\r\n\005f"
- + "orce\030\002 \001(\010\"\210\001\n\020ListFlowsRequest\0226\n\006paren"
- + "t\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.googleapis.c"
- + "om/Flow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token"
- + "\030\003 \001(\t\022\025\n\rlanguage_code\030\004 \001(\t\"`\n\021ListFlo"
- + "wsResponse\0222\n\005flows\030\001 \003(\0132#.google.cloud"
- + ".dialogflow.cx.v3.Flow\022\027\n\017next_page_toke"
- + "n\030\002 \001(\t\"]\n\016GetFlowRequest\0224\n\004name\030\001 \001(\tB"
- + "&\340A\002\372A \n\036dialogflow.googleapis.com/Flow\022"
- + "\025\n\rlanguage_code\030\002 \001(\t\"\223\001\n\021UpdateFlowReq"
- + "uest\0226\n\004flow\030\001 \001(\0132#.google.cloud.dialog"
- + "flow.cx.v3.FlowB\003\340A\002\022/\n\013update_mask\030\002 \001("
- + "\0132\032.google.protobuf.FieldMask\022\025\n\rlanguag"
- + "e_code\030\003 \001(\t\"H\n\020TrainFlowRequest\0224\n\004name"
- + "\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapis.co"
- + "m/Flow\"b\n\023ValidateFlowRequest\0224\n\004name\030\001 "
- + "\001(\tB&\340A\002\372A \n\036dialogflow.googleapis.com/F"
- + "low\022\025\n\rlanguage_code\030\002 \001(\t\"}\n\036GetFlowVal"
- + "idationResultRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372"
- + "A0\n.dialogflow.googleapis.com/FlowValida"
- + "tionResult\022\025\n\rlanguage_code\030\002 \001(\t\"\261\002\n\024Fl"
- + "owValidationResult\022\014\n\004name\030\001 \001(\t\022M\n\023vali"
- + "dation_messages\030\002 \003(\01320.google.cloud.dia"
- + "logflow.cx.v3.ValidationMessage\022/\n\013updat"
- + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp"
- + ":\212\001\352A\206\001\n.dialogflow.googleapis.com/FlowV"
- + "alidationResult\022Tprojects/{project}/loca"
- + "tions/{location}/agents/{agent}/flows/{f"
- + "low}/validationResult\"\234\002\n\021ImportFlowRequ"
- + "est\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow."
- + "googleapis.com/Flow\022\022\n\010flow_uri\030\002 \001(\tH\000\022"
- + "\026\n\014flow_content\030\003 \001(\014H\000\022T\n\rimport_option"
- + "\030\004 \001(\0162=.google.cloud.dialogflow.cx.v3.I"
- + "mportFlowRequest.ImportOption\"E\n\014ImportO"
- + "ption\022\035\n\031IMPORT_OPTION_UNSPECIFIED\020\000\022\010\n\004"
- + "KEEP\020\001\022\014\n\010FALLBACK\020\002B\006\n\004flow\"G\n\022ImportFl"
- + "owResponse\0221\n\004flow\030\001 \001(\tB#\372A \n\036dialogflo"
- + "w.googleapis.com/Flow\"\207\001\n\021ExportFlowRequ"
- + "est\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.go"
- + "ogleapis.com/Flow\022\025\n\010flow_uri\030\002 \001(\tB\003\340A\001"
- + "\022%\n\030include_referenced_flows\030\004 \001(\010B\003\340A\001\""
- + "H\n\022ExportFlowResponse\022\022\n\010flow_uri\030\001 \001(\tH"
- + "\000\022\026\n\014flow_content\030\002 \001(\014H\000B\006\n\004flow2\230\020\n\005Fl"
- + "ows\022\263\001\n\nCreateFlow\0220.google.cloud.dialog"
- + "flow.cx.v3.CreateFlowRequest\032#.google.cl"
- + "oud.dialogflow.cx.v3.Flow\"N\202\323\344\223\002:\"2/v3/{"
- + "parent=projects/*/locations/*/agents/*}/"
- + "flows:\004flow\332A\013parent,flow\022\231\001\n\nDeleteFlow"
- + "\0220.google.cloud.dialogflow.cx.v3.DeleteF"
- + "lowRequest\032\026.google.protobuf.Empty\"A\202\323\344\223"
- + "\0024*2/v3/{name=projects/*/locations/*/age"
- + "nts/*/flows/*}\332A\004name\022\263\001\n\tListFlows\022/.go"
- + "ogle.cloud.dialogflow.cx.v3.ListFlowsReq"
- + "uest\0320.google.cloud.dialogflow.cx.v3.Lis"
- + "tFlowsResponse\"C\202\323\344\223\0024\0222/v3/{parent=proj"
- + "ects/*/locations/*/agents/*}/flows\332A\006par"
- + "ent\022\240\001\n\007GetFlow\022-.google.cloud.dialogflo"
- + "w.cx.v3.GetFlowRequest\032#.google.cloud.di"
- + "alogflow.cx.v3.Flow\"A\202\323\344\223\0024\0222/v3/{name=p"
- + "rojects/*/locations/*/agents/*/flows/*}\332"
- + "A\004name\022\275\001\n\nUpdateFlow\0220.google.cloud.dia"
- + "logflow.cx.v3.UpdateFlowRequest\032#.google"
- + ".cloud.dialogflow.cx.v3.Flow\"X\202\323\344\223\002?27/v"
- + "3/{flow.name=projects/*/locations/*/agen"
- + "ts/*/flows/*}:\004flow\332A\020flow,update_mask\022\331"
- + "\001\n\tTrainFlow\022/.google.cloud.dialogflow.c"
- + "x.v3.TrainFlowRequest\032\035.google.longrunni"
- + "ng.Operation\"|\202\323\344\223\002=\"8/v3/{name=projects"
- + "/*/locations/*/agents/*/flows/*}:train:\001"
- + "*\332A\004name\312A/\n\025google.protobuf.Empty\022\026goog"
- + "le.protobuf.Struct\022\277\001\n\014ValidateFlow\0222.go"
- + "ogle.cloud.dialogflow.cx.v3.ValidateFlow"
- + "Request\0323.google.cloud.dialogflow.cx.v3."
- + "FlowValidationResult\"F\202\323\344\223\002@\";/v3/{name="
- + "projects/*/locations/*/agents/*/flows/*}"
- + ":validate:\001*\022\341\001\n\027GetFlowValidationResult"
- + "\022=.google.cloud.dialogflow.cx.v3.GetFlow"
- + "ValidationResultRequest\0323.google.cloud.d"
- + "ialogflow.cx.v3.FlowValidationResult\"R\202\323"
- + "\344\223\002E\022C/v3/{name=projects/*/locations/*/a"
- + "gents/*/flows/*/validationResult}\332A\004name"
- + "\022\322\001\n\nImportFlow\0220.google.cloud.dialogflo"
- + "w.cx.v3.ImportFlowRequest\032\035.google.longr"
- + "unning.Operation\"s\202\323\344\223\002>\"9/v3/{parent=pr"
- + "ojects/*/locations/*/agents/*}/flows:imp"
- + "ort:\001*\312A,\n\022ImportFlowResponse\022\026google.pr"
- + "otobuf.Struct\022\322\001\n\nExportFlow\0220.google.cl"
- + "oud.dialogflow.cx.v3.ExportFlowRequest\032\035"
- + ".google.longrunning.Operation\"s\202\323\344\223\002>\"9/"
- + "v3/{name=projects/*/locations/*/agents/*"
- + "/flows/*}:export:\001*\312A,\n\022ExportFlowRespon"
- + "se\022\026google.protobuf.Struct\032x\312A\031dialogflo"
- + "w.googleapis.com\322AYhttps://www.googleapi"
- + "s.com/auth/cloud-platform,https://www.go"
- + "ogleapis.com/auth/dialogflowB\257\001\n!com.goo"
- + "gle.cloud.dialogflow.cx.v3B\tFlowProtoP\001Z"
- + "1cloud.google.com/go/dialogflow/cx/apiv3"
- + "/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialog"
- + "flow.Cx.V3\352\002!Google::Cloud::Dialogflow::"
- + "CX::V3b\006proto3"
+ + "/protobuf/field_mask.proto\032\034google/proto"
+ + "buf/struct.proto\032\037google/protobuf/timest"
+ + "amp.proto\"\254\003\n\013NluSettings\022H\n\nmodel_type\030"
+ + "\001 \001(\01624.google.cloud.dialogflow.cx.v3.Nl"
+ + "uSettings.ModelType\022 \n\030classification_th"
+ + "reshold\030\003 \001(\002\022Y\n\023model_training_mode\030\004 \001"
+ + "(\0162<.google.cloud.dialogflow.cx.v3.NluSe"
+ + "ttings.ModelTrainingMode\"Y\n\tModelType\022\032\n"
+ + "\026MODEL_TYPE_UNSPECIFIED\020\000\022\027\n\023MODEL_TYPE_"
+ + "STANDARD\020\001\022\027\n\023MODEL_TYPE_ADVANCED\020\003\"{\n\021M"
+ + "odelTrainingMode\022#\n\037MODEL_TRAINING_MODE_"
+ + "UNSPECIFIED\020\000\022!\n\035MODEL_TRAINING_MODE_AUT"
+ + "OMATIC\020\001\022\036\n\032MODEL_TRAINING_MODE_MANUAL\020\002"
+ + "\"\326\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\013description\030\003 \001(\t\022I\n\021trans"
+ + "ition_routes\030\004 \003(\0132..google.cloud.dialog"
+ + "flow.cx.v3.TransitionRoute\022C\n\016event_hand"
+ + "lers\030\n \003(\0132+.google.cloud.dialogflow.cx."
+ + "v3.EventHandler\022T\n\027transition_route_grou"
+ + "ps\030\017 \003(\tB3\372A0\n.dialogflow.googleapis.com"
+ + "/TransitionRouteGroup\022@\n\014nlu_settings\030\013 "
+ + "\001(\0132*.google.cloud.dialogflow.cx.v3.NluS"
+ + "ettings:h\352Ae\n\036dialogflow.googleapis.com/"
+ + "Flow\022Cprojects/{project}/locations/{loca"
+ + "tion}/agents/{agent}/flows/{flow}\"\232\001\n\021Cr"
+ + "eateFlowRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022"
+ + "\036dialogflow.googleapis.com/Flow\0226\n\004flow\030"
+ + "\002 \001(\0132#.google.cloud.dialogflow.cx.v3.Fl"
+ + "owB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"X\n\021Delete"
+ + "FlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialo"
+ + "gflow.googleapis.com/Flow\022\r\n\005force\030\002 \001(\010"
+ + "\"\210\001\n\020ListFlowsRequest\0226\n\006parent\030\001 \001(\tB&\340"
+ + "A\002\372A \022\036dialogflow.googleapis.com/Flow\022\021\n"
+ + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\025\n\r"
+ + "language_code\030\004 \001(\t\"`\n\021ListFlowsResponse"
+ + "\0222\n\005flows\030\001 \003(\0132#.google.cloud.dialogflo"
+ + "w.cx.v3.Flow\022\027\n\017next_page_token\030\002 \001(\t\"]\n"
+ + "\016GetFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036d"
+ + "ialogflow.googleapis.com/Flow\022\025\n\rlanguag"
+ + "e_code\030\002 \001(\t\"\223\001\n\021UpdateFlowRequest\0226\n\004fl"
+ + "ow\030\001 \001(\0132#.google.cloud.dialogflow.cx.v3"
+ + ".FlowB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google"
+ + ".protobuf.FieldMask\022\025\n\rlanguage_code\030\003 \001"
+ + "(\t\"H\n\020TrainFlowRequest\0224\n\004name\030\001 \001(\tB&\340A"
+ + "\002\372A \n\036dialogflow.googleapis.com/Flow\"b\n\023"
+ + "ValidateFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A"
+ + " \n\036dialogflow.googleapis.com/Flow\022\025\n\rlan"
+ + "guage_code\030\002 \001(\t\"}\n\036GetFlowValidationRes"
+ + "ultRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.dialog"
+ + "flow.googleapis.com/FlowValidationResult"
+ + "\022\025\n\rlanguage_code\030\002 \001(\t\"\261\002\n\024FlowValidati"
+ + "onResult\022\014\n\004name\030\001 \001(\t\022M\n\023validation_mes"
+ + "sages\030\002 \003(\01320.google.cloud.dialogflow.cx"
+ + ".v3.ValidationMessage\022/\n\013update_time\030\003 \001"
+ + "(\0132\032.google.protobuf.Timestamp:\212\001\352A\206\001\n.d"
+ + "ialogflow.googleapis.com/FlowValidationR"
+ + "esult\022Tprojects/{project}/locations/{loc"
+ + "ation}/agents/{agent}/flows/{flow}/valid"
+ + "ationResult\"\234\002\n\021ImportFlowRequest\0226\n\006par"
+ + "ent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.googleapis"
+ + ".com/Flow\022\022\n\010flow_uri\030\002 \001(\tH\000\022\026\n\014flow_co"
+ + "ntent\030\003 \001(\014H\000\022T\n\rimport_option\030\004 \001(\0162=.g"
+ + "oogle.cloud.dialogflow.cx.v3.ImportFlowR"
+ + "equest.ImportOption\"E\n\014ImportOption\022\035\n\031I"
+ + "MPORT_OPTION_UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010"
+ + "FALLBACK\020\002B\006\n\004flow\"G\n\022ImportFlowResponse"
+ + "\0221\n\004flow\030\001 \001(\tB#\372A \n\036dialogflow.googleap"
+ + "is.com/Flow\"\207\001\n\021ExportFlowRequest\0224\n\004nam"
+ + "e\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapis.c"
+ + "om/Flow\022\025\n\010flow_uri\030\002 \001(\tB\003\340A\001\022%\n\030includ"
+ + "e_referenced_flows\030\004 \001(\010B\003\340A\001\"H\n\022ExportF"
+ + "lowResponse\022\022\n\010flow_uri\030\001 \001(\tH\000\022\026\n\014flow_"
+ + "content\030\002 \001(\014H\000B\006\n\004flow2\230\020\n\005Flows\022\263\001\n\nCr"
+ + "eateFlow\0220.google.cloud.dialogflow.cx.v3"
+ + ".CreateFlowRequest\032#.google.cloud.dialog"
+ + "flow.cx.v3.Flow\"N\202\323\344\223\002:\"2/v3/{parent=pro"
+ + "jects/*/locations/*/agents/*}/flows:\004flo"
+ + "w\332A\013parent,flow\022\231\001\n\nDeleteFlow\0220.google."
+ + "cloud.dialogflow.cx.v3.DeleteFlowRequest"
+ + "\032\026.google.protobuf.Empty\"A\202\323\344\223\0024*2/v3/{n"
+ + "ame=projects/*/locations/*/agents/*/flow"
+ + "s/*}\332A\004name\022\263\001\n\tListFlows\022/.google.cloud"
+ + ".dialogflow.cx.v3.ListFlowsRequest\0320.goo"
+ + "gle.cloud.dialogflow.cx.v3.ListFlowsResp"
+ + "onse\"C\202\323\344\223\0024\0222/v3/{parent=projects/*/loc"
+ + "ations/*/agents/*}/flows\332A\006parent\022\240\001\n\007Ge"
+ + "tFlow\022-.google.cloud.dialogflow.cx.v3.Ge"
+ + "tFlowRequest\032#.google.cloud.dialogflow.c"
+ + "x.v3.Flow\"A\202\323\344\223\0024\0222/v3/{name=projects/*/"
+ + "locations/*/agents/*/flows/*}\332A\004name\022\275\001\n"
+ + "\nUpdateFlow\0220.google.cloud.dialogflow.cx"
+ + ".v3.UpdateFlowRequest\032#.google.cloud.dia"
+ + "logflow.cx.v3.Flow\"X\202\323\344\223\002?27/v3/{flow.na"
+ + "me=projects/*/locations/*/agents/*/flows"
+ + "/*}:\004flow\332A\020flow,update_mask\022\331\001\n\tTrainFl"
+ + "ow\022/.google.cloud.dialogflow.cx.v3.Train"
+ + "FlowRequest\032\035.google.longrunning.Operati"
+ + "on\"|\202\323\344\223\002=\"8/v3/{name=projects/*/locatio"
+ + "ns/*/agents/*/flows/*}:train:\001*\332A\004name\312A"
+ + "/\n\025google.protobuf.Empty\022\026google.protobu"
+ + "f.Struct\022\277\001\n\014ValidateFlow\0222.google.cloud"
+ + ".dialogflow.cx.v3.ValidateFlowRequest\0323."
+ + "google.cloud.dialogflow.cx.v3.FlowValida"
+ + "tionResult\"F\202\323\344\223\002@\";/v3/{name=projects/*"
+ + "/locations/*/agents/*/flows/*}:validate:"
+ + "\001*\022\341\001\n\027GetFlowValidationResult\022=.google."
+ + "cloud.dialogflow.cx.v3.GetFlowValidation"
+ + "ResultRequest\0323.google.cloud.dialogflow."
+ + "cx.v3.FlowValidationResult\"R\202\323\344\223\002E\022C/v3/"
+ + "{name=projects/*/locations/*/agents/*/fl"
+ + "ows/*/validationResult}\332A\004name\022\322\001\n\nImpor"
+ + "tFlow\0220.google.cloud.dialogflow.cx.v3.Im"
+ + "portFlowRequest\032\035.google.longrunning.Ope"
+ + "ration\"s\202\323\344\223\002>\"9/v3/{parent=projects/*/l"
+ + "ocations/*/agents/*}/flows:import:\001*\312A,\n"
+ + "\022ImportFlowResponse\022\026google.protobuf.Str"
+ + "uct\022\322\001\n\nExportFlow\0220.google.cloud.dialog"
+ + "flow.cx.v3.ExportFlowRequest\032\035.google.lo"
+ + "ngrunning.Operation\"s\202\323\344\223\002>\"9/v3/{name=p"
+ + "rojects/*/locations/*/agents/*/flows/*}:"
+ + "export:\001*\312A,\n\022ExportFlowResponse\022\026google"
+ + ".protobuf.Struct\032x\312A\031dialogflow.googleap"
+ + "is.com\322AYhttps://www.googleapis.com/auth"
+ + "/cloud-platform,https://www.googleapis.c"
+ + "om/auth/dialogflowB\257\001\n!com.google.cloud."
+ + "dialogflow.cx.v3B\tFlowProtoP\001Z1cloud.goo"
+ + "gle.com/go/dialogflow/cx/apiv3/cxpb;cxpb"
+ + "\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialogflow.Cx.V3"
+ + "\352\002!Google::Cloud::Dialogflow::CX::V3b\006pr"
+ + "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -252,6 +253,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3_NluSettings_descriptor =
@@ -409,6 +411,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsDestination.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsDestination.java
new file mode 100644
index 000000000000..c2df45379f9a
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsDestination.java
@@ -0,0 +1,659 @@
+/*
+ * 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/v3/gcs.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ *
+ * Google Cloud Storage location for a Dialogflow operation that writes or
+ * exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3.GcsDestination}
+ */
+public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.GcsDestination)
+ GcsDestinationOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GcsDestination.newBuilder() to construct.
+ private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private GcsDestination() {
+ uri_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GcsDestination();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3.GcsDestination.class,
+ com.google.cloud.dialogflow.cx.v3.GcsDestination.Builder.class);
+ }
+
+ public static final int URI_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.dialogflow.cx.v3.GcsDestination)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.GcsDestination other =
+ (com.google.cloud.dialogflow.cx.v3.GcsDestination) obj;
+
+ if (!getUri().equals(other.getUri())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.dialogflow.cx.v3.GcsDestination 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;
+ }
+ /**
+ *
+ *
+ *
+ * Google Cloud Storage location for a Dialogflow operation that writes or
+ * exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3.GcsDestination}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.GcsDestination)
+ com.google.cloud.dialogflow.cx.v3.GcsDestinationOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3.GcsDestination.class,
+ com.google.cloud.dialogflow.cx.v3.GcsDestination.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3.GcsDestination.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ uri_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.GcsDestination getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3.GcsDestination.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.GcsDestination build() {
+ com.google.cloud.dialogflow.cx.v3.GcsDestination result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.GcsDestination buildPartial() {
+ com.google.cloud.dialogflow.cx.v3.GcsDestination result =
+ new com.google.cloud.dialogflow.cx.v3.GcsDestination(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.dialogflow.cx.v3.GcsDestination result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.uri_ = uri_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dialogflow.cx.v3.GcsDestination) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3.GcsDestination) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.GcsDestination other) {
+ if (other == com.google.cloud.dialogflow.cx.v3.GcsDestination.getDefaultInstance())
+ return this;
+ if (!other.getUri().isEmpty()) {
+ uri_ = other.uri_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ uri_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+ uri_ = getDefaultInstance().getUri();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @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);
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ 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.v3.GcsDestination)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.GcsDestination)
+ private static final com.google.cloud.dialogflow.cx.v3.GcsDestination DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.GcsDestination();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.GcsDestination getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GcsDestination parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.GcsDestination getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsDestinationOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsDestinationOrBuilder.java
new file mode 100644
index 000000000000..b70921341d07
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsDestinationOrBuilder.java
@@ -0,0 +1,58 @@
+/*
+ * 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/v3/gcs.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+public interface GcsDestinationOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.GcsDestination)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsProto.java
new file mode 100644
index 000000000000..8e752200d705
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/GcsProto.java
@@ -0,0 +1,76 @@
+/*
+ * 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/v3/gcs.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+public final class GcsProto {
+ private GcsProto() {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\'google/cloud/dialogflow/cx/v3/gcs.prot"
+ + "o\022\035google.cloud.dialogflow.cx.v3\032\037google"
+ + "/api/field_behavior.proto\"\"\n\016GcsDestinat"
+ + "ion\022\020\n\003uri\030\001 \001(\tB\003\340A\002B\256\001\n!com.google.clo"
+ + "ud.dialogflow.cx.v3B\010GcsProtoP\001Z1cloud.g"
+ + "oogle.com/go/dialogflow/cx/apiv3/cxpb;cx"
+ + "pb\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialogflow.Cx."
+ + "V3\352\002!Google::Cloud::Dialogflow::CX::V3b\006"
+ + "proto3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ });
+ internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_GcsDestination_descriptor,
+ new java.lang.String[] {
+ "Uri",
+ });
+ 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.FieldBehaviorProto.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequest.java
index 26a1edebb929..5ba0be3238e6 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequest.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequest.java
@@ -248,6 +248,24 @@ public com.google.cloud.dialogflow.cx.v3.QueryInputOrBuilder getQueryInputOrBuil
: queryInput_;
}
+ public static final int PERSIST_PARAMETER_CHANGES_FIELD_NUMBER = 5;
+ private boolean persistParameterChanges_ = false;
+ /**
+ *
+ *
+ *
+ * Persist session parameter changes from `query_params`.
+ *
+ *
+ * bool persist_parameter_changes = 5;
+ *
+ * @return The persistParameterChanges.
+ */
+ @java.lang.Override
+ public boolean getPersistParameterChanges() {
+ return persistParameterChanges_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -271,6 +289,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (queryInput_ != null) {
output.writeMessage(3, getQueryInput());
}
+ if (persistParameterChanges_ != false) {
+ output.writeBool(5, persistParameterChanges_);
+ }
getUnknownFields().writeTo(output);
}
@@ -289,6 +310,9 @@ public int getSerializedSize() {
if (queryInput_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getQueryInput());
}
+ if (persistParameterChanges_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, persistParameterChanges_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -314,6 +338,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasQueryInput()) {
if (!getQueryInput().equals(other.getQueryInput())) return false;
}
+ if (getPersistParameterChanges() != other.getPersistParameterChanges()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -335,6 +360,8 @@ public int hashCode() {
hash = (37 * hash) + QUERY_INPUT_FIELD_NUMBER;
hash = (53 * hash) + getQueryInput().hashCode();
}
+ hash = (37 * hash) + PERSIST_PARAMETER_CHANGES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPersistParameterChanges());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -485,6 +512,7 @@ public Builder clear() {
queryInputBuilder_.dispose();
queryInputBuilder_ = null;
}
+ persistParameterChanges_ = false;
return this;
}
@@ -531,6 +559,9 @@ private void buildPartial0(com.google.cloud.dialogflow.cx.v3.MatchIntentRequest
if (((from_bitField0_ & 0x00000004) != 0)) {
result.queryInput_ = queryInputBuilder_ == null ? queryInput_ : queryInputBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.persistParameterChanges_ = persistParameterChanges_;
+ }
}
@java.lang.Override
@@ -590,6 +621,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.MatchIntentRequest ot
if (other.hasQueryInput()) {
mergeQueryInput(other.getQueryInput());
}
+ if (other.getPersistParameterChanges() != false) {
+ setPersistParameterChanges(other.getPersistParameterChanges());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -634,6 +668,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 26
+ case 40:
+ {
+ persistParameterChanges_ = input.readBool();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 40
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1206,6 +1246,59 @@ public com.google.cloud.dialogflow.cx.v3.QueryInputOrBuilder getQueryInputOrBuil
return queryInputBuilder_;
}
+ private boolean persistParameterChanges_;
+ /**
+ *
+ *
+ *
+ * Persist session parameter changes from `query_params`.
+ *
+ *
+ * bool persist_parameter_changes = 5;
+ *
+ * @return The persistParameterChanges.
+ */
+ @java.lang.Override
+ public boolean getPersistParameterChanges() {
+ return persistParameterChanges_;
+ }
+ /**
+ *
+ *
+ *
+ * Persist session parameter changes from `query_params`.
+ *
+ *
+ * bool persist_parameter_changes = 5;
+ *
+ * @param value The persistParameterChanges to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPersistParameterChanges(boolean value) {
+
+ persistParameterChanges_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Persist session parameter changes from `query_params`.
+ *
+ *
+ * bool persist_parameter_changes = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPersistParameterChanges() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ persistParameterChanges_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequestOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequestOrBuilder.java
index 5e328e86d994..f6f2ed38dae3 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequestOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/MatchIntentRequestOrBuilder.java
@@ -147,4 +147,17 @@ public interface MatchIntentRequestOrBuilder
*
*/
com.google.cloud.dialogflow.cx.v3.QueryInputOrBuilder getQueryInputOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Persist session parameter changes from `query_params`.
+ *
+ *
+ * bool persist_parameter_changes = 5;
+ *
+ * @return The persistParameterChanges.
+ */
+ boolean getPersistParameterChanges();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java
index ae6b78e1ee29..34a447147449 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/SessionProto.java
@@ -232,73 +232,74 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "idence\030\005 \001(\002\"\204\001\n\tMatchType\022\032\n\026MATCH_TYPE"
+ "_UNSPECIFIED\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INT"
+ "ENT\020\002\022\025\n\021PARAMETER_FILLING\020\003\022\014\n\010NO_MATCH"
- + "\020\004\022\014\n\010NO_INPUT\020\005\022\t\n\005EVENT\020\006\"\333\001\n\022MatchInt"
+ + "\020\004\022\014\n\010NO_INPUT\020\005\022\t\n\005EVENT\020\006\"\376\001\n\022MatchInt"
+ "entRequest\022:\n\007session\030\001 \001(\tB)\340A\002\372A#\n!dia"
+ "logflow.googleapis.com/Session\022D\n\014query_"
+ "params\030\002 \001(\0132..google.cloud.dialogflow.c"
+ "x.v3.QueryParameters\022C\n\013query_input\030\003 \001("
+ "\0132).google.cloud.dialogflow.cx.v3.QueryI"
- + "nputB\003\340A\002\"\220\002\n\023MatchIntentResponse\022\016\n\004tex"
- + "t\030\001 \001(\tH\000\022?\n\016trigger_intent\030\002 \001(\tB%\372A\"\n "
- + "dialogflow.googleapis.com/IntentH\000\022\024\n\ntr"
- + "anscript\030\003 \001(\tH\000\022\027\n\rtrigger_event\030\006 \001(\tH"
- + "\000\0225\n\007matches\030\004 \003(\0132$.google.cloud.dialog"
- + "flow.cx.v3.Match\0229\n\014current_page\030\005 \001(\0132#"
- + ".google.cloud.dialogflow.cx.v3.PageB\007\n\005q"
- + "uery\"\353\001\n\024FulfillIntentRequest\022O\n\024match_i"
- + "ntent_request\030\001 \001(\01321.google.cloud.dialo"
- + "gflow.cx.v3.MatchIntentRequest\0223\n\005match\030"
- + "\002 \001(\0132$.google.cloud.dialogflow.cx.v3.Ma"
- + "tch\022M\n\023output_audio_config\030\003 \001(\01320.googl"
- + "e.cloud.dialogflow.cx.v3.OutputAudioConf"
- + "ig\"\323\001\n\025FulfillIntentResponse\022\023\n\013response"
- + "_id\030\001 \001(\t\022@\n\014query_result\030\002 \001(\0132*.google"
- + ".cloud.dialogflow.cx.v3.QueryResult\022\024\n\014o"
- + "utput_audio\030\003 \001(\014\022M\n\023output_audio_config"
- + "\030\004 \001(\01320.google.cloud.dialogflow.cx.v3.O"
- + "utputAudioConfig\";\n\027SentimentAnalysisRes"
- + "ult\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\0022\304\t"
- + "\n\010Sessions\022\246\002\n\014DetectIntent\0222.google.clo"
- + "ud.dialogflow.cx.v3.DetectIntentRequest\032"
- + "3.google.cloud.dialogflow.cx.v3.DetectIn"
- + "tentResponse\"\254\001\202\323\344\223\002\245\001\"E/v3/{session=pro"
- + "jects/*/locations/*/agents/*/sessions/*}"
- + ":detectIntent:\001*ZY\"T/v3/{session=project"
- + "s/*/locations/*/agents/*/environments/*/"
- + "sessions/*}:detectIntent:\001*\022\230\001\n\025Streamin"
- + "gDetectIntent\022;.google.cloud.dialogflow."
- + "cx.v3.StreamingDetectIntentRequest\032<.goo"
- + "gle.cloud.dialogflow.cx.v3.StreamingDete"
- + "ctIntentResponse\"\000(\0010\001\022\241\002\n\013MatchIntent\0221"
- + ".google.cloud.dialogflow.cx.v3.MatchInte"
- + "ntRequest\0322.google.cloud.dialogflow.cx.v"
- + "3.MatchIntentResponse\"\252\001\202\323\344\223\002\243\001\"D/v3/{se"
- + "ssion=projects/*/locations/*/agents/*/se"
- + "ssions/*}:matchIntent:\001*ZX\"S/v3/{session"
- + "=projects/*/locations/*/agents/*/environ"
- + "ments/*/sessions/*}:matchIntent:\001*\022\325\002\n\rF"
- + "ulfillIntent\0223.google.cloud.dialogflow.c"
- + "x.v3.FulfillIntentRequest\0324.google.cloud"
- + ".dialogflow.cx.v3.FulfillIntentResponse\""
- + "\330\001\202\323\344\223\002\321\001\"[/v3/{match_intent_request.ses"
- + "sion=projects/*/locations/*/agents/*/ses"
- + "sions/*}:fulfillIntent:\001*Zo\"j/v3/{match_"
- + "intent_request.session=projects/*/locati"
- + "ons/*/agents/*/environments/*/sessions/*"
- + "}:fulfillIntent:\001*\032x\312A\031dialogflow.google"
- + "apis.com\322AYhttps://www.googleapis.com/au"
- + "th/cloud-platform,https://www.googleapis"
- + ".com/auth/dialogflowB\212\003\n!com.google.clou"
- + "d.dialogflow.cx.v3B\014SessionProtoP\001Z1clou"
- + "d.google.com/go/dialogflow/cx/apiv3/cxpb"
- + ";cxpb\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialogflow."
- + "Cx.V3\352\002!Google::Cloud::Dialogflow::CX::V"
- + "3\352A\324\001\n!dialogflow.googleapis.com/Session"
- + "\022Iprojects/{project}/locations/{location"
- + "}/agents/{agent}/sessions/{session}\022dpro"
+ + "nputB\003\340A\002\022!\n\031persist_parameter_changes\030\005"
+ + " \001(\010\"\220\002\n\023MatchIntentResponse\022\016\n\004text\030\001 \001"
+ + "(\tH\000\022?\n\016trigger_intent\030\002 \001(\tB%\372A\"\n dialo"
+ + "gflow.googleapis.com/IntentH\000\022\024\n\ntranscr"
+ + "ipt\030\003 \001(\tH\000\022\027\n\rtrigger_event\030\006 \001(\tH\000\0225\n\007"
+ + "matches\030\004 \003(\0132$.google.cloud.dialogflow."
+ + "cx.v3.Match\0229\n\014current_page\030\005 \001(\0132#.goog"
+ + "le.cloud.dialogflow.cx.v3.PageB\007\n\005query\""
+ + "\353\001\n\024FulfillIntentRequest\022O\n\024match_intent"
+ + "_request\030\001 \001(\01321.google.cloud.dialogflow"
+ + ".cx.v3.MatchIntentRequest\0223\n\005match\030\002 \001(\013"
+ + "2$.google.cloud.dialogflow.cx.v3.Match\022M"
+ + "\n\023output_audio_config\030\003 \001(\01320.google.clo"
+ + "ud.dialogflow.cx.v3.OutputAudioConfig\"\323\001"
+ + "\n\025FulfillIntentResponse\022\023\n\013response_id\030\001"
+ + " \001(\t\022@\n\014query_result\030\002 \001(\0132*.google.clou"
+ + "d.dialogflow.cx.v3.QueryResult\022\024\n\014output"
+ + "_audio\030\003 \001(\014\022M\n\023output_audio_config\030\004 \001("
+ + "\01320.google.cloud.dialogflow.cx.v3.Output"
+ + "AudioConfig\";\n\027SentimentAnalysisResult\022\r"
+ + "\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\0022\304\t\n\010Ses"
+ + "sions\022\246\002\n\014DetectIntent\0222.google.cloud.di"
+ + "alogflow.cx.v3.DetectIntentRequest\0323.goo"
+ + "gle.cloud.dialogflow.cx.v3.DetectIntentR"
+ + "esponse\"\254\001\202\323\344\223\002\245\001\"E/v3/{session=projects"
+ + "/*/locations/*/agents/*/sessions/*}:dete"
+ + "ctIntent:\001*ZY\"T/v3/{session=projects/*/l"
+ + "ocations/*/agents/*/environments/*/sessi"
+ + "ons/*}:detectIntent:\001*\022\230\001\n\025StreamingDete"
+ + "ctIntent\022;.google.cloud.dialogflow.cx.v3"
+ + ".StreamingDetectIntentRequest\032<.google.c"
+ + "loud.dialogflow.cx.v3.StreamingDetectInt"
+ + "entResponse\"\000(\0010\001\022\241\002\n\013MatchIntent\0221.goog"
+ + "le.cloud.dialogflow.cx.v3.MatchIntentReq"
+ + "uest\0322.google.cloud.dialogflow.cx.v3.Mat"
+ + "chIntentResponse\"\252\001\202\323\344\223\002\243\001\"D/v3/{session"
+ + "=projects/*/locations/*/agents/*/session"
+ + "s/*}:matchIntent:\001*ZX\"S/v3/{session=proj"
+ + "ects/*/locations/*/agents/*/environments"
+ + "/*/sessions/*}:matchIntent:\001*\022\325\002\n\rFulfil"
+ + "lIntent\0223.google.cloud.dialogflow.cx.v3."
+ + "FulfillIntentRequest\0324.google.cloud.dial"
+ + "ogflow.cx.v3.FulfillIntentResponse\"\330\001\202\323\344"
+ + "\223\002\321\001\"[/v3/{match_intent_request.session="
+ + "projects/*/locations/*/agents/*/sessions"
+ + "/*}:fulfillIntent:\001*Zo\"j/v3/{match_inten"
+ + "t_request.session=projects/*/locations/*"
+ + "/agents/*/environments/*/sessions/*}:ful"
+ + "fillIntent:\001*\032x\312A\031dialogflow.googleapis."
+ + "com\322AYhttps://www.googleapis.com/auth/cl"
+ + "oud-platform,https://www.googleapis.com/"
+ + "auth/dialogflowB\212\003\n!com.google.cloud.dia"
+ + "logflow.cx.v3B\014SessionProtoP\001Z1cloud.goo"
+ + "gle.com/go/dialogflow/cx/apiv3/cxpb;cxpb"
+ + "\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialogflow.Cx.V3"
+ + "\352\002!Google::Cloud::Dialogflow::CX::V3\352A\324\001"
+ + "\n!dialogflow.googleapis.com/Session\022Ipro"
+ "jects/{project}/locations/{location}/age"
- + "nts/{agent}/environments/{environment}/s"
- + "essions/{session}b\006proto3"
+ + "nts/{agent}/sessions/{session}\022dprojects"
+ + "/{project}/locations/{location}/agents/{"
+ + "agent}/environments/{environment}/sessio"
+ + "ns/{session}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -484,7 +485,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3_MatchIntentRequest_descriptor,
new java.lang.String[] {
- "Session", "QueryParams", "QueryInput",
+ "Session", "QueryParams", "QueryInput", "PersistParameterChanges",
});
internal_static_google_cloud_dialogflow_cx_v3_MatchIntentResponse_descriptor =
getDescriptor().getMessageTypes().get(15);
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextToSpeechSettings.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextToSpeechSettings.java
new file mode 100644
index 000000000000..8270356cc0cd
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextToSpeechSettings.java
@@ -0,0 +1,869 @@
+/*
+ * 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/v3/audio_config.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ *
+ * Settings related to speech generating.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3.TextToSpeechSettings}
+ */
+public final class TextToSpeechSettings extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.TextToSpeechSettings)
+ TextToSpeechSettingsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TextToSpeechSettings.newBuilder() to construct.
+ private TextToSpeechSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TextToSpeechSettings() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TextToSpeechSettings();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3_TextToSpeechSettings_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetSynthesizeSpeechConfigs();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3_TextToSpeechSettings_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.class,
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.Builder.class);
+ }
+
+ public static final int SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER = 1;
+
+ private static final class SynthesizeSpeechConfigsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .
+ newDefaultInstance(
+ com.google.cloud.dialogflow.cx.v3.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig
+ .getDefaultInstance());
+ }
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ internalGetSynthesizeSpeechConfigs() {
+ if (synthesizeSpeechConfigs_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry);
+ }
+ return synthesizeSpeechConfigs_;
+ }
+
+ public int getSynthesizeSpeechConfigsCount() {
+ return internalGetSynthesizeSpeechConfigs().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetSynthesizeSpeechConfigs().getMap().containsKey(key);
+ }
+ /** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ getSynthesizeSpeechConfigs() {
+ return getSynthesizeSpeechConfigsMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ getSynthesizeSpeechConfigsMap() {
+ return internalGetSynthesizeSpeechConfigs().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetSynthesizeSpeechConfigs().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetSynthesizeSpeechConfigs().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 {
+ com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ output,
+ internalGetSynthesizeSpeechConfigs(),
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ entry : internalGetSynthesizeSpeechConfigs().getMap().entrySet()) {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs__ =
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(1, synthesizeSpeechConfigs__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings other =
+ (com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings) obj;
+
+ if (!internalGetSynthesizeSpeechConfigs().equals(other.internalGetSynthesizeSpeechConfigs()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetSynthesizeSpeechConfigs().getMap().isEmpty()) {
+ hash = (37 * hash) + SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetSynthesizeSpeechConfigs().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings 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;
+ }
+ /**
+ *
+ *
+ *
+ * Settings related to speech generating.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3.TextToSpeechSettings}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.TextToSpeechSettings)
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettingsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3_TextToSpeechSettings_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetSynthesizeSpeechConfigs();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableSynthesizeSpeechConfigs();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3_TextToSpeechSettings_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.class,
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableSynthesizeSpeechConfigs().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3_TextToSpeechSettings_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings build() {
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings buildPartial() {
+ com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings result =
+ new com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.synthesizeSpeechConfigs_ = internalGetSynthesizeSpeechConfigs();
+ result.synthesizeSpeechConfigs_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings other) {
+ if (other == com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings.getDefaultInstance())
+ return this;
+ internalGetMutableSynthesizeSpeechConfigs()
+ .mergeFrom(other.internalGetSynthesizeSpeechConfigs());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs__ =
+ input.readMessage(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry
+ .getParserForType(),
+ extensionRegistry);
+ internalGetMutableSynthesizeSpeechConfigs()
+ .getMutableMap()
+ .put(synthesizeSpeechConfigs__.getKey(), synthesizeSpeechConfigs__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ internalGetSynthesizeSpeechConfigs() {
+ if (synthesizeSpeechConfigs_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry);
+ }
+ return synthesizeSpeechConfigs_;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig>
+ internalGetMutableSynthesizeSpeechConfigs() {
+ if (synthesizeSpeechConfigs_ == null) {
+ synthesizeSpeechConfigs_ =
+ com.google.protobuf.MapField.newMapField(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry);
+ }
+ if (!synthesizeSpeechConfigs_.isMutable()) {
+ synthesizeSpeechConfigs_ = synthesizeSpeechConfigs_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return synthesizeSpeechConfigs_;
+ }
+
+ public int getSynthesizeSpeechConfigsCount() {
+ return internalGetSynthesizeSpeechConfigs().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetSynthesizeSpeechConfigs().getMap().containsKey(key);
+ }
+ /** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ getSynthesizeSpeechConfigs() {
+ return getSynthesizeSpeechConfigsMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ getSynthesizeSpeechConfigsMap() {
+ return internalGetSynthesizeSpeechConfigs().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetSynthesizeSpeechConfigs().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetSynthesizeSpeechConfigs().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public Builder clearSynthesizeSpeechConfigs() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().clear();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ public Builder removeSynthesizeSpeechConfigs(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableSynthesizeSpeechConfigs() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableSynthesizeSpeechConfigs().getMutableMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ public Builder putSynthesizeSpeechConfigs(
+ java.lang.String key, com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ public Builder putAllSynthesizeSpeechConfigs(
+ java.util.Map
+ values) {
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000001;
+ 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.v3.TextToSpeechSettings)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.TextToSpeechSettings)
+ private static final com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TextToSpeechSettings parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.TextToSpeechSettings getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextToSpeechSettingsOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextToSpeechSettingsOrBuilder.java
new file mode 100644
index 000000000000..0ba96858c354
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TextToSpeechSettingsOrBuilder.java
@@ -0,0 +1,106 @@
+/*
+ * 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/v3/audio_config.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+public interface TextToSpeechSettingsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.TextToSpeechSettings)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ int getSynthesizeSpeechConfigsCount();
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ boolean containsSynthesizeSpeechConfigs(java.lang.String key);
+ /** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ getSynthesizeSpeechConfigs();
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ java.util.Map
+ getSynthesizeSpeechConfigsMap();
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig defaultValue);
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(
+ java.lang.String key);
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionProto.java
index 03edc8a1aede..da269ea09b72 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/VersionProto.java
@@ -88,95 +88,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "cloud/dialogflow/cx/v3/flow.proto\032#googl"
+ "e/longrunning/operations.proto\032\033google/p"
+ "rotobuf/empty.proto\032 google/protobuf/fie"
- + "ld_mask.proto\032\037google/protobuf/timestamp"
- + ".proto\"Y\n\036CreateVersionOperationMetadata"
- + "\0227\n\007version\030\001 \001(\tB&\372A#\n!dialogflow.googl"
- + "eapis.com/Version\"\316\003\n\007Version\022\014\n\004name\030\001 "
- + "\001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descri"
- + "ption\030\003 \001(\t\022E\n\014nlu_settings\030\004 \001(\0132*.goog"
- + "le.cloud.dialogflow.cx.v3.NluSettingsB\003\340"
- + "A\003\0224\n\013create_time\030\005 \001(\0132\032.google.protobu"
- + "f.TimestampB\003\340A\003\022@\n\005state\030\006 \001(\0162,.google"
- + ".cloud.dialogflow.cx.v3.Version.StateB\003\340"
- + "A\003\"F\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RU"
- + "NNING\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003:~\352A{\n"
- + "!dialogflow.googleapis.com/Version\022Vproj"
- + "ects/{project}/locations/{location}/agen"
- + "ts/{agent}/flows/{flow}/versions/{versio"
- + "n}\"w\n\023ListVersionsRequest\0229\n\006parent\030\001 \001("
- + "\tB)\340A\002\372A#\022!dialogflow.googleapis.com/Ver"
- + "sion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 "
- + "\001(\t\"i\n\024ListVersionsResponse\0228\n\010versions\030"
- + "\001 \003(\0132&.google.cloud.dialogflow.cx.v3.Ve"
- + "rsion\022\027\n\017next_page_token\030\002 \001(\t\"L\n\021GetVer"
- + "sionRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialo"
- + "gflow.googleapis.com/Version\"\217\001\n\024CreateV"
- + "ersionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!d"
- + "ialogflow.googleapis.com/Version\022<\n\007vers"
- + "ion\030\002 \001(\0132&.google.cloud.dialogflow.cx.v"
- + "3.VersionB\003\340A\002\"\212\001\n\024UpdateVersionRequest\022"
- + "<\n\007version\030\001 \001(\0132&.google.cloud.dialogfl"
- + "ow.cx.v3.VersionB\003\340A\002\0224\n\013update_mask\030\002 \001"
- + "(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"O\n\024D"
- + "eleteVersionRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A"
- + "#\n!dialogflow.googleapis.com/Version\"u\n\022"
- + "LoadVersionRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#"
- + "\n!dialogflow.googleapis.com/Version\022&\n\036a"
- + "llow_override_agent_resources\030\002 \001(\010\"\263\001\n\026"
- + "CompareVersionsRequest\022?\n\014base_version\030\001"
- + " \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com/"
- + "Version\022A\n\016target_version\030\002 \001(\tB)\340A\002\372A#\n"
- + "!dialogflow.googleapis.com/Version\022\025\n\rla"
- + "nguage_code\030\003 \001(\t\"\223\001\n\027CompareVersionsRes"
- + "ponse\022!\n\031base_version_content_json\030\001 \001(\t"
- + "\022#\n\033target_version_content_json\030\002 \001(\t\0220\n"
- + "\014compare_time\030\003 \001(\0132\032.google.protobuf.Ti"
- + "mestamp2\342\014\n\010Versions\022\307\001\n\014ListVersions\0222."
- + "google.cloud.dialogflow.cx.v3.ListVersio"
- + "nsRequest\0323.google.cloud.dialogflow.cx.v"
- + "3.ListVersionsResponse\"N\202\323\344\223\002?\022=/v3/{par"
- + "ent=projects/*/locations/*/agents/*/flow"
- + "s/*}/versions\332A\006parent\022\264\001\n\nGetVersion\0220."
- + "google.cloud.dialogflow.cx.v3.GetVersion"
- + "Request\032&.google.cloud.dialogflow.cx.v3."
- + "Version\"L\202\323\344\223\002?\022=/v3/{name=projects/*/lo"
- + "cations/*/agents/*/flows/*/versions/*}\332A"
- + "\004name\022\361\001\n\rCreateVersion\0223.google.cloud.d"
- + "ialogflow.cx.v3.CreateVersionRequest\032\035.g"
- + "oogle.longrunning.Operation\"\213\001\202\323\344\223\002H\"=/v"
- + "3/{parent=projects/*/locations/*/agents/"
- + "*/flows/*}/versions:\007version\332A\016parent,ve"
- + "rsion\312A)\n\007Version\022\036CreateVersionOperatio"
- + "nMetadata\022\332\001\n\rUpdateVersion\0223.google.clo"
- + "ud.dialogflow.cx.v3.UpdateVersionRequest"
- + "\032&.google.cloud.dialogflow.cx.v3.Version"
- + "\"l\202\323\344\223\002P2E/v3/{version.name=projects/*/l"
- + "ocations/*/agents/*/flows/*/versions/*}:"
- + "\007version\332A\023version,update_mask\022\252\001\n\rDelet"
- + "eVersion\0223.google.cloud.dialogflow.cx.v3"
- + ".DeleteVersionRequest\032\026.google.protobuf."
- + "Empty\"L\202\323\344\223\002?*=/v3/{name=projects/*/loca"
- + "tions/*/agents/*/flows/*/versions/*}\332A\004n"
- + "ame\022\350\001\n\013LoadVersion\0221.google.cloud.dialo"
- + "gflow.cx.v3.LoadVersionRequest\032\035.google."
- + "longrunning.Operation\"\206\001\202\323\344\223\002G\"B/v3/{nam"
- + "e=projects/*/locations/*/agents/*/flows/"
- + "*/versions/*}:load:\001*\332A\004name\312A/\n\025google."
- + "protobuf.Empty\022\026google.protobuf.Struct\022\361"
- + "\001\n\017CompareVersions\0225.google.cloud.dialog"
- + "flow.cx.v3.CompareVersionsRequest\0326.goog"
- + "le.cloud.dialogflow.cx.v3.CompareVersion"
- + "sResponse\"o\202\323\344\223\002Z\"U/v3/{base_version=pro"
- + "jects/*/locations/*/agents/*/flows/*/ver"
- + "sions/*}:compareVersions:\001*\332A\014base_versi"
- + "on\032x\312A\031dialogflow.googleapis.com\322AYhttps"
- + "://www.googleapis.com/auth/cloud-platfor"
- + "m,https://www.googleapis.com/auth/dialog"
- + "flowB\262\001\n!com.google.cloud.dialogflow.cx."
- + "v3B\014VersionProtoP\001Z1cloud.google.com/go/"
- + "dialogflow/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035"
- + "Google.Cloud.Dialogflow.Cx.V3\352\002!Google::"
- + "Cloud::Dialogflow::CX::V3b\006proto3"
+ + "ld_mask.proto\032\034google/protobuf/struct.pr"
+ + "oto\032\037google/protobuf/timestamp.proto\"Y\n\036"
+ + "CreateVersionOperationMetadata\0227\n\007versio"
+ + "n\030\001 \001(\tB&\372A#\n!dialogflow.googleapis.com/"
+ + "Version\"\316\003\n\007Version\022\014\n\004name\030\001 \001(\t\022\031\n\014dis"
+ + "play_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001("
+ + "\t\022E\n\014nlu_settings\030\004 \001(\0132*.google.cloud.d"
+ + "ialogflow.cx.v3.NluSettingsB\003\340A\003\0224\n\013crea"
+ + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam"
+ + "pB\003\340A\003\022@\n\005state\030\006 \001(\0162,.google.cloud.dia"
+ + "logflow.cx.v3.Version.StateB\003\340A\003\"F\n\005Stat"
+ + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n"
+ + "\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003:~\352A{\n!dialogflo"
+ + "w.googleapis.com/Version\022Vprojects/{proj"
+ + "ect}/locations/{location}/agents/{agent}"
+ + "/flows/{flow}/versions/{version}\"w\n\023List"
+ + "VersionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022"
+ + "!dialogflow.googleapis.com/Version\022\021\n\tpa"
+ + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"i\n\024Lis"
+ + "tVersionsResponse\0228\n\010versions\030\001 \003(\0132&.go"
+ + "ogle.cloud.dialogflow.cx.v3.Version\022\027\n\017n"
+ + "ext_page_token\030\002 \001(\t\"L\n\021GetVersionReques"
+ + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.goog"
+ + "leapis.com/Version\"\217\001\n\024CreateVersionRequ"
+ + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow."
+ + "googleapis.com/Version\022<\n\007version\030\002 \001(\0132"
+ + "&.google.cloud.dialogflow.cx.v3.VersionB"
+ + "\003\340A\002\"\212\001\n\024UpdateVersionRequest\022<\n\007version"
+ + "\030\001 \001(\0132&.google.cloud.dialogflow.cx.v3.V"
+ + "ersionB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl"
+ + "e.protobuf.FieldMaskB\003\340A\002\"O\n\024DeleteVersi"
+ + "onRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialogf"
+ + "low.googleapis.com/Version\"u\n\022LoadVersio"
+ + "nRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialogfl"
+ + "ow.googleapis.com/Version\022&\n\036allow_overr"
+ + "ide_agent_resources\030\002 \001(\010\"\263\001\n\026CompareVer"
+ + "sionsRequest\022?\n\014base_version\030\001 \001(\tB)\340A\002\372"
+ + "A#\n!dialogflow.googleapis.com/Version\022A\n"
+ + "\016target_version\030\002 \001(\tB)\340A\002\372A#\n!dialogflo"
+ + "w.googleapis.com/Version\022\025\n\rlanguage_cod"
+ + "e\030\003 \001(\t\"\223\001\n\027CompareVersionsResponse\022!\n\031b"
+ + "ase_version_content_json\030\001 \001(\t\022#\n\033target"
+ + "_version_content_json\030\002 \001(\t\0220\n\014compare_t"
+ + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp2\342\014"
+ + "\n\010Versions\022\307\001\n\014ListVersions\0222.google.clo"
+ + "ud.dialogflow.cx.v3.ListVersionsRequest\032"
+ + "3.google.cloud.dialogflow.cx.v3.ListVers"
+ + "ionsResponse\"N\202\323\344\223\002?\022=/v3/{parent=projec"
+ + "ts/*/locations/*/agents/*/flows/*}/versi"
+ + "ons\332A\006parent\022\264\001\n\nGetVersion\0220.google.clo"
+ + "ud.dialogflow.cx.v3.GetVersionRequest\032&."
+ + "google.cloud.dialogflow.cx.v3.Version\"L\202"
+ + "\323\344\223\002?\022=/v3/{name=projects/*/locations/*/"
+ + "agents/*/flows/*/versions/*}\332A\004name\022\361\001\n\r"
+ + "CreateVersion\0223.google.cloud.dialogflow."
+ + "cx.v3.CreateVersionRequest\032\035.google.long"
+ + "running.Operation\"\213\001\202\323\344\223\002H\"=/v3/{parent="
+ + "projects/*/locations/*/agents/*/flows/*}"
+ + "/versions:\007version\332A\016parent,version\312A)\n\007"
+ + "Version\022\036CreateVersionOperationMetadata\022"
+ + "\332\001\n\rUpdateVersion\0223.google.cloud.dialogf"
+ + "low.cx.v3.UpdateVersionRequest\032&.google."
+ + "cloud.dialogflow.cx.v3.Version\"l\202\323\344\223\002P2E"
+ + "/v3/{version.name=projects/*/locations/*"
+ + "/agents/*/flows/*/versions/*}:\007version\332A"
+ + "\023version,update_mask\022\252\001\n\rDeleteVersion\0223"
+ + ".google.cloud.dialogflow.cx.v3.DeleteVer"
+ + "sionRequest\032\026.google.protobuf.Empty\"L\202\323\344"
+ + "\223\002?*=/v3/{name=projects/*/locations/*/ag"
+ + "ents/*/flows/*/versions/*}\332A\004name\022\350\001\n\013Lo"
+ + "adVersion\0221.google.cloud.dialogflow.cx.v"
+ + "3.LoadVersionRequest\032\035.google.longrunnin"
+ + "g.Operation\"\206\001\202\323\344\223\002G\"B/v3/{name=projects"
+ + "/*/locations/*/agents/*/flows/*/versions"
+ + "/*}:load:\001*\332A\004name\312A/\n\025google.protobuf.E"
+ + "mpty\022\026google.protobuf.Struct\022\361\001\n\017Compare"
+ + "Versions\0225.google.cloud.dialogflow.cx.v3"
+ + ".CompareVersionsRequest\0326.google.cloud.d"
+ + "ialogflow.cx.v3.CompareVersionsResponse\""
+ + "o\202\323\344\223\002Z\"U/v3/{base_version=projects/*/lo"
+ + "cations/*/agents/*/flows/*/versions/*}:c"
+ + "ompareVersions:\001*\332A\014base_version\032x\312A\031dia"
+ + "logflow.googleapis.com\322AYhttps://www.goo"
+ + "gleapis.com/auth/cloud-platform,https://"
+ + "www.googleapis.com/auth/dialogflowB\262\001\n!c"
+ + "om.google.cloud.dialogflow.cx.v3B\014Versio"
+ + "nProtoP\001Z1cloud.google.com/go/dialogflow"
+ + "/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.Clo"
+ + "ud.Dialogflow.Cx.V3\352\002!Google::Cloud::Dia"
+ + "logflow::CX::V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -190,6 +191,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3_CreateVersionOperationMetadata_descriptor =
@@ -300,6 +302,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/advanced_settings.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/advanced_settings.proto
index 01d0485775ed..05460932a81e 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/advanced_settings.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/advanced_settings.proto
@@ -17,6 +17,7 @@ syntax = "proto3";
package google.cloud.dialogflow.cx.v3;
import "google/api/field_behavior.proto";
+import "google/cloud/dialogflow/cx/v3/gcs.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3";
@@ -48,6 +49,13 @@ message AdvancedSettings {
bool enable_interaction_logging = 3;
}
+ // If present, incoming audio is exported by Dialogflow to the configured
+ // Google Cloud Storage destination.
+ // Exposed at the following levels:
+ // - Agent level
+ // - Flow level
+ GcsDestination audio_export_gcs_destination = 2;
+
// Settings for logging.
// Settings for Dialogflow History, Contact Center messages, StackDriver logs,
// and speech logging.
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto
index 1f5f93f9275f..2c7ed1adb5e9 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto
@@ -21,10 +21,12 @@ import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dialogflow/cx/v3/advanced_settings.proto";
+import "google/cloud/dialogflow/cx/v3/audio_config.proto";
import "google/cloud/dialogflow/cx/v3/flow.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3";
@@ -266,6 +268,10 @@ message Agent {
// Hierarchical advanced settings for this agent. The settings exposed at the
// lower level overrides the settings exposed at the higher level.
AdvancedSettings advanced_settings = 22;
+
+ // Settings on instructing the speech synthesizer on how to generate the
+ // output audio content.
+ TextToSpeechSettings text_to_speech_settings = 31;
}
// The request message for
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto
index ea06c183942e..259c81cb40cc 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto
@@ -316,3 +316,11 @@ message OutputAudioConfig {
// Optional. Configuration of how speech should be synthesized.
SynthesizeSpeechConfig synthesize_speech_config = 3;
}
+
+// Settings related to speech generating.
+message TextToSpeechSettings {
+ // Configuration of how speech should be synthesized, mapping from
+ // language (https://dialogflow.com/docs/reference/language) to
+ // SynthesizeSpeechConfig.
+ map synthesize_speech_configs = 1;
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto
index 8b42411d5423..5175a15f79ba 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto
@@ -25,6 +25,7 @@ import "google/cloud/dialogflow/cx/v3/webhook.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
@@ -253,12 +254,11 @@ message Environment {
// 500 characters. If exceeded, the request is rejected.
string description = 3;
- // Required. A list of configurations for flow versions. You should include
- // version configs for all flows that are reachable from [`Start
+ // A list of configurations for flow versions. You should include version
+ // configs for all flows that are reachable from [`Start
// Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
// returned.
- repeated VersionConfig version_configs = 6
- [(google.api.field_behavior) = REQUIRED];
+ repeated VersionConfig version_configs = 6;
// Output only. Update time of this environment.
google.protobuf.Timestamp update_time = 5
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto
index ea7d71a73ee8..d84be312f727 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/flow.proto
@@ -25,6 +25,7 @@ import "google/cloud/dialogflow/cx/v3/validation_message.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/gcs.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/gcs.proto
new file mode 100644
index 000000000000..bf1a43cb2b70
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/gcs.proto
@@ -0,0 +1,39 @@
+// Copyright 2022 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
+//
+// http://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.
+
+syntax = "proto3";
+
+package google.cloud.dialogflow.cx.v3;
+
+import "google/api/field_behavior.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3";
+option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb";
+option java_multiple_files = true;
+option java_outer_classname = "GcsProto";
+option java_package = "com.google.cloud.dialogflow.cx.v3";
+option objc_class_prefix = "DF";
+option ruby_package = "Google::Cloud::Dialogflow::CX::V3";
+
+// Google Cloud Storage location for a Dialogflow operation that writes or
+// exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
+message GcsDestination {
+ // Required. The Google Cloud Storage URI for the exported objects. A URI is
+ // of the form:
+ // gs://bucket/object-name-or-prefix
+ // Whether a full object name, or just a prefix, its usage depends on the
+ // Dialogflow operation.
+ string uri = 1 [(google.api.field_behavior) = REQUIRED];
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto
index 2b7825d1176d..a17815baeb4e 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto
@@ -833,6 +833,9 @@ message MatchIntentRequest {
// Required. The input specification.
QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Persist session parameter changes from `query_params`.
+ bool persist_parameter_changes = 5;
}
// Response of [MatchIntent][].
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto
index 335cb835de73..d2adfee4fd3f 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/version.proto
@@ -24,6 +24,7 @@ import "google/cloud/dialogflow/cx/v3/flow.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettings.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettings.java
index ffc7b40897c5..76c2a6d4b4cc 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettings.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettings.java
@@ -742,6 +742,72 @@ public com.google.protobuf.Parser getParserForType() {
}
}
+ public static final int AUDIO_EXPORT_GCS_DESTINATION_FIELD_NUMBER = 2;
+ private com.google.cloud.dialogflow.cx.v3beta1.GcsDestination audioExportGcsDestination_;
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ *
+ * @return Whether the audioExportGcsDestination field is set.
+ */
+ @java.lang.Override
+ public boolean hasAudioExportGcsDestination() {
+ return audioExportGcsDestination_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ *
+ * @return The audioExportGcsDestination.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestination getAudioExportGcsDestination() {
+ return audioExportGcsDestination_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance()
+ : audioExportGcsDestination_;
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder
+ getAudioExportGcsDestinationOrBuilder() {
+ return audioExportGcsDestination_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance()
+ : audioExportGcsDestination_;
+ }
+
public static final int LOGGING_SETTINGS_FIELD_NUMBER = 6;
private com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings loggingSettings_;
/**
@@ -828,6 +894,9 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (audioExportGcsDestination_ != null) {
+ output.writeMessage(2, getAudioExportGcsDestination());
+ }
if (loggingSettings_ != null) {
output.writeMessage(6, getLoggingSettings());
}
@@ -840,6 +909,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
+ if (audioExportGcsDestination_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, getAudioExportGcsDestination());
+ }
if (loggingSettings_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getLoggingSettings());
}
@@ -859,6 +933,11 @@ public boolean equals(final java.lang.Object obj) {
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings other =
(com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings) obj;
+ if (hasAudioExportGcsDestination() != other.hasAudioExportGcsDestination()) return false;
+ if (hasAudioExportGcsDestination()) {
+ if (!getAudioExportGcsDestination().equals(other.getAudioExportGcsDestination()))
+ return false;
+ }
if (hasLoggingSettings() != other.hasLoggingSettings()) return false;
if (hasLoggingSettings()) {
if (!getLoggingSettings().equals(other.getLoggingSettings())) return false;
@@ -874,6 +953,10 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasAudioExportGcsDestination()) {
+ hash = (37 * hash) + AUDIO_EXPORT_GCS_DESTINATION_FIELD_NUMBER;
+ hash = (53 * hash) + getAudioExportGcsDestination().hashCode();
+ }
if (hasLoggingSettings()) {
hash = (37 * hash) + LOGGING_SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getLoggingSettings().hashCode();
@@ -1026,6 +1109,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
public Builder clear() {
super.clear();
bitField0_ = 0;
+ audioExportGcsDestination_ = null;
+ if (audioExportGcsDestinationBuilder_ != null) {
+ audioExportGcsDestinationBuilder_.dispose();
+ audioExportGcsDestinationBuilder_ = null;
+ }
loggingSettings_ = null;
if (loggingSettingsBuilder_ != null) {
loggingSettingsBuilder_.dispose();
@@ -1068,6 +1156,12 @@ public com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings buildPartial() {
private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.audioExportGcsDestination_ =
+ audioExportGcsDestinationBuilder_ == null
+ ? audioExportGcsDestination_
+ : audioExportGcsDestinationBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
result.loggingSettings_ =
loggingSettingsBuilder_ == null ? loggingSettings_ : loggingSettingsBuilder_.build();
}
@@ -1119,6 +1213,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings other) {
if (other == com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.getDefaultInstance())
return this;
+ if (other.hasAudioExportGcsDestination()) {
+ mergeAudioExportGcsDestination(other.getAudioExportGcsDestination());
+ }
if (other.hasLoggingSettings()) {
mergeLoggingSettings(other.getLoggingSettings());
}
@@ -1148,10 +1245,17 @@ public Builder mergeFrom(
case 0:
done = true;
break;
+ case 18:
+ {
+ input.readMessage(
+ getAudioExportGcsDestinationFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 18
case 50:
{
input.readMessage(getLoggingSettingsFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
break;
} // case 50
default:
@@ -1173,6 +1277,240 @@ public Builder mergeFrom(
private int bitField0_;
+ private com.google.cloud.dialogflow.cx.v3beta1.GcsDestination audioExportGcsDestination_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder>
+ audioExportGcsDestinationBuilder_;
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ *
+ * @return Whether the audioExportGcsDestination field is set.
+ */
+ public boolean hasAudioExportGcsDestination() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ *
+ * @return The audioExportGcsDestination.
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestination getAudioExportGcsDestination() {
+ if (audioExportGcsDestinationBuilder_ == null) {
+ return audioExportGcsDestination_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance()
+ : audioExportGcsDestination_;
+ } else {
+ return audioExportGcsDestinationBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ public Builder setAudioExportGcsDestination(
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination value) {
+ if (audioExportGcsDestinationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ audioExportGcsDestination_ = value;
+ } else {
+ audioExportGcsDestinationBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ public Builder setAudioExportGcsDestination(
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder builderForValue) {
+ if (audioExportGcsDestinationBuilder_ == null) {
+ audioExportGcsDestination_ = builderForValue.build();
+ } else {
+ audioExportGcsDestinationBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ public Builder mergeAudioExportGcsDestination(
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination value) {
+ if (audioExportGcsDestinationBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && audioExportGcsDestination_ != null
+ && audioExportGcsDestination_
+ != com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance()) {
+ getAudioExportGcsDestinationBuilder().mergeFrom(value);
+ } else {
+ audioExportGcsDestination_ = value;
+ }
+ } else {
+ audioExportGcsDestinationBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ public Builder clearAudioExportGcsDestination() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ audioExportGcsDestination_ = null;
+ if (audioExportGcsDestinationBuilder_ != null) {
+ audioExportGcsDestinationBuilder_.dispose();
+ audioExportGcsDestinationBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder
+ getAudioExportGcsDestinationBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getAudioExportGcsDestinationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder
+ getAudioExportGcsDestinationOrBuilder() {
+ if (audioExportGcsDestinationBuilder_ != null) {
+ return audioExportGcsDestinationBuilder_.getMessageOrBuilder();
+ } else {
+ return audioExportGcsDestination_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance()
+ : audioExportGcsDestination_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder>
+ getAudioExportGcsDestinationFieldBuilder() {
+ if (audioExportGcsDestinationBuilder_ == null) {
+ audioExportGcsDestinationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder>(
+ getAudioExportGcsDestination(), getParentForChildren(), isClean());
+ audioExportGcsDestination_ = null;
+ }
+ return audioExportGcsDestinationBuilder_;
+ }
+
private com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings
loggingSettings_;
private com.google.protobuf.SingleFieldBuilderV3<
@@ -1198,7 +1536,7 @@ public Builder mergeFrom(
* @return Whether the loggingSettings field is set.
*/
public boolean hasLoggingSettings() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1253,7 +1591,7 @@ public Builder setLoggingSettings(
} else {
loggingSettingsBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1280,7 +1618,7 @@ public Builder setLoggingSettings(
} else {
loggingSettingsBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1302,7 +1640,7 @@ public Builder setLoggingSettings(
public Builder mergeLoggingSettings(
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings value) {
if (loggingSettingsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)
+ if (((bitField0_ & 0x00000002) != 0)
&& loggingSettings_ != null
&& loggingSettings_
!= com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings
@@ -1314,7 +1652,7 @@ public Builder mergeLoggingSettings(
} else {
loggingSettingsBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1334,7 +1672,7 @@ public Builder mergeLoggingSettings(
*
*/
public Builder clearLoggingSettings() {
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
loggingSettings_ = null;
if (loggingSettingsBuilder_ != null) {
loggingSettingsBuilder_.dispose();
@@ -1360,7 +1698,7 @@ public Builder clearLoggingSettings() {
*/
public com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.LoggingSettings.Builder
getLoggingSettingsBuilder() {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
onChanged();
return getLoggingSettingsFieldBuilder().getBuilder();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsOrBuilder.java
index aa2889cf33cd..0f43e275d590 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsOrBuilder.java
@@ -23,6 +23,57 @@ public interface AdvancedSettingsOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.AdvancedSettings)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ *
+ * @return Whether the audioExportGcsDestination field is set.
+ */
+ boolean hasAudioExportGcsDestination();
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ *
+ * @return The audioExportGcsDestination.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination getAudioExportGcsDestination();
+ /**
+ *
+ *
+ *
+ * If present, incoming audio is exported by Dialogflow to the configured
+ * Google Cloud Storage destination.
+ * Exposed at the following levels:
+ * - Agent level
+ * - Flow level
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.GcsDestination audio_export_gcs_destination = 2;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder
+ getAudioExportGcsDestinationOrBuilder();
+
/**
*
*
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsProto.java
index 2f77e01b7510..50d437869973 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AdvancedSettingsProto.java
@@ -47,23 +47,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n:google/cloud/dialogflow/cx/v3beta1/adv"
+ "anced_settings.proto\022\"google.cloud.dialo"
+ "gflow.cx.v3beta1\032\037google/api/field_behav"
- + "ior.proto\"\315\001\n\020AdvancedSettings\022^\n\020loggin"
- + "g_settings\030\006 \001(\0132D.google.cloud.dialogfl"
- + "ow.cx.v3beta1.AdvancedSettings.LoggingSe"
- + "ttings\032Y\n\017LoggingSettings\022\"\n\032enable_stac"
- + "kdriver_logging\030\002 \001(\010\022\"\n\032enable_interact"
- + "ion_logging\030\003 \001(\010B\317\001\n&com.google.cloud.d"
- + "ialogflow.cx.v3beta1B\025AdvancedSettingsPr"
- + "otoP\001Z6cloud.google.com/go/dialogflow/cx"
- + "/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.C"
- + "loud.Dialogflow.Cx.V3Beta1\352\002&Google::Clo"
- + "ud::Dialogflow::CX::V3beta1b\006proto3"
+ + "ior.proto\032,google/cloud/dialogflow/cx/v3"
+ + "beta1/gcs.proto\"\247\002\n\020AdvancedSettings\022X\n\034"
+ + "audio_export_gcs_destination\030\002 \001(\01322.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.GcsDesti"
+ + "nation\022^\n\020logging_settings\030\006 \001(\0132D.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.AdvancedSe"
+ + "ttings.LoggingSettings\032Y\n\017LoggingSetting"
+ + "s\022\"\n\032enable_stackdriver_logging\030\002 \001(\010\022\"\n"
+ + "\032enable_interaction_logging\030\003 \001(\010B\317\001\n&co"
+ + "m.google.cloud.dialogflow.cx.v3beta1B\025Ad"
+ + "vancedSettingsProtoP\001Z6cloud.google.com/"
+ + "go/dialogflow/cx/apiv3beta1/cxpb;cxpb\370\001\001"
+ + "\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Bet"
+ + "a1\352\002&Google::Cloud::Dialogflow::CX::V3be"
+ + "ta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.cloud.dialogflow.cx.v3beta1.GcsProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3beta1_AdvancedSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -71,7 +76,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_AdvancedSettings_descriptor,
new java.lang.String[] {
- "LoggingSettings",
+ "AudioExportGcsDestination", "LoggingSettings",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_AdvancedSettings_LoggingSettings_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_AdvancedSettings_descriptor
@@ -84,6 +89,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"EnableStackdriverLogging", "EnableInteractionLogging",
});
com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.cloud.dialogflow.cx.v3beta1.GcsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java
index 2eb9450d262a..dfd3e063fba5 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Agent.java
@@ -685,7 +685,7 @@ public com.google.protobuf.ByteString getSecuritySettingsBytes() {
* bool enable_stackdriver_logging = 18 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is deprecated.
- * See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=255
+ * See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=257
* @return The enableStackdriverLogging.
*/
@java.lang.Override
@@ -786,6 +786,63 @@ public com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings getAdvancedSettin
: advancedSettings_;
}
+ public static final int TEXT_TO_SPEECH_SETTINGS_FIELD_NUMBER = 31;
+ private com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings textToSpeechSettings_;
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ *
+ * @return Whether the textToSpeechSettings field is set.
+ */
+ @java.lang.Override
+ public boolean hasTextToSpeechSettings() {
+ return textToSpeechSettings_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ *
+ * @return The textToSpeechSettings.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings getTextToSpeechSettings() {
+ return textToSpeechSettings_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.getDefaultInstance()
+ : textToSpeechSettings_;
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder
+ getTextToSpeechSettingsOrBuilder() {
+ return textToSpeechSettings_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.getDefaultInstance()
+ : textToSpeechSettings_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -843,6 +900,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (locked_ != false) {
output.writeBool(27, locked_);
}
+ if (textToSpeechSettings_ != null) {
+ output.writeMessage(31, getTextToSpeechSettings());
+ }
getUnknownFields().writeTo(output);
}
@@ -900,6 +960,10 @@ public int getSerializedSize() {
if (locked_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(27, locked_);
}
+ if (textToSpeechSettings_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(31, getTextToSpeechSettings());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -937,6 +1001,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasAdvancedSettings()) {
if (!getAdvancedSettings().equals(other.getAdvancedSettings())) return false;
}
+ if (hasTextToSpeechSettings() != other.hasTextToSpeechSettings()) return false;
+ if (hasTextToSpeechSettings()) {
+ if (!getTextToSpeechSettings().equals(other.getTextToSpeechSettings())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -982,6 +1050,10 @@ public int hashCode() {
hash = (37 * hash) + ADVANCED_SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getAdvancedSettings().hashCode();
}
+ if (hasTextToSpeechSettings()) {
+ hash = (37 * hash) + TEXT_TO_SPEECH_SETTINGS_FIELD_NUMBER;
+ hash = (53 * hash) + getTextToSpeechSettings().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1154,6 +1226,11 @@ public Builder clear() {
advancedSettingsBuilder_.dispose();
advancedSettingsBuilder_ = null;
}
+ textToSpeechSettings_ = null;
+ if (textToSpeechSettingsBuilder_ != null) {
+ textToSpeechSettingsBuilder_.dispose();
+ textToSpeechSettingsBuilder_ = null;
+ }
return this;
}
@@ -1242,6 +1319,12 @@ private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.Agent result)
result.advancedSettings_ =
advancedSettingsBuilder_ == null ? advancedSettings_ : advancedSettingsBuilder_.build();
}
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.textToSpeechSettings_ =
+ textToSpeechSettingsBuilder_ == null
+ ? textToSpeechSettings_
+ : textToSpeechSettingsBuilder_.build();
+ }
}
@java.lang.Override
@@ -1354,6 +1437,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Agent other) {
if (other.hasAdvancedSettings()) {
mergeAdvancedSettings(other.getAdvancedSettings());
}
+ if (other.hasTextToSpeechSettings()) {
+ mergeTextToSpeechSettings(other.getTextToSpeechSettings());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1467,6 +1553,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00001000;
break;
} // case 216
+ case 250:
+ {
+ input.readMessage(
+ getTextToSpeechSettingsFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 250
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2865,7 +2958,7 @@ public Builder setSecuritySettingsBytes(com.google.protobuf.ByteString value) {
* bool enable_stackdriver_logging = 18 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=255
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=257
* @return The enableStackdriverLogging.
*/
@java.lang.Override
@@ -2886,7 +2979,7 @@ public boolean getEnableStackdriverLogging() {
* bool enable_stackdriver_logging = 18 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=255
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=257
* @param value The enableStackdriverLogging to set.
* @return This builder for chaining.
*/
@@ -2911,7 +3004,7 @@ public Builder setEnableStackdriverLogging(boolean value) {
* bool enable_stackdriver_logging = 18 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is
- * deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=255
+ * deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=257
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3232,6 +3325,214 @@ public Builder clearAdvancedSettings() {
return advancedSettingsBuilder_;
}
+ private com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings textToSpeechSettings_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder>
+ textToSpeechSettingsBuilder_;
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ *
+ * @return Whether the textToSpeechSettings field is set.
+ */
+ public boolean hasTextToSpeechSettings() {
+ return ((bitField0_ & 0x00004000) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ *
+ * @return The textToSpeechSettings.
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings getTextToSpeechSettings() {
+ if (textToSpeechSettingsBuilder_ == null) {
+ return textToSpeechSettings_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.getDefaultInstance()
+ : textToSpeechSettings_;
+ } else {
+ return textToSpeechSettingsBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ public Builder setTextToSpeechSettings(
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings value) {
+ if (textToSpeechSettingsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ textToSpeechSettings_ = value;
+ } else {
+ textToSpeechSettingsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ public Builder setTextToSpeechSettings(
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder builderForValue) {
+ if (textToSpeechSettingsBuilder_ == null) {
+ textToSpeechSettings_ = builderForValue.build();
+ } else {
+ textToSpeechSettingsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ public Builder mergeTextToSpeechSettings(
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings value) {
+ if (textToSpeechSettingsBuilder_ == null) {
+ if (((bitField0_ & 0x00004000) != 0)
+ && textToSpeechSettings_ != null
+ && textToSpeechSettings_
+ != com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings
+ .getDefaultInstance()) {
+ getTextToSpeechSettingsBuilder().mergeFrom(value);
+ } else {
+ textToSpeechSettings_ = value;
+ }
+ } else {
+ textToSpeechSettingsBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ public Builder clearTextToSpeechSettings() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ textToSpeechSettings_ = null;
+ if (textToSpeechSettingsBuilder_ != null) {
+ textToSpeechSettingsBuilder_.dispose();
+ textToSpeechSettingsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder
+ getTextToSpeechSettingsBuilder() {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return getTextToSpeechSettingsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder
+ getTextToSpeechSettingsOrBuilder() {
+ if (textToSpeechSettingsBuilder_ != null) {
+ return textToSpeechSettingsBuilder_.getMessageOrBuilder();
+ } else {
+ return textToSpeechSettings_ == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.getDefaultInstance()
+ : textToSpeechSettings_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder>
+ getTextToSpeechSettingsFieldBuilder() {
+ if (textToSpeechSettingsBuilder_ == null) {
+ textToSpeechSettingsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder>(
+ getTextToSpeechSettings(), getParentForChildren(), isClean());
+ textToSpeechSettings_ = null;
+ }
+ return textToSpeechSettingsBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java
index 0e3d0608d294..6882ad971c67 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java
@@ -386,7 +386,7 @@ public interface AgentOrBuilder
* bool enable_stackdriver_logging = 18 [deprecated = true];
*
* @deprecated google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is deprecated.
- * See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=255
+ * See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=257
* @return The enableStackdriverLogging.
*/
@java.lang.Deprecated
@@ -457,4 +457,46 @@ public interface AgentOrBuilder
* .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;
*/
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettingsOrBuilder getAdvancedSettingsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ *
+ * @return Whether the textToSpeechSettings field is set.
+ */
+ boolean hasTextToSpeechSettings();
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ *
+ * @return The textToSpeechSettings.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings getTextToSpeechSettings();
+ /**
+ *
+ *
+ *
+ * Settings on instructing the speech synthesizer on how to generate the
+ * output audio content.
+ *
+ *
+ * .google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder
+ getTextToSpeechSettingsOrBuilder();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java
index 3aa91e4a1562..937b9f5f8b7b 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java
@@ -98,129 +98,134 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "le/api/client.proto\032\037google/api/field_be"
+ "havior.proto\032\031google/api/resource.proto\032"
+ ":google/cloud/dialogflow/cx/v3beta1/adva"
- + "nced_settings.proto\032-google/cloud/dialog"
- + "flow/cx/v3beta1/flow.proto\032#google/longr"
- + "unning/operations.proto\032\033google/protobuf"
- + "/empty.proto\032 google/protobuf/field_mask"
- + ".proto\"8\n\024SpeechToTextSettings\022 \n\030enable"
- + "_speech_adaptation\030\001 \001(\010\"\245\005\n\005Agent\022\014\n\004na"
- + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022%\n\025d"
- + "efault_language_code\030\003 \001(\tB\006\340A\002\340A\005\022 \n\030su"
- + "pported_language_codes\030\004 \003(\t\022\026\n\ttime_zon"
- + "e\030\005 \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(\t\022\022\n\nava"
- + "tar_uri\030\007 \001(\t\022Y\n\027speech_to_text_settings"
- + "\030\r \001(\01328.google.cloud.dialogflow.cx.v3be"
- + "ta1.SpeechToTextSettings\022:\n\nstart_flow\030\020"
- + " \001(\tB&\340A\005\372A \n\036dialogflow.googleapis.com/"
- + "Flow\022J\n\021security_settings\030\021 \001(\tB/\372A,\n*di"
- + "alogflow.googleapis.com/SecuritySettings"
- + "\022&\n\032enable_stackdriver_logging\030\022 \001(\010B\002\030\001"
- + "\022\037\n\027enable_spell_correction\030\024 \001(\010\022\016\n\006loc"
- + "ked\030\033 \001(\010\022O\n\021advanced_settings\030\026 \001(\01324.g"
- + "oogle.cloud.dialogflow.cx.v3beta1.Advanc"
- + "edSettings:\\\352AY\n\037dialogflow.googleapis.c"
- + "om/Agent\0226projects/{project}/locations/{"
- + "location}/agents/{agent}\"s\n\021ListAgentsRe"
- + "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflo"
- + "w.googleapis.com/Agent\022\021\n\tpage_size\030\002 \001("
- + "\005\022\022\n\npage_token\030\003 \001(\t\"h\n\022ListAgentsRespo"
- + "nse\0229\n\006agents\030\001 \003(\0132).google.cloud.dialo"
- + "gflow.cx.v3beta1.Agent\022\027\n\017next_page_toke"
- + "n\030\002 \001(\t\"H\n\017GetAgentRequest\0225\n\004name\030\001 \001(\t"
- + "B\'\340A\002\372A!\n\037dialogflow.googleapis.com/Agen"
- + "t\"\214\001\n\022CreateAgentRequest\0227\n\006parent\030\001 \001(\t"
- + "B\'\340A\002\372A!\022\037dialogflow.googleapis.com/Agen"
- + "t\022=\n\005agent\030\002 \001(\0132).google.cloud.dialogfl"
- + "ow.cx.v3beta1.AgentB\003\340A\002\"\204\001\n\022UpdateAgent"
- + "Request\022=\n\005agent\030\001 \001(\0132).google.cloud.di"
- + "alogflow.cx.v3beta1.AgentB\003\340A\002\022/\n\013update"
- + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\""
- + "K\n\022DeleteAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002"
- + "\372A!\n\037dialogflow.googleapis.com/Agent\"\313\002\n"
- + "\022ExportAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
- + "!\n\037dialogflow.googleapis.com/Agent\022\026\n\tag"
- + "ent_uri\030\002 \001(\tB\003\340A\001\022[\n\013data_format\030\003 \001(\0162"
- + "A.google.cloud.dialogflow.cx.v3beta1.Exp"
- + "ortAgentRequest.DataFormatB\003\340A\001\022B\n\013envir"
- + "onment\030\005 \001(\tB-\340A\001\372A\'\n%dialogflow.googlea"
- + "pis.com/Environment\"E\n\nDataFormat\022\033\n\027DAT"
- + "A_FORMAT_UNSPECIFIED\020\000\022\010\n\004BLOB\020\001\022\020\n\014JSON"
- + "_PACKAGE\020\004\"L\n\023ExportAgentResponse\022\023\n\tage"
- + "nt_uri\030\001 \001(\tH\000\022\027\n\ragent_content\030\002 \001(\014H\000B"
- + "\007\n\005agent\"\253\002\n\023RestoreAgentRequest\0225\n\004name"
- + "\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.co"
- + "m/Agent\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_co"
- + "ntent\030\003 \001(\014H\000\022]\n\016restore_option\030\005 \001(\0162E."
- + "google.cloud.dialogflow.cx.v3beta1.Resto"
- + "reAgentRequest.RestoreOption\"G\n\rRestoreO"
- + "ption\022\036\n\032RESTORE_OPTION_UNSPECIFIED\020\000\022\010\n"
- + "\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005agent\"d\n\024Valida"
- + "teAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037di"
- + "alogflow.googleapis.com/Agent\022\025\n\rlanguag"
- + "e_code\030\002 \001(\t\"\177\n\037GetAgentValidationResult"
- + "Request\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/dialogflo"
- + "w.googleapis.com/AgentValidationResult\022\025"
- + "\n\rlanguage_code\030\002 \001(\t\"\377\001\n\025AgentValidatio"
- + "nResult\022\014\n\004name\030\001 \001(\t\022Y\n\027flow_validation"
- + "_results\030\002 \003(\01328.google.cloud.dialogflow"
- + ".cx.v3beta1.FlowValidationResult:}\352Az\n/d"
- + "ialogflow.googleapis.com/AgentValidation"
- + "Result\022Gprojects/{project}/locations/{lo"
- + "cation}/agents/{agent}/validationResult2"
- + "\221\017\n\006Agents\022\275\001\n\nListAgents\0225.google.cloud"
- + ".dialogflow.cx.v3beta1.ListAgentsRequest"
- + "\0326.google.cloud.dialogflow.cx.v3beta1.Li"
- + "stAgentsResponse\"@\202\323\344\223\0021\022//v3beta1/{pare"
- + "nt=projects/*/locations/*}/agents\332A\006pare"
- + "nt\022\252\001\n\010GetAgent\0223.google.cloud.dialogflo"
- + "w.cx.v3beta1.GetAgentRequest\032).google.cl"
- + "oud.dialogflow.cx.v3beta1.Agent\">\202\323\344\223\0021\022"
- + "//v3beta1/{name=projects/*/locations/*/a"
- + "gents/*}\332A\004name\022\277\001\n\013CreateAgent\0226.google"
- + ".cloud.dialogflow.cx.v3beta1.CreateAgent"
- + "Request\032).google.cloud.dialogflow.cx.v3b"
- + "eta1.Agent\"M\202\323\344\223\0028\"//v3beta1/{parent=pro"
- + "jects/*/locations/*}/agents:\005agent\332A\014par"
- + "ent,agent\022\312\001\n\013UpdateAgent\0226.google.cloud"
- + ".dialogflow.cx.v3beta1.UpdateAgentReques"
- + "t\032).google.cloud.dialogflow.cx.v3beta1.A"
- + "gent\"X\202\323\344\223\002>25/v3beta1/{agent.name=proje"
- + "cts/*/locations/*/agents/*}:\005agent\332A\021age"
- + "nt,update_mask\022\235\001\n\013DeleteAgent\0226.google."
- + "cloud.dialogflow.cx.v3beta1.DeleteAgentR"
- + "equest\032\026.google.protobuf.Empty\">\202\323\344\223\0021*/"
- + "/v3beta1/{name=projects/*/locations/*/ag"
- + "ents/*}\332A\004name\022\327\001\n\013ExportAgent\0226.google."
- + "cloud.dialogflow.cx.v3beta1.ExportAgentR"
- + "equest\032\035.google.longrunning.Operation\"q\202"
- + "\323\344\223\002;\"6/v3beta1/{name=projects/*/locatio"
- + "ns/*/agents/*}:export:\001*\312A-\n\023ExportAgent"
- + "Response\022\026google.protobuf.Struct\022\334\001\n\014Res"
- + "toreAgent\0227.google.cloud.dialogflow.cx.v"
- + "3beta1.RestoreAgentRequest\032\035.google.long"
- + "running.Operation\"t\202\323\344\223\002<\"7/v3beta1/{nam"
- + "e=projects/*/locations/*/agents/*}:resto"
- + "re:\001*\312A/\n\025google.protobuf.Empty\022\026google."
- + "protobuf.Struct\022\311\001\n\rValidateAgent\0228.goog"
- + "le.cloud.dialogflow.cx.v3beta1.ValidateA"
- + "gentRequest\0329.google.cloud.dialogflow.cx"
- + ".v3beta1.AgentValidationResult\"C\202\323\344\223\002=\"8"
- + "/v3beta1/{name=projects/*/locations/*/ag"
- + "ents/*}:validate:\001*\022\353\001\n\030GetAgentValidati"
- + "onResult\022C.google.cloud.dialogflow.cx.v3"
- + "beta1.GetAgentValidationResultRequest\0329."
- + "google.cloud.dialogflow.cx.v3beta1.Agent"
- + "ValidationResult\"O\202\323\344\223\002B\022@/v3beta1/{name"
- + "=projects/*/locations/*/agents/*/validat"
- + "ionResult}\332A\004name\032x\312A\031dialogflow.googlea"
- + "pis.com\322AYhttps://www.googleapis.com/aut"
- + "h/cloud-platform,https://www.googleapis."
- + "com/auth/dialogflowB\304\001\n&com.google.cloud"
- + ".dialogflow.cx.v3beta1B\nAgentProtoP\001Z6cl"
- + "oud.google.com/go/dialogflow/cx/apiv3bet"
- + "a1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dial"
- + "ogflow.Cx.V3Beta1\352\002&Google::Cloud::Dialo"
- + "gflow::CX::V3beta1b\006proto3"
+ + "nced_settings.proto\0325google/cloud/dialog"
+ + "flow/cx/v3beta1/audio_config.proto\032-goog"
+ + "le/cloud/dialogflow/cx/v3beta1/flow.prot"
+ + "o\032#google/longrunning/operations.proto\032\033"
+ + "google/protobuf/empty.proto\032 google/prot"
+ + "obuf/field_mask.proto\032\034google/protobuf/s"
+ + "truct.proto\"8\n\024SpeechToTextSettings\022 \n\030e"
+ + "nable_speech_adaptation\030\001 \001(\010\"\200\006\n\005Agent\022"
+ + "\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002"
+ + "\022%\n\025default_language_code\030\003 \001(\tB\006\340A\002\340A\005\022"
+ + " \n\030supported_language_codes\030\004 \003(\t\022\026\n\ttim"
+ + "e_zone\030\005 \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(\t\022\022"
+ + "\n\navatar_uri\030\007 \001(\t\022Y\n\027speech_to_text_set"
+ + "tings\030\r \001(\01328.google.cloud.dialogflow.cx"
+ + ".v3beta1.SpeechToTextSettings\022:\n\nstart_f"
+ + "low\030\020 \001(\tB&\340A\005\372A \n\036dialogflow.googleapis"
+ + ".com/Flow\022J\n\021security_settings\030\021 \001(\tB/\372A"
+ + ",\n*dialogflow.googleapis.com/SecuritySet"
+ + "tings\022&\n\032enable_stackdriver_logging\030\022 \001("
+ + "\010B\002\030\001\022\037\n\027enable_spell_correction\030\024 \001(\010\022\016"
+ + "\n\006locked\030\033 \001(\010\022O\n\021advanced_settings\030\026 \001("
+ + "\01324.google.cloud.dialogflow.cx.v3beta1.A"
+ + "dvancedSettings\022Y\n\027text_to_speech_settin"
+ + "gs\030\037 \001(\01328.google.cloud.dialogflow.cx.v3"
+ + "beta1.TextToSpeechSettings:\\\352AY\n\037dialogf"
+ + "low.googleapis.com/Agent\0226projects/{proj"
+ + "ect}/locations/{location}/agents/{agent}"
+ + "\"s\n\021ListAgentsRequest\0227\n\006parent\030\001 \001(\tB\'\340"
+ + "A\002\372A!\022\037dialogflow.googleapis.com/Agent\022\021"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n"
+ + "\022ListAgentsResponse\0229\n\006agents\030\001 \003(\0132).go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.Agent\022\027"
+ + "\n\017next_page_token\030\002 \001(\t\"H\n\017GetAgentReque"
+ + "st\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.goo"
+ + "gleapis.com/Agent\"\214\001\n\022CreateAgentRequest"
+ + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow.goo"
+ + "gleapis.com/Agent\022=\n\005agent\030\002 \001(\0132).googl"
+ + "e.cloud.dialogflow.cx.v3beta1.AgentB\003\340A\002"
+ + "\"\204\001\n\022UpdateAgentRequest\022=\n\005agent\030\001 \001(\0132)"
+ + ".google.cloud.dialogflow.cx.v3beta1.Agen"
+ + "tB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pro"
+ + "tobuf.FieldMask\"K\n\022DeleteAgentRequest\0225\n"
+ + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleap"
+ + "is.com/Agent\"\313\002\n\022ExportAgentRequest\0225\n\004n"
+ + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis"
+ + ".com/Agent\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\022[\n\013da"
+ + "ta_format\030\003 \001(\0162A.google.cloud.dialogflo"
+ + "w.cx.v3beta1.ExportAgentRequest.DataForm"
+ + "atB\003\340A\001\022B\n\013environment\030\005 \001(\tB-\340A\001\372A\'\n%di"
+ + "alogflow.googleapis.com/Environment\"E\n\nD"
+ + "ataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010"
+ + "\n\004BLOB\020\001\022\020\n\014JSON_PACKAGE\020\004\"L\n\023ExportAgen"
+ + "tResponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_"
+ + "content\030\002 \001(\014H\000B\007\n\005agent\"\253\002\n\023RestoreAgen"
+ + "tRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogfl"
+ + "ow.googleapis.com/Agent\022\023\n\tagent_uri\030\002 \001"
+ + "(\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000\022]\n\016restore"
+ + "_option\030\005 \001(\0162E.google.cloud.dialogflow."
+ + "cx.v3beta1.RestoreAgentRequest.RestoreOp"
+ + "tion\"G\n\rRestoreOption\022\036\n\032RESTORE_OPTION_"
+ + "UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n"
+ + "\005agent\"d\n\024ValidateAgentRequest\0225\n\004name\030\001"
+ + " \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.com/"
+ + "Agent\022\025\n\rlanguage_code\030\002 \001(\t\"\177\n\037GetAgent"
+ + "ValidationResultRequest\022E\n\004name\030\001 \001(\tB7\340"
+ + "A\002\372A1\n/dialogflow.googleapis.com/AgentVa"
+ + "lidationResult\022\025\n\rlanguage_code\030\002 \001(\t\"\377\001"
+ + "\n\025AgentValidationResult\022\014\n\004name\030\001 \001(\t\022Y\n"
+ + "\027flow_validation_results\030\002 \003(\01328.google."
+ + "cloud.dialogflow.cx.v3beta1.FlowValidati"
+ + "onResult:}\352Az\n/dialogflow.googleapis.com"
+ + "/AgentValidationResult\022Gprojects/{projec"
+ + "t}/locations/{location}/agents/{agent}/v"
+ + "alidationResult2\221\017\n\006Agents\022\275\001\n\nListAgent"
+ + "s\0225.google.cloud.dialogflow.cx.v3beta1.L"
+ + "istAgentsRequest\0326.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.ListAgentsResponse\"@\202\323\344\223\0021"
+ + "\022//v3beta1/{parent=projects/*/locations/"
+ + "*}/agents\332A\006parent\022\252\001\n\010GetAgent\0223.google"
+ + ".cloud.dialogflow.cx.v3beta1.GetAgentReq"
+ + "uest\032).google.cloud.dialogflow.cx.v3beta"
+ + "1.Agent\">\202\323\344\223\0021\022//v3beta1/{name=projects"
+ + "/*/locations/*/agents/*}\332A\004name\022\277\001\n\013Crea"
+ + "teAgent\0226.google.cloud.dialogflow.cx.v3b"
+ + "eta1.CreateAgentRequest\032).google.cloud.d"
+ + "ialogflow.cx.v3beta1.Agent\"M\202\323\344\223\0028\"//v3b"
+ + "eta1/{parent=projects/*/locations/*}/age"
+ + "nts:\005agent\332A\014parent,agent\022\312\001\n\013UpdateAgen"
+ + "t\0226.google.cloud.dialogflow.cx.v3beta1.U"
+ + "pdateAgentRequest\032).google.cloud.dialogf"
+ + "low.cx.v3beta1.Agent\"X\202\323\344\223\002>25/v3beta1/{"
+ + "agent.name=projects/*/locations/*/agents"
+ + "/*}:\005agent\332A\021agent,update_mask\022\235\001\n\013Delet"
+ + "eAgent\0226.google.cloud.dialogflow.cx.v3be"
+ + "ta1.DeleteAgentRequest\032\026.google.protobuf"
+ + ".Empty\">\202\323\344\223\0021*//v3beta1/{name=projects/"
+ + "*/locations/*/agents/*}\332A\004name\022\327\001\n\013Expor"
+ + "tAgent\0226.google.cloud.dialogflow.cx.v3be"
+ + "ta1.ExportAgentRequest\032\035.google.longrunn"
+ + "ing.Operation\"q\202\323\344\223\002;\"6/v3beta1/{name=pr"
+ + "ojects/*/locations/*/agents/*}:export:\001*"
+ + "\312A-\n\023ExportAgentResponse\022\026google.protobu"
+ + "f.Struct\022\334\001\n\014RestoreAgent\0227.google.cloud"
+ + ".dialogflow.cx.v3beta1.RestoreAgentReque"
+ + "st\032\035.google.longrunning.Operation\"t\202\323\344\223\002"
+ + "<\"7/v3beta1/{name=projects/*/locations/*"
+ + "/agents/*}:restore:\001*\312A/\n\025google.protobu"
+ + "f.Empty\022\026google.protobuf.Struct\022\311\001\n\rVali"
+ + "dateAgent\0228.google.cloud.dialogflow.cx.v"
+ + "3beta1.ValidateAgentRequest\0329.google.clo"
+ + "ud.dialogflow.cx.v3beta1.AgentValidation"
+ + "Result\"C\202\323\344\223\002=\"8/v3beta1/{name=projects/"
+ + "*/locations/*/agents/*}:validate:\001*\022\353\001\n\030"
+ + "GetAgentValidationResult\022C.google.cloud."
+ + "dialogflow.cx.v3beta1.GetAgentValidation"
+ + "ResultRequest\0329.google.cloud.dialogflow."
+ + "cx.v3beta1.AgentValidationResult\"O\202\323\344\223\002B"
+ + "\022@/v3beta1/{name=projects/*/locations/*/"
+ + "agents/*/validationResult}\332A\004name\032x\312A\031di"
+ + "alogflow.googleapis.com\322AYhttps://www.go"
+ + "ogleapis.com/auth/cloud-platform,https:/"
+ + "/www.googleapis.com/auth/dialogflowB\304\001\n&"
+ + "com.google.cloud.dialogflow.cx.v3beta1B\n"
+ + "AgentProtoP\001Z6cloud.google.com/go/dialog"
+ + "flow/cx/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"G"
+ + "oogle.Cloud.Dialogflow.Cx.V3Beta1\352\002&Goog"
+ + "le::Cloud::Dialogflow::CX::V3beta1b\006prot"
+ + "o3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -231,10 +236,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettingsProto.getDescriptor(),
+ com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto.getDescriptor(),
com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3beta1_SpeechToTextSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -264,6 +271,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"EnableSpellCorrection",
"Locked",
"AdvancedSettings",
+ "TextToSpeechSettings",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ListAgentsRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
@@ -378,10 +386,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettingsProto.getDescriptor();
+ com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto.getDescriptor();
com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java
index 729e6d7429b3..5d6fd5842e7d 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AudioConfigProto.java
@@ -47,6 +47,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_dialogflow_cx_v3beta1_OutputAudioConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_OutputAudioConfig_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -84,34 +92,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ow.cx.v3beta1.OutputAudioEncodingB\003\340A\002\022\031"
+ "\n\021sample_rate_hertz\030\002 \001(\005\022\\\n\030synthesize_"
+ "speech_config\030\003 \001(\0132:.google.cloud.dialo"
- + "gflow.cx.v3beta1.SynthesizeSpeechConfig*"
- + "\373\001\n\rAudioEncoding\022\036\n\032AUDIO_ENCODING_UNSP"
- + "ECIFIED\020\000\022\034\n\030AUDIO_ENCODING_LINEAR_16\020\001\022"
- + "\027\n\023AUDIO_ENCODING_FLAC\020\002\022\030\n\024AUDIO_ENCODI"
- + "NG_MULAW\020\003\022\026\n\022AUDIO_ENCODING_AMR\020\004\022\031\n\025AU"
- + "DIO_ENCODING_AMR_WB\020\005\022\033\n\027AUDIO_ENCODING_"
- + "OGG_OPUS\020\006\022)\n%AUDIO_ENCODING_SPEEX_WITH_"
- + "HEADER_BYTE\020\007*v\n\022SpeechModelVariant\022$\n S"
- + "PEECH_MODEL_VARIANT_UNSPECIFIED\020\000\022\026\n\022USE"
- + "_BEST_AVAILABLE\020\001\022\020\n\014USE_STANDARD\020\002\022\020\n\014U"
- + "SE_ENHANCED\020\003*\215\001\n\017SsmlVoiceGender\022!\n\035SSM"
- + "L_VOICE_GENDER_UNSPECIFIED\020\000\022\032\n\026SSML_VOI"
- + "CE_GENDER_MALE\020\001\022\034\n\030SSML_VOICE_GENDER_FE"
- + "MALE\020\002\022\035\n\031SSML_VOICE_GENDER_NEUTRAL\020\003*\354\001"
- + "\n\023OutputAudioEncoding\022%\n!OUTPUT_AUDIO_EN"
- + "CODING_UNSPECIFIED\020\000\022#\n\037OUTPUT_AUDIO_ENC"
- + "ODING_LINEAR_16\020\001\022\035\n\031OUTPUT_AUDIO_ENCODI"
- + "NG_MP3\020\002\022%\n!OUTPUT_AUDIO_ENCODING_MP3_64"
- + "_KBPS\020\004\022\"\n\036OUTPUT_AUDIO_ENCODING_OGG_OPU"
- + "S\020\003\022\037\n\033OUTPUT_AUDIO_ENCODING_MULAW\020\005B\242\002\n"
- + "&com.google.cloud.dialogflow.cx.v3beta1B"
- + "\020AudioConfigProtoP\001Z6cloud.google.com/go"
- + "/dialogflow/cx/apiv3beta1/cxpb;cxpb\370\001\001\242\002"
- + "\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Beta1"
- + "\352\002&Google::Cloud::Dialogflow::CX::V3beta"
- + "1\352AU\n\033automl.googleapis.com/Model\0226proje"
- + "cts/{project}/locations/{location}/model"
- + "s/{model}b\006proto3"
+ + "gflow.cx.v3beta1.SynthesizeSpeechConfig\""
+ + "\214\002\n\024TextToSpeechSettings\022x\n\031synthesize_s"
+ + "peech_configs\030\001 \003(\0132U.google.cloud.dialo"
+ + "gflow.cx.v3beta1.TextToSpeechSettings.Sy"
+ + "nthesizeSpeechConfigsEntry\032z\n\034Synthesize"
+ + "SpeechConfigsEntry\022\013\n\003key\030\001 \001(\t\022I\n\005value"
+ + "\030\002 \001(\0132:.google.cloud.dialogflow.cx.v3be"
+ + "ta1.SynthesizeSpeechConfig:\0028\001*\373\001\n\rAudio"
+ + "Encoding\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000"
+ + "\022\034\n\030AUDIO_ENCODING_LINEAR_16\020\001\022\027\n\023AUDIO_"
+ + "ENCODING_FLAC\020\002\022\030\n\024AUDIO_ENCODING_MULAW\020"
+ + "\003\022\026\n\022AUDIO_ENCODING_AMR\020\004\022\031\n\025AUDIO_ENCOD"
+ + "ING_AMR_WB\020\005\022\033\n\027AUDIO_ENCODING_OGG_OPUS\020"
+ + "\006\022)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BY"
+ + "TE\020\007*v\n\022SpeechModelVariant\022$\n SPEECH_MOD"
+ + "EL_VARIANT_UNSPECIFIED\020\000\022\026\n\022USE_BEST_AVA"
+ + "ILABLE\020\001\022\020\n\014USE_STANDARD\020\002\022\020\n\014USE_ENHANC"
+ + "ED\020\003*\215\001\n\017SsmlVoiceGender\022!\n\035SSML_VOICE_G"
+ + "ENDER_UNSPECIFIED\020\000\022\032\n\026SSML_VOICE_GENDER"
+ + "_MALE\020\001\022\034\n\030SSML_VOICE_GENDER_FEMALE\020\002\022\035\n"
+ + "\031SSML_VOICE_GENDER_NEUTRAL\020\003*\354\001\n\023OutputA"
+ + "udioEncoding\022%\n!OUTPUT_AUDIO_ENCODING_UN"
+ + "SPECIFIED\020\000\022#\n\037OUTPUT_AUDIO_ENCODING_LIN"
+ + "EAR_16\020\001\022\035\n\031OUTPUT_AUDIO_ENCODING_MP3\020\002\022"
+ + "%\n!OUTPUT_AUDIO_ENCODING_MP3_64_KBPS\020\004\022\""
+ + "\n\036OUTPUT_AUDIO_ENCODING_OGG_OPUS\020\003\022\037\n\033OU"
+ + "TPUT_AUDIO_ENCODING_MULAW\020\005B\242\002\n&com.goog"
+ + "le.cloud.dialogflow.cx.v3beta1B\020AudioCon"
+ + "figProtoP\001Z6cloud.google.com/go/dialogfl"
+ + "ow/cx/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Goo"
+ + "gle.Cloud.Dialogflow.Cx.V3Beta1\352\002&Google"
+ + "::Cloud::Dialogflow::CX::V3beta1\352AU\n\033aut"
+ + "oml.googleapis.com/Model\0226projects/{proj"
+ + "ect}/locations/{location}/models/{model}"
+ + "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -167,6 +182,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"AudioEncoding", "SampleRateHertz", "SynthesizeSpeechConfig",
});
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor,
+ new java.lang.String[] {
+ "SynthesizeSpeechConfigs",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_descriptor =
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Environment.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Environment.java
index de4d3e83681f..cadce8da94ee 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Environment.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Environment.java
@@ -3101,14 +3101,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
@java.lang.Override
@@ -3120,14 +3120,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
@java.lang.Override
@@ -3140,14 +3140,14 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
@java.lang.Override
@@ -3158,14 +3158,14 @@ public int getVersionConfigsCount() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
@java.lang.Override
@@ -3177,14 +3177,14 @@ public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig getVersi
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
@java.lang.Override
@@ -4272,14 +4272,14 @@ private void ensureVersionConfigsIsMutable() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public java.util.List
@@ -4294,14 +4294,14 @@ private void ensureVersionConfigsIsMutable() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public int getVersionConfigsCount() {
@@ -4315,14 +4315,14 @@ public int getVersionConfigsCount() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig getVersionConfigs(
@@ -4337,14 +4337,14 @@ public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig getVersi
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder setVersionConfigs(
@@ -4365,14 +4365,14 @@ public Builder setVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder setVersionConfigs(
@@ -4391,14 +4391,14 @@ public Builder setVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder addVersionConfigs(
@@ -4419,14 +4419,14 @@ public Builder addVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder addVersionConfigs(
@@ -4447,14 +4447,14 @@ public Builder addVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder addVersionConfigs(
@@ -4472,14 +4472,14 @@ public Builder addVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder addVersionConfigs(
@@ -4498,14 +4498,14 @@ public Builder addVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder addAllVersionConfigs(
@@ -4525,14 +4525,14 @@ public Builder addAllVersionConfigs(
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder clearVersionConfigs() {
@@ -4549,14 +4549,14 @@ public Builder clearVersionConfigs() {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public Builder removeVersionConfigs(int index) {
@@ -4573,14 +4573,14 @@ public Builder removeVersionConfigs(int index) {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig.Builder
@@ -4591,14 +4591,14 @@ public Builder removeVersionConfigs(int index) {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfigOrBuilder
@@ -4613,14 +4613,14 @@ public Builder removeVersionConfigs(int index) {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public java.util.List<
@@ -4636,14 +4636,14 @@ public Builder removeVersionConfigs(int index) {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig.Builder
@@ -4657,14 +4657,14 @@ public Builder removeVersionConfigs(int index) {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig.Builder
@@ -4679,14 +4679,14 @@ public Builder removeVersionConfigs(int index) {
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
public java.util.List
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentOrBuilder.java
index e04a1748cb72..33cebfbebbd2 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentOrBuilder.java
@@ -110,14 +110,14 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
java.util.List
@@ -126,14 +126,14 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig getVersionConfigs(int index);
@@ -141,14 +141,14 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
int getVersionConfigsCount();
@@ -156,14 +156,14 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
java.util.List<
@@ -173,14 +173,14 @@ public interface EnvironmentOrBuilder
*
*
*
- * Required. A list of configurations for flow versions. You should include
- * version configs for all flows that are reachable from [`Start
+ * A list of configurations for flow versions. You should include version
+ * configs for all flows that are reachable from [`Start
* Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
* returned.
*
*
*
- * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
*
*/
com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfigOrBuilder
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentProto.java
index 6a5c6b33d1ba..eb726280f5d9 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EnvironmentProto.java
@@ -130,156 +130,156 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ow/cx/v3beta1/webhook.proto\032#google/long"
+ "running/operations.proto\032\033google/protobu"
+ "f/empty.proto\032 google/protobuf/field_mas"
- + "k.proto\032\037google/protobuf/timestamp.proto"
- + "\"\310\006\n\013Environment\022\014\n\004name\030\001 \001(\t\022\031\n\014displa"
- + "y_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022["
- + "\n\017version_configs\030\006 \003(\0132=.google.cloud.d"
- + "ialogflow.cx.v3beta1.Environment.Version"
- + "ConfigB\003\340A\002\0224\n\013update_time\030\005 \001(\0132\032.googl"
- + "e.protobuf.TimestampB\003\340A\003\022Z\n\021test_cases_"
- + "config\030\007 \001(\0132?.google.cloud.dialogflow.c"
- + "x.v3beta1.Environment.TestCasesConfig\022U\n"
- + "\016webhook_config\030\n \001(\0132=.google.cloud.dia"
- + "logflow.cx.v3beta1.Environment.WebhookCo"
- + "nfig\032K\n\rVersionConfig\022:\n\007version\030\001 \001(\tB)"
- + "\340A\002\372A#\n!dialogflow.googleapis.com/Versio"
- + "n\032\217\001\n\017TestCasesConfig\022;\n\ntest_cases\030\001 \003("
- + "\tB\'\372A$\n\"dialogflow.googleapis.com/TestCa"
- + "se\022\035\n\025enable_continuous_run\030\002 \001(\010\022 \n\030ena"
- + "ble_predeployment_run\030\003 \001(\010\032W\n\rWebhookCo"
- + "nfig\022F\n\021webhook_overrides\030\001 \003(\0132+.google"
- + ".cloud.dialogflow.cx.v3beta1.Webhook:}\352A"
- + "z\n%dialogflow.googleapis.com/Environment"
- + "\022Qprojects/{project}/locations/{location"
- + "}/agents/{agent}/environments/{environme"
- + "nt}\"\177\n\027ListEnvironmentsRequest\022=\n\006parent"
- + "\030\001 \001(\tB-\340A\002\372A\'\022%dialogflow.googleapis.co"
- + "m/Environment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
- + "_token\030\003 \001(\t\"z\n\030ListEnvironmentsResponse"
- + "\022E\n\014environments\030\001 \003(\0132/.google.cloud.di"
- + "alogflow.cx.v3beta1.Environment\022\027\n\017next_"
- + "page_token\030\002 \001(\t\"T\n\025GetEnvironmentReques"
- + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.goog"
- + "leapis.com/Environment\"\244\001\n\030CreateEnviron"
- + "mentRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dia"
- + "logflow.googleapis.com/Environment\022I\n\013en"
- + "vironment\030\002 \001(\0132/.google.cloud.dialogflo"
- + "w.cx.v3beta1.EnvironmentB\003\340A\002\"\233\001\n\030Update"
- + "EnvironmentRequest\022I\n\013environment\030\001 \001(\0132"
- + "/.google.cloud.dialogflow.cx.v3beta1.Env"
- + "ironmentB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goo"
- + "gle.protobuf.FieldMaskB\003\340A\002\"W\n\030DeleteEnv"
- + "ironmentRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%d"
- + "ialogflow.googleapis.com/Environment\"\205\001\n"
- + "\037LookupEnvironmentHistoryRequest\022;\n\004name"
- + "\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.googleapis.co"
- + "m/Environment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
- + "_token\030\003 \001(\t\"\202\001\n LookupEnvironmentHistor"
- + "yResponse\022E\n\014environments\030\001 \003(\0132/.google"
- + ".cloud.dialogflow.cx.v3beta1.Environment"
- + "\022\027\n\017next_page_token\030\002 \001(\t\"\215\004\n\024Continuous"
- + "TestResult\022\014\n\004name\030\001 \001(\t\022]\n\006result\030\002 \001(\016"
- + "2M.google.cloud.dialogflow.cx.v3beta1.Co"
- + "ntinuousTestResult.AggregatedTestResult\022"
- + "H\n\021test_case_results\030\003 \003(\tB-\372A*\n(dialogf"
- + "low.googleapis.com/TestCaseResult\022,\n\010run"
- + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\""
- + "V\n\024AggregatedTestResult\022&\n\"AGGREGATED_TE"
- + "ST_RESULT_UNSPECIFIED\020\000\022\n\n\006PASSED\020\001\022\n\n\006F"
- + "AILED\020\002:\267\001\352A\263\001\n.dialogflow.googleapis.co"
- + "m/ContinuousTestResult\022\200\001projects/{proje"
- + "ct}/locations/{location}/agents/{agent}/"
- + "environments/{environment}/continuousTes"
- + "tResults/{continuous_test_result}\"^\n\030Run"
- + "ContinuousTestRequest\022B\n\013environment\030\001 \001"
- + "(\tB-\340A\002\372A\'\n%dialogflow.googleapis.com/En"
- + "vironment\"u\n\031RunContinuousTestResponse\022X"
- + "\n\026continuous_test_result\030\001 \001(\01328.google."
- + "cloud.dialogflow.cx.v3beta1.ContinuousTe"
- + "stResult\"Z\n\031RunContinuousTestMetadata\022=\n"
- + "\006errors\030\001 \003(\0132-.google.cloud.dialogflow."
- + "cx.v3beta1.TestError\"\221\001\n ListContinuousT"
- + "estResultsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A"
- + "0\022.dialogflow.googleapis.com/ContinuousT"
- + "estResult\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok"
- + "en\030\003 \001(\t\"\227\001\n!ListContinuousTestResultsRe"
- + "sponse\022Y\n\027continuous_test_results\030\001 \003(\0132"
- + "8.google.cloud.dialogflow.cx.v3beta1.Con"
- + "tinuousTestResult\022\027\n\017next_page_token\030\002 \001"
- + "(\t\"\230\001\n\021DeployFlowRequest\022B\n\013environment\030"
- + "\001 \001(\tB-\340A\002\372A\'\n%dialogflow.googleapis.com"
- + "/Environment\022?\n\014flow_version\030\002 \001(\tB)\340A\002\372"
- + "A#\n!dialogflow.googleapis.com/Version\"n\n"
- + "\022DeployFlowResponse\022D\n\013environment\030\001 \001(\013"
+ + "k.proto\032\034google/protobuf/struct.proto\032\037g"
+ + "oogle/protobuf/timestamp.proto\"\303\006\n\013Envir"
+ + "onment\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001"
+ + "(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022V\n\017version_"
+ + "configs\030\006 \003(\0132=.google.cloud.dialogflow."
+ + "cx.v3beta1.Environment.VersionConfig\0224\n\013"
+ + "update_time\030\005 \001(\0132\032.google.protobuf.Time"
+ + "stampB\003\340A\003\022Z\n\021test_cases_config\030\007 \001(\0132?."
+ + "google.cloud.dialogflow.cx.v3beta1.Envir"
+ + "onment.TestCasesConfig\022U\n\016webhook_config"
+ + "\030\n \001(\0132=.google.cloud.dialogflow.cx.v3be"
+ + "ta1.Environment.WebhookConfig\032K\n\rVersion"
+ + "Config\022:\n\007version\030\001 \001(\tB)\340A\002\372A#\n!dialogf"
+ + "low.googleapis.com/Version\032\217\001\n\017TestCases"
+ + "Config\022;\n\ntest_cases\030\001 \003(\tB\'\372A$\n\"dialogf"
+ + "low.googleapis.com/TestCase\022\035\n\025enable_co"
+ + "ntinuous_run\030\002 \001(\010\022 \n\030enable_predeployme"
+ + "nt_run\030\003 \001(\010\032W\n\rWebhookConfig\022F\n\021webhook"
+ + "_overrides\030\001 \003(\0132+.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.Webhook:}\352Az\n%dialogflow.g"
+ + "oogleapis.com/Environment\022Qprojects/{pro"
+ + "ject}/locations/{location}/agents/{agent"
+ + "}/environments/{environment}\"\177\n\027ListEnvi"
+ + "ronmentsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022"
+ + "%dialogflow.googleapis.com/Environment\022\021"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n"
+ + "\030ListEnvironmentsResponse\022E\n\014environment"
+ + "s\030\001 \003(\0132/.google.cloud.dialogflow.cx.v3b"
+ + "eta1.Environment\022\027\n\017next_page_token\030\002 \001("
+ + "\t\"T\n\025GetEnvironmentRequest\022;\n\004name\030\001 \001(\t"
+ + "B-\340A\002\372A\'\n%dialogflow.googleapis.com/Envi"
+ + "ronment\"\244\001\n\030CreateEnvironmentRequest\022=\n\006"
+ + "parent\030\001 \001(\tB-\340A\002\372A\'\022%dialogflow.googlea"
+ + "pis.com/Environment\022I\n\013environment\030\002 \001(\013"
+ "2/.google.cloud.dialogflow.cx.v3beta1.En"
- + "vironment\022\022\n\ndeployment\030\002 \001(\t\"X\n\022DeployF"
- + "lowMetadata\022B\n\013test_errors\030\001 \003(\0132-.googl"
- + "e.cloud.dialogflow.cx.v3beta1.TestError2"
- + "\262\022\n\014Environments\022\336\001\n\020ListEnvironments\022;."
- + "google.cloud.dialogflow.cx.v3beta1.ListE"
- + "nvironmentsRequest\032<.google.cloud.dialog"
- + "flow.cx.v3beta1.ListEnvironmentsResponse"
- + "\"O\202\323\344\223\002@\022>/v3beta1/{parent=projects/*/lo"
- + "cations/*/agents/*}/environments\332A\006paren"
- + "t\022\313\001\n\016GetEnvironment\0229.google.cloud.dial"
- + "ogflow.cx.v3beta1.GetEnvironmentRequest\032"
- + "/.google.cloud.dialogflow.cx.v3beta1.Env"
- + "ironment\"M\202\323\344\223\002@\022>/v3beta1/{name=project"
+ + "vironmentB\003\340A\002\"\233\001\n\030UpdateEnvironmentRequ"
+ + "est\022I\n\013environment\030\001 \001(\0132/.google.cloud."
+ + "dialogflow.cx.v3beta1.EnvironmentB\003\340A\002\0224"
+ + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi"
+ + "eldMaskB\003\340A\002\"W\n\030DeleteEnvironmentRequest"
+ + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.googl"
+ + "eapis.com/Environment\"\205\001\n\037LookupEnvironm"
+ + "entHistoryRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n"
+ + "%dialogflow.googleapis.com/Environment\022\021"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001"
+ + "\n LookupEnvironmentHistoryResponse\022E\n\014en"
+ + "vironments\030\001 \003(\0132/.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.Environment\022\027\n\017next_page_t"
+ + "oken\030\002 \001(\t\"\215\004\n\024ContinuousTestResult\022\014\n\004n"
+ + "ame\030\001 \001(\t\022]\n\006result\030\002 \001(\0162M.google.cloud"
+ + ".dialogflow.cx.v3beta1.ContinuousTestRes"
+ + "ult.AggregatedTestResult\022H\n\021test_case_re"
+ + "sults\030\003 \003(\tB-\372A*\n(dialogflow.googleapis."
+ + "com/TestCaseResult\022,\n\010run_time\030\004 \001(\0132\032.g"
+ + "oogle.protobuf.Timestamp\"V\n\024AggregatedTe"
+ + "stResult\022&\n\"AGGREGATED_TEST_RESULT_UNSPE"
+ + "CIFIED\020\000\022\n\n\006PASSED\020\001\022\n\n\006FAILED\020\002:\267\001\352A\263\001\n"
+ + ".dialogflow.googleapis.com/ContinuousTes"
+ + "tResult\022\200\001projects/{project}/locations/{"
+ + "location}/agents/{agent}/environments/{e"
+ + "nvironment}/continuousTestResults/{conti"
+ + "nuous_test_result}\"^\n\030RunContinuousTestR"
+ + "equest\022B\n\013environment\030\001 \001(\tB-\340A\002\372A\'\n%dia"
+ + "logflow.googleapis.com/Environment\"u\n\031Ru"
+ + "nContinuousTestResponse\022X\n\026continuous_te"
+ + "st_result\030\001 \001(\01328.google.cloud.dialogflo"
+ + "w.cx.v3beta1.ContinuousTestResult\"Z\n\031Run"
+ + "ContinuousTestMetadata\022=\n\006errors\030\001 \003(\0132-"
+ + ".google.cloud.dialogflow.cx.v3beta1.Test"
+ + "Error\"\221\001\n ListContinuousTestResultsReque"
+ + "st\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.dialogflow.g"
+ + "oogleapis.com/ContinuousTestResult\022\021\n\tpa"
+ + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001\n!Li"
+ + "stContinuousTestResultsResponse\022Y\n\027conti"
+ + "nuous_test_results\030\001 \003(\01328.google.cloud."
+ + "dialogflow.cx.v3beta1.ContinuousTestResu"
+ + "lt\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n\021DeployFl"
+ + "owRequest\022B\n\013environment\030\001 \001(\tB-\340A\002\372A\'\n%"
+ + "dialogflow.googleapis.com/Environment\022?\n"
+ + "\014flow_version\030\002 \001(\tB)\340A\002\372A#\n!dialogflow."
+ + "googleapis.com/Version\"n\n\022DeployFlowResp"
+ + "onse\022D\n\013environment\030\001 \001(\0132/.google.cloud"
+ + ".dialogflow.cx.v3beta1.Environment\022\022\n\nde"
+ + "ployment\030\002 \001(\t\"X\n\022DeployFlowMetadata\022B\n\013"
+ + "test_errors\030\001 \003(\0132-.google.cloud.dialogf"
+ + "low.cx.v3beta1.TestError2\262\022\n\014Environment"
+ + "s\022\336\001\n\020ListEnvironments\022;.google.cloud.di"
+ + "alogflow.cx.v3beta1.ListEnvironmentsRequ"
+ + "est\032<.google.cloud.dialogflow.cx.v3beta1"
+ + ".ListEnvironmentsResponse\"O\202\323\344\223\002@\022>/v3be"
+ + "ta1/{parent=projects/*/locations/*/agent"
+ + "s/*}/environments\332A\006parent\022\313\001\n\016GetEnviro"
+ + "nment\0229.google.cloud.dialogflow.cx.v3bet"
+ + "a1.GetEnvironmentRequest\032/.google.cloud."
+ + "dialogflow.cx.v3beta1.Environment\"M\202\323\344\223\002"
+ + "@\022>/v3beta1/{name=projects/*/locations/*"
+ + "/agents/*/environments/*}\332A\004name\022\203\002\n\021Cre"
+ + "ateEnvironment\022<.google.cloud.dialogflow"
+ + ".cx.v3beta1.CreateEnvironmentRequest\032\035.g"
+ + "oogle.longrunning.Operation\"\220\001\202\323\344\223\002M\">/v"
+ + "3beta1/{parent=projects/*/locations/*/ag"
+ + "ents/*}/environments:\013environment\332A\022pare"
+ + "nt,environment\312A%\n\013Environment\022\026google.p"
+ + "rotobuf.Struct\022\224\002\n\021UpdateEnvironment\022<.g"
+ + "oogle.cloud.dialogflow.cx.v3beta1.Update"
+ + "EnvironmentRequest\032\035.google.longrunning."
+ + "Operation\"\241\001\202\323\344\223\002Y2J/v3beta1/{environmen"
+ + "t.name=projects/*/locations/*/agents/*/e"
+ + "nvironments/*}:\013environment\332A\027environmen"
+ + "t,update_mask\312A%\n\013Environment\022\026google.pr"
+ + "otobuf.Struct\022\270\001\n\021DeleteEnvironment\022<.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.DeleteE"
+ + "nvironmentRequest\032\026.google.protobuf.Empt"
+ + "y\"M\202\323\344\223\002@*>/v3beta1/{name=projects/*/loc"
+ + "ations/*/agents/*/environments/*}\332A\004name"
+ + "\022\215\002\n\030LookupEnvironmentHistory\022C.google.c"
+ + "loud.dialogflow.cx.v3beta1.LookupEnviron"
+ + "mentHistoryRequest\032D.google.cloud.dialog"
+ + "flow.cx.v3beta1.LookupEnvironmentHistory"
+ + "Response\"f\202\323\344\223\002Y\022W/v3beta1/{name=project"
+ "s/*/locations/*/agents/*/environments/*}"
- + "\332A\004name\022\203\002\n\021CreateEnvironment\022<.google.c"
- + "loud.dialogflow.cx.v3beta1.CreateEnviron"
- + "mentRequest\032\035.google.longrunning.Operati"
- + "on\"\220\001\202\323\344\223\002M\">/v3beta1/{parent=projects/*"
- + "/locations/*/agents/*}/environments:\013env"
- + "ironment\332A\022parent,environment\312A%\n\013Enviro"
- + "nment\022\026google.protobuf.Struct\022\224\002\n\021Update"
- + "Environment\022<.google.cloud.dialogflow.cx"
- + ".v3beta1.UpdateEnvironmentRequest\032\035.goog"
- + "le.longrunning.Operation\"\241\001\202\323\344\223\002Y2J/v3be"
- + "ta1/{environment.name=projects/*/locatio"
- + "ns/*/agents/*/environments/*}:\013environme"
- + "nt\332A\027environment,update_mask\312A%\n\013Environ"
- + "ment\022\026google.protobuf.Struct\022\270\001\n\021DeleteE"
- + "nvironment\022<.google.cloud.dialogflow.cx."
- + "v3beta1.DeleteEnvironmentRequest\032\026.googl"
- + "e.protobuf.Empty\"M\202\323\344\223\002@*>/v3beta1/{name"
- + "=projects/*/locations/*/agents/*/environ"
- + "ments/*}\332A\004name\022\215\002\n\030LookupEnvironmentHis"
- + "tory\022C.google.cloud.dialogflow.cx.v3beta"
- + "1.LookupEnvironmentHistoryRequest\032D.goog"
- + "le.cloud.dialogflow.cx.v3beta1.LookupEnv"
- + "ironmentHistoryResponse\"f\202\323\344\223\002Y\022W/v3beta"
- + "1/{name=projects/*/locations/*/agents/*/"
- + "environments/*}:lookupEnvironmentHistory"
- + "\332A\004name\022\216\002\n\021RunContinuousTest\022<.google.c"
- + "loud.dialogflow.cx.v3beta1.RunContinuous"
- + "TestRequest\032\035.google.longrunning.Operati"
- + "on\"\233\001\202\323\344\223\002\\\"W/v3beta1/{environment=proje"
+ + ":lookupEnvironmentHistory\332A\004name\022\216\002\n\021Run"
+ + "ContinuousTest\022<.google.cloud.dialogflow"
+ + ".cx.v3beta1.RunContinuousTestRequest\032\035.g"
+ + "oogle.longrunning.Operation\"\233\001\202\323\344\223\002\\\"W/v"
+ + "3beta1/{environment=projects/*/locations"
+ + "/*/agents/*/environments/*}:runContinuou"
+ + "sTest:\001*\312A6\n\031RunContinuousTestResponse\022\031"
+ + "RunContinuousTestMetadata\022\221\002\n\031ListContin"
+ + "uousTestResults\022D.google.cloud.dialogflo"
+ + "w.cx.v3beta1.ListContinuousTestResultsRe"
+ + "quest\032E.google.cloud.dialogflow.cx.v3bet"
+ + "a1.ListContinuousTestResultsResponse\"g\202\323"
+ + "\344\223\002X\022V/v3beta1/{parent=projects/*/locati"
+ + "ons/*/agents/*/environments/*}/continuou"
+ + "sTestResults\332A\006parent\022\353\001\n\nDeployFlow\0225.g"
+ + "oogle.cloud.dialogflow.cx.v3beta1.Deploy"
+ + "FlowRequest\032\035.google.longrunning.Operati"
+ + "on\"\206\001\202\323\344\223\002U\"P/v3beta1/{environment=proje"
+ "cts/*/locations/*/agents/*/environments/"
- + "*}:runContinuousTest:\001*\312A6\n\031RunContinuou"
- + "sTestResponse\022\031RunContinuousTestMetadata"
- + "\022\221\002\n\031ListContinuousTestResults\022D.google."
- + "cloud.dialogflow.cx.v3beta1.ListContinuo"
- + "usTestResultsRequest\032E.google.cloud.dial"
- + "ogflow.cx.v3beta1.ListContinuousTestResu"
- + "ltsResponse\"g\202\323\344\223\002X\022V/v3beta1/{parent=pr"
- + "ojects/*/locations/*/agents/*/environmen"
- + "ts/*}/continuousTestResults\332A\006parent\022\353\001\n"
- + "\nDeployFlow\0225.google.cloud.dialogflow.cx"
- + ".v3beta1.DeployFlowRequest\032\035.google.long"
- + "running.Operation\"\206\001\202\323\344\223\002U\"P/v3beta1/{en"
- + "vironment=projects/*/locations/*/agents/"
- + "*/environments/*}:deployFlow:\001*\312A(\n\022Depl"
- + "oyFlowResponse\022\022DeployFlowMetadata\032x\312A\031d"
- + "ialogflow.googleapis.com\322AYhttps://www.g"
- + "oogleapis.com/auth/cloud-platform,https:"
- + "//www.googleapis.com/auth/dialogflowB\312\001\n"
- + "&com.google.cloud.dialogflow.cx.v3beta1B"
- + "\020EnvironmentProtoP\001Z6cloud.google.com/go"
- + "/dialogflow/cx/apiv3beta1/cxpb;cxpb\370\001\001\242\002"
- + "\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Beta1"
- + "\352\002&Google::Cloud::Dialogflow::CX::V3beta"
- + "1b\006proto3"
+ + "*}:deployFlow:\001*\312A(\n\022DeployFlowResponse\022"
+ + "\022DeployFlowMetadata\032x\312A\031dialogflow.googl"
+ + "eapis.com\322AYhttps://www.googleapis.com/a"
+ + "uth/cloud-platform,https://www.googleapi"
+ + "s.com/auth/dialogflowB\312\001\n&com.google.clo"
+ + "ud.dialogflow.cx.v3beta1B\020EnvironmentPro"
+ + "toP\001Z6cloud.google.com/go/dialogflow/cx/"
+ + "apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cl"
+ + "oud.Dialogflow.Cx.V3Beta1\352\002&Google::Clou"
+ + "d::Dialogflow::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -294,6 +294,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Environment_descriptor =
@@ -497,6 +498,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java
index bdfca3e21159..0fd87889ff7e 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java
@@ -110,139 +110,140 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "1/validation_message.proto\032#google/longr"
+ "unning/operations.proto\032\033google/protobuf"
+ "/empty.proto\032 google/protobuf/field_mask"
- + ".proto\032\037google/protobuf/timestamp.proto\""
- + "\266\003\n\013NluSettings\022M\n\nmodel_type\030\001 \001(\01629.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.NluSett"
- + "ings.ModelType\022 \n\030classification_thresho"
- + "ld\030\003 \001(\002\022^\n\023model_training_mode\030\004 \001(\0162A."
- + "google.cloud.dialogflow.cx.v3beta1.NluSe"
- + "ttings.ModelTrainingMode\"Y\n\tModelType\022\032\n"
- + "\026MODEL_TYPE_UNSPECIFIED\020\000\022\027\n\023MODEL_TYPE_"
- + "STANDARD\020\001\022\027\n\023MODEL_TYPE_ADVANCED\020\003\"{\n\021M"
- + "odelTrainingMode\022#\n\037MODEL_TRAINING_MODE_"
- + "UNSPECIFIED\020\000\022!\n\035MODEL_TRAINING_MODE_AUT"
- + "OMATIC\020\001\022\036\n\032MODEL_TRAINING_MODE_MANUAL\020\002"
- + "\"\345\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\013description\030\003 \001(\t\022N\n\021trans"
- + "ition_routes\030\004 \003(\01323.google.cloud.dialog"
- + "flow.cx.v3beta1.TransitionRoute\022H\n\016event"
- + "_handlers\030\n \003(\01320.google.cloud.dialogflo"
- + "w.cx.v3beta1.EventHandler\022T\n\027transition_"
- + "route_groups\030\017 \003(\tB3\372A0\n.dialogflow.goog"
- + "leapis.com/TransitionRouteGroup\022E\n\014nlu_s"
- + "ettings\030\013 \001(\0132/.google.cloud.dialogflow."
- + "cx.v3beta1.NluSettings:h\352Ae\n\036dialogflow."
- + "googleapis.com/Flow\022Cprojects/{project}/"
- + "locations/{location}/agents/{agent}/flow"
- + "s/{flow}\"\237\001\n\021CreateFlowRequest\0226\n\006parent"
- + "\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.googleapis.co"
- + "m/Flow\022;\n\004flow\030\002 \001(\0132(.google.cloud.dial"
- + "ogflow.cx.v3beta1.FlowB\003\340A\002\022\025\n\rlanguage_"
- + "code\030\003 \001(\t\"X\n\021DeleteFlowRequest\0224\n\004name\030"
- + "\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapis.com"
- + "/Flow\022\r\n\005force\030\002 \001(\010\"\210\001\n\020ListFlowsReques"
- + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.go"
- + "ogleapis.com/Flow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n"
- + "page_token\030\003 \001(\t\022\025\n\rlanguage_code\030\004 \001(\t\""
- + "e\n\021ListFlowsResponse\0227\n\005flows\030\001 \003(\0132(.go"
- + "ogle.cloud.dialogflow.cx.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.googl"
- + "eapis.com/Flow\022\025\n\rlanguage_code\030\002 \001(\t\"\230\001"
- + "\n\021UpdateFlowRequest\022;\n\004flow\030\001 \001(\0132(.goog"
- + "le.cloud.dialogflow.cx.v3beta1.FlowB\003\340A\002"
- + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
- + "FieldMask\022\025\n\rlanguage_code\030\003 \001(\t\"H\n\020Trai"
- + "nFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dial"
- + "ogflow.googleapis.com/Flow\"b\n\023ValidateFl"
- + "owRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogf"
- + "low.googleapis.com/Flow\022\025\n\rlanguage_code"
- + "\030\002 \001(\t\"}\n\036GetFlowValidationResultRequest"
- + "\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.dialogflow.googl"
- + "eapis.com/FlowValidationResult\022\025\n\rlangua"
- + "ge_code\030\002 \001(\t\"\266\002\n\024FlowValidationResult\022\014"
- + "\n\004name\030\001 \001(\t\022R\n\023validation_messages\030\002 \003("
- + "\01325.google.cloud.dialogflow.cx.v3beta1.V"
- + "alidationMessage\022/\n\013update_time\030\003 \001(\0132\032."
- + "google.protobuf.Timestamp:\212\001\352A\206\001\n.dialog"
- + "flow.googleapis.com/FlowValidationResult"
- + "\022Tprojects/{project}/locations/{location"
- + "}/agents/{agent}/flows/{flow}/validation"
- + "Result\"\241\002\n\021ImportFlowRequest\0226\n\006parent\030\001"
- + " \001(\tB&\340A\002\372A \022\036dialogflow.googleapis.com/"
- + "Flow\022\022\n\010flow_uri\030\002 \001(\tH\000\022\026\n\014flow_content"
- + "\030\003 \001(\014H\000\022Y\n\rimport_option\030\004 \001(\0162B.google"
- + ".cloud.dialogflow.cx.v3beta1.ImportFlowR"
- + "equest.ImportOption\"E\n\014ImportOption\022\035\n\031I"
- + "MPORT_OPTION_UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010"
- + "FALLBACK\020\002B\006\n\004flow\"G\n\022ImportFlowResponse"
- + "\0221\n\004flow\030\001 \001(\tB#\372A \n\036dialogflow.googleap"
- + "is.com/Flow\"\207\001\n\021ExportFlowRequest\0224\n\004nam"
- + "e\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleapis.c"
- + "om/Flow\022\025\n\010flow_uri\030\002 \001(\tB\003\340A\001\022%\n\030includ"
- + "e_referenced_flows\030\004 \001(\010B\003\340A\001\"H\n\022ExportF"
- + "lowResponse\022\022\n\010flow_uri\030\001 \001(\tH\000\022\026\n\014flow_"
- + "content\030\002 \001(\014H\000B\006\n\004flow2\233\021\n\005Flows\022\302\001\n\nCr"
- + "eateFlow\0225.google.cloud.dialogflow.cx.v3"
- + "beta1.CreateFlowRequest\032(.google.cloud.d"
- + "ialogflow.cx.v3beta1.Flow\"S\202\323\344\223\002?\"7/v3be"
- + "ta1/{parent=projects/*/locations/*/agent"
- + "s/*}/flows:\004flow\332A\013parent,flow\022\243\001\n\nDelet"
- + "eFlow\0225.google.cloud.dialogflow.cx.v3bet"
- + "a1.DeleteFlowRequest\032\026.google.protobuf.E"
- + "mpty\"F\202\323\344\223\0029*7/v3beta1/{name=projects/*/"
- + "locations/*/agents/*/flows/*}\332A\004name\022\302\001\n"
- + "\tListFlows\0224.google.cloud.dialogflow.cx."
- + "v3beta1.ListFlowsRequest\0325.google.cloud."
- + "dialogflow.cx.v3beta1.ListFlowsResponse\""
- + "H\202\323\344\223\0029\0227/v3beta1/{parent=projects/*/loc"
- + "ations/*/agents/*}/flows\332A\006parent\022\257\001\n\007Ge"
- + "tFlow\0222.google.cloud.dialogflow.cx.v3bet"
- + "a1.GetFlowRequest\032(.google.cloud.dialogf"
- + "low.cx.v3beta1.Flow\"F\202\323\344\223\0029\0227/v3beta1/{n"
- + "ame=projects/*/locations/*/agents/*/flow"
- + "s/*}\332A\004name\022\314\001\n\nUpdateFlow\0225.google.clou"
- + "d.dialogflow.cx.v3beta1.UpdateFlowReques"
- + "t\032(.google.cloud.dialogflow.cx.v3beta1.F"
- + "low\"]\202\323\344\223\002D2/v3beta1/{parent=projects/*/"
- + "locations/*/agents/*}/flows:import:\001*\312A,"
- + "\n\022ImportFlowResponse\022\026google.protobuf.St"
- + "ruct\022\334\001\n\nExportFlow\0225.google.cloud.dialo"
- + "gflow.cx.v3beta1.ExportFlowRequest\032\035.goo"
- + "gle.longrunning.Operation\"x\202\323\344\223\002C\">/v3be"
- + "ta1/{name=projects/*/locations/*/agents/"
- + "*/flows/*}:export:\001*\312A,\n\022ExportFlowRespo"
- + "nse\022\026google.protobuf.Struct\032x\312A\031dialogfl"
- + "ow.googleapis.com\322AYhttps://www.googleap"
- + "is.com/auth/cloud-platform,https://www.g"
- + "oogleapis.com/auth/dialogflowB\303\001\n&com.go"
- + "ogle.cloud.dialogflow.cx.v3beta1B\tFlowPr"
- + "otoP\001Z6cloud.google.com/go/dialogflow/cx"
- + "/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.C"
- + "loud.Dialogflow.Cx.V3Beta1\352\002&Google::Clo"
- + "ud::Dialogflow::CX::V3beta1b\006proto3"
+ + ".proto\032\034google/protobuf/struct.proto\032\037go"
+ + "ogle/protobuf/timestamp.proto\"\266\003\n\013NluSet"
+ + "tings\022M\n\nmodel_type\030\001 \001(\01629.google.cloud"
+ + ".dialogflow.cx.v3beta1.NluSettings.Model"
+ + "Type\022 \n\030classification_threshold\030\003 \001(\002\022^"
+ + "\n\023model_training_mode\030\004 \001(\0162A.google.clo"
+ + "ud.dialogflow.cx.v3beta1.NluSettings.Mod"
+ + "elTrainingMode\"Y\n\tModelType\022\032\n\026MODEL_TYP"
+ + "E_UNSPECIFIED\020\000\022\027\n\023MODEL_TYPE_STANDARD\020\001"
+ + "\022\027\n\023MODEL_TYPE_ADVANCED\020\003\"{\n\021ModelTraini"
+ + "ngMode\022#\n\037MODEL_TRAINING_MODE_UNSPECIFIE"
+ + "D\020\000\022!\n\035MODEL_TRAINING_MODE_AUTOMATIC\020\001\022\036"
+ + "\n\032MODEL_TRAINING_MODE_MANUAL\020\002\"\345\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\013description\030\003 \001(\t\022N\n\021transition_rout"
+ + "es\030\004 \003(\01323.google.cloud.dialogflow.cx.v3"
+ + "beta1.TransitionRoute\022H\n\016event_handlers\030"
+ + "\n \003(\01320.google.cloud.dialogflow.cx.v3bet"
+ + "a1.EventHandler\022T\n\027transition_route_grou"
+ + "ps\030\017 \003(\tB3\372A0\n.dialogflow.googleapis.com"
+ + "/TransitionRouteGroup\022E\n\014nlu_settings\030\013 "
+ + "\001(\0132/.google.cloud.dialogflow.cx.v3beta1"
+ + ".NluSettings:h\352Ae\n\036dialogflow.googleapis"
+ + ".com/Flow\022Cprojects/{project}/locations/"
+ + "{location}/agents/{agent}/flows/{flow}\"\237"
+ + "\001\n\021CreateFlowRequest\0226\n\006parent\030\001 \001(\tB&\340A"
+ + "\002\372A \022\036dialogflow.googleapis.com/Flow\022;\n\004"
+ + "flow\030\002 \001(\0132(.google.cloud.dialogflow.cx."
+ + "v3beta1.FlowB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t"
+ + "\"X\n\021DeleteFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002"
+ + "\372A \n\036dialogflow.googleapis.com/Flow\022\r\n\005f"
+ + "orce\030\002 \001(\010\"\210\001\n\020ListFlowsRequest\0226\n\006paren"
+ + "t\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.googleapis.c"
+ + "om/Flow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token"
+ + "\030\003 \001(\t\022\025\n\rlanguage_code\030\004 \001(\t\"e\n\021ListFlo"
+ + "wsResponse\0227\n\005flows\030\001 \003(\0132(.google.cloud"
+ + ".dialogflow.cx.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\rlanguage_code\030\002 \001(\t\"\230\001\n\021UpdateFl"
+ + "owRequest\022;\n\004flow\030\001 \001(\0132(.google.cloud.d"
+ + "ialogflow.cx.v3beta1.FlowB\003\340A\002\022/\n\013update"
+ + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022"
+ + "\025\n\rlanguage_code\030\003 \001(\t\"H\n\020TrainFlowReque"
+ + "st\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.goo"
+ + "gleapis.com/Flow\"b\n\023ValidateFlowRequest\022"
+ + "4\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.google"
+ + "apis.com/Flow\022\025\n\rlanguage_code\030\002 \001(\t\"}\n\036"
+ + "GetFlowValidationResultRequest\022D\n\004name\030\001"
+ + " \001(\tB6\340A\002\372A0\n.dialogflow.googleapis.com/"
+ + "FlowValidationResult\022\025\n\rlanguage_code\030\002 "
+ + "\001(\t\"\266\002\n\024FlowValidationResult\022\014\n\004name\030\001 \001"
+ + "(\t\022R\n\023validation_messages\030\002 \003(\01325.google"
+ + ".cloud.dialogflow.cx.v3beta1.ValidationM"
+ + "essage\022/\n\013update_time\030\003 \001(\0132\032.google.pro"
+ + "tobuf.Timestamp:\212\001\352A\206\001\n.dialogflow.googl"
+ + "eapis.com/FlowValidationResult\022Tprojects"
+ + "/{project}/locations/{location}/agents/{"
+ + "agent}/flows/{flow}/validationResult\"\241\002\n"
+ + "\021ImportFlowRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372"
+ + "A \022\036dialogflow.googleapis.com/Flow\022\022\n\010fl"
+ + "ow_uri\030\002 \001(\tH\000\022\026\n\014flow_content\030\003 \001(\014H\000\022Y"
+ + "\n\rimport_option\030\004 \001(\0162B.google.cloud.dia"
+ + "logflow.cx.v3beta1.ImportFlowRequest.Imp"
+ + "ortOption\"E\n\014ImportOption\022\035\n\031IMPORT_OPTI"
+ + "ON_UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002"
+ + "B\006\n\004flow\"G\n\022ImportFlowResponse\0221\n\004flow\030\001"
+ + " \001(\tB#\372A \n\036dialogflow.googleapis.com/Flo"
+ + "w\"\207\001\n\021ExportFlowRequest\0224\n\004name\030\001 \001(\tB&\340"
+ + "A\002\372A \n\036dialogflow.googleapis.com/Flow\022\025\n"
+ + "\010flow_uri\030\002 \001(\tB\003\340A\001\022%\n\030include_referenc"
+ + "ed_flows\030\004 \001(\010B\003\340A\001\"H\n\022ExportFlowRespons"
+ + "e\022\022\n\010flow_uri\030\001 \001(\tH\000\022\026\n\014flow_content\030\002 "
+ + "\001(\014H\000B\006\n\004flow2\233\021\n\005Flows\022\302\001\n\nCreateFlow\0225"
+ + ".google.cloud.dialogflow.cx.v3beta1.Crea"
+ + "teFlowRequest\032(.google.cloud.dialogflow."
+ + "cx.v3beta1.Flow\"S\202\323\344\223\002?\"7/v3beta1/{paren"
+ + "t=projects/*/locations/*/agents/*}/flows"
+ + ":\004flow\332A\013parent,flow\022\243\001\n\nDeleteFlow\0225.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.DeleteF"
+ + "lowRequest\032\026.google.protobuf.Empty\"F\202\323\344\223"
+ + "\0029*7/v3beta1/{name=projects/*/locations/"
+ + "*/agents/*/flows/*}\332A\004name\022\302\001\n\tListFlows"
+ + "\0224.google.cloud.dialogflow.cx.v3beta1.Li"
+ + "stFlowsRequest\0325.google.cloud.dialogflow"
+ + ".cx.v3beta1.ListFlowsResponse\"H\202\323\344\223\0029\0227/"
+ + "v3beta1/{parent=projects/*/locations/*/a"
+ + "gents/*}/flows\332A\006parent\022\257\001\n\007GetFlow\0222.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.GetFlow"
+ + "Request\032(.google.cloud.dialogflow.cx.v3b"
+ + "eta1.Flow\"F\202\323\344\223\0029\0227/v3beta1/{name=projec"
+ + "ts/*/locations/*/agents/*/flows/*}\332A\004nam"
+ + "e\022\314\001\n\nUpdateFlow\0225.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.UpdateFlowRequest\032(.google"
+ + ".cloud.dialogflow.cx.v3beta1.Flow\"]\202\323\344\223\002"
+ + "D2/v3beta1/{parent=projects/*/locations/"
+ + "*/agents/*}/flows:import:\001*\312A,\n\022ImportFl"
+ + "owResponse\022\026google.protobuf.Struct\022\334\001\n\nE"
+ + "xportFlow\0225.google.cloud.dialogflow.cx.v"
+ + "3beta1.ExportFlowRequest\032\035.google.longru"
+ + "nning.Operation\"x\202\323\344\223\002C\">/v3beta1/{name="
+ + "projects/*/locations/*/agents/*/flows/*}"
+ + ":export:\001*\312A,\n\022ExportFlowResponse\022\026googl"
+ + "e.protobuf.Struct\032x\312A\031dialogflow.googlea"
+ + "pis.com\322AYhttps://www.googleapis.com/aut"
+ + "h/cloud-platform,https://www.googleapis."
+ + "com/auth/dialogflowB\303\001\n&com.google.cloud"
+ + ".dialogflow.cx.v3beta1B\tFlowProtoP\001Z6clo"
+ + "ud.google.com/go/dialogflow/cx/apiv3beta"
+ + "1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialo"
+ + "gflow.Cx.V3Beta1\352\002&Google::Cloud::Dialog"
+ + "flow::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -257,6 +258,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3beta1_NluSettings_descriptor =
@@ -414,6 +416,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsDestination.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsDestination.java
new file mode 100644
index 000000000000..761e36b0a8cf
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsDestination.java
@@ -0,0 +1,660 @@
+/*
+ * 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/gcs.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * Google Cloud Storage location for a Dialogflow operation that writes or
+ * exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GcsDestination}
+ */
+public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.GcsDestination)
+ GcsDestinationOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GcsDestination.newBuilder() to construct.
+ private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private GcsDestination() {
+ uri_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GcsDestination();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.class,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder.class);
+ }
+
+ public static final int URI_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The uri.
+ */
+ @java.lang.Override
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ 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();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for uri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
+ }
+ size += getUnknownFields().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.GcsDestination)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination other =
+ (com.google.cloud.dialogflow.cx.v3beta1.GcsDestination) obj;
+
+ if (!getUri().equals(other.getUri())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.GcsDestination parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.GcsDestination 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.GcsDestination parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.GcsDestination 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.GcsDestination parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.GcsDestination 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.GcsDestination 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.GcsDestination 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.GcsDestination 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.GcsDestination 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.GcsDestination 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.GcsDestination 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.GcsDestination 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;
+ }
+ /**
+ *
+ *
+ *
+ * Google Cloud Storage location for a Dialogflow operation that writes or
+ * exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GcsDestination}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.GcsDestination)
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestinationOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.class,
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ uri_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.GcsProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestination getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestination build() {
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.GcsDestination buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.GcsDestination result =
+ new com.google.cloud.dialogflow.cx.v3beta1.GcsDestination(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.GcsDestination result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.uri_ = uri_;
+ }
+ }
+
+ @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.GcsDestination) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.GcsDestination) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.GcsDestination other) {
+ if (other == com.google.cloud.dialogflow.cx.v3beta1.GcsDestination.getDefaultInstance())
+ return this;
+ if (!other.getUri().isEmpty()) {
+ uri_ = other.uri_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ uri_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The uri.
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for uri.
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The uri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUri() {
+ uri_ = getDefaultInstance().getUri();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @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);
+ uri_ = value;
+ bitField0_ |= 0x00000001;
+ 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.GcsDestination)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.GcsDestination)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.GcsDestination DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.GcsDestination();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.GcsDestination getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GcsDestination parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ 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.GcsDestination getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsDestinationOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsDestinationOrBuilder.java
new file mode 100644
index 000000000000..f2f8b85c53c1
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsDestinationOrBuilder.java
@@ -0,0 +1,58 @@
+/*
+ * 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/gcs.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+public interface GcsDestinationOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.GcsDestination)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The uri.
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ *
+ * Required. The Google Cloud Storage URI for the exported objects. A URI is
+ * of the form:
+ * gs://bucket/object-name-or-prefix
+ * Whether a full object name, or just a prefix, its usage depends on the
+ * Dialogflow operation.
+ *
+ *
+ * string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for uri.
+ */
+ com.google.protobuf.ByteString getUriBytes();
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsProto.java
new file mode 100644
index 000000000000..bff8fe653d2f
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GcsProto.java
@@ -0,0 +1,76 @@
+/*
+ * 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/gcs.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+public final class GcsProto {
+ private GcsProto() {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n,google/cloud/dialogflow/cx/v3beta1/gcs"
+ + ".proto\022\"google.cloud.dialogflow.cx.v3bet"
+ + "a1\032\037google/api/field_behavior.proto\"\"\n\016G"
+ + "csDestination\022\020\n\003uri\030\001 \001(\tB\003\340A\002B\302\001\n&com."
+ + "google.cloud.dialogflow.cx.v3beta1B\010GcsP"
+ + "rotoP\001Z6cloud.google.com/go/dialogflow/c"
+ + "x/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google."
+ + "Cloud.Dialogflow.Cx.V3Beta1\352\002&Google::Cl"
+ + "oud::Dialogflow::CX::V3beta1b\006proto3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ });
+ internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3beta1_GcsDestination_descriptor,
+ new java.lang.String[] {
+ "Uri",
+ });
+ 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.FieldBehaviorProto.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextToSpeechSettings.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextToSpeechSettings.java
new file mode 100644
index 000000000000..46bb86d9208b
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextToSpeechSettings.java
@@ -0,0 +1,876 @@
+/*
+ * 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/audio_config.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+/**
+ *
+ *
+ *
+ * Settings related to speech generating.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings}
+ */
+public final class TextToSpeechSettings extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings)
+ TextToSpeechSettingsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TextToSpeechSettings.newBuilder() to construct.
+ private TextToSpeechSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TextToSpeechSettings() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TextToSpeechSettings();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetSynthesizeSpeechConfigs();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.class,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder.class);
+ }
+
+ public static final int SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER = 1;
+
+ private static final class SynthesizeSpeechConfigsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .
+ newDefaultInstance(
+ com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_SynthesizeSpeechConfigsEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig
+ .getDefaultInstance());
+ }
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ internalGetSynthesizeSpeechConfigs() {
+ if (synthesizeSpeechConfigs_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry);
+ }
+ return synthesizeSpeechConfigs_;
+ }
+
+ public int getSynthesizeSpeechConfigsCount() {
+ return internalGetSynthesizeSpeechConfigs().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetSynthesizeSpeechConfigs().getMap().containsKey(key);
+ }
+ /** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ getSynthesizeSpeechConfigs() {
+ return getSynthesizeSpeechConfigsMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.Map<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ getSynthesizeSpeechConfigsMap() {
+ return internalGetSynthesizeSpeechConfigs().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetSynthesizeSpeechConfigs().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetSynthesizeSpeechConfigs().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 {
+ com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ output,
+ internalGetSynthesizeSpeechConfigs(),
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ entry : internalGetSynthesizeSpeechConfigs().getMap().entrySet()) {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs__ =
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(1, synthesizeSpeechConfigs__);
+ }
+ size += getUnknownFields().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.TextToSpeechSettings)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings other =
+ (com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings) obj;
+
+ if (!internalGetSynthesizeSpeechConfigs().equals(other.internalGetSynthesizeSpeechConfigs()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetSynthesizeSpeechConfigs().getMap().isEmpty()) {
+ hash = (37 * hash) + SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetSynthesizeSpeechConfigs().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings 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.TextToSpeechSettings parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings 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.TextToSpeechSettings parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings 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.TextToSpeechSettings 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.TextToSpeechSettings 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.TextToSpeechSettings 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.TextToSpeechSettings 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.TextToSpeechSettings 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.TextToSpeechSettings 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.TextToSpeechSettings 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;
+ }
+ /**
+ *
+ *
+ *
+ * Settings related to speech generating.
+ *
+ *
+ * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings)
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetSynthesizeSpeechConfigs();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableSynthesizeSpeechConfigs();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.class,
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.Builder.class);
+ }
+
+ // Construct using com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableSynthesizeSpeechConfigs().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.AudioConfigProto
+ .internal_static_google_cloud_dialogflow_cx_v3beta1_TextToSpeechSettings_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings getDefaultInstanceForType() {
+ return com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings build() {
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings buildPartial() {
+ com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings result =
+ new com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.synthesizeSpeechConfigs_ = internalGetSynthesizeSpeechConfigs();
+ result.synthesizeSpeechConfigs_.makeImmutable();
+ }
+ }
+
+ @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.TextToSpeechSettings) {
+ return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings other) {
+ if (other == com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings.getDefaultInstance())
+ return this;
+ internalGetMutableSynthesizeSpeechConfigs()
+ .mergeFrom(other.internalGetSynthesizeSpeechConfigs());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.protobuf.MapEntry<
+ java.lang.String,
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs__ =
+ input.readMessage(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry
+ .getParserForType(),
+ extensionRegistry);
+ internalGetMutableSynthesizeSpeechConfigs()
+ .getMutableMap()
+ .put(synthesizeSpeechConfigs__.getKey(), synthesizeSpeechConfigs__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ synthesizeSpeechConfigs_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ internalGetSynthesizeSpeechConfigs() {
+ if (synthesizeSpeechConfigs_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry);
+ }
+ return synthesizeSpeechConfigs_;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ internalGetMutableSynthesizeSpeechConfigs() {
+ if (synthesizeSpeechConfigs_ == null) {
+ synthesizeSpeechConfigs_ =
+ com.google.protobuf.MapField.newMapField(
+ SynthesizeSpeechConfigsDefaultEntryHolder.defaultEntry);
+ }
+ if (!synthesizeSpeechConfigs_.isMutable()) {
+ synthesizeSpeechConfigs_ = synthesizeSpeechConfigs_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return synthesizeSpeechConfigs_;
+ }
+
+ public int getSynthesizeSpeechConfigsCount() {
+ return internalGetSynthesizeSpeechConfigs().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetSynthesizeSpeechConfigs().getMap().containsKey(key);
+ }
+ /** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ getSynthesizeSpeechConfigs() {
+ return getSynthesizeSpeechConfigsMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.Map<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ getSynthesizeSpeechConfigsMap() {
+ return internalGetSynthesizeSpeechConfigs().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetSynthesizeSpeechConfigs().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig
+ getSynthesizeSpeechConfigsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetSynthesizeSpeechConfigs().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public Builder clearSynthesizeSpeechConfigs() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().clear();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ public Builder removeSynthesizeSpeechConfigs(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ getMutableSynthesizeSpeechConfigs() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableSynthesizeSpeechConfigs().getMutableMap();
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ public Builder putSynthesizeSpeechConfigs(
+ java.lang.String key, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ public Builder putAllSynthesizeSpeechConfigs(
+ java.util.Map<
+ java.lang.String, com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig>
+ values) {
+ internalGetMutableSynthesizeSpeechConfigs().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000001;
+ 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.TextToSpeechSettings)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings)
+ private static final com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TextToSpeechSettings parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ 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.TextToSpeechSettings getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextToSpeechSettingsOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextToSpeechSettingsOrBuilder.java
new file mode 100644
index 000000000000..cab37c599cbc
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TextToSpeechSettingsOrBuilder.java
@@ -0,0 +1,106 @@
+/*
+ * 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/audio_config.proto
+
+package com.google.cloud.dialogflow.cx.v3beta1;
+
+public interface TextToSpeechSettingsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ int getSynthesizeSpeechConfigsCount();
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ boolean containsSynthesizeSpeechConfigs(java.lang.String key);
+ /** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ getSynthesizeSpeechConfigs();
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ java.util.Map
+ getSynthesizeSpeechConfigsMap();
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig defaultValue);
+ /**
+ *
+ *
+ *
+ * Configuration of how speech should be synthesized, mapping from
+ * language (https://dialogflow.com/docs/reference/language) to
+ * SynthesizeSpeechConfig.
+ *
+ *
+ *
+ * map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(
+ java.lang.String key);
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionProto.java
index 76e52d9ef7a2..c44b0d6596cc 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/VersionProto.java
@@ -88,99 +88,100 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "o\032-google/cloud/dialogflow/cx/v3beta1/fl"
+ "ow.proto\032#google/longrunning/operations."
+ "proto\032\033google/protobuf/empty.proto\032 goog"
- + "le/protobuf/field_mask.proto\032\037google/pro"
- + "tobuf/timestamp.proto\"Y\n\036CreateVersionOp"
- + "erationMetadata\0227\n\007version\030\001 \001(\tB&\372A#\n!d"
- + "ialogflow.googleapis.com/Version\"\330\003\n\007Ver"
- + "sion\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\t"
- + "B\003\340A\002\022\023\n\013description\030\003 \001(\t\022J\n\014nlu_settin"
- + "gs\030\004 \001(\0132/.google.cloud.dialogflow.cx.v3"
- + "beta1.NluSettingsB\003\340A\003\0224\n\013create_time\030\005 "
- + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022E\n\005"
- + "state\030\006 \001(\01621.google.cloud.dialogflow.cx"
- + ".v3beta1.Version.StateB\003\340A\003\"F\n\005State\022\025\n\021"
- + "STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCC"
- + "EEDED\020\002\022\n\n\006FAILED\020\003:~\352A{\n!dialogflow.goo"
- + "gleapis.com/Version\022Vprojects/{project}/"
- + "locations/{location}/agents/{agent}/flow"
- + "s/{flow}/versions/{version}\"w\n\023ListVersi"
- + "onsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dial"
- + "ogflow.googleapis.com/Version\022\021\n\tpage_si"
- + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\024ListVers"
- + "ionsResponse\022=\n\010versions\030\001 \003(\0132+.google."
- + "cloud.dialogflow.cx.v3beta1.Version\022\027\n\017n"
- + "ext_page_token\030\002 \001(\t\"L\n\021GetVersionReques"
- + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.goog"
- + "leapis.com/Version\"\224\001\n\024CreateVersionRequ"
- + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow."
- + "googleapis.com/Version\022A\n\007version\030\002 \001(\0132"
- + "+.google.cloud.dialogflow.cx.v3beta1.Ver"
- + "sionB\003\340A\002\"\217\001\n\024UpdateVersionRequest\022A\n\007ve"
- + "rsion\030\001 \001(\0132+.google.cloud.dialogflow.cx"
- + ".v3beta1.VersionB\003\340A\002\0224\n\013update_mask\030\002 \001"
- + "(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"O\n\024D"
- + "eleteVersionRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A"
- + "#\n!dialogflow.googleapis.com/Version\"u\n\022"
- + "LoadVersionRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#"
- + "\n!dialogflow.googleapis.com/Version\022&\n\036a"
- + "llow_override_agent_resources\030\002 \001(\010\"\263\001\n\026"
- + "CompareVersionsRequest\022?\n\014base_version\030\001"
- + " \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com/"
- + "Version\022A\n\016target_version\030\002 \001(\tB)\340A\002\372A#\n"
- + "!dialogflow.googleapis.com/Version\022\025\n\rla"
- + "nguage_code\030\003 \001(\t\"\223\001\n\027CompareVersionsRes"
- + "ponse\022!\n\031base_version_content_json\030\001 \001(\t"
- + "\022#\n\033target_version_content_json\030\002 \001(\t\0220\n"
- + "\014compare_time\030\003 \001(\0132\032.google.protobuf.Ti"
- + "mestamp2\274\r\n\010Versions\022\326\001\n\014ListVersions\0227."
- + "google.cloud.dialogflow.cx.v3beta1.ListV"
- + "ersionsRequest\0328.google.cloud.dialogflow"
- + ".cx.v3beta1.ListVersionsResponse\"S\202\323\344\223\002D"
- + "\022B/v3beta1/{parent=projects/*/locations/"
- + "*/agents/*/flows/*}/versions\332A\006parent\022\303\001"
- + "\n\nGetVersion\0225.google.cloud.dialogflow.c"
- + "x.v3beta1.GetVersionRequest\032+.google.clo"
- + "ud.dialogflow.cx.v3beta1.Version\"Q\202\323\344\223\002D"
- + "\022B/v3beta1/{name=projects/*/locations/*/"
- + "agents/*/flows/*/versions/*}\332A\004name\022\373\001\n\r"
- + "CreateVersion\0228.google.cloud.dialogflow."
- + "cx.v3beta1.CreateVersionRequest\032\035.google"
- + ".longrunning.Operation\"\220\001\202\323\344\223\002M\"B/v3beta"
- + "1/{parent=projects/*/locations/*/agents/"
- + "*/flows/*}/versions:\007version\332A\016parent,ve"
- + "rsion\312A)\n\007Version\022\036CreateVersionOperatio"
- + "nMetadata\022\351\001\n\rUpdateVersion\0228.google.clo"
- + "ud.dialogflow.cx.v3beta1.UpdateVersionRe"
- + "quest\032+.google.cloud.dialogflow.cx.v3bet"
- + "a1.Version\"q\202\323\344\223\002U2J/v3beta1/{version.na"
- + "me=projects/*/locations/*/agents/*/flows"
- + "/*/versions/*}:\007version\332A\023version,update"
- + "_mask\022\264\001\n\rDeleteVersion\0228.google.cloud.d"
- + "ialogflow.cx.v3beta1.DeleteVersionReques"
- + "t\032\026.google.protobuf.Empty\"Q\202\323\344\223\002D*B/v3be"
- + "ta1/{name=projects/*/locations/*/agents/"
- + "*/flows/*/versions/*}\332A\004name\022\362\001\n\013LoadVer"
- + "sion\0226.google.cloud.dialogflow.cx.v3beta"
- + "1.LoadVersionRequest\032\035.google.longrunnin"
- + "g.Operation\"\213\001\202\323\344\223\002L\"G/v3beta1/{name=pro"
+ + "le/protobuf/field_mask.proto\032\034google/pro"
+ + "tobuf/struct.proto\032\037google/protobuf/time"
+ + "stamp.proto\"Y\n\036CreateVersionOperationMet"
+ + "adata\0227\n\007version\030\001 \001(\tB&\372A#\n!dialogflow."
+ + "googleapis.com/Version\"\330\003\n\007Version\022\014\n\004na"
+ + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013d"
+ + "escription\030\003 \001(\t\022J\n\014nlu_settings\030\004 \001(\0132/"
+ + ".google.cloud.dialogflow.cx.v3beta1.NluS"
+ + "ettingsB\003\340A\003\0224\n\013create_time\030\005 \001(\0132\032.goog"
+ + "le.protobuf.TimestampB\003\340A\003\022E\n\005state\030\006 \001("
+ + "\01621.google.cloud.dialogflow.cx.v3beta1.V"
+ + "ersion.StateB\003\340A\003\"F\n\005State\022\025\n\021STATE_UNSP"
+ + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n"
+ + "\006FAILED\020\003:~\352A{\n!dialogflow.googleapis.co"
+ + "m/Version\022Vprojects/{project}/locations/"
+ + "{location}/agents/{agent}/flows/{flow}/v"
+ + "ersions/{version}\"w\n\023ListVersionsRequest"
+ + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.goo"
+ + "gleapis.com/Version\022\021\n\tpage_size\030\002 \001(\005\022\022"
+ + "\n\npage_token\030\003 \001(\t\"n\n\024ListVersionsRespon"
+ + "se\022=\n\010versions\030\001 \003(\0132+.google.cloud.dial"
+ + "ogflow.cx.v3beta1.Version\022\027\n\017next_page_t"
+ + "oken\030\002 \001(\t\"L\n\021GetVersionRequest\0227\n\004name\030"
+ + "\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis.com"
+ + "/Version\"\224\001\n\024CreateVersionRequest\0229\n\006par"
+ + "ent\030\001 \001(\tB)\340A\002\372A#\022!dialogflow.googleapis"
+ + ".com/Version\022A\n\007version\030\002 \001(\0132+.google.c"
+ + "loud.dialogflow.cx.v3beta1.VersionB\003\340A\002\""
+ + "\217\001\n\024UpdateVersionRequest\022A\n\007version\030\001 \001("
+ + "\0132+.google.cloud.dialogflow.cx.v3beta1.V"
+ + "ersionB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl"
+ + "e.protobuf.FieldMaskB\003\340A\002\"O\n\024DeleteVersi"
+ + "onRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialogf"
+ + "low.googleapis.com/Version\"u\n\022LoadVersio"
+ + "nRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialogfl"
+ + "ow.googleapis.com/Version\022&\n\036allow_overr"
+ + "ide_agent_resources\030\002 \001(\010\"\263\001\n\026CompareVer"
+ + "sionsRequest\022?\n\014base_version\030\001 \001(\tB)\340A\002\372"
+ + "A#\n!dialogflow.googleapis.com/Version\022A\n"
+ + "\016target_version\030\002 \001(\tB)\340A\002\372A#\n!dialogflo"
+ + "w.googleapis.com/Version\022\025\n\rlanguage_cod"
+ + "e\030\003 \001(\t\"\223\001\n\027CompareVersionsResponse\022!\n\031b"
+ + "ase_version_content_json\030\001 \001(\t\022#\n\033target"
+ + "_version_content_json\030\002 \001(\t\0220\n\014compare_t"
+ + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp2\274\r"
+ + "\n\010Versions\022\326\001\n\014ListVersions\0227.google.clo"
+ + "ud.dialogflow.cx.v3beta1.ListVersionsReq"
+ + "uest\0328.google.cloud.dialogflow.cx.v3beta"
+ + "1.ListVersionsResponse\"S\202\323\344\223\002D\022B/v3beta1"
+ + "/{parent=projects/*/locations/*/agents/*"
+ + "/flows/*}/versions\332A\006parent\022\303\001\n\nGetVersi"
+ + "on\0225.google.cloud.dialogflow.cx.v3beta1."
+ + "GetVersionRequest\032+.google.cloud.dialogf"
+ + "low.cx.v3beta1.Version\"Q\202\323\344\223\002D\022B/v3beta1"
+ + "/{name=projects/*/locations/*/agents/*/f"
+ + "lows/*/versions/*}\332A\004name\022\373\001\n\rCreateVers"
+ + "ion\0228.google.cloud.dialogflow.cx.v3beta1"
+ + ".CreateVersionRequest\032\035.google.longrunni"
+ + "ng.Operation\"\220\001\202\323\344\223\002M\"B/v3beta1/{parent="
+ + "projects/*/locations/*/agents/*/flows/*}"
+ + "/versions:\007version\332A\016parent,version\312A)\n\007"
+ + "Version\022\036CreateVersionOperationMetadata\022"
+ + "\351\001\n\rUpdateVersion\0228.google.cloud.dialogf"
+ + "low.cx.v3beta1.UpdateVersionRequest\032+.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.Version"
+ + "\"q\202\323\344\223\002U2J/v3beta1/{version.name=project"
+ + "s/*/locations/*/agents/*/flows/*/version"
+ + "s/*}:\007version\332A\023version,update_mask\022\264\001\n\r"
+ + "DeleteVersion\0228.google.cloud.dialogflow."
+ + "cx.v3beta1.DeleteVersionRequest\032\026.google"
+ + ".protobuf.Empty\"Q\202\323\344\223\002D*B/v3beta1/{name="
+ + "projects/*/locations/*/agents/*/flows/*/"
+ + "versions/*}\332A\004name\022\362\001\n\013LoadVersion\0226.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.LoadVers"
+ + "ionRequest\032\035.google.longrunning.Operatio"
+ + "n\"\213\001\202\323\344\223\002L\"G/v3beta1/{name=projects/*/lo"
+ + "cations/*/agents/*/flows/*/versions/*}:l"
+ + "oad:\001*\332A\004name\312A/\n\025google.protobuf.Empty\022"
+ + "\026google.protobuf.Struct\022\200\002\n\017CompareVersi"
+ + "ons\022:.google.cloud.dialogflow.cx.v3beta1"
+ + ".CompareVersionsRequest\032;.google.cloud.d"
+ + "ialogflow.cx.v3beta1.CompareVersionsResp"
+ + "onse\"t\202\323\344\223\002_\"Z/v3beta1/{base_version=pro"
+ "jects/*/locations/*/agents/*/flows/*/ver"
- + "sions/*}:load:\001*\332A\004name\312A/\n\025google.proto"
- + "buf.Empty\022\026google.protobuf.Struct\022\200\002\n\017Co"
- + "mpareVersions\022:.google.cloud.dialogflow."
- + "cx.v3beta1.CompareVersionsRequest\032;.goog"
- + "le.cloud.dialogflow.cx.v3beta1.CompareVe"
- + "rsionsResponse\"t\202\323\344\223\002_\"Z/v3beta1/{base_v"
- + "ersion=projects/*/locations/*/agents/*/f"
- + "lows/*/versions/*}:compareVersions:\001*\332A\014"
- + "base_version\032x\312A\031dialogflow.googleapis.c"
- + "om\322AYhttps://www.googleapis.com/auth/clo"
- + "ud-platform,https://www.googleapis.com/a"
- + "uth/dialogflowB\306\001\n&com.google.cloud.dial"
- + "ogflow.cx.v3beta1B\014VersionProtoP\001Z6cloud"
- + ".google.com/go/dialogflow/cx/apiv3beta1/"
- + "cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogf"
- + "low.Cx.V3Beta1\352\002&Google::Cloud::Dialogfl"
- + "ow::CX::V3beta1b\006proto3"
+ + "sions/*}:compareVersions:\001*\332A\014base_versi"
+ + "on\032x\312A\031dialogflow.googleapis.com\322AYhttps"
+ + "://www.googleapis.com/auth/cloud-platfor"
+ + "m,https://www.googleapis.com/auth/dialog"
+ + "flowB\306\001\n&com.google.cloud.dialogflow.cx."
+ + "v3beta1B\014VersionProtoP\001Z6cloud.google.co"
+ + "m/go/dialogflow/cx/apiv3beta1/cxpb;cxpb\370"
+ + "\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3B"
+ + "eta1\352\002&Google::Cloud::Dialogflow::CX::V3"
+ + "beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -194,6 +195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_dialogflow_cx_v3beta1_CreateVersionOperationMetadata_descriptor =
@@ -304,6 +306,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto
index 4b5ee62bd1f4..32e181b8a84b 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto
@@ -17,6 +17,7 @@ syntax = "proto3";
package google.cloud.dialogflow.cx.v3beta1;
import "google/api/field_behavior.proto";
+import "google/cloud/dialogflow/cx/v3beta1/gcs.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1";
@@ -48,6 +49,13 @@ message AdvancedSettings {
bool enable_interaction_logging = 3;
}
+ // If present, incoming audio is exported by Dialogflow to the configured
+ // Google Cloud Storage destination.
+ // Exposed at the following levels:
+ // - Agent level
+ // - Flow level
+ GcsDestination audio_export_gcs_destination = 2;
+
// Settings for logging.
// Settings for Dialogflow History, Contact Center messages, StackDriver logs,
// and speech logging.
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
index 96ce5cdd312a..d3f314ee4fa3 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
@@ -21,10 +21,12 @@ import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto";
+import "google/cloud/dialogflow/cx/v3beta1/audio_config.proto";
import "google/cloud/dialogflow/cx/v3beta1/flow.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1";
@@ -266,6 +268,10 @@ message Agent {
// Hierarchical advanced settings for this agent. The settings exposed at the
// lower level overrides the settings exposed at the higher level.
AdvancedSettings advanced_settings = 22;
+
+ // Settings on instructing the speech synthesizer on how to generate the
+ // output audio content.
+ TextToSpeechSettings text_to_speech_settings = 31;
}
// The request message for
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto
index bc8a5c5839a6..455b3695cb2a 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/audio_config.proto
@@ -316,3 +316,11 @@ message OutputAudioConfig {
// Optional. Configuration of how speech should be synthesized.
SynthesizeSpeechConfig synthesize_speech_config = 3;
}
+
+// Settings related to speech generating.
+message TextToSpeechSettings {
+ // Configuration of how speech should be synthesized, mapping from
+ // language (https://dialogflow.com/docs/reference/language) to
+ // SynthesizeSpeechConfig.
+ map synthesize_speech_configs = 1;
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/environment.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/environment.proto
index b1822e2327f9..6b975bf997ac 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/environment.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/environment.proto
@@ -25,6 +25,7 @@ import "google/cloud/dialogflow/cx/v3beta1/webhook.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
@@ -253,12 +254,11 @@ message Environment {
// 500 characters. If exceeded, the request is rejected.
string description = 3;
- // Required. A list of configurations for flow versions. You should include
- // version configs for all flows that are reachable from [`Start
+ // A list of configurations for flow versions. You should include version
+ // configs for all flows that are reachable from [`Start
// Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
// returned.
- repeated VersionConfig version_configs = 6
- [(google.api.field_behavior) = REQUIRED];
+ repeated VersionConfig version_configs = 6;
// Output only. Update time of this environment.
google.protobuf.Timestamp update_time = 5
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto
index ded289e759cd..736ce1acdd46 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/flow.proto
@@ -25,6 +25,7 @@ import "google/cloud/dialogflow/cx/v3beta1/validation_message.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/gcs.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/gcs.proto
new file mode 100644
index 000000000000..19ed9a8f1ed7
--- /dev/null
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/gcs.proto
@@ -0,0 +1,39 @@
+// Copyright 2022 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
+//
+// http://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.
+
+syntax = "proto3";
+
+package google.cloud.dialogflow.cx.v3beta1;
+
+import "google/api/field_behavior.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1";
+option go_package = "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb;cxpb";
+option java_multiple_files = true;
+option java_outer_classname = "GcsProto";
+option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
+option objc_class_prefix = "DF";
+option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";
+
+// Google Cloud Storage location for a Dialogflow operation that writes or
+// exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
+message GcsDestination {
+ // Required. The Google Cloud Storage URI for the exported objects. A URI is
+ // of the form:
+ // gs://bucket/object-name-or-prefix
+ // Whether a full object name, or just a prefix, its usage depends on the
+ // Dialogflow operation.
+ string uri = 1 [(google.api.field_behavior) = REQUIRED];
+}
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto
index 0a07206a4c69..52b58025be27 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/version.proto
@@ -24,6 +24,7 @@ import "google/cloud/dialogflow/cx/v3beta1/flow.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
+import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/AsyncMatchIntent.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/AsyncMatchIntent.java
index b22a2cfcb25b..eb7a400f0742 100644
--- a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/AsyncMatchIntent.java
+++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/AsyncMatchIntent.java
@@ -46,6 +46,7 @@ public static void asyncMatchIntent() throws Exception {
.toString())
.setQueryParams(QueryParameters.newBuilder().build())
.setQueryInput(QueryInput.newBuilder().build())
+ .setPersistParameterChanges(true)
.build();
ApiFuture future =
sessionsClient.matchIntentCallable().futureCall(request);
diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/SyncMatchIntent.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/SyncMatchIntent.java
index e6d08eb3db31..e0f80080c135 100644
--- a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/SyncMatchIntent.java
+++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3/sessions/matchintent/SyncMatchIntent.java
@@ -45,6 +45,7 @@ public static void syncMatchIntent() throws Exception {
.toString())
.setQueryParams(QueryParameters.newBuilder().build())
.setQueryInput(QueryInput.newBuilder().build())
+ .setPersistParameterChanges(true)
.build();
MatchIntentResponse response = sessionsClient.matchIntent(request);
}