Présentation des API et des bibliothèques clientes
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Interfaces disponibles
Vous pouvez utiliser l'une des interfaces de programmation lorsque vous interagissez avec Dataproc. Voici les interfaces disponibles, dans l'ordre dans lequel nous vous recommandons de les utiliser :
Bibliothèques clientes Google Cloud : les bibliothèques clientes de Dataproc (versions alpha et bêta) sont disponibles dans plusieurs langages et reposent sur gRPC. Ces bibliothèques clientes fournissent une couche d'abstraction au-dessus de gRPC et gèrent les détails de l'interrogation des opérations, des tentatives, etc.
gRPC : si aucune bibliothèque cliente n'est disponible dans le langage de programmation de votre choix, vous pouvez générer des bibliothèques clientes gRPC pour Dataproc dans n'importe quel langage accepté par gRPC. Pour cela, vous aurez besoin de la définition de service Protocol Buffers disponible dans le dépôt sur GitHub.
Vous pouvez ensuite suivre les instructions de votre langage préféré sur grpc.io pour générer et utiliser votre client.
API REST : si vous n'êtes pas en mesure d'utiliser les bibliothèques clientes de Dataproc ou l'API gRPC, utilisez l'API REST.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eDataproc offers multiple programmatic interfaces for interaction, with Google Cloud Client Libraries being the recommended option.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Cloud Client Libraries are available in various languages, built on gRPC, and manage operational details like polling and retries.\u003c/p\u003e\n"],["\u003cp\u003eIf a client library is unavailable for your programming language, you can generate gRPC client libraries using protocol buffers from the Google repository.\u003c/p\u003e\n"],["\u003cp\u003eAs an alternative when client libraries or gRPC API is not an option, the Dataproc REST API can be utilized.\u003c/p\u003e\n"]]],[],null,["Available interfaces\n\nYou can use one of several programmatic interfaces when interacting with\nDataproc. These are the available interfaces, in the order that\nwe recommend using them:\n\n- [Google Cloud Client Libraries](/apis/docs/client-libraries-explained#google_cloud_client_libraries):\n Dataproc\n ([alpha and beta release](/terms/launch-stages#launch-stages))\n client libraries are available in multiple languages and\n are built on [gRPC](https://grpc.io/). These client\n libraries provide a layer of abstraction on top of\n gRPC and handle the details of operation polling, retries, and more.\n\n | **Note:** Although the Cloud Client Libraries are the preferred library choice, [Google API Client Libraries](https://developers.google.com/api-client-library/) for Dataproc are also available. These \"legacy\" libraries access REST but not gRPC APIs (see [Google API Client Libraries](/apis/docs/client-libraries-explained#google_api_client_libraries) for additional information).\n- [gRPC](/dataproc/docs/reference/rpc): If a client library is not available\n for your programming language of choice, you can generate gRPC client\n libraries for Dataproc in any gRPC-supported language. To do this, you'll\n need the\n [protocol buffers](https://developers.google.com/protocol-buffers/)\n service definition available from\n [our repository on GitHub](https://github.com/googleapis/googleapis).\n You can then follow the instructions for your preferred language on\n [grpc.io](https://grpc.io/) to generate and use your\n client.\n\n- [REST API](/dataproc/docs/reference/rest): If you're unable\n to use Dataproc's client libraries or the gRPC API, use the REST API."]]