30 #ifndef GOOGLE_DATAFLOW_API_INSTRUCTION_INPUT_H_ 31 #define GOOGLE_DATAFLOW_API_INSTRUCTION_INPUT_H_ 33 #include "googleapis/base/integral_types.h" 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 85 return StringPiece(
"google_dataflow_api::InstructionInput");
94 return Storage().isMember(
"outputNum");
101 MutableStorage()->removeMember(
"outputNum");
109 const Json::Value& storage = Storage(
"outputNum");
110 return client::JsonValueToCppValueHelper<int32 >(storage);
121 client::SetJsonValueFromCppValueHelper<int32 >(
122 value, MutableStorage(
"outputNum"));
132 return Storage().isMember(
"producerInstructionIndex");
139 MutableStorage()->removeMember(
"producerInstructionIndex");
147 const Json::Value& storage = Storage(
"producerInstructionIndex");
148 return client::JsonValueToCppValueHelper<int32 >(storage);
162 client::SetJsonValueFromCppValueHelper<int32 >(
163 value, MutableStorage(
"producerInstructionIndex"));
170 #endif // GOOGLE_DATAFLOW_API_INSTRUCTION_INPUT_H_
Definition: approximate_progress.h:40
Definition: approximate_progress.cc:42