registration.core.ActivateCodeComplete.Error */ class Error extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string error = 1; */ protected $error = ''; /** * Generated from protobuf field string description = 2; */ protected $description = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $error * @type string $description * } */ public function __construct($data = NULL) { \GPBMetadata\Registration::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string error = 1; * @return string */ public function getError() { return $this->error; } /** * Generated from protobuf field string error = 1; * @param string $var * @return $this */ public function setError($var) { GPBUtil::checkString($var, True); $this->error = $var; return $this; } /** * Generated from protobuf field string description = 2; * @return string */ public function getDescription() { return $this->description; } /** * Generated from protobuf field string description = 2; * @param string $var * @return $this */ public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; } }