30 #ifndef GOOGLE_DATAFLOW_API_STREAMING_SIDE_INPUT_LOCATION_H_ 31 #define GOOGLE_DATAFLOW_API_STREAMING_SIDE_INPUT_LOCATION_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 84 return StringPiece(
"google_dataflow_api::StreamingSideInputLocation");
93 return Storage().isMember(
"stateFamily");
100 MutableStorage()->removeMember(
"stateFamily");
108 const Json::Value& v = Storage(
"stateFamily");
109 if (v == Json::Value::null)
return StringPiece(
"");
110 return StringPiece(v.asCString());
121 *MutableStorage(
"stateFamily") = value.data();
130 return Storage().isMember(
"tag");
137 MutableStorage()->removeMember(
"tag");
145 const Json::Value& v = Storage(
"tag");
146 if (v == Json::Value::null)
return StringPiece(
"");
147 return StringPiece(v.asCString());
158 *MutableStorage(
"tag") = value.data();
165 #endif // GOOGLE_DATAFLOW_API_STREAMING_SIDE_INPUT_LOCATION_H_
Definition: approximate_progress.h:40
Definition: approximate_progress.cc:42