Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
// Personal information about the person making a bookingmessageClientInformation{// Given name of the clientstringgiven_name=1;// Family name of the clientstringfamily_name=2;// Address of the client (optional)PostalAddressaddress=3;// Phone number of the client (required)stringtelephone=4;// Email address of the clientstringemail=5;}// Postal address for a clientmessagePostalAddress{// The country, e.g. "USA".stringaddress_country=1;// The locality, e.g. "Mountain View".stringaddress_locality=2;// The region, e.g. "CA".stringaddress_region=3;// The post office box number, e.g. "3112", optional.stringpost_office_box_number=4;// The postal code, e.g. "94043".stringpostal_code=5;// The street address, e.g. "1600 Amphitheatre Pkwy".stringstreet_address=6;}
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/05/24 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/05/24 (UTC)."],[[["`ClientInformation` message stores personal details of a client making a booking, including name, address, phone number, and email."],["`PostalAddress` message provides detailed address information of a client, encompassing country, locality, region, post office box (optional), postal code, and street address."],["A client's phone number is required when creating a booking, while their address is optional."]]],["The content defines two data structures: `ClientInformation` and `PostalAddress`. `ClientInformation` stores a client's given name, family name, optional address, required telephone number, and email. `PostalAddress` breaks down an address into country, locality, region, optional post office box number, postal code, and street address. This data is used to collect and organize personal information required for booking.\n"]]