30 #ifndef GOOGLE_DATAFLOW_API_FAILED_LOCATION_H_ 31 #define GOOGLE_DATAFLOW_API_FAILED_LOCATION_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 86 return StringPiece(
"google_dataflow_api::FailedLocation");
95 return Storage().isMember(
"name");
102 MutableStorage()->removeMember(
"name");
110 const Json::Value& v = Storage(
"name");
111 if (v == Json::Value::null)
return StringPiece(
"");
112 return StringPiece(v.asCString());
125 *MutableStorage(
"name") = value.data();
132 #endif // GOOGLE_DATAFLOW_API_FAILED_LOCATION_H_ bool has_name() const
Definition: failed_location.h:94
Definition: approximate_progress.h:40
const StringPiece GetTypeName() const
Definition: failed_location.h:85
void clear_name()
Definition: failed_location.h:101
Definition: approximate_progress.cc:42
void set_name(const StringPiece &value)
Definition: failed_location.h:124
const StringPiece get_name() const
Definition: failed_location.h:109
Definition: failed_location.h:52