mint.tulip.v1.UpdateIndexResponse */ class UpdateIndexResponse extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field int32 error = 1; */ protected $error = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $error * } */ public function __construct($data = NULL) { \GPBMetadata\Tulip::initOnce(); parent::__construct($data); } /** * Generated from protobuf field int32 error = 1; * @return int */ public function getError() { return $this->error; } /** * Generated from protobuf field int32 error = 1; * @param int $var * @return $this */ public function setError($var) { GPBUtil::checkInt32($var); $this->error = $var; return $this; } }