30 #ifndef GOOGLE_BIGQUERY_API_LIST_MODELS_RESPONSE_H_ 31 #define GOOGLE_BIGQUERY_API_LIST_MODELS_RESPONSE_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/bigquery_api/model.h" 86 return StringPiece(
"google_bigquery_api::ListModelsResponse");
95 return Storage().isMember(
"models");
102 MutableStorage()->removeMember(
"models");
109 const client::JsonCppArray<Model > get_models()
const;
120 client::JsonCppArray<Model > mutable_models();
128 return Storage().isMember(
"nextPageToken");
135 MutableStorage()->removeMember(
"nextPageToken");
143 const Json::Value& v = Storage(
"nextPageToken");
144 if (v == Json::Value::null)
return StringPiece(
"");
145 return StringPiece(v.asCString());
156 *MutableStorage(
"nextPageToken") = value.data();
163 #endif // GOOGLE_BIGQUERY_API_LIST_MODELS_RESPONSE_H_ bool has_next_page_token() const
Definition: list_models_response.h:127
void clear_next_page_token()
Definition: list_models_response.h:134
const StringPiece get_next_page_token() const
Definition: list_models_response.h:142
Definition: list_models_response.h:52
Definition: aggregate_classification_metrics.cc:39
const StringPiece GetTypeName() const
Definition: list_models_response.h:85
void clear_models()
Definition: list_models_response.h:101
Definition: aggregate_classification_metrics.h:37
bool has_models() const
Definition: list_models_response.h:94
void set_next_page_token(const StringPiece &value)
Definition: list_models_response.h:155