Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
The plugins provide additional functionality, such as key management for service accounts. Refer
to each plugin's documentation for details.
V3Beta1 client library
Dialogflow's V3Beta1 API offers new features
that are not yet available with the V3 API.
To use the V3Beta1 client library,
specify the V3Beta1 API in your code
by using the following import statement:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis page serves as a comprehensive resource hub for the Dialogflow Java client library, providing essential documentation and resources for developers.\u003c/p\u003e\n"],["\u003cp\u003eThe Dialogflow Java library reference, general Java with GCP guide, and the library's GitHub repository are readily available for in-depth exploration.\u003c/p\u003e\n"],["\u003cp\u003eThe library can be installed via Maven, Gradle, or sbt, with specific instructions for each dependency management system provided.\u003c/p\u003e\n"],["\u003cp\u003eThe Java client library does not support Android development.\u003c/p\u003e\n"],["\u003cp\u003eThe V3Beta1 API, while offering new features, is currently in beta, and not recommended for real-time critical applications.\u003c/p\u003e\n"]]],[],null,["# Java client library\n\nThis page provides reference documentation and related resources for the\nDialogflow Java client library.\n\n### Installation\n\n\nTo install the client library:\n| **Caution:**The Java client library does not support Android.\n\nIf you are using [Maven](https://maven.apache.org/), add\nthe following to your `pom.xml` file. For more information about\nBOMs, see [The Google Cloud Platform Libraries BOM](https://cloud.google.com/java/docs/bom). \n\n \u003cdependencyManagement\u003e\n \u003cdependencies\u003e\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003elibraries-bom\u003c/artifactId\u003e\n \u003cversion\u003e26.66.0\u003c/version\u003e\n \u003ctype\u003epom\u003c/type\u003e\n \u003cscope\u003eimport\u003c/scope\u003e\n \u003c/dependency\u003e\n \u003c/dependencies\u003e\n \u003c/dependencyManagement\u003e\n\n \u003cdependencies\u003e\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003egoogle-cloud-dialogflow-cx\u003c/artifactId\u003e\n \u003c/dependency\u003e\n \u003c/dependencies\u003e\n\nIf you are using [Gradle](https://gradle.org/),\nadd the following to your dependencies: \n\n implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.83.0'\n\nIf you are using [sbt](https://www.scala-sbt.org/), add\nthe following to your dependencies: \n\n libraryDependencies += \"com.google.cloud\" % \"google-cloud-dialogflow-cx\" % \"0.83.0\"\n\nIf you're using Visual Studio Code, IntelliJ, or Eclipse, you can add client libraries to your\nproject using the following IDE plugins:\n\n- [Cloud Code for VS Code](/code/docs/vscode/client-libraries)\n- [Cloud Code for IntelliJ](/code/docs/intellij/client-libraries)\n- [Cloud Tools for Eclipse](/eclipse/docs/libraries)\n\nThe plugins provide additional functionality, such as key management for service accounts. Refer\nto each plugin's documentation for details.\n| **Note:** Cloud Java client libraries do not currently support Android.\n\nV3Beta1 client library\n----------------------\n\n| **Beta** \n| The V3Beta1 API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy. The V3Beta1 API is not intended for real-time usage in critical applications.\n\nDialogflow's V3Beta1 API offers new features\nthat are not yet available with the V3 API.\nTo use the V3Beta1 client library,\nspecify the V3Beta1 API in your code\nby using the following import statement: \n\n import com.google.cloud.dialogflow.cx.v3beta1.*;"]]