rv.data.API_v1_MacroAction */ class API_v1_MacroAction extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string type = 1; */ protected $type = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $type * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Macro::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string type = 1; * @return string */ public function getType() { return $this->type; } /** * Generated from protobuf field string type = 1; * @param string $var * @return $this */ public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; } }