gw.GatewayCommandExecResponse */ class GatewayCommandExecResponse extends \Google\Protobuf\Internal\Message { /** * Gateway ID. * Deprecated: use gateway_id. * * Generated from protobuf field bytes gateway_id_legacy = 1; */ protected $gateway_id_legacy = ''; /** * Gateway ID. * * Generated from protobuf field string gateway_id = 6; */ protected $gateway_id = ''; /** * Execution request ID. * * Generated from protobuf field uint32 exec_id = 7; */ protected $exec_id = 0; /** * Standard output. * * Generated from protobuf field bytes stdout = 3; */ protected $stdout = ''; /** * Standard error. * * Generated from protobuf field bytes stderr = 4; */ protected $stderr = ''; /** * Error message. * * Generated from protobuf field string error = 5; */ protected $error = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $gateway_id_legacy * Gateway ID. * Deprecated: use gateway_id. * @type string $gateway_id * Gateway ID. * @type int $exec_id * Execution request ID. * @type string $stdout * Standard output. * @type string $stderr * Standard error. * @type string $error * Error message. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Gateway\Gw::initOnce(); parent::__construct($data); } /** * Gateway ID. * Deprecated: use gateway_id. * * Generated from protobuf field bytes gateway_id_legacy = 1; * @return string */ public function getGatewayIdLegacy() { return $this->gateway_id_legacy; } /** * Gateway ID. * Deprecated: use gateway_id. * * Generated from protobuf field bytes gateway_id_legacy = 1; * @param string $var * @return $this */ public function setGatewayIdLegacy($var) { GPBUtil::checkString($var, False); $this->gateway_id_legacy = $var; return $this; } /** * Gateway ID. * * Generated from protobuf field string gateway_id = 6; * @return string */ public function getGatewayId() { return $this->gateway_id; } /** * Gateway ID. * * Generated from protobuf field string gateway_id = 6; * @param string $var * @return $this */ public function setGatewayId($var) { GPBUtil::checkString($var, True); $this->gateway_id = $var; return $this; } /** * Execution request ID. * * Generated from protobuf field uint32 exec_id = 7; * @return int */ public function getExecId() { return $this->exec_id; } /** * Execution request ID. * * Generated from protobuf field uint32 exec_id = 7; * @param int $var * @return $this */ public function setExecId($var) { GPBUtil::checkUint32($var); $this->exec_id = $var; return $this; } /** * Standard output. * * Generated from protobuf field bytes stdout = 3; * @return string */ public function getStdout() { return $this->stdout; } /** * Standard output. * * Generated from protobuf field bytes stdout = 3; * @param string $var * @return $this */ public function setStdout($var) { GPBUtil::checkString($var, False); $this->stdout = $var; return $this; } /** * Standard error. * * Generated from protobuf field bytes stderr = 4; * @return string */ public function getStderr() { return $this->stderr; } /** * Standard error. * * Generated from protobuf field bytes stderr = 4; * @param string $var * @return $this */ public function setStderr($var) { GPBUtil::checkString($var, False); $this->stderr = $var; return $this; } /** * Error message. * * Generated from protobuf field string error = 5; * @return string */ public function getError() { return $this->error; } /** * Error message. * * Generated from protobuf field string error = 5; * @param string $var * @return $this */ public function setError($var) { GPBUtil::checkString($var, True); $this->error = $var; return $this; } }