books  v1
volume.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 
15 // This code was generated by google-apis-code-generator 1.5.1
16 // Build date: 2018-10-08 17:45:39 UTC
17 // on: 2020-03-14, 18:51:48 UTC
18 // C++ generator version: 0.1.4
19 
20 // ----------------------------------------------------------------------------
21 // NOTE: This file is generated from Google APIs Discovery Service.
22 // Service:
23 // Books API (books/v1)
24 // Generated from:
25 // Version: v1
26 // Revision: 114
27 // Generated by:
28 // Tool: google-apis-code-generator 1.5.1
29 // C++: 0.1.4
30 #ifndef GOOGLE_BOOKS_API_VOLUME_H_
31 #define GOOGLE_BOOKS_API_VOLUME_H_
32 
33 #include <string>
34 #include "googleapis/base/integral_types.h"
35 #include "googleapis/base/macros.h"
36 #include "googleapis/client/data/jsoncpp_data.h"
37 #include "googleapis/client/util/date_time.h"
38 #include "googleapis/strings/stringpiece.h"
39 
40 #include "google/books_api/download_access_restriction.h"
41 #include "google/books_api/reading_position.h"
42 #include "google/books_api/review.h"
43 #include "google/books_api/volumeseriesinfo.h"
44 
45 namespace Json {
46 class Value;
47 } // namespace Json
48 
49 namespace google_books_api {
50 using namespace googleapis;
51 
57 class Volume : public client::JsonCppData {
58  public:
66  class VolumeAccessInfo : public client::JsonCppData {
67  public:
73  class VolumeAccessInfoEpub : public client::JsonCppData {
74  public:
80  static VolumeAccessInfoEpub* New();
81 
87  explicit VolumeAccessInfoEpub(const Json::Value& storage);
88 
94  explicit VolumeAccessInfoEpub(Json::Value* storage);
95 
99  virtual ~VolumeAccessInfoEpub();
100 
106  const StringPiece GetTypeName() const {
107  return StringPiece("google_books_api::VolumeAccessInfoEpub");
108  }
109 
115  bool has_acs_token_link() const {
116  return Storage().isMember("acsTokenLink");
117  }
118 
123  MutableStorage()->removeMember("acsTokenLink");
124  }
125 
126 
130  const StringPiece get_acs_token_link() const {
131  const Json::Value& v = Storage("acsTokenLink");
132  if (v == Json::Value::null) return StringPiece("");
133  return StringPiece(v.asCString());
134  }
135 
143  void set_acs_token_link(const StringPiece& value) {
144  *MutableStorage("acsTokenLink") = value.data();
145  }
146 
152  bool has_download_link() const {
153  return Storage().isMember("downloadLink");
154  }
155 
160  MutableStorage()->removeMember("downloadLink");
161  }
162 
163 
167  const StringPiece get_download_link() const {
168  const Json::Value& v = Storage("downloadLink");
169  if (v == Json::Value::null) return StringPiece("");
170  return StringPiece(v.asCString());
171  }
172 
180  void set_download_link(const StringPiece& value) {
181  *MutableStorage("downloadLink") = value.data();
182  }
183 
189  bool has_is_available() const {
190  return Storage().isMember("isAvailable");
191  }
192 
197  MutableStorage()->removeMember("isAvailable");
198  }
199 
200 
204  bool get_is_available() const {
205  const Json::Value& storage = Storage("isAvailable");
206  return client::JsonValueToCppValueHelper<bool >(storage);
207  }
208 
217  void set_is_available(bool value) {
218  client::SetJsonValueFromCppValueHelper<bool >(
219  value, MutableStorage("isAvailable"));
220  }
221 
222  private:
223  void operator=(const VolumeAccessInfoEpub&);
224  }; // VolumeAccessInfoEpub
230  class VolumeAccessInfoPdf : public client::JsonCppData {
231  public:
237  static VolumeAccessInfoPdf* New();
238 
244  explicit VolumeAccessInfoPdf(const Json::Value& storage);
245 
251  explicit VolumeAccessInfoPdf(Json::Value* storage);
252 
256  virtual ~VolumeAccessInfoPdf();
257 
263  const StringPiece GetTypeName() const {
264  return StringPiece("google_books_api::VolumeAccessInfoPdf");
265  }
266 
272  bool has_acs_token_link() const {
273  return Storage().isMember("acsTokenLink");
274  }
275 
280  MutableStorage()->removeMember("acsTokenLink");
281  }
282 
283 
287  const StringPiece get_acs_token_link() const {
288  const Json::Value& v = Storage("acsTokenLink");
289  if (v == Json::Value::null) return StringPiece("");
290  return StringPiece(v.asCString());
291  }
292 
300  void set_acs_token_link(const StringPiece& value) {
301  *MutableStorage("acsTokenLink") = value.data();
302  }
303 
309  bool has_download_link() const {
310  return Storage().isMember("downloadLink");
311  }
312 
317  MutableStorage()->removeMember("downloadLink");
318  }
319 
320 
324  const StringPiece get_download_link() const {
325  const Json::Value& v = Storage("downloadLink");
326  if (v == Json::Value::null) return StringPiece("");
327  return StringPiece(v.asCString());
328  }
329 
337  void set_download_link(const StringPiece& value) {
338  *MutableStorage("downloadLink") = value.data();
339  }
340 
346  bool has_is_available() const {
347  return Storage().isMember("isAvailable");
348  }
349 
354  MutableStorage()->removeMember("isAvailable");
355  }
356 
357 
361  bool get_is_available() const {
362  const Json::Value& storage = Storage("isAvailable");
363  return client::JsonValueToCppValueHelper<bool >(storage);
364  }
365 
374  void set_is_available(bool value) {
375  client::SetJsonValueFromCppValueHelper<bool >(
376  value, MutableStorage("isAvailable"));
377  }
378 
379  private:
380  void operator=(const VolumeAccessInfoPdf&);
381  }; // VolumeAccessInfoPdf
387  static VolumeAccessInfo* New();
388 
394  explicit VolumeAccessInfo(const Json::Value& storage);
395 
401  explicit VolumeAccessInfo(Json::Value* storage);
402 
406  virtual ~VolumeAccessInfo();
407 
413  const StringPiece GetTypeName() const {
414  return StringPiece("google_books_api::VolumeAccessInfo");
415  }
416 
422  bool has_access_view_status() const {
423  return Storage().isMember("accessViewStatus");
424  }
425 
430  MutableStorage()->removeMember("accessViewStatus");
431  }
432 
433 
437  const StringPiece get_access_view_status() const {
438  const Json::Value& v = Storage("accessViewStatus");
439  if (v == Json::Value::null) return StringPiece("");
440  return StringPiece(v.asCString());
441  }
442 
452  void set_access_view_status(const StringPiece& value) {
453  *MutableStorage("accessViewStatus") = value.data();
454  }
455 
461  bool has_country() const {
462  return Storage().isMember("country");
463  }
464 
468  void clear_country() {
469  MutableStorage()->removeMember("country");
470  }
471 
472 
476  const StringPiece get_country() const {
477  const Json::Value& v = Storage("country");
478  if (v == Json::Value::null) return StringPiece("");
479  return StringPiece(v.asCString());
480  }
481 
490  void set_country(const StringPiece& value) {
491  *MutableStorage("country") = value.data();
492  }
493 
499  bool has_download_access() const {
500  return Storage().isMember("downloadAccess");
501  }
502 
507  MutableStorage()->removeMember("downloadAccess");
508  }
509 
510 
515  const DownloadAccessRestriction get_download_access() const;
516 
525  DownloadAccessRestriction mutable_downloadAccess();
526 
535  return Storage().isMember("driveImportedContentLink");
536  }
537 
542  MutableStorage()->removeMember("driveImportedContentLink");
543  }
544 
545 
549  const StringPiece get_drive_imported_content_link() const {
550  const Json::Value& v = Storage("driveImportedContentLink");
551  if (v == Json::Value::null) return StringPiece("");
552  return StringPiece(v.asCString());
553  }
554 
563  void set_drive_imported_content_link(const StringPiece& value) {
564  *MutableStorage("driveImportedContentLink") = value.data();
565  }
566 
572  bool has_embeddable() const {
573  return Storage().isMember("embeddable");
574  }
575 
580  MutableStorage()->removeMember("embeddable");
581  }
582 
583 
587  bool get_embeddable() const {
588  const Json::Value& storage = Storage("embeddable");
589  return client::JsonValueToCppValueHelper<bool >(storage);
590  }
591 
600  void set_embeddable(bool value) {
601  client::SetJsonValueFromCppValueHelper<bool >(
602  value, MutableStorage("embeddable"));
603  }
604 
610  bool has_epub() const {
611  return Storage().isMember("epub");
612  }
613 
617  void clear_epub() {
618  MutableStorage()->removeMember("epub");
619  }
620 
621 
626  const Json::Value& storage = Storage("epub");
627  return client::JsonValueToCppValueHelper<VolumeAccessInfoEpub >(storage);
628  }
629 
638  Json::Value* storage = MutableStorage("epub");
639  return client::JsonValueToMutableCppValueHelper<VolumeAccessInfoEpub >(storage);
640  }
641 
650  return Storage().isMember("explicitOfflineLicenseManagement");
651  }
652 
657  MutableStorage()->removeMember("explicitOfflineLicenseManagement");
658  }
659 
660 
666  const Json::Value& storage = Storage("explicitOfflineLicenseManagement");
667  return client::JsonValueToCppValueHelper<bool >(storage);
668  }
669 
680  client::SetJsonValueFromCppValueHelper<bool >(
681  value, MutableStorage("explicitOfflineLicenseManagement"));
682  }
683 
689  bool has_pdf() const {
690  return Storage().isMember("pdf");
691  }
692 
696  void clear_pdf() {
697  MutableStorage()->removeMember("pdf");
698  }
699 
700 
704  const VolumeAccessInfoPdf get_pdf() const {
705  const Json::Value& storage = Storage("pdf");
706  return client::JsonValueToCppValueHelper<VolumeAccessInfoPdf >(storage);
707  }
708 
717  Json::Value* storage = MutableStorage("pdf");
718  return client::JsonValueToMutableCppValueHelper<VolumeAccessInfoPdf >(storage);
719  }
720 
726  bool has_public_domain() const {
727  return Storage().isMember("publicDomain");
728  }
729 
734  MutableStorage()->removeMember("publicDomain");
735  }
736 
737 
741  bool get_public_domain() const {
742  const Json::Value& storage = Storage("publicDomain");
743  return client::JsonValueToCppValueHelper<bool >(storage);
744  }
745 
753  void set_public_domain(bool value) {
754  client::SetJsonValueFromCppValueHelper<bool >(
755  value, MutableStorage("publicDomain"));
756  }
757 
764  return Storage().isMember("quoteSharingAllowed");
765  }
766 
771  MutableStorage()->removeMember("quoteSharingAllowed");
772  }
773 
774 
779  const Json::Value& storage = Storage("quoteSharingAllowed");
780  return client::JsonValueToCppValueHelper<bool >(storage);
781  }
782 
790  void set_quote_sharing_allowed(bool value) {
791  client::SetJsonValueFromCppValueHelper<bool >(
792  value, MutableStorage("quoteSharingAllowed"));
793  }
794 
802  return Storage().isMember("textToSpeechPermission");
803  }
804 
809  MutableStorage()->removeMember("textToSpeechPermission");
810  }
811 
812 
816  const StringPiece get_text_to_speech_permission() const {
817  const Json::Value& v = Storage("textToSpeechPermission");
818  if (v == Json::Value::null) return StringPiece("");
819  return StringPiece(v.asCString());
820  }
821 
830  void set_text_to_speech_permission(const StringPiece& value) {
831  *MutableStorage("textToSpeechPermission") = value.data();
832  }
833 
839  bool has_view_order_url() const {
840  return Storage().isMember("viewOrderUrl");
841  }
842 
847  MutableStorage()->removeMember("viewOrderUrl");
848  }
849 
850 
854  const StringPiece get_view_order_url() const {
855  const Json::Value& v = Storage("viewOrderUrl");
856  if (v == Json::Value::null) return StringPiece("");
857  return StringPiece(v.asCString());
858  }
859 
868  void set_view_order_url(const StringPiece& value) {
869  *MutableStorage("viewOrderUrl") = value.data();
870  }
871 
877  bool has_viewability() const {
878  return Storage().isMember("viewability");
879  }
880 
885  MutableStorage()->removeMember("viewability");
886  }
887 
888 
892  const StringPiece get_viewability() const {
893  const Json::Value& v = Storage("viewability");
894  if (v == Json::Value::null) return StringPiece("");
895  return StringPiece(v.asCString());
896  }
897 
910  void set_viewability(const StringPiece& value) {
911  *MutableStorage("viewability") = value.data();
912  }
913 
919  bool has_web_reader_link() const {
920  return Storage().isMember("webReaderLink");
921  }
922 
927  MutableStorage()->removeMember("webReaderLink");
928  }
929 
930 
934  const StringPiece get_web_reader_link() const {
935  const Json::Value& v = Storage("webReaderLink");
936  if (v == Json::Value::null) return StringPiece("");
937  return StringPiece(v.asCString());
938  }
939 
948  void set_web_reader_link(const StringPiece& value) {
949  *MutableStorage("webReaderLink") = value.data();
950  }
951 
952  private:
953  void operator=(const VolumeAccessInfo&);
954  }; // VolumeAccessInfo
960  class VolumeLayerInfo : public client::JsonCppData {
961  public:
967  class VolumeLayerInfoLayers : public client::JsonCppData {
968  public:
974  static VolumeLayerInfoLayers* New();
975 
981  explicit VolumeLayerInfoLayers(const Json::Value& storage);
982 
988  explicit VolumeLayerInfoLayers(Json::Value* storage);
989 
993  virtual ~VolumeLayerInfoLayers();
994 
1000  const StringPiece GetTypeName() const {
1001  return StringPiece("google_books_api::VolumeLayerInfoLayers");
1002  }
1003 
1009  bool has_layer_id() const {
1010  return Storage().isMember("layerId");
1011  }
1012 
1017  MutableStorage()->removeMember("layerId");
1018  }
1019 
1020 
1024  const StringPiece get_layer_id() const {
1025  const Json::Value& v = Storage("layerId");
1026  if (v == Json::Value::null) return StringPiece("");
1027  return StringPiece(v.asCString());
1028  }
1029 
1037  void set_layer_id(const StringPiece& value) {
1038  *MutableStorage("layerId") = value.data();
1039  }
1040 
1049  return Storage().isMember("volumeAnnotationsVersion");
1050  }
1051 
1056  MutableStorage()->removeMember("volumeAnnotationsVersion");
1057  }
1058 
1059 
1063  const StringPiece get_volume_annotations_version() const {
1064  const Json::Value& v = Storage("volumeAnnotationsVersion");
1065  if (v == Json::Value::null) return StringPiece("");
1066  return StringPiece(v.asCString());
1067  }
1068 
1079  void set_volume_annotations_version(const StringPiece& value) {
1080  *MutableStorage("volumeAnnotationsVersion") = value.data();
1081  }
1082 
1083  private:
1084  void operator=(const VolumeLayerInfoLayers&);
1085  }; // VolumeLayerInfoLayers
1091  static VolumeLayerInfo* New();
1092 
1098  explicit VolumeLayerInfo(const Json::Value& storage);
1099 
1105  explicit VolumeLayerInfo(Json::Value* storage);
1106 
1110  virtual ~VolumeLayerInfo();
1111 
1117  const StringPiece GetTypeName() const {
1118  return StringPiece("google_books_api::VolumeLayerInfo");
1119  }
1120 
1126  bool has_layers() const {
1127  return Storage().isMember("layers");
1128  }
1129 
1133  void clear_layers() {
1134  MutableStorage()->removeMember("layers");
1135  }
1136 
1137 
1141  const client::JsonCppArray<VolumeLayerInfoLayers > get_layers() const {
1142  const Json::Value& storage = Storage("layers");
1143  return client::JsonValueToCppValueHelper<client::JsonCppArray<VolumeLayerInfoLayers > >(storage);
1144  }
1145 
1154  client::JsonCppArray<VolumeLayerInfoLayers > mutable_layers() {
1155  Json::Value* storage = MutableStorage("layers");
1156  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<VolumeLayerInfoLayers > >(storage);
1157  }
1158 
1159  private:
1160  void operator=(const VolumeLayerInfo&);
1161  }; // VolumeLayerInfo
1167  class VolumeRecommendedInfo : public client::JsonCppData {
1168  public:
1174  static VolumeRecommendedInfo* New();
1175 
1181  explicit VolumeRecommendedInfo(const Json::Value& storage);
1182 
1188  explicit VolumeRecommendedInfo(Json::Value* storage);
1189 
1193  virtual ~VolumeRecommendedInfo();
1194 
1200  const StringPiece GetTypeName() const {
1201  return StringPiece("google_books_api::VolumeRecommendedInfo");
1202  }
1203 
1209  bool has_explanation() const {
1210  return Storage().isMember("explanation");
1211  }
1212 
1217  MutableStorage()->removeMember("explanation");
1218  }
1219 
1220 
1224  const StringPiece get_explanation() const {
1225  const Json::Value& v = Storage("explanation");
1226  if (v == Json::Value::null) return StringPiece("");
1227  return StringPiece(v.asCString());
1228  }
1229 
1237  void set_explanation(const StringPiece& value) {
1238  *MutableStorage("explanation") = value.data();
1239  }
1240 
1241  private:
1242  void operator=(const VolumeRecommendedInfo&);
1243  }; // VolumeRecommendedInfo
1252  class VolumeSaleInfo : public client::JsonCppData {
1253  public:
1259  class VolumeSaleInfoListPrice : public client::JsonCppData {
1260  public:
1266  static VolumeSaleInfoListPrice* New();
1267 
1273  explicit VolumeSaleInfoListPrice(const Json::Value& storage);
1274 
1280  explicit VolumeSaleInfoListPrice(Json::Value* storage);
1281 
1285  virtual ~VolumeSaleInfoListPrice();
1286 
1292  const StringPiece GetTypeName() const {
1293  return StringPiece("google_books_api::VolumeSaleInfoListPrice");
1294  }
1295 
1301  bool has_amount() const {
1302  return Storage().isMember("amount");
1303  }
1304 
1308  void clear_amount() {
1309  MutableStorage()->removeMember("amount");
1310  }
1311 
1312 
1316  double get_amount() const {
1317  const Json::Value& storage = Storage("amount");
1318  return client::JsonValueToCppValueHelper<double >(storage);
1319  }
1320 
1328  void set_amount(double value) {
1329  client::SetJsonValueFromCppValueHelper<double >(
1330  value, MutableStorage("amount"));
1331  }
1332 
1338  bool has_currency_code() const {
1339  return Storage().isMember("currencyCode");
1340  }
1341 
1346  MutableStorage()->removeMember("currencyCode");
1347  }
1348 
1349 
1353  const StringPiece get_currency_code() const {
1354  const Json::Value& v = Storage("currencyCode");
1355  if (v == Json::Value::null) return StringPiece("");
1356  return StringPiece(v.asCString());
1357  }
1358 
1366  void set_currency_code(const StringPiece& value) {
1367  *MutableStorage("currencyCode") = value.data();
1368  }
1369 
1370  private:
1371  void operator=(const VolumeSaleInfoListPrice&);
1372  }; // VolumeSaleInfoListPrice
1378  class VolumeSaleInfoOffers : public client::JsonCppData {
1379  public:
1385  class VolumeSaleInfoOffersListPrice : public client::JsonCppData {
1386  public:
1392  static VolumeSaleInfoOffersListPrice* New();
1393 
1399  explicit VolumeSaleInfoOffersListPrice(const Json::Value& storage);
1400 
1406  explicit VolumeSaleInfoOffersListPrice(Json::Value* storage);
1407 
1411  virtual ~VolumeSaleInfoOffersListPrice();
1412 
1418  const StringPiece GetTypeName() const {
1419  return StringPiece("google_books_api::VolumeSaleInfoOffersListPrice");
1420  }
1421 
1427  bool has_amount_in_micros() const {
1428  return Storage().isMember("amountInMicros");
1429  }
1430 
1435  MutableStorage()->removeMember("amountInMicros");
1436  }
1437 
1438 
1442  double get_amount_in_micros() const {
1443  const Json::Value& storage = Storage("amountInMicros");
1444  return client::JsonValueToCppValueHelper<double >(storage);
1445  }
1446 
1451  void set_amount_in_micros(double value) {
1452  client::SetJsonValueFromCppValueHelper<double >(
1453  value, MutableStorage("amountInMicros"));
1454  }
1455 
1461  bool has_currency_code() const {
1462  return Storage().isMember("currencyCode");
1463  }
1464 
1469  MutableStorage()->removeMember("currencyCode");
1470  }
1471 
1472 
1476  const StringPiece get_currency_code() const {
1477  const Json::Value& v = Storage("currencyCode");
1478  if (v == Json::Value::null) return StringPiece("");
1479  return StringPiece(v.asCString());
1480  }
1481 
1486  void set_currency_code(const StringPiece& value) {
1487  *MutableStorage("currencyCode") = value.data();
1488  }
1489 
1490  private:
1491  void operator=(const VolumeSaleInfoOffersListPrice&);
1492  }; // VolumeSaleInfoOffersListPrice
1498  class VolumeSaleInfoOffersRentalDuration : public client::JsonCppData {
1499  public:
1505  static VolumeSaleInfoOffersRentalDuration* New();
1506 
1512  explicit VolumeSaleInfoOffersRentalDuration(const Json::Value& storage);
1513 
1519  explicit VolumeSaleInfoOffersRentalDuration(Json::Value* storage);
1520 
1525 
1532  const StringPiece GetTypeName() const {
1533  return StringPiece("google_books_api::VolumeSaleInfoOffersRentalDuration");
1534  }
1535 
1541  bool has_count() const {
1542  return Storage().isMember("count");
1543  }
1544 
1548  void clear_count() {
1549  MutableStorage()->removeMember("count");
1550  }
1551 
1552 
1556  double get_count() const {
1557  const Json::Value& storage = Storage("count");
1558  return client::JsonValueToCppValueHelper<double >(storage);
1559  }
1560 
1565  void set_count(double value) {
1566  client::SetJsonValueFromCppValueHelper<double >(
1567  value, MutableStorage("count"));
1568  }
1569 
1575  bool has_unit() const {
1576  return Storage().isMember("unit");
1577  }
1578 
1582  void clear_unit() {
1583  MutableStorage()->removeMember("unit");
1584  }
1585 
1586 
1590  const StringPiece get_unit() const {
1591  const Json::Value& v = Storage("unit");
1592  if (v == Json::Value::null) return StringPiece("");
1593  return StringPiece(v.asCString());
1594  }
1595 
1600  void set_unit(const StringPiece& value) {
1601  *MutableStorage("unit") = value.data();
1602  }
1603 
1604  private:
1605  void operator=(const VolumeSaleInfoOffersRentalDuration&);
1606  }; // VolumeSaleInfoOffersRentalDuration
1612  class VolumeSaleInfoOffersRetailPrice : public client::JsonCppData {
1613  public:
1619  static VolumeSaleInfoOffersRetailPrice* New();
1620 
1626  explicit VolumeSaleInfoOffersRetailPrice(const Json::Value& storage);
1627 
1633  explicit VolumeSaleInfoOffersRetailPrice(Json::Value* storage);
1634 
1639 
1646  const StringPiece GetTypeName() const {
1647  return StringPiece("google_books_api::VolumeSaleInfoOffersRetailPrice");
1648  }
1649 
1655  bool has_amount_in_micros() const {
1656  return Storage().isMember("amountInMicros");
1657  }
1658 
1663  MutableStorage()->removeMember("amountInMicros");
1664  }
1665 
1666 
1670  double get_amount_in_micros() const {
1671  const Json::Value& storage = Storage("amountInMicros");
1672  return client::JsonValueToCppValueHelper<double >(storage);
1673  }
1674 
1679  void set_amount_in_micros(double value) {
1680  client::SetJsonValueFromCppValueHelper<double >(
1681  value, MutableStorage("amountInMicros"));
1682  }
1683 
1689  bool has_currency_code() const {
1690  return Storage().isMember("currencyCode");
1691  }
1692 
1697  MutableStorage()->removeMember("currencyCode");
1698  }
1699 
1700 
1704  const StringPiece get_currency_code() const {
1705  const Json::Value& v = Storage("currencyCode");
1706  if (v == Json::Value::null) return StringPiece("");
1707  return StringPiece(v.asCString());
1708  }
1709 
1714  void set_currency_code(const StringPiece& value) {
1715  *MutableStorage("currencyCode") = value.data();
1716  }
1717 
1718  private:
1719  void operator=(const VolumeSaleInfoOffersRetailPrice&);
1720  }; // VolumeSaleInfoOffersRetailPrice
1726  static VolumeSaleInfoOffers* New();
1727 
1733  explicit VolumeSaleInfoOffers(const Json::Value& storage);
1734 
1740  explicit VolumeSaleInfoOffers(Json::Value* storage);
1741 
1745  virtual ~VolumeSaleInfoOffers();
1746 
1752  const StringPiece GetTypeName() const {
1753  return StringPiece("google_books_api::VolumeSaleInfoOffers");
1754  }
1755 
1761  bool has_finsky_offer_type() const {
1762  return Storage().isMember("finskyOfferType");
1763  }
1764 
1769  MutableStorage()->removeMember("finskyOfferType");
1770  }
1771 
1772 
1776  int32 get_finsky_offer_type() const {
1777  const Json::Value& storage = Storage("finskyOfferType");
1778  return client::JsonValueToCppValueHelper<int32 >(storage);
1779  }
1780 
1788  void set_finsky_offer_type(int32 value) {
1789  client::SetJsonValueFromCppValueHelper<int32 >(
1790  value, MutableStorage("finskyOfferType"));
1791  }
1792 
1798  bool has_giftable() const {
1799  return Storage().isMember("giftable");
1800  }
1801 
1806  MutableStorage()->removeMember("giftable");
1807  }
1808 
1809 
1813  bool get_giftable() const {
1814  const Json::Value& storage = Storage("giftable");
1815  return client::JsonValueToCppValueHelper<bool >(storage);
1816  }
1817 
1825  void set_giftable(bool value) {
1826  client::SetJsonValueFromCppValueHelper<bool >(
1827  value, MutableStorage("giftable"));
1828  }
1829 
1835  bool has_list_price() const {
1836  return Storage().isMember("listPrice");
1837  }
1838 
1843  MutableStorage()->removeMember("listPrice");
1844  }
1845 
1846 
1851  const Json::Value& storage = Storage("listPrice");
1852  return client::JsonValueToCppValueHelper<VolumeSaleInfoOffersListPrice >(storage);
1853  }
1854 
1864  Json::Value* storage = MutableStorage("listPrice");
1865  return client::JsonValueToMutableCppValueHelper<VolumeSaleInfoOffersListPrice >(storage);
1866  }
1867 
1873  bool has_rental_duration() const {
1874  return Storage().isMember("rentalDuration");
1875  }
1876 
1881  MutableStorage()->removeMember("rentalDuration");
1882  }
1883 
1884 
1890  const Json::Value& storage = Storage("rentalDuration");
1891  return client::JsonValueToCppValueHelper<VolumeSaleInfoOffersRentalDuration >(storage);
1892  }
1893 
1903  Json::Value* storage = MutableStorage("rentalDuration");
1904  return client::JsonValueToMutableCppValueHelper<VolumeSaleInfoOffersRentalDuration >(storage);
1905  }
1906 
1912  bool has_retail_price() const {
1913  return Storage().isMember("retailPrice");
1914  }
1915 
1920  MutableStorage()->removeMember("retailPrice");
1921  }
1922 
1923 
1929  const Json::Value& storage = Storage("retailPrice");
1930  return client::JsonValueToCppValueHelper<VolumeSaleInfoOffersRetailPrice >(storage);
1931  }
1932 
1942  Json::Value* storage = MutableStorage("retailPrice");
1943  return client::JsonValueToMutableCppValueHelper<VolumeSaleInfoOffersRetailPrice >(storage);
1944  }
1945 
1946  private:
1947  void operator=(const VolumeSaleInfoOffers&);
1948  }; // VolumeSaleInfoOffers
1956  class VolumeSaleInfoRetailPrice : public client::JsonCppData {
1957  public:
1963  static VolumeSaleInfoRetailPrice* New();
1964 
1970  explicit VolumeSaleInfoRetailPrice(const Json::Value& storage);
1971 
1977  explicit VolumeSaleInfoRetailPrice(Json::Value* storage);
1978 
1982  virtual ~VolumeSaleInfoRetailPrice();
1983 
1989  const StringPiece GetTypeName() const {
1990  return StringPiece("google_books_api::VolumeSaleInfoRetailPrice");
1991  }
1992 
1998  bool has_amount() const {
1999  return Storage().isMember("amount");
2000  }
2001 
2005  void clear_amount() {
2006  MutableStorage()->removeMember("amount");
2007  }
2008 
2009 
2013  double get_amount() const {
2014  const Json::Value& storage = Storage("amount");
2015  return client::JsonValueToCppValueHelper<double >(storage);
2016  }
2017 
2025  void set_amount(double value) {
2026  client::SetJsonValueFromCppValueHelper<double >(
2027  value, MutableStorage("amount"));
2028  }
2029 
2035  bool has_currency_code() const {
2036  return Storage().isMember("currencyCode");
2037  }
2038 
2043  MutableStorage()->removeMember("currencyCode");
2044  }
2045 
2046 
2050  const StringPiece get_currency_code() const {
2051  const Json::Value& v = Storage("currencyCode");
2052  if (v == Json::Value::null) return StringPiece("");
2053  return StringPiece(v.asCString());
2054  }
2055 
2063  void set_currency_code(const StringPiece& value) {
2064  *MutableStorage("currencyCode") = value.data();
2065  }
2066 
2067  private:
2068  void operator=(const VolumeSaleInfoRetailPrice&);
2069  }; // VolumeSaleInfoRetailPrice
2075  static VolumeSaleInfo* New();
2076 
2082  explicit VolumeSaleInfo(const Json::Value& storage);
2083 
2089  explicit VolumeSaleInfo(Json::Value* storage);
2090 
2094  virtual ~VolumeSaleInfo();
2095 
2101  const StringPiece GetTypeName() const {
2102  return StringPiece("google_books_api::VolumeSaleInfo");
2103  }
2104 
2110  bool has_buy_link() const {
2111  return Storage().isMember("buyLink");
2112  }
2113 
2118  MutableStorage()->removeMember("buyLink");
2119  }
2120 
2121 
2125  const StringPiece get_buy_link() const {
2126  const Json::Value& v = Storage("buyLink");
2127  if (v == Json::Value::null) return StringPiece("");
2128  return StringPiece(v.asCString());
2129  }
2130 
2139  void set_buy_link(const StringPiece& value) {
2140  *MutableStorage("buyLink") = value.data();
2141  }
2142 
2148  bool has_country() const {
2149  return Storage().isMember("country");
2150  }
2151 
2155  void clear_country() {
2156  MutableStorage()->removeMember("country");
2157  }
2158 
2159 
2163  const StringPiece get_country() const {
2164  const Json::Value& v = Storage("country");
2165  if (v == Json::Value::null) return StringPiece("");
2166  return StringPiece(v.asCString());
2167  }
2168 
2177  void set_country(const StringPiece& value) {
2178  *MutableStorage("country") = value.data();
2179  }
2180 
2186  bool has_is_ebook() const {
2187  return Storage().isMember("isEbook");
2188  }
2189 
2194  MutableStorage()->removeMember("isEbook");
2195  }
2196 
2197 
2201  bool get_is_ebook() const {
2202  const Json::Value& storage = Storage("isEbook");
2203  return client::JsonValueToCppValueHelper<bool >(storage);
2204  }
2205 
2214  void set_is_ebook(bool value) {
2215  client::SetJsonValueFromCppValueHelper<bool >(
2216  value, MutableStorage("isEbook"));
2217  }
2218 
2224  bool has_list_price() const {
2225  return Storage().isMember("listPrice");
2226  }
2227 
2232  MutableStorage()->removeMember("listPrice");
2233  }
2234 
2235 
2240  const Json::Value& storage = Storage("listPrice");
2241  return client::JsonValueToCppValueHelper<VolumeSaleInfoListPrice >(storage);
2242  }
2243 
2253  Json::Value* storage = MutableStorage("listPrice");
2254  return client::JsonValueToMutableCppValueHelper<VolumeSaleInfoListPrice >(storage);
2255  }
2256 
2262  bool has_offers() const {
2263  return Storage().isMember("offers");
2264  }
2265 
2269  void clear_offers() {
2270  MutableStorage()->removeMember("offers");
2271  }
2272 
2273 
2277  const client::JsonCppArray<VolumeSaleInfoOffers > get_offers() const {
2278  const Json::Value& storage = Storage("offers");
2279  return client::JsonValueToCppValueHelper<client::JsonCppArray<VolumeSaleInfoOffers > >(storage);
2280  }
2281 
2290  client::JsonCppArray<VolumeSaleInfoOffers > mutable_offers() {
2291  Json::Value* storage = MutableStorage("offers");
2292  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<VolumeSaleInfoOffers > >(storage);
2293  }
2294 
2300  bool has_on_sale_date() const {
2301  return Storage().isMember("onSaleDate");
2302  }
2303 
2308  MutableStorage()->removeMember("onSaleDate");
2309  }
2310 
2311 
2315  client::DateTime get_on_sale_date() const {
2316  const Json::Value& storage = Storage("onSaleDate");
2317  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
2318  }
2319 
2327  void set_on_sale_date(client::DateTime value) {
2328  client::SetJsonValueFromCppValueHelper<client::DateTime >(
2329  value, MutableStorage("onSaleDate"));
2330  }
2331 
2337  bool has_retail_price() const {
2338  return Storage().isMember("retailPrice");
2339  }
2340 
2345  MutableStorage()->removeMember("retailPrice");
2346  }
2347 
2348 
2353  const Json::Value& storage = Storage("retailPrice");
2354  return client::JsonValueToCppValueHelper<VolumeSaleInfoRetailPrice >(storage);
2355  }
2356 
2368  Json::Value* storage = MutableStorage("retailPrice");
2369  return client::JsonValueToMutableCppValueHelper<VolumeSaleInfoRetailPrice >(storage);
2370  }
2371 
2377  bool has_saleability() const {
2378  return Storage().isMember("saleability");
2379  }
2380 
2385  MutableStorage()->removeMember("saleability");
2386  }
2387 
2388 
2392  const StringPiece get_saleability() const {
2393  const Json::Value& v = Storage("saleability");
2394  if (v == Json::Value::null) return StringPiece("");
2395  return StringPiece(v.asCString());
2396  }
2397 
2408  void set_saleability(const StringPiece& value) {
2409  *MutableStorage("saleability") = value.data();
2410  }
2411 
2412  private:
2413  void operator=(const VolumeSaleInfo&);
2414  }; // VolumeSaleInfo
2420  class VolumeSearchInfo : public client::JsonCppData {
2421  public:
2427  static VolumeSearchInfo* New();
2428 
2434  explicit VolumeSearchInfo(const Json::Value& storage);
2435 
2441  explicit VolumeSearchInfo(Json::Value* storage);
2442 
2446  virtual ~VolumeSearchInfo();
2447 
2453  const StringPiece GetTypeName() const {
2454  return StringPiece("google_books_api::VolumeSearchInfo");
2455  }
2456 
2462  bool has_text_snippet() const {
2463  return Storage().isMember("textSnippet");
2464  }
2465 
2470  MutableStorage()->removeMember("textSnippet");
2471  }
2472 
2473 
2477  const StringPiece get_text_snippet() const {
2478  const Json::Value& v = Storage("textSnippet");
2479  if (v == Json::Value::null) return StringPiece("");
2480  return StringPiece(v.asCString());
2481  }
2482 
2490  void set_text_snippet(const StringPiece& value) {
2491  *MutableStorage("textSnippet") = value.data();
2492  }
2493 
2494  private:
2495  void operator=(const VolumeSearchInfo&);
2496  }; // VolumeSearchInfo
2503  class VolumeUserInfo : public client::JsonCppData {
2504  public:
2510  class VolumeUserInfoCopy : public client::JsonCppData {
2511  public:
2517  static VolumeUserInfoCopy* New();
2518 
2524  explicit VolumeUserInfoCopy(const Json::Value& storage);
2525 
2531  explicit VolumeUserInfoCopy(Json::Value* storage);
2532 
2536  virtual ~VolumeUserInfoCopy();
2537 
2543  const StringPiece GetTypeName() const {
2544  return StringPiece("google_books_api::VolumeUserInfoCopy");
2545  }
2546 
2555  return Storage().isMember("allowedCharacterCount");
2556  }
2557 
2562  MutableStorage()->removeMember("allowedCharacterCount");
2563  }
2564 
2565 
2570  const Json::Value& storage = Storage("allowedCharacterCount");
2571  return client::JsonValueToCppValueHelper<int32 >(storage);
2572  }
2573 
2578  void set_allowed_character_count(int32 value) {
2579  client::SetJsonValueFromCppValueHelper<int32 >(
2580  value, MutableStorage("allowedCharacterCount"));
2581  }
2582 
2588  bool has_limit_type() const {
2589  return Storage().isMember("limitType");
2590  }
2591 
2596  MutableStorage()->removeMember("limitType");
2597  }
2598 
2599 
2603  const StringPiece get_limit_type() const {
2604  const Json::Value& v = Storage("limitType");
2605  if (v == Json::Value::null) return StringPiece("");
2606  return StringPiece(v.asCString());
2607  }
2608 
2613  void set_limit_type(const StringPiece& value) {
2614  *MutableStorage("limitType") = value.data();
2615  }
2616 
2625  return Storage().isMember("remainingCharacterCount");
2626  }
2627 
2632  MutableStorage()->removeMember("remainingCharacterCount");
2633  }
2634 
2635 
2640  const Json::Value& storage = Storage("remainingCharacterCount");
2641  return client::JsonValueToCppValueHelper<int32 >(storage);
2642  }
2643 
2648  void set_remaining_character_count(int32 value) {
2649  client::SetJsonValueFromCppValueHelper<int32 >(
2650  value, MutableStorage("remainingCharacterCount"));
2651  }
2652 
2658  bool has_updated() const {
2659  return Storage().isMember("updated");
2660  }
2661 
2665  void clear_updated() {
2666  MutableStorage()->removeMember("updated");
2667  }
2668 
2669 
2673  client::DateTime get_updated() const {
2674  const Json::Value& storage = Storage("updated");
2675  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
2676  }
2677 
2682  void set_updated(client::DateTime value) {
2683  client::SetJsonValueFromCppValueHelper<client::DateTime >(
2684  value, MutableStorage("updated"));
2685  }
2686 
2687  private:
2688  void operator=(const VolumeUserInfoCopy&);
2689  }; // VolumeUserInfoCopy
2695  class VolumeUserInfoFamilySharing : public client::JsonCppData {
2696  public:
2702  static VolumeUserInfoFamilySharing* New();
2703 
2709  explicit VolumeUserInfoFamilySharing(const Json::Value& storage);
2710 
2716  explicit VolumeUserInfoFamilySharing(Json::Value* storage);
2717 
2721  virtual ~VolumeUserInfoFamilySharing();
2722 
2728  const StringPiece GetTypeName() const {
2729  return StringPiece("google_books_api::VolumeUserInfoFamilySharing");
2730  }
2731 
2737  bool has_family_role() const {
2738  return Storage().isMember("familyRole");
2739  }
2740 
2745  MutableStorage()->removeMember("familyRole");
2746  }
2747 
2748 
2752  const StringPiece get_family_role() const {
2753  const Json::Value& v = Storage("familyRole");
2754  if (v == Json::Value::null) return StringPiece("");
2755  return StringPiece(v.asCString());
2756  }
2757 
2765  void set_family_role(const StringPiece& value) {
2766  *MutableStorage("familyRole") = value.data();
2767  }
2768 
2774  bool has_is_sharing_allowed() const {
2775  return Storage().isMember("isSharingAllowed");
2776  }
2777 
2782  MutableStorage()->removeMember("isSharingAllowed");
2783  }
2784 
2785 
2789  bool get_is_sharing_allowed() const {
2790  const Json::Value& storage = Storage("isSharingAllowed");
2791  return client::JsonValueToCppValueHelper<bool >(storage);
2792  }
2793 
2803  void set_is_sharing_allowed(bool value) {
2804  client::SetJsonValueFromCppValueHelper<bool >(
2805  value, MutableStorage("isSharingAllowed"));
2806  }
2807 
2816  return Storage().isMember("isSharingDisabledByFop");
2817  }
2818 
2823  MutableStorage()->removeMember("isSharingDisabledByFop");
2824  }
2825 
2826 
2831  const Json::Value& storage = Storage("isSharingDisabledByFop");
2832  return client::JsonValueToCppValueHelper<bool >(storage);
2833  }
2834 
2844  client::SetJsonValueFromCppValueHelper<bool >(
2845  value, MutableStorage("isSharingDisabledByFop"));
2846  }
2847 
2848  private:
2849  void operator=(const VolumeUserInfoFamilySharing&);
2850  }; // VolumeUserInfoFamilySharing
2856  class VolumeUserInfoRentalPeriod : public client::JsonCppData {
2857  public:
2863  static VolumeUserInfoRentalPeriod* New();
2864 
2870  explicit VolumeUserInfoRentalPeriod(const Json::Value& storage);
2871 
2877  explicit VolumeUserInfoRentalPeriod(Json::Value* storage);
2878 
2882  virtual ~VolumeUserInfoRentalPeriod();
2883 
2889  const StringPiece GetTypeName() const {
2890  return StringPiece("google_books_api::VolumeUserInfoRentalPeriod");
2891  }
2892 
2898  bool has_end_utc_sec() const {
2899  return Storage().isMember("endUtcSec");
2900  }
2901 
2906  MutableStorage()->removeMember("endUtcSec");
2907  }
2908 
2909 
2913  int64 get_end_utc_sec() const {
2914  const Json::Value& storage = Storage("endUtcSec");
2915  return client::JsonValueToCppValueHelper<int64 >(storage);
2916  }
2917 
2922  void set_end_utc_sec(int64 value) {
2923  client::SetJsonValueFromCppValueHelper<int64 >(
2924  value, MutableStorage("endUtcSec"));
2925  }
2926 
2932  bool has_start_utc_sec() const {
2933  return Storage().isMember("startUtcSec");
2934  }
2935 
2940  MutableStorage()->removeMember("startUtcSec");
2941  }
2942 
2943 
2947  int64 get_start_utc_sec() const {
2948  const Json::Value& storage = Storage("startUtcSec");
2949  return client::JsonValueToCppValueHelper<int64 >(storage);
2950  }
2951 
2956  void set_start_utc_sec(int64 value) {
2957  client::SetJsonValueFromCppValueHelper<int64 >(
2958  value, MutableStorage("startUtcSec"));
2959  }
2960 
2961  private:
2962  void operator=(const VolumeUserInfoRentalPeriod&);
2963  }; // VolumeUserInfoRentalPeriod
2969  class VolumeUserInfoUserUploadedVolumeInfo : public client::JsonCppData {
2970  public:
2977 
2983  explicit VolumeUserInfoUserUploadedVolumeInfo(const Json::Value& storage);
2984 
2990  explicit VolumeUserInfoUserUploadedVolumeInfo(Json::Value* storage);
2991 
2996 
3003  const StringPiece GetTypeName() const {
3004  return StringPiece("google_books_api::VolumeUserInfoUserUploadedVolumeInfo");
3005  }
3006 
3012  bool has_processing_state() const {
3013  return Storage().isMember("processingState");
3014  }
3015 
3020  MutableStorage()->removeMember("processingState");
3021  }
3022 
3023 
3027  const StringPiece get_processing_state() const {
3028  const Json::Value& v = Storage("processingState");
3029  if (v == Json::Value::null) return StringPiece("");
3030  return StringPiece(v.asCString());
3031  }
3032 
3037  void set_processing_state(const StringPiece& value) {
3038  *MutableStorage("processingState") = value.data();
3039  }
3040 
3041  private:
3042  void operator=(const VolumeUserInfoUserUploadedVolumeInfo&);
3043  }; // VolumeUserInfoUserUploadedVolumeInfo
3049  static VolumeUserInfo* New();
3050 
3056  explicit VolumeUserInfo(const Json::Value& storage);
3057 
3063  explicit VolumeUserInfo(Json::Value* storage);
3064 
3068  virtual ~VolumeUserInfo();
3069 
3075  const StringPiece GetTypeName() const {
3076  return StringPiece("google_books_api::VolumeUserInfo");
3077  }
3078 
3084  bool has_acquired_time() const {
3085  return Storage().isMember("acquiredTime");
3086  }
3087 
3092  MutableStorage()->removeMember("acquiredTime");
3093  }
3094 
3095 
3099  client::DateTime get_acquired_time() const {
3100  const Json::Value& storage = Storage("acquiredTime");
3101  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
3102  }
3103 
3113  void set_acquired_time(client::DateTime value) {
3114  client::SetJsonValueFromCppValueHelper<client::DateTime >(
3115  value, MutableStorage("acquiredTime"));
3116  }
3117 
3123  bool has_acquisition_type() const {
3124  return Storage().isMember("acquisitionType");
3125  }
3126 
3131  MutableStorage()->removeMember("acquisitionType");
3132  }
3133 
3134 
3138  int32 get_acquisition_type() const {
3139  const Json::Value& storage = Storage("acquisitionType");
3140  return client::JsonValueToCppValueHelper<int32 >(storage);
3141  }
3142 
3150  void set_acquisition_type(int32 value) {
3151  client::SetJsonValueFromCppValueHelper<int32 >(
3152  value, MutableStorage("acquisitionType"));
3153  }
3154 
3160  bool has_copy() const {
3161  return Storage().isMember("copy");
3162  }
3163 
3167  void clear_copy() {
3168  MutableStorage()->removeMember("copy");
3169  }
3170 
3171 
3176  const Json::Value& storage = Storage("copy");
3177  return client::JsonValueToCppValueHelper<VolumeUserInfoCopy >(storage);
3178  }
3179 
3188  Json::Value* storage = MutableStorage("copy");
3189  return client::JsonValueToMutableCppValueHelper<VolumeUserInfoCopy >(storage);
3190  }
3191 
3197  bool has_entitlement_type() const {
3198  return Storage().isMember("entitlementType");
3199  }
3200 
3205  MutableStorage()->removeMember("entitlementType");
3206  }
3207 
3208 
3212  int32 get_entitlement_type() const {
3213  const Json::Value& storage = Storage("entitlementType");
3214  return client::JsonValueToCppValueHelper<int32 >(storage);
3215  }
3216 
3224  void set_entitlement_type(int32 value) {
3225  client::SetJsonValueFromCppValueHelper<int32 >(
3226  value, MutableStorage("entitlementType"));
3227  }
3228 
3234  bool has_family_sharing() const {
3235  return Storage().isMember("familySharing");
3236  }
3237 
3242  MutableStorage()->removeMember("familySharing");
3243  }
3244 
3245 
3251  const Json::Value& storage = Storage("familySharing");
3252  return client::JsonValueToCppValueHelper<VolumeUserInfoFamilySharing >(storage);
3253  }
3254 
3264  Json::Value* storage = MutableStorage("familySharing");
3265  return client::JsonValueToMutableCppValueHelper<VolumeUserInfoFamilySharing >(storage);
3266  }
3267 
3275  return Storage().isMember("isFamilySharedFromUser");
3276  }
3277 
3282  MutableStorage()->removeMember("isFamilySharedFromUser");
3283  }
3284 
3285 
3290  const Json::Value& storage = Storage("isFamilySharedFromUser");
3291  return client::JsonValueToCppValueHelper<bool >(storage);
3292  }
3293 
3302  client::SetJsonValueFromCppValueHelper<bool >(
3303  value, MutableStorage("isFamilySharedFromUser"));
3304  }
3305 
3313  return Storage().isMember("isFamilySharedToUser");
3314  }
3315 
3320  MutableStorage()->removeMember("isFamilySharedToUser");
3321  }
3322 
3323 
3328  const Json::Value& storage = Storage("isFamilySharedToUser");
3329  return client::JsonValueToCppValueHelper<bool >(storage);
3330  }
3331 
3339  void set_is_family_shared_to_user(bool value) {
3340  client::SetJsonValueFromCppValueHelper<bool >(
3341  value, MutableStorage("isFamilySharedToUser"));
3342  }
3343 
3351  return Storage().isMember("isFamilySharingAllowed");
3352  }
3353 
3358  MutableStorage()->removeMember("isFamilySharingAllowed");
3359  }
3360 
3361 
3366  const Json::Value& storage = Storage("isFamilySharingAllowed");
3367  return client::JsonValueToCppValueHelper<bool >(storage);
3368  }
3369 
3380  client::SetJsonValueFromCppValueHelper<bool >(
3381  value, MutableStorage("isFamilySharingAllowed"));
3382  }
3383 
3392  return Storage().isMember("isFamilySharingDisabledByFop");
3393  }
3394 
3399  MutableStorage()->removeMember("isFamilySharingDisabledByFop");
3400  }
3401 
3402 
3408  const Json::Value& storage = Storage("isFamilySharingDisabledByFop");
3409  return client::JsonValueToCppValueHelper<bool >(storage);
3410  }
3411 
3422  client::SetJsonValueFromCppValueHelper<bool >(
3423  value, MutableStorage("isFamilySharingDisabledByFop"));
3424  }
3425 
3431  bool has_is_in_my_books() const {
3432  return Storage().isMember("isInMyBooks");
3433  }
3434 
3439  MutableStorage()->removeMember("isInMyBooks");
3440  }
3441 
3442 
3446  bool get_is_in_my_books() const {
3447  const Json::Value& storage = Storage("isInMyBooks");
3448  return client::JsonValueToCppValueHelper<bool >(storage);
3449  }
3450 
3458  void set_is_in_my_books(bool value) {
3459  client::SetJsonValueFromCppValueHelper<bool >(
3460  value, MutableStorage("isInMyBooks"));
3461  }
3462 
3468  bool has_is_preordered() const {
3469  return Storage().isMember("isPreordered");
3470  }
3471 
3476  MutableStorage()->removeMember("isPreordered");
3477  }
3478 
3479 
3483  bool get_is_preordered() const {
3484  const Json::Value& storage = Storage("isPreordered");
3485  return client::JsonValueToCppValueHelper<bool >(storage);
3486  }
3487 
3496  void set_is_preordered(bool value) {
3497  client::SetJsonValueFromCppValueHelper<bool >(
3498  value, MutableStorage("isPreordered"));
3499  }
3500 
3506  bool has_is_purchased() const {
3507  return Storage().isMember("isPurchased");
3508  }
3509 
3514  MutableStorage()->removeMember("isPurchased");
3515  }
3516 
3517 
3521  bool get_is_purchased() const {
3522  const Json::Value& storage = Storage("isPurchased");
3523  return client::JsonValueToCppValueHelper<bool >(storage);
3524  }
3525 
3534  void set_is_purchased(bool value) {
3535  client::SetJsonValueFromCppValueHelper<bool >(
3536  value, MutableStorage("isPurchased"));
3537  }
3538 
3544  bool has_is_uploaded() const {
3545  return Storage().isMember("isUploaded");
3546  }
3547 
3552  MutableStorage()->removeMember("isUploaded");
3553  }
3554 
3555 
3559  bool get_is_uploaded() const {
3560  const Json::Value& storage = Storage("isUploaded");
3561  return client::JsonValueToCppValueHelper<bool >(storage);
3562  }
3563 
3571  void set_is_uploaded(bool value) {
3572  client::SetJsonValueFromCppValueHelper<bool >(
3573  value, MutableStorage("isUploaded"));
3574  }
3575 
3581  bool has_reading_position() const {
3582  return Storage().isMember("readingPosition");
3583  }
3584 
3589  MutableStorage()->removeMember("readingPosition");
3590  }
3591 
3592 
3597  const ReadingPosition get_reading_position() const;
3598 
3608  ReadingPosition mutable_readingPosition();
3609 
3615  bool has_rental_period() const {
3616  return Storage().isMember("rentalPeriod");
3617  }
3618 
3623  MutableStorage()->removeMember("rentalPeriod");
3624  }
3625 
3626 
3632  const Json::Value& storage = Storage("rentalPeriod");
3633  return client::JsonValueToCppValueHelper<VolumeUserInfoRentalPeriod >(storage);
3634  }
3635 
3645  Json::Value* storage = MutableStorage("rentalPeriod");
3646  return client::JsonValueToMutableCppValueHelper<VolumeUserInfoRentalPeriod >(storage);
3647  }
3648 
3654  bool has_rental_state() const {
3655  return Storage().isMember("rentalState");
3656  }
3657 
3662  MutableStorage()->removeMember("rentalState");
3663  }
3664 
3665 
3669  const StringPiece get_rental_state() const {
3670  const Json::Value& v = Storage("rentalState");
3671  if (v == Json::Value::null) return StringPiece("");
3672  return StringPiece(v.asCString());
3673  }
3674 
3682  void set_rental_state(const StringPiece& value) {
3683  *MutableStorage("rentalState") = value.data();
3684  }
3685 
3691  bool has_review() const {
3692  return Storage().isMember("review");
3693  }
3694 
3698  void clear_review() {
3699  MutableStorage()->removeMember("review");
3700  }
3701 
3702 
3706  const Review get_review() const;
3707 
3716  Review mutable_review();
3717 
3723  bool has_updated() const {
3724  return Storage().isMember("updated");
3725  }
3726 
3730  void clear_updated() {
3731  MutableStorage()->removeMember("updated");
3732  }
3733 
3734 
3738  client::DateTime get_updated() const {
3739  const Json::Value& storage = Storage("updated");
3740  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
3741  }
3742 
3752  void set_updated(client::DateTime value) {
3753  client::SetJsonValueFromCppValueHelper<client::DateTime >(
3754  value, MutableStorage("updated"));
3755  }
3756 
3764  return Storage().isMember("userUploadedVolumeInfo");
3765  }
3766 
3771  MutableStorage()->removeMember("userUploadedVolumeInfo");
3772  }
3773 
3774 
3780  const Json::Value& storage = Storage("userUploadedVolumeInfo");
3781  return client::JsonValueToCppValueHelper<VolumeUserInfoUserUploadedVolumeInfo >(storage);
3782  }
3783 
3790  Json::Value* storage = MutableStorage("userUploadedVolumeInfo");
3791  return client::JsonValueToMutableCppValueHelper<VolumeUserInfoUserUploadedVolumeInfo >(storage);
3792  }
3793 
3794  private:
3795  void operator=(const VolumeUserInfo&);
3796  }; // VolumeUserInfo
3802  class VolumeVolumeInfo : public client::JsonCppData {
3803  public:
3809  class VolumeVolumeInfoDimensions : public client::JsonCppData {
3810  public:
3816  static VolumeVolumeInfoDimensions* New();
3817 
3823  explicit VolumeVolumeInfoDimensions(const Json::Value& storage);
3824 
3830  explicit VolumeVolumeInfoDimensions(Json::Value* storage);
3831 
3835  virtual ~VolumeVolumeInfoDimensions();
3836 
3842  const StringPiece GetTypeName() const {
3843  return StringPiece("google_books_api::VolumeVolumeInfoDimensions");
3844  }
3845 
3851  bool has_height() const {
3852  return Storage().isMember("height");
3853  }
3854 
3858  void clear_height() {
3859  MutableStorage()->removeMember("height");
3860  }
3861 
3862 
3866  const StringPiece get_height() const {
3867  const Json::Value& v = Storage("height");
3868  if (v == Json::Value::null) return StringPiece("");
3869  return StringPiece(v.asCString());
3870  }
3871 
3879  void set_height(const StringPiece& value) {
3880  *MutableStorage("height") = value.data();
3881  }
3882 
3888  bool has_thickness() const {
3889  return Storage().isMember("thickness");
3890  }
3891 
3896  MutableStorage()->removeMember("thickness");
3897  }
3898 
3899 
3903  const StringPiece get_thickness() const {
3904  const Json::Value& v = Storage("thickness");
3905  if (v == Json::Value::null) return StringPiece("");
3906  return StringPiece(v.asCString());
3907  }
3908 
3916  void set_thickness(const StringPiece& value) {
3917  *MutableStorage("thickness") = value.data();
3918  }
3919 
3925  bool has_width() const {
3926  return Storage().isMember("width");
3927  }
3928 
3932  void clear_width() {
3933  MutableStorage()->removeMember("width");
3934  }
3935 
3936 
3940  const StringPiece get_width() const {
3941  const Json::Value& v = Storage("width");
3942  if (v == Json::Value::null) return StringPiece("");
3943  return StringPiece(v.asCString());
3944  }
3945 
3953  void set_width(const StringPiece& value) {
3954  *MutableStorage("width") = value.data();
3955  }
3956 
3957  private:
3958  void operator=(const VolumeVolumeInfoDimensions&);
3959  }; // VolumeVolumeInfoDimensions
3966  class VolumeVolumeInfoImageLinks : public client::JsonCppData {
3967  public:
3973  static VolumeVolumeInfoImageLinks* New();
3974 
3980  explicit VolumeVolumeInfoImageLinks(const Json::Value& storage);
3981 
3987  explicit VolumeVolumeInfoImageLinks(Json::Value* storage);
3988 
3992  virtual ~VolumeVolumeInfoImageLinks();
3993 
3999  const StringPiece GetTypeName() const {
4000  return StringPiece("google_books_api::VolumeVolumeInfoImageLinks");
4001  }
4002 
4008  bool has_extra_large() const {
4009  return Storage().isMember("extraLarge");
4010  }
4011 
4016  MutableStorage()->removeMember("extraLarge");
4017  }
4018 
4019 
4023  const StringPiece get_extra_large() const {
4024  const Json::Value& v = Storage("extraLarge");
4025  if (v == Json::Value::null) return StringPiece("");
4026  return StringPiece(v.asCString());
4027  }
4028 
4037  void set_extra_large(const StringPiece& value) {
4038  *MutableStorage("extraLarge") = value.data();
4039  }
4040 
4046  bool has_large() const {
4047  return Storage().isMember("large");
4048  }
4049 
4053  void clear_large() {
4054  MutableStorage()->removeMember("large");
4055  }
4056 
4057 
4061  const StringPiece get_large() const {
4062  const Json::Value& v = Storage("large");
4063  if (v == Json::Value::null) return StringPiece("");
4064  return StringPiece(v.asCString());
4065  }
4066 
4074  void set_large(const StringPiece& value) {
4075  *MutableStorage("large") = value.data();
4076  }
4077 
4083  bool has_medium() const {
4084  return Storage().isMember("medium");
4085  }
4086 
4090  void clear_medium() {
4091  MutableStorage()->removeMember("medium");
4092  }
4093 
4094 
4098  const StringPiece get_medium() const {
4099  const Json::Value& v = Storage("medium");
4100  if (v == Json::Value::null) return StringPiece("");
4101  return StringPiece(v.asCString());
4102  }
4103 
4112  void set_medium(const StringPiece& value) {
4113  *MutableStorage("medium") = value.data();
4114  }
4115 
4121  bool has_small() const {
4122  return Storage().isMember("small");
4123  }
4124 
4128  void clear_small() {
4129  MutableStorage()->removeMember("small");
4130  }
4131 
4132 
4136  const StringPiece get_small() const {
4137  const Json::Value& v = Storage("small");
4138  if (v == Json::Value::null) return StringPiece("");
4139  return StringPiece(v.asCString());
4140  }
4141 
4149  void set_small(const StringPiece& value) {
4150  *MutableStorage("small") = value.data();
4151  }
4152 
4158  bool has_small_thumbnail() const {
4159  return Storage().isMember("smallThumbnail");
4160  }
4161 
4166  MutableStorage()->removeMember("smallThumbnail");
4167  }
4168 
4169 
4173  const StringPiece get_small_thumbnail() const {
4174  const Json::Value& v = Storage("smallThumbnail");
4175  if (v == Json::Value::null) return StringPiece("");
4176  return StringPiece(v.asCString());
4177  }
4178 
4187  void set_small_thumbnail(const StringPiece& value) {
4188  *MutableStorage("smallThumbnail") = value.data();
4189  }
4190 
4196  bool has_thumbnail() const {
4197  return Storage().isMember("thumbnail");
4198  }
4199 
4204  MutableStorage()->removeMember("thumbnail");
4205  }
4206 
4207 
4211  const StringPiece get_thumbnail() const {
4212  const Json::Value& v = Storage("thumbnail");
4213  if (v == Json::Value::null) return StringPiece("");
4214  return StringPiece(v.asCString());
4215  }
4216 
4225  void set_thumbnail(const StringPiece& value) {
4226  *MutableStorage("thumbnail") = value.data();
4227  }
4228 
4229  private:
4230  void operator=(const VolumeVolumeInfoImageLinks&);
4231  }; // VolumeVolumeInfoImageLinks
4237  class VolumeVolumeInfoIndustryIdentifiers : public client::JsonCppData {
4238  public:
4245 
4251  explicit VolumeVolumeInfoIndustryIdentifiers(const Json::Value& storage);
4252 
4258  explicit VolumeVolumeInfoIndustryIdentifiers(Json::Value* storage);
4259 
4264 
4271  const StringPiece GetTypeName() const {
4272  return StringPiece("google_books_api::VolumeVolumeInfoIndustryIdentifiers");
4273  }
4274 
4280  bool has_identifier() const {
4281  return Storage().isMember("identifier");
4282  }
4283 
4288  MutableStorage()->removeMember("identifier");
4289  }
4290 
4291 
4295  const StringPiece get_identifier() const {
4296  const Json::Value& v = Storage("identifier");
4297  if (v == Json::Value::null) return StringPiece("");
4298  return StringPiece(v.asCString());
4299  }
4300 
4308  void set_identifier(const StringPiece& value) {
4309  *MutableStorage("identifier") = value.data();
4310  }
4311 
4317  bool has_type() const {
4318  return Storage().isMember("type");
4319  }
4320 
4324  void clear_type() {
4325  MutableStorage()->removeMember("type");
4326  }
4327 
4328 
4332  const StringPiece get_type() const {
4333  const Json::Value& v = Storage("type");
4334  if (v == Json::Value::null) return StringPiece("");
4335  return StringPiece(v.asCString());
4336  }
4337 
4345  void set_type(const StringPiece& value) {
4346  *MutableStorage("type") = value.data();
4347  }
4348 
4349  private:
4350  void operator=(const VolumeVolumeInfoIndustryIdentifiers&);
4351  }; // VolumeVolumeInfoIndustryIdentifiers
4357  class VolumeVolumeInfoPanelizationSummary : public client::JsonCppData {
4358  public:
4365 
4371  explicit VolumeVolumeInfoPanelizationSummary(const Json::Value& storage);
4372 
4378  explicit VolumeVolumeInfoPanelizationSummary(Json::Value* storage);
4379 
4384 
4391  const StringPiece GetTypeName() const {
4392  return StringPiece("google_books_api::VolumeVolumeInfoPanelizationSummary");
4393  }
4394 
4402  return Storage().isMember("containsEpubBubbles");
4403  }
4404 
4409  MutableStorage()->removeMember("containsEpubBubbles");
4410  }
4411 
4412 
4417  const Json::Value& storage = Storage("containsEpubBubbles");
4418  return client::JsonValueToCppValueHelper<bool >(storage);
4419  }
4420 
4425  void set_contains_epub_bubbles(bool value) {
4426  client::SetJsonValueFromCppValueHelper<bool >(
4427  value, MutableStorage("containsEpubBubbles"));
4428  }
4429 
4437  return Storage().isMember("containsImageBubbles");
4438  }
4439 
4444  MutableStorage()->removeMember("containsImageBubbles");
4445  }
4446 
4447 
4452  const Json::Value& storage = Storage("containsImageBubbles");
4453  return client::JsonValueToCppValueHelper<bool >(storage);
4454  }
4455 
4460  void set_contains_image_bubbles(bool value) {
4461  client::SetJsonValueFromCppValueHelper<bool >(
4462  value, MutableStorage("containsImageBubbles"));
4463  }
4464 
4471  return Storage().isMember("epubBubbleVersion");
4472  }
4473 
4478  MutableStorage()->removeMember("epubBubbleVersion");
4479  }
4480 
4481 
4485  const StringPiece get_epub_bubble_version() const {
4486  const Json::Value& v = Storage("epubBubbleVersion");
4487  if (v == Json::Value::null) return StringPiece("");
4488  return StringPiece(v.asCString());
4489  }
4490 
4495  void set_epub_bubble_version(const StringPiece& value) {
4496  *MutableStorage("epubBubbleVersion") = value.data();
4497  }
4498 
4506  return Storage().isMember("imageBubbleVersion");
4507  }
4508 
4513  MutableStorage()->removeMember("imageBubbleVersion");
4514  }
4515 
4516 
4520  const StringPiece get_image_bubble_version() const {
4521  const Json::Value& v = Storage("imageBubbleVersion");
4522  if (v == Json::Value::null) return StringPiece("");
4523  return StringPiece(v.asCString());
4524  }
4525 
4530  void set_image_bubble_version(const StringPiece& value) {
4531  *MutableStorage("imageBubbleVersion") = value.data();
4532  }
4533 
4534  private:
4535  void operator=(const VolumeVolumeInfoPanelizationSummary&);
4536  }; // VolumeVolumeInfoPanelizationSummary
4542  static VolumeVolumeInfo* New();
4543 
4549  explicit VolumeVolumeInfo(const Json::Value& storage);
4550 
4556  explicit VolumeVolumeInfo(Json::Value* storage);
4557 
4561  virtual ~VolumeVolumeInfo();
4562 
4568  const StringPiece GetTypeName() const {
4569  return StringPiece("google_books_api::VolumeVolumeInfo");
4570  }
4571 
4577  bool has_allow_anon_logging() const {
4578  return Storage().isMember("allowAnonLogging");
4579  }
4580 
4585  MutableStorage()->removeMember("allowAnonLogging");
4586  }
4587 
4588 
4592  bool get_allow_anon_logging() const {
4593  const Json::Value& storage = Storage("allowAnonLogging");
4594  return client::JsonValueToCppValueHelper<bool >(storage);
4595  }
4596 
4604  void set_allow_anon_logging(bool value) {
4605  client::SetJsonValueFromCppValueHelper<bool >(
4606  value, MutableStorage("allowAnonLogging"));
4607  }
4608 
4614  bool has_authors() const {
4615  return Storage().isMember("authors");
4616  }
4617 
4621  void clear_authors() {
4622  MutableStorage()->removeMember("authors");
4623  }
4624 
4625 
4629  const client::JsonCppArray<string > get_authors() const {
4630  const Json::Value& storage = Storage("authors");
4631  return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
4632  }
4633 
4643  client::JsonCppArray<string > mutable_authors() {
4644  Json::Value* storage = MutableStorage("authors");
4645  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
4646  }
4647 
4653  bool has_average_rating() const {
4654  return Storage().isMember("averageRating");
4655  }
4656 
4661  MutableStorage()->removeMember("averageRating");
4662  }
4663 
4664 
4668  double get_average_rating() const {
4669  const Json::Value& storage = Storage("averageRating");
4670  return client::JsonValueToCppValueHelper<double >(storage);
4671  }
4672 
4680  void set_average_rating(double value) {
4681  client::SetJsonValueFromCppValueHelper<double >(
4682  value, MutableStorage("averageRating"));
4683  }
4684 
4691  return Storage().isMember("canonicalVolumeLink");
4692  }
4693 
4698  MutableStorage()->removeMember("canonicalVolumeLink");
4699  }
4700 
4701 
4705  const StringPiece get_canonical_volume_link() const {
4706  const Json::Value& v = Storage("canonicalVolumeLink");
4707  if (v == Json::Value::null) return StringPiece("");
4708  return StringPiece(v.asCString());
4709  }
4710 
4718  void set_canonical_volume_link(const StringPiece& value) {
4719  *MutableStorage("canonicalVolumeLink") = value.data();
4720  }
4721 
4727  bool has_categories() const {
4728  return Storage().isMember("categories");
4729  }
4730 
4735  MutableStorage()->removeMember("categories");
4736  }
4737 
4738 
4742  const client::JsonCppArray<string > get_categories() const {
4743  const Json::Value& storage = Storage("categories");
4744  return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
4745  }
4746 
4755  client::JsonCppArray<string > mutable_categories() {
4756  Json::Value* storage = MutableStorage("categories");
4757  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
4758  }
4759 
4765  bool has_comics_content() const {
4766  return Storage().isMember("comicsContent");
4767  }
4768 
4773  MutableStorage()->removeMember("comicsContent");
4774  }
4775 
4776 
4780  bool get_comics_content() const {
4781  const Json::Value& storage = Storage("comicsContent");
4782  return client::JsonValueToCppValueHelper<bool >(storage);
4783  }
4784 
4792  void set_comics_content(bool value) {
4793  client::SetJsonValueFromCppValueHelper<bool >(
4794  value, MutableStorage("comicsContent"));
4795  }
4796 
4802  bool has_content_version() const {
4803  return Storage().isMember("contentVersion");
4804  }
4805 
4810  MutableStorage()->removeMember("contentVersion");
4811  }
4812 
4813 
4817  const StringPiece get_content_version() const {
4818  const Json::Value& v = Storage("contentVersion");
4819  if (v == Json::Value::null) return StringPiece("");
4820  return StringPiece(v.asCString());
4821  }
4822 
4831  void set_content_version(const StringPiece& value) {
4832  *MutableStorage("contentVersion") = value.data();
4833  }
4834 
4840  bool has_description() const {
4841  return Storage().isMember("description");
4842  }
4843 
4848  MutableStorage()->removeMember("description");
4849  }
4850 
4851 
4855  const StringPiece get_description() const {
4856  const Json::Value& v = Storage("description");
4857  if (v == Json::Value::null) return StringPiece("");
4858  return StringPiece(v.asCString());
4859  }
4860 
4870  void set_description(const StringPiece& value) {
4871  *MutableStorage("description") = value.data();
4872  }
4873 
4879  bool has_dimensions() const {
4880  return Storage().isMember("dimensions");
4881  }
4882 
4887  MutableStorage()->removeMember("dimensions");
4888  }
4889 
4890 
4895  const Json::Value& storage = Storage("dimensions");
4896  return client::JsonValueToCppValueHelper<VolumeVolumeInfoDimensions >(storage);
4897  }
4898 
4908  Json::Value* storage = MutableStorage("dimensions");
4909  return client::JsonValueToMutableCppValueHelper<VolumeVolumeInfoDimensions >(storage);
4910  }
4911 
4917  bool has_image_links() const {
4918  return Storage().isMember("imageLinks");
4919  }
4920 
4925  MutableStorage()->removeMember("imageLinks");
4926  }
4927 
4928 
4933  const Json::Value& storage = Storage("imageLinks");
4934  return client::JsonValueToCppValueHelper<VolumeVolumeInfoImageLinks >(storage);
4935  }
4936 
4947  Json::Value* storage = MutableStorage("imageLinks");
4948  return client::JsonValueToMutableCppValueHelper<VolumeVolumeInfoImageLinks >(storage);
4949  }
4950 
4957  return Storage().isMember("industryIdentifiers");
4958  }
4959 
4964  MutableStorage()->removeMember("industryIdentifiers");
4965  }
4966 
4967 
4972  const client::JsonCppArray<VolumeVolumeInfoIndustryIdentifiers > get_industry_identifiers() const {
4973  const Json::Value& storage = Storage("industryIdentifiers");
4974  return client::JsonValueToCppValueHelper<client::JsonCppArray<VolumeVolumeInfoIndustryIdentifiers > >(storage);
4975  }
4976 
4985  client::JsonCppArray<VolumeVolumeInfoIndustryIdentifiers > mutable_industryIdentifiers() {
4986  Json::Value* storage = MutableStorage("industryIdentifiers");
4987  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<VolumeVolumeInfoIndustryIdentifiers > >(storage);
4988  }
4989 
4995  bool has_info_link() const {
4996  return Storage().isMember("infoLink");
4997  }
4998 
5003  MutableStorage()->removeMember("infoLink");
5004  }
5005 
5006 
5010  const StringPiece get_info_link() const {
5011  const Json::Value& v = Storage("infoLink");
5012  if (v == Json::Value::null) return StringPiece("");
5013  return StringPiece(v.asCString());
5014  }
5015 
5024  void set_info_link(const StringPiece& value) {
5025  *MutableStorage("infoLink") = value.data();
5026  }
5027 
5033  bool has_language() const {
5034  return Storage().isMember("language");
5035  }
5036 
5041  MutableStorage()->removeMember("language");
5042  }
5043 
5044 
5048  const StringPiece get_language() const {
5049  const Json::Value& v = Storage("language");
5050  if (v == Json::Value::null) return StringPiece("");
5051  return StringPiece(v.asCString());
5052  }
5053 
5062  void set_language(const StringPiece& value) {
5063  *MutableStorage("language") = value.data();
5064  }
5065 
5071  bool has_main_category() const {
5072  return Storage().isMember("mainCategory");
5073  }
5074 
5079  MutableStorage()->removeMember("mainCategory");
5080  }
5081 
5082 
5086  const StringPiece get_main_category() const {
5087  const Json::Value& v = Storage("mainCategory");
5088  if (v == Json::Value::null) return StringPiece("");
5089  return StringPiece(v.asCString());
5090  }
5091 
5100  void set_main_category(const StringPiece& value) {
5101  *MutableStorage("mainCategory") = value.data();
5102  }
5103 
5109  bool has_maturity_rating() const {
5110  return Storage().isMember("maturityRating");
5111  }
5112 
5117  MutableStorage()->removeMember("maturityRating");
5118  }
5119 
5120 
5124  const StringPiece get_maturity_rating() const {
5125  const Json::Value& v = Storage("maturityRating");
5126  if (v == Json::Value::null) return StringPiece("");
5127  return StringPiece(v.asCString());
5128  }
5129 
5134  void set_maturity_rating(const StringPiece& value) {
5135  *MutableStorage("maturityRating") = value.data();
5136  }
5137 
5143  bool has_page_count() const {
5144  return Storage().isMember("pageCount");
5145  }
5146 
5151  MutableStorage()->removeMember("pageCount");
5152  }
5153 
5154 
5158  int32 get_page_count() const {
5159  const Json::Value& storage = Storage("pageCount");
5160  return client::JsonValueToCppValueHelper<int32 >(storage);
5161  }
5162 
5170  void set_page_count(int32 value) {
5171  client::SetJsonValueFromCppValueHelper<int32 >(
5172  value, MutableStorage("pageCount"));
5173  }
5174 
5181  return Storage().isMember("panelizationSummary");
5182  }
5183 
5188  MutableStorage()->removeMember("panelizationSummary");
5189  }
5190 
5191 
5197  const Json::Value& storage = Storage("panelizationSummary");
5198  return client::JsonValueToCppValueHelper<VolumeVolumeInfoPanelizationSummary >(storage);
5199  }
5200 
5210  Json::Value* storage = MutableStorage("panelizationSummary");
5211  return client::JsonValueToMutableCppValueHelper<VolumeVolumeInfoPanelizationSummary >(storage);
5212  }
5213 
5219  bool has_preview_link() const {
5220  return Storage().isMember("previewLink");
5221  }
5222 
5227  MutableStorage()->removeMember("previewLink");
5228  }
5229 
5230 
5234  const StringPiece get_preview_link() const {
5235  const Json::Value& v = Storage("previewLink");
5236  if (v == Json::Value::null) return StringPiece("");
5237  return StringPiece(v.asCString());
5238  }
5239 
5247  void set_preview_link(const StringPiece& value) {
5248  *MutableStorage("previewLink") = value.data();
5249  }
5250 
5256  bool has_print_type() const {
5257  return Storage().isMember("printType");
5258  }
5259 
5264  MutableStorage()->removeMember("printType");
5265  }
5266 
5267 
5271  const StringPiece get_print_type() const {
5272  const Json::Value& v = Storage("printType");
5273  if (v == Json::Value::null) return StringPiece("");
5274  return StringPiece(v.asCString());
5275  }
5276 
5284  void set_print_type(const StringPiece& value) {
5285  *MutableStorage("printType") = value.data();
5286  }
5287 
5293  bool has_printed_page_count() const {
5294  return Storage().isMember("printedPageCount");
5295  }
5296 
5301  MutableStorage()->removeMember("printedPageCount");
5302  }
5303 
5304 
5308  int32 get_printed_page_count() const {
5309  const Json::Value& storage = Storage("printedPageCount");
5310  return client::JsonValueToCppValueHelper<int32 >(storage);
5311  }
5312 
5320  void set_printed_page_count(int32 value) {
5321  client::SetJsonValueFromCppValueHelper<int32 >(
5322  value, MutableStorage("printedPageCount"));
5323  }
5324 
5330  bool has_published_date() const {
5331  return Storage().isMember("publishedDate");
5332  }
5333 
5338  MutableStorage()->removeMember("publishedDate");
5339  }
5340 
5341 
5345  const StringPiece get_published_date() const {
5346  const Json::Value& v = Storage("publishedDate");
5347  if (v == Json::Value::null) return StringPiece("");
5348  return StringPiece(v.asCString());
5349  }
5350 
5358  void set_published_date(const StringPiece& value) {
5359  *MutableStorage("publishedDate") = value.data();
5360  }
5361 
5367  bool has_publisher() const {
5368  return Storage().isMember("publisher");
5369  }
5370 
5375  MutableStorage()->removeMember("publisher");
5376  }
5377 
5378 
5382  const StringPiece get_publisher() const {
5383  const Json::Value& v = Storage("publisher");
5384  if (v == Json::Value::null) return StringPiece("");
5385  return StringPiece(v.asCString());
5386  }
5387 
5395  void set_publisher(const StringPiece& value) {
5396  *MutableStorage("publisher") = value.data();
5397  }
5398 
5404  bool has_ratings_count() const {
5405  return Storage().isMember("ratingsCount");
5406  }
5407 
5412  MutableStorage()->removeMember("ratingsCount");
5413  }
5414 
5415 
5419  int32 get_ratings_count() const {
5420  const Json::Value& storage = Storage("ratingsCount");
5421  return client::JsonValueToCppValueHelper<int32 >(storage);
5422  }
5423 
5431  void set_ratings_count(int32 value) {
5432  client::SetJsonValueFromCppValueHelper<int32 >(
5433  value, MutableStorage("ratingsCount"));
5434  }
5435 
5441  bool has_reading_modes() const {
5442  return Storage().isMember("readingModes");
5443  }
5444 
5449  MutableStorage()->removeMember("readingModes");
5450  }
5451 
5452 
5457  const client::JsonCppData get_reading_modes() const {
5458  const Json::Value& storage = Storage("readingModes");
5459  return client::JsonValueToCppValueHelper<client::JsonCppData >(storage);
5460  }
5461 
5470  client::JsonCppData mutable_readingModes() {
5471  Json::Value* storage = MutableStorage("readingModes");
5472  return client::JsonValueToMutableCppValueHelper<client::JsonCppData >(storage);
5473  }
5474 
5480  bool has_sample_page_count() const {
5481  return Storage().isMember("samplePageCount");
5482  }
5483 
5488  MutableStorage()->removeMember("samplePageCount");
5489  }
5490 
5491 
5495  int32 get_sample_page_count() const {
5496  const Json::Value& storage = Storage("samplePageCount");
5497  return client::JsonValueToCppValueHelper<int32 >(storage);
5498  }
5499 
5507  void set_sample_page_count(int32 value) {
5508  client::SetJsonValueFromCppValueHelper<int32 >(
5509  value, MutableStorage("samplePageCount"));
5510  }
5511 
5517  bool has_series_info() const {
5518  return Storage().isMember("seriesInfo");
5519  }
5520 
5525  MutableStorage()->removeMember("seriesInfo");
5526  }
5527 
5528 
5532  const Volumeseriesinfo get_series_info() const;
5533 
5539  Volumeseriesinfo mutable_seriesInfo();
5540 
5546  bool has_subtitle() const {
5547  return Storage().isMember("subtitle");
5548  }
5549 
5554  MutableStorage()->removeMember("subtitle");
5555  }
5556 
5557 
5561  const StringPiece get_subtitle() const {
5562  const Json::Value& v = Storage("subtitle");
5563  if (v == Json::Value::null) return StringPiece("");
5564  return StringPiece(v.asCString());
5565  }
5566 
5574  void set_subtitle(const StringPiece& value) {
5575  *MutableStorage("subtitle") = value.data();
5576  }
5577 
5583  bool has_title() const {
5584  return Storage().isMember("title");
5585  }
5586 
5590  void clear_title() {
5591  MutableStorage()->removeMember("title");
5592  }
5593 
5594 
5598  const StringPiece get_title() const {
5599  const Json::Value& v = Storage("title");
5600  if (v == Json::Value::null) return StringPiece("");
5601  return StringPiece(v.asCString());
5602  }
5603 
5611  void set_title(const StringPiece& value) {
5612  *MutableStorage("title") = value.data();
5613  }
5614 
5615  private:
5616  void operator=(const VolumeVolumeInfo&);
5617  }; // VolumeVolumeInfo
5623  static Volume* New();
5624 
5630  explicit Volume(const Json::Value& storage);
5631 
5637  explicit Volume(Json::Value* storage);
5638 
5642  virtual ~Volume();
5643 
5649  const StringPiece GetTypeName() const {
5650  return StringPiece("google_books_api::Volume");
5651  }
5652 
5658  bool has_access_info() const {
5659  return Storage().isMember("accessInfo");
5660  }
5661 
5666  MutableStorage()->removeMember("accessInfo");
5667  }
5668 
5669 
5674  const Json::Value& storage = Storage("accessInfo");
5675  return client::JsonValueToCppValueHelper<VolumeAccessInfo >(storage);
5676  }
5677 
5689  Json::Value* storage = MutableStorage("accessInfo");
5690  return client::JsonValueToMutableCppValueHelper<VolumeAccessInfo >(storage);
5691  }
5692 
5698  bool has_etag() const {
5699  return Storage().isMember("etag");
5700  }
5701 
5705  void clear_etag() {
5706  MutableStorage()->removeMember("etag");
5707  }
5708 
5709 
5713  const StringPiece get_etag() const {
5714  const Json::Value& v = Storage("etag");
5715  if (v == Json::Value::null) return StringPiece("");
5716  return StringPiece(v.asCString());
5717  }
5718 
5727  void set_etag(const StringPiece& value) {
5728  *MutableStorage("etag") = value.data();
5729  }
5730 
5736  bool has_id() const {
5737  return Storage().isMember("id");
5738  }
5739 
5743  void clear_id() {
5744  MutableStorage()->removeMember("id");
5745  }
5746 
5747 
5751  const StringPiece get_id() const {
5752  const Json::Value& v = Storage("id");
5753  if (v == Json::Value::null) return StringPiece("");
5754  return StringPiece(v.asCString());
5755  }
5756 
5764  void set_id(const StringPiece& value) {
5765  *MutableStorage("id") = value.data();
5766  }
5767 
5773  bool has_kind() const {
5774  return Storage().isMember("kind");
5775  }
5776 
5780  void clear_kind() {
5781  MutableStorage()->removeMember("kind");
5782  }
5783 
5784 
5788  const StringPiece get_kind() const {
5789  const Json::Value& v = Storage("kind");
5790  if (v == Json::Value::null) return StringPiece("");
5791  return StringPiece(v.asCString());
5792  }
5793 
5801  void set_kind(const StringPiece& value) {
5802  *MutableStorage("kind") = value.data();
5803  }
5804 
5810  bool has_layer_info() const {
5811  return Storage().isMember("layerInfo");
5812  }
5813 
5818  MutableStorage()->removeMember("layerInfo");
5819  }
5820 
5821 
5826  const Json::Value& storage = Storage("layerInfo");
5827  return client::JsonValueToCppValueHelper<VolumeLayerInfo >(storage);
5828  }
5829 
5839  Json::Value* storage = MutableStorage("layerInfo");
5840  return client::JsonValueToMutableCppValueHelper<VolumeLayerInfo >(storage);
5841  }
5842 
5848  bool has_recommended_info() const {
5849  return Storage().isMember("recommendedInfo");
5850  }
5851 
5856  MutableStorage()->removeMember("recommendedInfo");
5857  }
5858 
5859 
5865  const Json::Value& storage = Storage("recommendedInfo");
5866  return client::JsonValueToCppValueHelper<VolumeRecommendedInfo >(storage);
5867  }
5868 
5878  Json::Value* storage = MutableStorage("recommendedInfo");
5879  return client::JsonValueToMutableCppValueHelper<VolumeRecommendedInfo >(storage);
5880  }
5881 
5887  bool has_sale_info() const {
5888  return Storage().isMember("saleInfo");
5889  }
5890 
5895  MutableStorage()->removeMember("saleInfo");
5896  }
5897 
5898 
5903  const Json::Value& storage = Storage("saleInfo");
5904  return client::JsonValueToCppValueHelper<VolumeSaleInfo >(storage);
5905  }
5906 
5919  Json::Value* storage = MutableStorage("saleInfo");
5920  return client::JsonValueToMutableCppValueHelper<VolumeSaleInfo >(storage);
5921  }
5922 
5928  bool has_search_info() const {
5929  return Storage().isMember("searchInfo");
5930  }
5931 
5936  MutableStorage()->removeMember("searchInfo");
5937  }
5938 
5939 
5944  const Json::Value& storage = Storage("searchInfo");
5945  return client::JsonValueToCppValueHelper<VolumeSearchInfo >(storage);
5946  }
5947 
5957  Json::Value* storage = MutableStorage("searchInfo");
5958  return client::JsonValueToMutableCppValueHelper<VolumeSearchInfo >(storage);
5959  }
5960 
5966  bool has_self_link() const {
5967  return Storage().isMember("selfLink");
5968  }
5969 
5974  MutableStorage()->removeMember("selfLink");
5975  }
5976 
5977 
5981  const StringPiece get_self_link() const {
5982  const Json::Value& v = Storage("selfLink");
5983  if (v == Json::Value::null) return StringPiece("");
5984  return StringPiece(v.asCString());
5985  }
5986 
5994  void set_self_link(const StringPiece& value) {
5995  *MutableStorage("selfLink") = value.data();
5996  }
5997 
6003  bool has_user_info() const {
6004  return Storage().isMember("userInfo");
6005  }
6006 
6011  MutableStorage()->removeMember("userInfo");
6012  }
6013 
6014 
6019  const Json::Value& storage = Storage("userInfo");
6020  return client::JsonValueToCppValueHelper<VolumeUserInfo >(storage);
6021  }
6022 
6033  Json::Value* storage = MutableStorage("userInfo");
6034  return client::JsonValueToMutableCppValueHelper<VolumeUserInfo >(storage);
6035  }
6036 
6042  bool has_volume_info() const {
6043  return Storage().isMember("volumeInfo");
6044  }
6045 
6050  MutableStorage()->removeMember("volumeInfo");
6051  }
6052 
6053 
6058  const Json::Value& storage = Storage("volumeInfo");
6059  return client::JsonValueToCppValueHelper<VolumeVolumeInfo >(storage);
6060  }
6061 
6071  Json::Value* storage = MutableStorage("volumeInfo");
6072  return client::JsonValueToMutableCppValueHelper<VolumeVolumeInfo >(storage);
6073  }
6074 
6075  private:
6076  void operator=(const Volume&);
6077 }; // Volume
6078 } // namespace google_books_api
6079 #endif // GOOGLE_BOOKS_API_VOLUME_H_
VolumeAccessInfoPdf mutable_pdf()
Definition: volume.h:716
bool has_sale_info() const
Definition: volume.h:5887
bool has_quote_sharing_allowed() const
Definition: volume.h:763
bool get_is_family_shared_to_user() const
Definition: volume.h:3327
void set_family_role(const StringPiece &value)
Definition: volume.h:2765
const StringPiece get_acs_token_link() const
Definition: volume.h:287
bool has_allowed_character_count() const
Definition: volume.h:2554
bool has_retail_price() const
Definition: volume.h:1912
const StringPiece GetTypeName() const
Definition: volume.h:2101
void clear_search_info()
Definition: volume.h:5935
void clear_publisher()
Definition: volume.h:5374
void set_etag(const StringPiece &value)
Definition: volume.h:5727
bool has_kind() const
Definition: volume.h:5773
const VolumeSaleInfoRetailPrice get_retail_price() const
Definition: volume.h:2352
bool has_published_date() const
Definition: volume.h:5330
const StringPiece get_layer_id() const
Definition: volume.h:1024
void clear_is_family_shared_to_user()
Definition: volume.h:3319
bool has_remaining_character_count() const
Definition: volume.h:2624
const VolumeVolumeInfoPanelizationSummary get_panelization_summary() const
Definition: volume.h:5196
bool has_list_price() const
Definition: volume.h:2224
client::JsonCppArray< string > mutable_authors()
Definition: volume.h:4643
const StringPiece GetTypeName() const
Definition: volume.h:1000
Definition: volume.h:57
const VolumeSaleInfoListPrice get_list_price() const
Definition: volume.h:2239
VolumeVolumeInfo mutable_volumeInfo()
Definition: volume.h:6070
void clear_description()
Definition: volume.h:4847
client::DateTime get_updated() const
Definition: volume.h:3738
void clear_content_version()
Definition: volume.h:4809
const StringPiece get_volume_annotations_version() const
Definition: volume.h:1063
void set_remaining_character_count(int32 value)
Definition: volume.h:2648
Definition: volumeseriesinfo.h:51
bool get_is_uploaded() const
Definition: volume.h:3559
void clear_categories()
Definition: volume.h:4734
bool has_explicit_offline_license_management() const
Definition: volume.h:649
void set_maturity_rating(const StringPiece &value)
Definition: volume.h:5134
VolumeSaleInfoOffersRentalDuration mutable_rentalDuration()
Definition: volume.h:1902
const StringPiece GetTypeName() const
Definition: volume.h:1752
void clear_layers()
Definition: volume.h:1133
void clear_is_preordered()
Definition: volume.h:3475
void clear_pdf()
Definition: volume.h:696
void clear_copy()
Definition: volume.h:3167
void set_view_order_url(const StringPiece &value)
Definition: volume.h:868
const StringPiece GetTypeName() const
Definition: volume.h:5649
void clear_epub()
Definition: volume.h:617
bool has_is_sharing_disabled_by_fop() const
Definition: volume.h:2815
const client::JsonCppArray< VolumeSaleInfoOffers > get_offers() const
Definition: volume.h:2277
bool has_authors() const
Definition: volume.h:4614
int32 get_page_count() const
Definition: volume.h:5158
void set_on_sale_date(client::DateTime value)
Definition: volume.h:2327
void set_access_view_status(const StringPiece &value)
Definition: volume.h:452
void set_download_link(const StringPiece &value)
Definition: volume.h:337
bool has_updated() const
Definition: volume.h:2658
void clear_user_uploaded_volume_info()
Definition: volume.h:3770
bool has_description() const
Definition: volume.h:4840
void clear_comics_content()
Definition: volume.h:4772
void clear_allow_anon_logging()
Definition: volume.h:4584
bool has_acquired_time() const
Definition: volume.h:3084
const VolumeSaleInfo get_sale_info() const
Definition: volume.h:5902
void set_ratings_count(int32 value)
Definition: volume.h:5431
void clear_drive_imported_content_link()
Definition: volume.h:541
bool has_on_sale_date() const
Definition: volume.h:2300
const VolumeAccessInfoEpub get_epub() const
Definition: volume.h:625
void clear_etag()
Definition: volume.h:5705
const client::JsonCppArray< string > get_categories() const
Definition: volume.h:4742
const StringPiece get_acs_token_link() const
Definition: volume.h:130
void set_publisher(const StringPiece &value)
Definition: volume.h:5395
const StringPiece get_identifier() const
Definition: volume.h:4295
const VolumeLayerInfo get_layer_info() const
Definition: volume.h:5825
bool has_user_uploaded_volume_info() const
Definition: volume.h:3763
const StringPiece get_view_order_url() const
Definition: volume.h:854
bool has_embeddable() const
Definition: volume.h:572
bool has_limit_type() const
Definition: volume.h:2588
const StringPiece get_id() const
Definition: volume.h:5751
bool has_reading_modes() const
Definition: volume.h:5441
void clear_is_family_sharing_disabled_by_fop()
Definition: volume.h:3398
const StringPiece GetTypeName() const
Definition: volume.h:413
void clear_download_access()
Definition: volume.h:506
void set_buy_link(const StringPiece &value)
Definition: volume.h:2139
void clear_sample_page_count()
Definition: volume.h:5487
const StringPiece get_text_to_speech_permission() const
Definition: volume.h:816
bool has_subtitle() const
Definition: volume.h:5546
const StringPiece GetTypeName() const
Definition: volume.h:4271
void set_acs_token_link(const StringPiece &value)
Definition: volume.h:300
Definition: reading_position.h:51
bool has_volume_info() const
Definition: volume.h:6042
double get_average_rating() const
Definition: volume.h:4668
bool has_country() const
Definition: volume.h:2148
const StringPiece GetTypeName() const
Definition: volume.h:1292
void set_entitlement_type(int32 value)
Definition: volume.h:3224
void clear_is_in_my_books()
Definition: volume.h:3438
void clear_layer_info()
Definition: volume.h:5817
bool get_comics_content() const
Definition: volume.h:4780
bool has_pdf() const
Definition: volume.h:689
bool get_is_family_shared_from_user() const
Definition: volume.h:3289
void clear_series_info()
Definition: volume.h:5524
bool has_info_link() const
Definition: volume.h:4995
const client::JsonCppArray< string > get_authors() const
Definition: volume.h:4629
bool get_is_family_sharing_disabled_by_fop() const
Definition: volume.h:3407
void set_acquired_time(client::DateTime value)
Definition: volume.h:3113
void set_is_sharing_allowed(bool value)
Definition: volume.h:2803
void clear_printed_page_count()
Definition: volume.h:5300
void set_viewability(const StringPiece &value)
Definition: volume.h:910
const StringPiece get_viewability() const
Definition: volume.h:892
bool has_main_category() const
Definition: volume.h:5071
bool has_panelization_summary() const
Definition: volume.h:5180
int32 get_sample_page_count() const
Definition: volume.h:5495
const VolumeUserInfoCopy get_copy() const
Definition: volume.h:3175
void set_allowed_character_count(int32 value)
Definition: volume.h:2578
int32 get_acquisition_type() const
Definition: volume.h:3138
const StringPiece get_kind() const
Definition: volume.h:5788
const StringPiece get_publisher() const
Definition: volume.h:5382
void clear_canonical_volume_link()
Definition: volume.h:4697
void clear_self_link()
Definition: volume.h:5973
bool has_is_ebook() const
Definition: volume.h:2186
VolumeVolumeInfoDimensions mutable_dimensions()
Definition: volume.h:4907
void set_amount(double value)
Definition: volume.h:1328
void clear_ratings_count()
Definition: volume.h:5411
void clear_acquisition_type()
Definition: volume.h:3130
void clear_authors()
Definition: volume.h:4621
bool get_is_ebook() const
Definition: volume.h:2201
bool has_user_info() const
Definition: volume.h:6003
bool has_is_purchased() const
Definition: volume.h:3506
void set_updated(client::DateTime value)
Definition: volume.h:2682
bool has_image_links() const
Definition: volume.h:4917
VolumeSearchInfo mutable_searchInfo()
Definition: volume.h:5956
const VolumeSaleInfoOffersListPrice get_list_price() const
Definition: volume.h:1850
const StringPiece get_limit_type() const
Definition: volume.h:2603
bool has_download_access() const
Definition: volume.h:499
void set_canonical_volume_link(const StringPiece &value)
Definition: volume.h:4718
void set_height(const StringPiece &value)
Definition: volume.h:3879
void clear_on_sale_date()
Definition: volume.h:2307
const StringPiece GetTypeName() const
Definition: volume.h:3003
bool has_rental_period() const
Definition: volume.h:3615
VolumeUserInfoCopy mutable_copy()
Definition: volume.h:3187
const StringPiece get_height() const
Definition: volume.h:3866
bool has_average_rating() const
Definition: volume.h:4653
const StringPiece get_download_link() const
Definition: volume.h:167
void clear_quote_sharing_allowed()
Definition: volume.h:770
void clear_acquired_time()
Definition: volume.h:3091
const StringPiece GetTypeName() const
Definition: volume.h:2889
bool has_text_snippet() const
Definition: volume.h:2462
bool has_reading_position() const
Definition: volume.h:3581
void clear_is_ebook()
Definition: volume.h:2193
void set_giftable(bool value)
Definition: volume.h:1825
bool has_rental_duration() const
Definition: volume.h:1873
bool has_view_order_url() const
Definition: volume.h:839
void set_volume_annotations_version(const StringPiece &value)
Definition: volume.h:1079
bool has_categories() const
Definition: volume.h:4727
void clear_image_links()
Definition: volume.h:4924
bool has_rental_state() const
Definition: volume.h:3654
void clear_page_count()
Definition: volume.h:5150
int32 get_remaining_character_count() const
Definition: volume.h:2639
const StringPiece get_print_type() const
Definition: volume.h:5271
const client::JsonCppArray< VolumeVolumeInfoIndustryIdentifiers > get_industry_identifiers() const
Definition: volume.h:4972
client::DateTime get_on_sale_date() const
Definition: volume.h:2315
const StringPiece get_buy_link() const
Definition: volume.h:2125
const StringPiece get_published_date() const
Definition: volume.h:5345
void clear_dimensions()
Definition: volume.h:4886
void clear_info_link()
Definition: volume.h:5002
const StringPiece get_saleability() const
Definition: volume.h:2392
void clear_industry_identifiers()
Definition: volume.h:4963
VolumeVolumeInfoPanelizationSummary mutable_panelizationSummary()
Definition: volume.h:5209
const StringPiece get_maturity_rating() const
Definition: volume.h:5124
void clear_main_category()
Definition: volume.h:5078
void set_is_available(bool value)
Definition: volume.h:217
bool has_is_uploaded() const
Definition: volume.h:3544
void clear_saleability()
Definition: volume.h:2384
const VolumeVolumeInfoDimensions get_dimensions() const
Definition: volume.h:4894
void set_updated(client::DateTime value)
Definition: volume.h:3752
void clear_is_uploaded()
Definition: volume.h:3551
bool has_epub() const
Definition: volume.h:610
const StringPiece GetTypeName() const
Definition: volume.h:2728
bool has_print_type() const
Definition: volume.h:5256
const StringPiece get_thickness() const
Definition: volume.h:3903
void set_quote_sharing_allowed(bool value)
Definition: volume.h:790
const VolumeVolumeInfo get_volume_info() const
Definition: volume.h:6057
bool has_acquisition_type() const
Definition: volume.h:3123
void set_rental_state(const StringPiece &value)
Definition: volume.h:3682
void clear_maturity_rating()
Definition: volume.h:5116
void clear_country()
Definition: volume.h:2155
VolumeAccessInfo mutable_accessInfo()
Definition: volume.h:5688
bool has_review() const
Definition: volume.h:3691
client::DateTime get_acquired_time() const
Definition: volume.h:3099
VolumeLayerInfo mutable_layerInfo()
Definition: volume.h:5838
void clear_subtitle()
Definition: volume.h:5553
void clear_allowed_character_count()
Definition: volume.h:2561
void set_download_link(const StringPiece &value)
Definition: volume.h:180
void clear_rental_period()
Definition: volume.h:3622
bool has_saleability() const
Definition: volume.h:2377
const StringPiece GetTypeName() const
Definition: volume.h:1989
bool get_public_domain() const
Definition: volume.h:741
void clear_reading_position()
Definition: volume.h:3588
bool get_is_sharing_disabled_by_fop() const
Definition: volume.h:2830
void clear_entitlement_type()
Definition: volume.h:3204
const StringPiece GetTypeName() const
Definition: volume.h:3075
void set_is_family_sharing_disabled_by_fop(bool value)
Definition: volume.h:3421
const StringPiece get_currency_code() const
Definition: volume.h:2050
const VolumeUserInfo get_user_info() const
Definition: volume.h:6018
void set_currency_code(const StringPiece &value)
Definition: volume.h:2063
int32 get_printed_page_count() const
Definition: volume.h:5308
void clear_is_family_shared_from_user()
Definition: volume.h:3281
void set_published_date(const StringPiece &value)
Definition: volume.h:5358
bool has_web_reader_link() const
Definition: volume.h:919
void set_title(const StringPiece &value)
Definition: volume.h:5611
VolumeUserInfoFamilySharing mutable_familySharing()
Definition: volume.h:3263
void clear_sale_info()
Definition: volume.h:5894
void clear_id()
Definition: volume.h:5743
void set_content_version(const StringPiece &value)
Definition: volume.h:4831
VolumeSaleInfoListPrice mutable_listPrice()
Definition: volume.h:2252
bool has_language() const
Definition: volume.h:5033
void clear_title()
Definition: volume.h:5590
bool has_text_to_speech_permission() const
Definition: volume.h:801
bool has_sample_page_count() const
Definition: volume.h:5480
bool has_explanation() const
Definition: volume.h:1209
const StringPiece get_family_role() const
Definition: volume.h:2752
void set_average_rating(double value)
Definition: volume.h:4680
const StringPiece get_country() const
Definition: volume.h:2163
void clear_country()
Definition: volume.h:468
void clear_family_sharing()
Definition: volume.h:3241
bool get_is_purchased() const
Definition: volume.h:3521
const StringPiece get_subtitle() const
Definition: volume.h:5561
bool has_family_sharing() const
Definition: volume.h:3234
void set_text_snippet(const StringPiece &value)
Definition: volume.h:2490
bool has_retail_price() const
Definition: volume.h:2337
bool has_self_link() const
Definition: volume.h:5966
VolumeUserInfoUserUploadedVolumeInfo mutable_userUploadedVolumeInfo()
Definition: volume.h:3789
void clear_viewability()
Definition: volume.h:884
void clear_published_date()
Definition: volume.h:5337
void clear_remaining_character_count()
Definition: volume.h:2631
void clear_web_reader_link()
Definition: volume.h:926
bool has_layers() const
Definition: volume.h:1126
void set_thickness(const StringPiece &value)
Definition: volume.h:3916
bool get_quote_sharing_allowed() const
Definition: volume.h:778
bool has_access_info() const
Definition: volume.h:5658
bool has_preview_link() const
Definition: volume.h:5219
void set_is_uploaded(bool value)
Definition: volume.h:3571
void set_is_ebook(bool value)
Definition: volume.h:2214
bool has_allow_anon_logging() const
Definition: volume.h:4577
void clear_recommended_info()
Definition: volume.h:5855
const StringPiece get_etag() const
Definition: volume.h:5713
void set_allow_anon_logging(bool value)
Definition: volume.h:4604
Definition: annotation.h:42
bool has_ratings_count() const
Definition: volume.h:5404
Definition: review.h:50
VolumeAccessInfoEpub mutable_epub()
Definition: volume.h:637
bool has_title() const
Definition: volume.h:5583
void clear_explanation()
Definition: volume.h:1216
void set_image_bubble_version(const StringPiece &value)
Definition: volume.h:4530
bool has_is_family_sharing_disabled_by_fop() const
Definition: volume.h:3391
void clear_access_view_status()
Definition: volume.h:429
void clear_review()
Definition: volume.h:3698
void clear_access_info()
Definition: volume.h:5665
bool has_is_family_shared_from_user() const
Definition: volume.h:3274
void set_public_domain(bool value)
Definition: volume.h:753
void set_finsky_offer_type(int32 value)
Definition: volume.h:1788
bool has_etag() const
Definition: volume.h:5698
bool has_copy() const
Definition: volume.h:3160
const client::JsonCppArray< VolumeLayerInfoLayers > get_layers() const
Definition: volume.h:1141
bool has_viewability() const
Definition: volume.h:877
void set_comics_content(bool value)
Definition: volume.h:4792
void clear_print_type()
Definition: volume.h:5263
void set_processing_state(const StringPiece &value)
Definition: volume.h:3037
VolumeUserInfoRentalPeriod mutable_rentalPeriod()
Definition: volume.h:3644
void set_preview_link(const StringPiece &value)
Definition: volume.h:5247
void set_currency_code(const StringPiece &value)
Definition: volume.h:1366
void clear_list_price()
Definition: volume.h:2231
int32 get_finsky_offer_type() const
Definition: volume.h:1776
void clear_volume_info()
Definition: volume.h:6049
const StringPiece get_language() const
Definition: volume.h:5048
bool has_buy_link() const
Definition: volume.h:2110
void set_type(const StringPiece &value)
Definition: volume.h:4345
void set_acquisition_type(int32 value)
Definition: volume.h:3150
void set_is_family_shared_from_user(bool value)
Definition: volume.h:3301
const StringPiece get_currency_code() const
Definition: volume.h:1353
const StringPiece get_country() const
Definition: volume.h:476
void set_page_count(int32 value)
Definition: volume.h:5170
client::DateTime get_updated() const
Definition: volume.h:2673
void clear_panelization_summary()
Definition: volume.h:5187
VolumeRecommendedInfo mutable_recommendedInfo()
Definition: volume.h:5877
bool has_printed_page_count() const
Definition: volume.h:5293
void set_limit_type(const StringPiece &value)
Definition: volume.h:2613
const StringPiece get_text_snippet() const
Definition: volume.h:2477
const StringPiece get_epub_bubble_version() const
Definition: volume.h:4485
bool has_maturity_rating() const
Definition: volume.h:5109
const StringPiece get_description() const
Definition: volume.h:4855
void set_info_link(const StringPiece &value)
Definition: volume.h:5024
const VolumeUserInfoRentalPeriod get_rental_period() const
Definition: volume.h:3631
void set_end_utc_sec(int64 value)
Definition: volume.h:2922
int32 get_allowed_character_count() const
Definition: volume.h:2569
const VolumeSaleInfoOffersRentalDuration get_rental_duration() const
Definition: volume.h:1889
const VolumeUserInfoFamilySharing get_family_sharing() const
Definition: volume.h:3250
bool has_is_family_sharing_allowed() const
Definition: volume.h:3350
const StringPiece GetTypeName() const
Definition: volume.h:1200
const VolumeSaleInfoOffersRetailPrice get_retail_price() const
Definition: volume.h:1928
void set_text_to_speech_permission(const StringPiece &value)
Definition: volume.h:830
Definition: annotation.cc:44
const StringPiece get_self_link() const
Definition: volume.h:5981
const VolumeSearchInfo get_search_info() const
Definition: volume.h:5943
VolumeSaleInfo mutable_saleInfo()
Definition: volume.h:5918
bool has_public_domain() const
Definition: volume.h:726
const StringPiece GetTypeName() const
Definition: volume.h:106
void set_saleability(const StringPiece &value)
Definition: volume.h:2408
bool has_industry_identifiers() const
Definition: volume.h:4956
const StringPiece get_processing_state() const
Definition: volume.h:3027
void clear_user_info()
Definition: volume.h:6010
void set_is_available(bool value)
Definition: volume.h:374
const StringPiece GetTypeName() const
Definition: volume.h:3842
const StringPiece get_preview_link() const
Definition: volume.h:5234
bool has_canonical_volume_link() const
Definition: volume.h:4690
bool get_allow_anon_logging() const
Definition: volume.h:4592
void clear_buy_link()
Definition: volume.h:2117
void set_sample_page_count(int32 value)
Definition: volume.h:5507
Definition: download_access_restriction.h:51
void set_is_in_my_books(bool value)
Definition: volume.h:3458
const StringPiece get_rental_state() const
Definition: volume.h:3669
void set_drive_imported_content_link(const StringPiece &value)
Definition: volume.h:563
bool has_access_view_status() const
Definition: volume.h:422
const VolumeAccessInfo get_access_info() const
Definition: volume.h:5673
const StringPiece get_canonical_volume_link() const
Definition: volume.h:4705
const StringPiece GetTypeName() const
Definition: volume.h:263
client::JsonCppArray< VolumeSaleInfoOffers > mutable_offers()
Definition: volume.h:2290
void set_printed_page_count(int32 value)
Definition: volume.h:5320
const StringPiece get_access_view_status() const
Definition: volume.h:437
void clear_is_family_sharing_allowed()
Definition: volume.h:3357
const StringPiece get_width() const
Definition: volume.h:3940
void set_main_category(const StringPiece &value)
Definition: volume.h:5100
bool has_page_count() const
Definition: volume.h:5143
const StringPiece get_drive_imported_content_link() const
Definition: volume.h:549
void set_amount(double value)
Definition: volume.h:2025
bool has_drive_imported_content_link() const
Definition: volume.h:534
void clear_kind()
Definition: volume.h:5780
const VolumeRecommendedInfo get_recommended_info() const
Definition: volume.h:5864
void set_embeddable(bool value)
Definition: volume.h:600
void clear_text_to_speech_permission()
Definition: volume.h:808
void set_language(const StringPiece &value)
Definition: volume.h:5062
void clear_is_purchased()
Definition: volume.h:3513
int32 get_entitlement_type() const
Definition: volume.h:3212
bool has_is_family_shared_to_user() const
Definition: volume.h:3312
const StringPiece get_title() const
Definition: volume.h:5598
const StringPiece GetTypeName() const
Definition: volume.h:4568
client::JsonCppArray< string > mutable_categories()
Definition: volume.h:4755
void set_is_family_shared_to_user(bool value)
Definition: volume.h:3339
const StringPiece GetTypeName() const
Definition: volume.h:2543
void set_epub_bubble_version(const StringPiece &value)
Definition: volume.h:4495
void set_width(const StringPiece &value)
Definition: volume.h:3953
bool has_list_price() const
Definition: volume.h:1835
void clear_view_order_url()
Definition: volume.h:846
void clear_retail_price()
Definition: volume.h:2344
VolumeSaleInfoOffersListPrice mutable_listPrice()
Definition: volume.h:1863
void set_start_utc_sec(int64 value)
Definition: volume.h:2956
void set_is_family_sharing_allowed(bool value)
Definition: volume.h:3379
const StringPiece GetTypeName() const
Definition: volume.h:2453
void clear_offers()
Definition: volume.h:2269
const VolumeUserInfoUserUploadedVolumeInfo get_user_uploaded_volume_info() const
Definition: volume.h:3779
void set_print_type(const StringPiece &value)
Definition: volume.h:5284
bool get_explicit_offline_license_management() const
Definition: volume.h:665
bool has_dimensions() const
Definition: volume.h:4879
const VolumeAccessInfoPdf get_pdf() const
Definition: volume.h:704
const StringPiece get_content_version() const
Definition: volume.h:4817
bool has_updated() const
Definition: volume.h:3723
void set_subtitle(const StringPiece &value)
Definition: volume.h:5574
const StringPiece get_info_link() const
Definition: volume.h:5010
bool has_content_version() const
Definition: volume.h:4802
bool get_is_preordered() const
Definition: volume.h:3483
void clear_embeddable()
Definition: volume.h:579
void set_is_preordered(bool value)
Definition: volume.h:3496
const StringPiece GetTypeName() const
Definition: volume.h:1117
const StringPiece get_image_bubble_version() const
Definition: volume.h:4520
client::JsonCppArray< VolumeLayerInfoLayers > mutable_layers()
Definition: volume.h:1154
void set_kind(const StringPiece &value)
Definition: volume.h:5801
bool has_search_info() const
Definition: volume.h:5928
const StringPiece get_download_link() const
Definition: volume.h:324
bool has_is_in_my_books() const
Definition: volume.h:3431
client::JsonCppArray< VolumeVolumeInfoIndustryIdentifiers > mutable_industryIdentifiers()
Definition: volume.h:4985
const VolumeVolumeInfoImageLinks get_image_links() const
Definition: volume.h:4932
void set_explanation(const StringPiece &value)
Definition: volume.h:1237
void set_web_reader_link(const StringPiece &value)
Definition: volume.h:948
const client::JsonCppData get_reading_modes() const
Definition: volume.h:5457
void set_identifier(const StringPiece &value)
Definition: volume.h:4308
bool has_finsky_offer_type() const
Definition: volume.h:1761
void set_layer_id(const StringPiece &value)
Definition: volume.h:1037
void clear_reading_modes()
Definition: volume.h:5448
bool has_is_preordered() const
Definition: volume.h:3468
const StringPiece GetTypeName() const
Definition: volume.h:4391
void clear_explicit_offline_license_management()
Definition: volume.h:656
void clear_public_domain()
Definition: volume.h:733
bool has_publisher() const
Definition: volume.h:5367
void set_acs_token_link(const StringPiece &value)
Definition: volume.h:143
void set_id(const StringPiece &value)
Definition: volume.h:5764
void clear_updated()
Definition: volume.h:3730
void set_is_purchased(bool value)
Definition: volume.h:3534
void clear_language()
Definition: volume.h:5040
const StringPiece get_explanation() const
Definition: volume.h:1224
int32 get_ratings_count() const
Definition: volume.h:5419
void set_is_sharing_disabled_by_fop(bool value)
Definition: volume.h:2843
VolumeSaleInfoOffersRetailPrice mutable_retailPrice()
Definition: volume.h:1941
void clear_text_snippet()
Definition: volume.h:2469
VolumeUserInfo mutable_userInfo()
Definition: volume.h:6032
void set_description(const StringPiece &value)
Definition: volume.h:4870
bool get_is_family_sharing_allowed() const
Definition: volume.h:3365
void set_self_link(const StringPiece &value)
Definition: volume.h:5994
void clear_preview_link()
Definition: volume.h:5226
bool has_layer_info() const
Definition: volume.h:5810
void clear_average_rating()
Definition: volume.h:4660
bool has_volume_annotations_version() const
Definition: volume.h:1048
VolumeSaleInfoRetailPrice mutable_retailPrice()
Definition: volume.h:2367
void set_country(const StringPiece &value)
Definition: volume.h:490
client::JsonCppData mutable_readingModes()
Definition: volume.h:5470
const StringPiece get_main_category() const
Definition: volume.h:5086
void set_country(const StringPiece &value)
Definition: volume.h:2177
bool has_offers() const
Definition: volume.h:2262
bool has_country() const
Definition: volume.h:461
bool get_is_in_my_books() const
Definition: volume.h:3446
bool has_entitlement_type() const
Definition: volume.h:3197
bool has_id() const
Definition: volume.h:5736
bool has_comics_content() const
Definition: volume.h:4765
void set_explicit_offline_license_management(bool value)
Definition: volume.h:679
void clear_rental_state()
Definition: volume.h:3661
VolumeVolumeInfoImageLinks mutable_imageLinks()
Definition: volume.h:4946
bool has_recommended_info() const
Definition: volume.h:5848
bool get_embeddable() const
Definition: volume.h:587
const StringPiece get_web_reader_link() const
Definition: volume.h:934
bool has_series_info() const
Definition: volume.h:5517