30 #ifndef GOOGLE_DATAFLOW_API_STRING_LIST_H_ 31 #define GOOGLE_DATAFLOW_API_STRING_LIST_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 64 explicit StringList(
const Json::Value& storage);
84 return StringPiece(
"google_dataflow_api::StringList");
93 return Storage().isMember(
"elements");
100 MutableStorage()->removeMember(
"elements");
108 const Json::Value& storage = Storage(
"elements");
109 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
121 Json::Value* storage = MutableStorage(
"elements");
122 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
129 #endif // GOOGLE_DATAFLOW_API_STRING_LIST_H_ void clear_elements()
Definition: string_list.h:99
const client::JsonCppArray< string > get_elements() const
Definition: string_list.h:107
const StringPiece GetTypeName() const
Definition: string_list.h:83
Definition: approximate_progress.h:40
client::JsonCppArray< string > mutable_elements()
Definition: string_list.h:120
bool has_elements() const
Definition: string_list.h:92
Definition: approximate_progress.cc:42
Definition: string_list.h:50