24 #ifndef GOOGLE_CUSTOMSEARCH_API_CUSTOMSEARCH_SERVICE_H_ 25 #define GOOGLE_CUSTOMSEARCH_API_CUSTOMSEARCH_SERVICE_H_ 28 #include "googleapis/base/integral_types.h" 29 #include "googleapis/base/macros.h" 30 #include "googleapis/client/service/client_service.h" 31 #include "googleapis/client/util/status.h" 32 #include "googleapis/client/util/uri_template.h" 34 #include "google/customsearch_api/search.h" 69 class CustomsearchService;
79 :
public client::ClientServiceRequest {
103 const client::ClientService* service,
104 client::AuthorizationCredential* credential,
105 client::HttpRequest::HttpMethod method,
106 const StringPiece& uri_template);
118 _have_xgafv_ =
false;
119 client::ClearCppValueHelper(&xgafv_);
157 _have_access_token_ =
false;
158 client::ClearCppValueHelper(&access_token_);
176 _have_access_token_ =
true;
177 return &access_token_;
187 _have_access_token_ =
true;
188 access_token_ = value;
198 client::ClearCppValueHelper(&alt_);
207 const string&
get_alt()
const {
return alt_; }
236 _have_callback_ =
false;
237 client::ClearCppValueHelper(&callback_);
254 _have_callback_ =
true;
265 _have_callback_ =
true;
275 _have_fields_ =
false;
276 client::ClearCppValueHelper(&fields_);
293 _have_fields_ =
true;
305 _have_fields_ =
true;
316 client::ClearCppValueHelper(&key_);
325 const string&
get_key()
const {
return key_; }
356 _have_oauth_token_ =
false;
357 client::ClearCppValueHelper(&oauth_token_);
375 _have_oauth_token_ =
true;
376 return &oauth_token_;
386 _have_oauth_token_ =
true;
387 oauth_token_ = value;
396 _have_pretty_print_ =
false;
397 client::ClearCppValueHelper(&pretty_print_);
414 _have_pretty_print_ =
true;
415 pretty_print_ = value;
422 _have_quota_user_ =
false;
423 client::ClearCppValueHelper("a_user_);
441 _have_quota_user_ =
true;
454 _have_quota_user_ =
true;
464 _have_upload_type_ =
false;
465 client::ClearCppValueHelper(&upload_type_);
483 _have_upload_type_ =
true;
484 return &upload_type_;
495 _have_upload_type_ =
true;
496 upload_type_ = value;
505 _have_upload_protocol_ =
false;
506 client::ClearCppValueHelper(&upload_protocol_);
524 _have_upload_protocol_ =
true;
525 return &upload_protocol_;
535 _have_upload_protocol_ =
true;
536 upload_protocol_ = value;
549 virtual util::Status AppendVariable(
550 const StringPiece& variable_name,
551 const client::UriTemplateConfig& config,
559 virtual util::Status AppendOptionalQueryParameters(
string* target);
568 void AddJsonContentToRequest(
const client::JsonCppData *content);
572 string access_token_;
581 string upload_protocol_;
582 bool _have_xgafv_ : 1;
583 bool _have_access_token_ : 1;
585 bool _have_callback_ : 1;
586 bool _have_fields_ : 1;
588 bool _have_oauth_token_ : 1;
589 bool _have_pretty_print_ : 1;
590 bool _have_quota_user_ : 1;
591 bool _have_upload_type_ : 1;
592 bool _have_upload_protocol_ : 1;
621 client::AuthorizationCredential* _credential_);
634 client::ClearCppValueHelper(&sort_);
672 _have_link_site_ =
false;
673 client::ClearCppValueHelper(&link_site_);
691 _have_link_site_ =
true;
704 _have_link_site_ =
true;
715 client::ClearCppValueHelper(&hq_);
724 const string&
get_hq()
const {
return hq_; }
755 _have_search_type_ =
false;
756 client::ClearCppValueHelper(&search_type_);
774 _have_search_type_ =
true;
775 return &search_type_;
791 _have_search_type_ =
true;
792 search_type_ = value;
801 _have_file_type_ =
false;
802 client::ClearCppValueHelper(&file_type_);
820 _have_file_type_ =
true;
834 _have_file_type_ =
true;
844 _have_related_site_ =
false;
845 client::ClearCppValueHelper(&related_site_);
863 _have_related_site_ =
true;
864 return &related_site_;
876 _have_related_site_ =
true;
877 related_site_ = value;
886 _have_site_search_ =
false;
887 client::ClearCppValueHelper(&site_search_);
905 _have_site_search_ =
true;
906 return &site_search_;
918 _have_site_search_ =
true;
919 site_search_ = value;
928 _have_exclude_terms_ =
false;
929 client::ClearCppValueHelper(&exclude_terms_);
947 _have_exclude_terms_ =
true;
948 return &exclude_terms_;
960 _have_exclude_terms_ =
true;
961 exclude_terms_ = value;
970 _have_exact_terms_ =
false;
971 client::ClearCppValueHelper(&exact_terms_);
989 _have_exact_terms_ =
true;
990 return &exact_terms_;
1001 _have_exact_terms_ =
true;
1002 exact_terms_ = value;
1012 client::ClearCppValueHelper(&num_);
1039 _have_img_type_ =
false;
1040 client::ClearCppValueHelper(&img_type_);
1058 _have_img_type_ =
true;
1081 _have_img_type_ =
true;
1091 _have_c2coff_ =
false;
1092 client::ClearCppValueHelper(&c2coff_);
1109 _have_c2coff_ =
true;
1130 _have_c2coff_ =
true;
1140 _have_filter_ =
false;
1141 client::ClearCppValueHelper(&filter_);
1158 _have_filter_ =
true;
1183 _have_filter_ =
true;
1193 _have_high_range_ =
false;
1194 client::ClearCppValueHelper(&high_range_);
1212 _have_high_range_ =
true;
1213 return &high_range_;
1226 _have_high_range_ =
true;
1227 high_range_ = value;
1237 client::ClearCppValueHelper(&hl_);
1290 client::ClearCppValueHelper(&gl_);
1343 _have_googlehost_ =
false;
1344 client::ClearCppValueHelper(&googlehost_);
1362 _have_googlehost_ =
true;
1363 return &googlehost_;
1377 _have_googlehost_ =
true;
1378 googlehost_ = value;
1387 _have_img_size_ =
false;
1388 client::ClearCppValueHelper(&img_size_);
1406 _have_img_size_ =
true;
1432 _have_img_size_ =
true;
1443 client::ClearCppValueHelper(&cr_);
1498 _have_or_terms_ =
false;
1499 client::ClearCppValueHelper(&or_terms_);
1517 _have_or_terms_ =
true;
1532 _have_or_terms_ =
true;
1542 _have_date_restrict_ =
false;
1543 client::ClearCppValueHelper(&date_restrict_);
1561 _have_date_restrict_ =
true;
1562 return &date_restrict_;
1581 _have_date_restrict_ =
true;
1582 date_restrict_ = value;
1591 _have_rights_ =
false;
1592 client::ClearCppValueHelper(&rights_);
1609 _have_rights_ =
true;
1625 _have_rights_ =
true;
1636 client::ClearCppValueHelper(&q_);
1645 const string&
get_q()
const {
return q_; }
1675 client::ClearCppValueHelper(&cx_);
1713 _have_low_range_ =
false;
1714 client::ClearCppValueHelper(&low_range_);
1732 _have_low_range_ =
true;
1746 _have_low_range_ =
true;
1757 client::ClearCppValueHelper(&lr_);
1870 _have_img_dominant_color_ =
false;
1871 client::ClearCppValueHelper(&img_dominant_color_);
1889 _have_img_dominant_color_ =
true;
1890 return &img_dominant_color_;
1925 _have_img_dominant_color_ =
true;
1926 img_dominant_color_ = value;
1935 _have_img_color_type_ =
false;
1936 client::ClearCppValueHelper(&img_color_type_);
1954 _have_img_color_type_ =
true;
1955 return &img_color_type_;
1975 _have_img_color_type_ =
true;
1976 img_color_type_ = value;
1985 _have_safe_ =
false;
1986 client::ClearCppValueHelper(&safe_);
2029 _have_site_search_filter_ =
false;
2030 client::ClearCppValueHelper(&site_search_filter_);
2048 _have_site_search_filter_ =
true;
2049 return &site_search_filter_;
2067 _have_site_search_filter_ =
true;
2068 site_search_filter_ = value;
2077 _have_start_ =
false;
2078 client::ClearCppValueHelper(&start_);
2102 _have_start_ =
true;
2115 virtual util::Status AppendVariable(
2116 const StringPiece& variable_name,
2117 const client::UriTemplateConfig& config,
2125 virtual util::Status AppendOptionalQueryParameters(
string* target);
2140 return CustomsearchServiceBaseRequest::ExecuteAndParseResponse(data);
2147 string search_type_;
2149 string related_site_;
2150 string site_search_;
2151 string exclude_terms_;
2152 string exact_terms_;
2164 string date_restrict_;
2170 string img_dominant_color_;
2171 string img_color_type_;
2173 string site_search_filter_;
2175 bool _have_sort_ : 1;
2176 bool _have_link_site_ : 1;
2178 bool _have_search_type_ : 1;
2179 bool _have_file_type_ : 1;
2180 bool _have_related_site_ : 1;
2181 bool _have_site_search_ : 1;
2182 bool _have_exclude_terms_ : 1;
2183 bool _have_exact_terms_ : 1;
2184 bool _have_num_ : 1;
2185 bool _have_img_type_ : 1;
2186 bool _have_c2coff_ : 1;
2187 bool _have_filter_ : 1;
2188 bool _have_high_range_ : 1;
2191 bool _have_googlehost_ : 1;
2192 bool _have_img_size_ : 1;
2194 bool _have_or_terms_ : 1;
2195 bool _have_date_restrict_ : 1;
2196 bool _have_rights_ : 1;
2199 bool _have_low_range_ : 1;
2201 bool _have_img_dominant_color_ : 1;
2202 bool _have_img_color_type_ : 1;
2203 bool _have_safe_ : 1;
2204 bool _have_site_search_filter_ : 1;
2205 bool _have_start_ : 1;
2233 client::AuthorizationCredential* _credential_);
2246 client::ClearCppValueHelper(&cx_);
2284 _have_low_range_ =
false;
2285 client::ClearCppValueHelper(&low_range_);
2303 _have_low_range_ =
true;
2317 _have_low_range_ =
true;
2328 client::ClearCppValueHelper(&lr_);
2440 _have_img_color_type_ =
false;
2441 client::ClearCppValueHelper(&img_color_type_);
2459 _have_img_color_type_ =
true;
2460 return &img_color_type_;
2480 _have_img_color_type_ =
true;
2481 img_color_type_ = value;
2491 _have_img_dominant_color_ =
false;
2492 client::ClearCppValueHelper(&img_dominant_color_);
2510 _have_img_dominant_color_ =
true;
2511 return &img_dominant_color_;
2546 _have_img_dominant_color_ =
true;
2547 img_dominant_color_ = value;
2556 _have_safe_ =
false;
2557 client::ClearCppValueHelper(&safe_);
2600 _have_site_search_filter_ =
false;
2601 client::ClearCppValueHelper(&site_search_filter_);
2619 _have_site_search_filter_ =
true;
2620 return &site_search_filter_;
2638 _have_site_search_filter_ =
true;
2639 site_search_filter_ = value;
2648 _have_start_ =
false;
2649 client::ClearCppValueHelper(&start_);
2673 _have_start_ =
true;
2681 _have_sort_ =
false;
2682 client::ClearCppValueHelper(&sort_);
2720 _have_link_site_ =
false;
2721 client::ClearCppValueHelper(&link_site_);
2739 _have_link_site_ =
true;
2752 _have_link_site_ =
true;
2763 client::ClearCppValueHelper(&hq_);
2803 _have_search_type_ =
false;
2804 client::ClearCppValueHelper(&search_type_);
2822 _have_search_type_ =
true;
2823 return &search_type_;
2839 _have_search_type_ =
true;
2840 search_type_ = value;
2849 _have_file_type_ =
false;
2850 client::ClearCppValueHelper(&file_type_);
2868 _have_file_type_ =
true;
2882 _have_file_type_ =
true;
2892 _have_related_site_ =
false;
2893 client::ClearCppValueHelper(&related_site_);
2911 _have_related_site_ =
true;
2912 return &related_site_;
2924 _have_related_site_ =
true;
2925 related_site_ = value;
2934 _have_site_search_ =
false;
2935 client::ClearCppValueHelper(&site_search_);
2953 _have_site_search_ =
true;
2954 return &site_search_;
2966 _have_site_search_ =
true;
2967 site_search_ = value;
2976 _have_exclude_terms_ =
false;
2977 client::ClearCppValueHelper(&exclude_terms_);
2995 _have_exclude_terms_ =
true;
2996 return &exclude_terms_;
3008 _have_exclude_terms_ =
true;
3009 exclude_terms_ = value;
3018 _have_exact_terms_ =
false;
3019 client::ClearCppValueHelper(&exact_terms_);
3037 _have_exact_terms_ =
true;
3038 return &exact_terms_;
3049 _have_exact_terms_ =
true;
3050 exact_terms_ = value;
3060 client::ClearCppValueHelper(&num_);
3087 _have_c2coff_ =
false;
3088 client::ClearCppValueHelper(&c2coff_);
3105 _have_c2coff_ =
true;
3126 _have_c2coff_ =
true;
3136 _have_img_type_ =
false;
3137 client::ClearCppValueHelper(&img_type_);
3155 _have_img_type_ =
true;
3178 _have_img_type_ =
true;
3188 _have_filter_ =
false;
3189 client::ClearCppValueHelper(&filter_);
3206 _have_filter_ =
true;
3231 _have_filter_ =
true;
3241 _have_high_range_ =
false;
3242 client::ClearCppValueHelper(&high_range_);
3260 _have_high_range_ =
true;
3261 return &high_range_;
3274 _have_high_range_ =
true;
3275 high_range_ = value;
3285 client::ClearCppValueHelper(&gl_);
3339 client::ClearCppValueHelper(&hl_);
3391 _have_googlehost_ =
false;
3392 client::ClearCppValueHelper(&googlehost_);
3410 _have_googlehost_ =
true;
3411 return &googlehost_;
3425 _have_googlehost_ =
true;
3426 googlehost_ = value;
3435 _have_img_size_ =
false;
3436 client::ClearCppValueHelper(&img_size_);
3454 _have_img_size_ =
true;
3480 _have_img_size_ =
true;
3491 client::ClearCppValueHelper(&cr_);
3546 _have_or_terms_ =
false;
3547 client::ClearCppValueHelper(&or_terms_);
3565 _have_or_terms_ =
true;
3580 _have_or_terms_ =
true;
3590 _have_date_restrict_ =
false;
3591 client::ClearCppValueHelper(&date_restrict_);
3609 _have_date_restrict_ =
true;
3610 return &date_restrict_;
3629 _have_date_restrict_ =
true;
3630 date_restrict_ = value;
3640 client::ClearCppValueHelper(&q_);
3649 const string&
get_q()
const {
return q_; }
3678 _have_rights_ =
false;
3679 client::ClearCppValueHelper(&rights_);
3696 _have_rights_ =
true;
3712 _have_rights_ =
true;
3725 virtual util::Status AppendVariable(
3726 const StringPiece& variable_name,
3727 const client::UriTemplateConfig& config,
3735 virtual util::Status AppendOptionalQueryParameters(
string* target);
3750 return CustomsearchServiceBaseRequest::ExecuteAndParseResponse(data);
3757 string img_color_type_;
3758 string img_dominant_color_;
3760 string site_search_filter_;
3765 string search_type_;
3767 string related_site_;
3768 string site_search_;
3769 string exclude_terms_;
3770 string exact_terms_;
3782 string date_restrict_;
3786 bool _have_low_range_ : 1;
3788 bool _have_img_color_type_ : 1;
3789 bool _have_img_dominant_color_ : 1;
3790 bool _have_safe_ : 1;
3791 bool _have_site_search_filter_ : 1;
3792 bool _have_start_ : 1;
3793 bool _have_sort_ : 1;
3794 bool _have_link_site_ : 1;
3796 bool _have_search_type_ : 1;
3797 bool _have_file_type_ : 1;
3798 bool _have_related_site_ : 1;
3799 bool _have_site_search_ : 1;
3800 bool _have_exclude_terms_ : 1;
3801 bool _have_exact_terms_ : 1;
3802 bool _have_num_ : 1;
3803 bool _have_c2coff_ : 1;
3804 bool _have_img_type_ : 1;
3805 bool _have_filter_ : 1;
3806 bool _have_high_range_ : 1;
3809 bool _have_googlehost_ : 1;
3810 bool _have_img_size_ : 1;
3812 bool _have_or_terms_ : 1;
3813 bool _have_date_restrict_ : 1;
3815 bool _have_rights_ : 1;
3834 static const char googleapis_API_NAME[];
3839 static const char googleapis_API_VERSION[];
3844 static const char googleapis_API_GENERATOR[];
3878 client::AuthorizationCredential* _credential_)
const;
3917 client::AuthorizationCredential* _credential_)
const;
3956 return siterestrict_;
4000 #endif // GOOGLE_CUSTOMSEARCH_API_CUSTOMSEARCH_SERVICE_H_ void set_hq(const string &value)
Definition: customsearch_service.h:744
string * mutable_siteSearch()
Definition: customsearch_service.h:2952
const SiterestrictResource & get_siterestrict() const
Definition: customsearch_service.h:3955
void clear_hl()
Definition: customsearch_service.h:1235
void clear_fields()
Definition: customsearch_service.h:274
void set_sort(const string &value)
Definition: customsearch_service.h:2709
const string & get_site_search() const
Definition: customsearch_service.h:2944
const string & get_filter() const
Definition: customsearch_service.h:1150
string * mutable_uploadProtocol()
Definition: customsearch_service.h:523
void set_exclude_terms(const string &value)
Definition: customsearch_service.h:3007
const string & get_high_range() const
Definition: customsearch_service.h:3251
string * mutable_sort()
Definition: customsearch_service.h:2698
void clear_low_range()
Definition: customsearch_service.h:2283
void set_site_search(const string &value)
Definition: customsearch_service.h:917
string * mutable_c2coff()
Definition: customsearch_service.h:1108
void clear_key()
Definition: customsearch_service.h:314
void clear_site_search()
Definition: customsearch_service.h:2933
void set_callback(const string &value)
Definition: customsearch_service.h:264
void set_upload_type(const string &value)
Definition: customsearch_service.h:494
const string & get_cx() const
Definition: customsearch_service.h:1684
void clear_related_site()
Definition: customsearch_service.h:2891
string * mutable_rights()
Definition: customsearch_service.h:3695
void clear_site_search_filter()
Definition: customsearch_service.h:2599
string * mutable_imgDominantColor()
Definition: customsearch_service.h:2509
void clear_low_range()
Definition: customsearch_service.h:1712
void set_img_dominant_color(const string &value)
Definition: customsearch_service.h:1924
string * mutable_siteSearchFilter()
Definition: customsearch_service.h:2047
void set_low_range(const string &value)
Definition: customsearch_service.h:1745
string * mutable_imgSize()
Definition: customsearch_service.h:3453
const string & get_file_type() const
Definition: customsearch_service.h:2859
string * mutable_alt()
Definition: customsearch_service.h:214
const string & get_sort() const
Definition: customsearch_service.h:2691
void clear_pretty_print()
Definition: customsearch_service.h:395
void set_num(int32 value)
Definition: customsearch_service.h:3078
string * mutable_dateRestrict()
Definition: customsearch_service.h:1560
void set_high_range(const string &value)
Definition: customsearch_service.h:3273
string * mutable_cx()
Definition: customsearch_service.h:1691
~CseResource()
Definition: customsearch_service.h:3866
const string & get_upload_protocol() const
Definition: customsearch_service.h:515
void set_gl(const string &value)
Definition: customsearch_service.h:1332
void clear_date_restrict()
Definition: customsearch_service.h:1541
void set_hl(const string &value)
Definition: customsearch_service.h:3380
Definition: customsearch_service.cc:40
int32 get_num() const
Definition: customsearch_service.h:1021
void set_xgafv(const string &value)
Definition: customsearch_service.h:146
const string & get_site_search_filter() const
Definition: customsearch_service.h:2039
string * mutable_searchType()
Definition: customsearch_service.h:773
string * mutable_fields()
Definition: customsearch_service.h:292
void clear_c2coff()
Definition: customsearch_service.h:3086
void set_filter(const string &value)
Definition: customsearch_service.h:1182
void clear_search_type()
Definition: customsearch_service.h:2802
void clear_file_type()
Definition: customsearch_service.h:2848
string * mutable_lr()
Definition: customsearch_service.h:2344
const string & get_img_color_type() const
Definition: customsearch_service.h:2450
string * mutable_filter()
Definition: customsearch_service.h:3205
string * mutable_imgColorType()
Definition: customsearch_service.h:1953
void clear_rights()
Definition: customsearch_service.h:3677
void clear_alt()
Definition: customsearch_service.h:196
string * mutable_cr()
Definition: customsearch_service.h:3507
void clear_googlehost()
Definition: customsearch_service.h:3390
const string & get_hl() const
Definition: customsearch_service.h:1246
void clear_googlehost()
Definition: customsearch_service.h:1342
Definition: customsearch_service.h:3829
const string & get_upload_type() const
Definition: customsearch_service.h:474
void clear_q()
Definition: customsearch_service.h:3638
void set_link_site(const string &value)
Definition: customsearch_service.h:703
void clear_hq()
Definition: customsearch_service.h:2761
string * mutable_highRange()
Definition: customsearch_service.h:3259
const string & get_lr() const
Definition: customsearch_service.h:1766
const string & get_lr() const
Definition: customsearch_service.h:2337
void set_q(const string &value)
Definition: customsearch_service.h:1663
void clear_site_search_filter()
Definition: customsearch_service.h:2028
void clear_or_terms()
Definition: customsearch_service.h:3545
const string & get_key() const
Definition: customsearch_service.h:325
string * mutable_linkSite()
Definition: customsearch_service.h:2738
void clear_sort()
Definition: customsearch_service.h:2680
string * mutable_hl()
Definition: customsearch_service.h:1253
void set_file_type(const string &value)
Definition: customsearch_service.h:833
const CseResource & get_cse() const
Definition: customsearch_service.h:3945
void set_site_search_filter(const string &value)
Definition: customsearch_service.h:2066
const string & get_hl() const
Definition: customsearch_service.h:3348
void clear_img_size()
Definition: customsearch_service.h:3434
const string & get_low_range() const
Definition: customsearch_service.h:1723
void clear_high_range()
Definition: customsearch_service.h:3240
string * mutable_rights()
Definition: customsearch_service.h:1608
void clear_oauth_token()
Definition: customsearch_service.h:355
void clear_num()
Definition: customsearch_service.h:1010
util::Status ExecuteAndParseResponse(Search *data)
Definition: customsearch_service.h:2138
const string & get_img_size() const
Definition: customsearch_service.h:1397
string * mutable_imgDominantColor()
Definition: customsearch_service.h:1888
string * mutable_siteSearch()
Definition: customsearch_service.h:904
const string & get_low_range() const
Definition: customsearch_service.h:2294
void set_exclude_terms(const string &value)
Definition: customsearch_service.h:959
void set_img_type(const string &value)
Definition: customsearch_service.h:3177
const string & get_c2coff() const
Definition: customsearch_service.h:1101
Definition: customsearch_service.h:610
string * mutable_filter()
Definition: customsearch_service.h:1157
string * mutable_imgColorType()
Definition: customsearch_service.h:2458
const string & get_sort() const
Definition: customsearch_service.h:643
string * mutable_callback()
Definition: customsearch_service.h:253
string * mutable_oauthToken()
Definition: customsearch_service.h:374
void clear_gl()
Definition: customsearch_service.h:3283
void set_img_type(const string &value)
Definition: customsearch_service.h:1080
void set_date_restrict(const string &value)
Definition: customsearch_service.h:3628
void set_pretty_print(bool value)
Definition: customsearch_service.h:413
void clear_start()
Definition: customsearch_service.h:2076
string * mutable_safe()
Definition: customsearch_service.h:2573
void clear_exact_terms()
Definition: customsearch_service.h:969
string * mutable_searchType()
Definition: customsearch_service.h:2821
const string & get_date_restrict() const
Definition: customsearch_service.h:3600
void set_fields(const string &value)
Definition: customsearch_service.h:304
void clear_cr()
Definition: customsearch_service.h:3489
string * mutable_cr()
Definition: customsearch_service.h:1459
const string & get_c2coff() const
Definition: customsearch_service.h:3097
const string & get_hq() const
Definition: customsearch_service.h:2772
void clear_high_range()
Definition: customsearch_service.h:1192
void set_cx(const string &value)
Definition: customsearch_service.h:2273
const string & get_q() const
Definition: customsearch_service.h:1645
string * mutable_key()
Definition: customsearch_service.h:332
const string & get_img_color_type() const
Definition: customsearch_service.h:1945
void set_c2coff(const string &value)
Definition: customsearch_service.h:1129
string * mutable_lr()
Definition: customsearch_service.h:1773
const string & get_cx() const
Definition: customsearch_service.h:2255
void clear_img_type()
Definition: customsearch_service.h:1038
void clear_img_type()
Definition: customsearch_service.h:3135
void set_high_range(const string &value)
Definition: customsearch_service.h:1225
void set_alt(const string &value)
Definition: customsearch_service.h:225
void set_exact_terms(const string &value)
Definition: customsearch_service.h:3048
string * mutable_googlehost()
Definition: customsearch_service.h:1361
string * mutable_orTerms()
Definition: customsearch_service.h:3564
util::Status ExecuteAndParseResponse(Search *data)
Definition: customsearch_service.h:3748
void clear_xgafv()
Definition: customsearch_service.h:117
void set_related_site(const string &value)
Definition: customsearch_service.h:875
const string & get_related_site() const
Definition: customsearch_service.h:2902
void set_safe(const string &value)
Definition: customsearch_service.h:2588
void clear_file_type()
Definition: customsearch_service.h:800
void set_site_search(const string &value)
Definition: customsearch_service.h:2965
const string & get_hq() const
Definition: customsearch_service.h:724
void set_img_size(const string &value)
Definition: customsearch_service.h:3479
const string & get_search_type() const
Definition: customsearch_service.h:765
void set_c2coff(const string &value)
Definition: customsearch_service.h:3125
void set_gl(const string &value)
Definition: customsearch_service.h:3327
Definition: customsearch_service.h:2222
void clear_filter()
Definition: customsearch_service.h:3187
void clear_safe()
Definition: customsearch_service.h:1984
void clear_img_color_type()
Definition: customsearch_service.h:1934
const string & get_cr() const
Definition: customsearch_service.h:3500
void set_lr(const string &value)
Definition: customsearch_service.h:2429
const string & get_quota_user() const
Definition: customsearch_service.h:432
void clear_exclude_terms()
Definition: customsearch_service.h:2975
void set_lr(const string &value)
Definition: customsearch_service.h:1858
void set_q(const string &value)
Definition: customsearch_service.h:3667
void clear_upload_type()
Definition: customsearch_service.h:463
~SiterestrictResource()
Definition: customsearch_service.h:3905
void clear_filter()
Definition: customsearch_service.h:1139
void clear_upload_protocol()
Definition: customsearch_service.h:504
const string & get_safe() const
Definition: customsearch_service.h:2566
string * mutable_imgType()
Definition: customsearch_service.h:3154
string * mutable_cx()
Definition: customsearch_service.h:2262
void set_key(const string &value)
Definition: customsearch_service.h:345
void set_date_restrict(const string &value)
Definition: customsearch_service.h:1580
const string & get_access_token() const
Definition: customsearch_service.h:167
void set_hq(const string &value)
Definition: customsearch_service.h:2792
const string & get_img_size() const
Definition: customsearch_service.h:3445
void set_exact_terms(const string &value)
Definition: customsearch_service.h:1000
void set_start(uint32 value)
Definition: customsearch_service.h:2672
const string & get_googlehost() const
Definition: customsearch_service.h:3401
const string & get_gl() const
Definition: customsearch_service.h:1299
void set_cr(const string &value)
Definition: customsearch_service.h:3535
void clear_q()
Definition: customsearch_service.h:1634
string * mutable_relatedSite()
Definition: customsearch_service.h:2910
void clear_or_terms()
Definition: customsearch_service.h:1497
void clear_gl()
Definition: customsearch_service.h:1288
const string & get_link_site() const
Definition: customsearch_service.h:682
uint32 get_start() const
Definition: customsearch_service.h:2658
const string & get_safe() const
Definition: customsearch_service.h:1995
void clear_img_size()
Definition: customsearch_service.h:1386
const string & get_gl() const
Definition: customsearch_service.h:3294
void clear_hl()
Definition: customsearch_service.h:3337
string * mutable_safe()
Definition: customsearch_service.h:2002
const string & get_img_type() const
Definition: customsearch_service.h:3146
const string & get_img_dominant_color() const
Definition: customsearch_service.h:2501
void clear_c2coff()
Definition: customsearch_service.h:1090
const string & get_oauth_token() const
Definition: customsearch_service.h:366
void set_quota_user(const string &value)
Definition: customsearch_service.h:453
const string & get_rights() const
Definition: customsearch_service.h:1601
void set_cx(const string &value)
Definition: customsearch_service.h:1702
void set_googlehost(const string &value)
Definition: customsearch_service.h:3424
void clear_cr()
Definition: customsearch_service.h:1441
string * mutable_linkSite()
Definition: customsearch_service.h:690
const string & get_img_type() const
Definition: customsearch_service.h:1049
const string & get_search_type() const
Definition: customsearch_service.h:2813
const string & get_xgafv() const
Definition: customsearch_service.h:128
void clear_num()
Definition: customsearch_service.h:3058
string * mutable_imgSize()
Definition: customsearch_service.h:1405
const string & get_or_terms() const
Definition: customsearch_service.h:3556
const string & get_related_site() const
Definition: customsearch_service.h:854
string * mutable_googlehost()
Definition: customsearch_service.h:3409
string *mutable_ $Xgafv()
Definition: customsearch_service.h:135
void clear_img_dominant_color()
Definition: customsearch_service.h:1869
void clear_callback()
Definition: customsearch_service.h:235
const string & get_rights() const
Definition: customsearch_service.h:3688
string * mutable_gl()
Definition: customsearch_service.h:3301
string * mutable_excludeTerms()
Definition: customsearch_service.h:2994
string * mutable_siteSearchFilter()
Definition: customsearch_service.h:2618
string * mutable_hq()
Definition: customsearch_service.h:2779
const string & get_link_site() const
Definition: customsearch_service.h:2730
void set_related_site(const string &value)
Definition: customsearch_service.h:2923
void set_img_size(const string &value)
Definition: customsearch_service.h:1431
string * mutable_hl()
Definition: customsearch_service.h:3355
string * mutable_excludeTerms()
Definition: customsearch_service.h:946
const string & get_fields() const
Definition: customsearch_service.h:285
string * mutable_dateRestrict()
Definition: customsearch_service.h:3608
string * mutable_gl()
Definition: customsearch_service.h:1306
void set_low_range(const string &value)
Definition: customsearch_service.h:2316
const string & get_img_dominant_color() const
Definition: customsearch_service.h:1880
void clear_link_site()
Definition: customsearch_service.h:671
string * mutable_exactTerms()
Definition: customsearch_service.h:3036
string * mutable_q()
Definition: customsearch_service.h:1652
void clear_start()
Definition: customsearch_service.h:2647
void clear_cx()
Definition: customsearch_service.h:1673
string * mutable_lowRange()
Definition: customsearch_service.h:2302
string * mutable_fileType()
Definition: customsearch_service.h:2867
string * mutable_uploadType()
Definition: customsearch_service.h:482
void clear_lr()
Definition: customsearch_service.h:1755
string * mutable_orTerms()
Definition: customsearch_service.h:1516
void set_search_type(const string &value)
Definition: customsearch_service.h:2838
void set_link_site(const string &value)
Definition: customsearch_service.h:2751
string * mutable_sort()
Definition: customsearch_service.h:650
void set_search_type(const string &value)
Definition: customsearch_service.h:790
void set_img_dominant_color(const string &value)
Definition: customsearch_service.h:2545
void set_start(uint32 value)
Definition: customsearch_service.h:2101
const string & get_site_search_filter() const
Definition: customsearch_service.h:2610
Definition: customsearch_service.h:3852
string * mutable_fileType()
Definition: customsearch_service.h:819
void clear_exclude_terms()
Definition: customsearch_service.h:927
const string & get_date_restrict() const
Definition: customsearch_service.h:1552
const string & get_cr() const
Definition: customsearch_service.h:1452
void set_file_type(const string &value)
Definition: customsearch_service.h:2881
const string & get_googlehost() const
Definition: customsearch_service.h:1353
void set_safe(const string &value)
Definition: customsearch_service.h:2017
void set_cr(const string &value)
Definition: customsearch_service.h:1487
const string & get_site_search() const
Definition: customsearch_service.h:896
Definition: customsearch_service.h:3891
void clear_link_site()
Definition: customsearch_service.h:2719
void set_img_color_type(const string &value)
Definition: customsearch_service.h:1974
const string & get_callback() const
Definition: customsearch_service.h:246
bool get_pretty_print() const
Definition: customsearch_service.h:406
void set_rights(const string &value)
Definition: customsearch_service.h:1624
const string & get_alt() const
Definition: customsearch_service.h:207
void clear_exact_terms()
Definition: customsearch_service.h:3017
void set_upload_protocol(const string &value)
Definition: customsearch_service.h:534
string * mutable_highRange()
Definition: customsearch_service.h:1211
Definition: customsearch_service.h:78
void clear_site_search()
Definition: customsearch_service.h:885
void set_img_color_type(const string &value)
Definition: customsearch_service.h:2479
const string & get_high_range() const
Definition: customsearch_service.h:1203
void clear_safe()
Definition: customsearch_service.h:2555
const string & get_exclude_terms() const
Definition: customsearch_service.h:938
void set_oauth_token(const string &value)
Definition: customsearch_service.h:385
string * mutable_relatedSite()
Definition: customsearch_service.h:862
void set_googlehost(const string &value)
Definition: customsearch_service.h:1376
const string & get_file_type() const
Definition: customsearch_service.h:811
void set_rights(const string &value)
Definition: customsearch_service.h:3711
string * mutable_imgType()
Definition: customsearch_service.h:1057
void set_sort(const string &value)
Definition: customsearch_service.h:661
const string & get_filter() const
Definition: customsearch_service.h:3198
string * mutable_c2coff()
Definition: customsearch_service.h:3104
void clear_hq()
Definition: customsearch_service.h:713
void clear_rights()
Definition: customsearch_service.h:1590
void set_access_token(const string &value)
Definition: customsearch_service.h:186
void clear_related_site()
Definition: customsearch_service.h:843
void clear_quota_user()
Definition: customsearch_service.h:421
string * mutable_hq()
Definition: customsearch_service.h:731
void set_num(int32 value)
Definition: customsearch_service.h:1030
void clear_search_type()
Definition: customsearch_service.h:754
void clear_cx()
Definition: customsearch_service.h:2244
void clear_img_dominant_color()
Definition: customsearch_service.h:2490
const string & get_exclude_terms() const
Definition: customsearch_service.h:2986
void set_hl(const string &value)
Definition: customsearch_service.h:1278
int32 get_num() const
Definition: customsearch_service.h:3069
const string & get_exact_terms() const
Definition: customsearch_service.h:3028
void clear_lr()
Definition: customsearch_service.h:2326
string * mutable_exactTerms()
Definition: customsearch_service.h:988
void set_filter(const string &value)
Definition: customsearch_service.h:3230
const string & get_or_terms() const
Definition: customsearch_service.h:1508
string * mutable_q()
Definition: customsearch_service.h:3656
const string & get_q() const
Definition: customsearch_service.h:3649
string * mutable_lowRange()
Definition: customsearch_service.h:1731
void set_site_search_filter(const string &value)
Definition: customsearch_service.h:2637
string * mutable_accessToken()
Definition: customsearch_service.h:175
const string & get_exact_terms() const
Definition: customsearch_service.h:980
void clear_img_color_type()
Definition: customsearch_service.h:2439
void set_or_terms(const string &value)
Definition: customsearch_service.h:1531
uint32 get_start() const
Definition: customsearch_service.h:2087
void clear_date_restrict()
Definition: customsearch_service.h:3589
void clear_sort()
Definition: customsearch_service.h:632
void clear_access_token()
Definition: customsearch_service.h:156
void set_or_terms(const string &value)
Definition: customsearch_service.h:3579
string * mutable_quotaUser()
Definition: customsearch_service.h:440