[[["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 contains reference documentation and resources for the Dialogflow Java client library, including links to the library reference, language guide, and GitHub repository.\u003c/p\u003e\n"],["\u003cp\u003eThe Dialogflow Java client library can be installed using Maven, Gradle, or sbt, with specific instructions provided for each build tool.\u003c/p\u003e\n"],["\u003cp\u003eIDE plugins like Cloud Code for VS Code, Cloud Code for IntelliJ, and Cloud Tools for Eclipse can be used to add and manage client libraries within your project.\u003c/p\u003e\n"],["\u003cp\u003eThe Java client library is not supported on Android.\u003c/p\u003e\n"],["\u003cp\u003eThe page also describes how to utilize the V2Beta1 client library, which includes new features not yet available with the V2 API, but it is still in beta.\u003c/p\u003e\n"]]],[],null,["This page provides reference documentation and related resources for the\nDialogflow Java client library.\n\n| Resource | Description |\n|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [Library reference](https://cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2) | Dialogflow Java library reference |\n| [Language guide](https://cloud.google.com/java/docs/) | General guide for using Java with GCP |\n| [GitHub repository](https://github.com/googleapis/java-dialogflow) | Source code and additional documentation for this library |\n| [Quickstart](/dialogflow/docs/quick/api) | Introduction to using this library |\n| [Stack Overflow](http://stackoverflow.com/search?q=%5Bdialogflow%5D+%5Bjava%5D) | Questions tagged with Dialogflow and Java |\n\nInstallation\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\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:4.78.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\" % \"4.78.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\nV2Beta1 client library **Beta** \n| The V2Beta1 API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy. The V2Beta1 API is not intended for real-time usage in critical applications.\n\nDialogflow's V2Beta1 API offers new features that are not yet available with the V2 API.\nTo use the V2Beta1 client library:\n\n- Enable beta features. See [agent general settings](/dialogflow/docs/agents-settings#general).\n- Specify the V2Beta1 API in your code by using the following import statement:\n\n import com.google.cloud.dialogflow.v2beta1.*;"]]