30 #ifndef GOOGLE_CONTAINER_API_SANDBOX_CONFIG_H_ 31 #define GOOGLE_CONTAINER_API_SANDBOX_CONFIG_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_container_api::SandboxConfig");
93 return Storage().isMember(
"type");
100 MutableStorage()->removeMember(
"type");
108 const Json::Value& v = Storage(
"type");
109 if (v == Json::Value::null)
return StringPiece(
"");
110 return StringPiece(v.asCString());
121 *MutableStorage(
"type") = value.data();
128 #endif // GOOGLE_CONTAINER_API_SANDBOX_CONFIG_H_ bool has_type() const
Definition: sandbox_config.h:92
Definition: accelerator_config.h:39
Definition: accelerator_config.cc:41
const StringPiece GetTypeName() const
Definition: sandbox_config.h:83
Definition: sandbox_config.h:50
void clear_type()
Definition: sandbox_config.h:99
const StringPiece get_type() const
Definition: sandbox_config.h:107
void set_type(const StringPiece &value)
Definition: sandbox_config.h:120