30 #ifndef GOOGLE_DATAFLOW_API_LIST_JOBS_RESPONSE_H_ 31 #define GOOGLE_DATAFLOW_API_LIST_JOBS_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/dataflow_api/failed_location.h" 39 #include "google/dataflow_api/job.h" 91 return StringPiece(
"google_dataflow_api::ListJobsResponse");
100 return Storage().isMember(
"failedLocation");
107 MutableStorage()->removeMember(
"failedLocation");
115 const client::JsonCppArray<FailedLocation > get_failed_location()
const;
127 client::JsonCppArray<FailedLocation > mutable_failedLocation();
135 return Storage().isMember(
"jobs");
142 MutableStorage()->removeMember(
"jobs");
149 const client::JsonCppArray<Job > get_jobs()
const;
158 client::JsonCppArray<Job > mutable_jobs();
166 return Storage().isMember(
"nextPageToken");
173 MutableStorage()->removeMember(
"nextPageToken");
181 const Json::Value& v = Storage(
"nextPageToken");
182 if (v == Json::Value::null)
return StringPiece(
"");
183 return StringPiece(v.asCString());
194 *MutableStorage(
"nextPageToken") = value.data();
201 #endif // GOOGLE_DATAFLOW_API_LIST_JOBS_RESPONSE_H_ void clear_jobs()
Definition: list_jobs_response.h:141
bool has_next_page_token() const
Definition: list_jobs_response.h:165
bool has_failed_location() const
Definition: list_jobs_response.h:99
void set_next_page_token(const StringPiece &value)
Definition: list_jobs_response.h:193
const StringPiece get_next_page_token() const
Definition: list_jobs_response.h:180
const StringPiece GetTypeName() const
Definition: list_jobs_response.h:90
bool has_jobs() const
Definition: list_jobs_response.h:134
Definition: approximate_progress.h:40
void clear_next_page_token()
Definition: list_jobs_response.h:172
void clear_failed_location()
Definition: list_jobs_response.h:106
Definition: list_jobs_response.h:57
Definition: approximate_progress.cc:42