rv.data.API_v1_Macro_Request.PutMacroIcon */ class PutMacroIcon extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string id = 1; */ protected $id = ''; /** * Generated from protobuf field string content_type = 2; */ protected $content_type = ''; /** * Generated from protobuf field bytes icon = 3; */ protected $icon = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * @type string $content_type * @type string $icon * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Macro::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string id = 1; * @return string */ public function getId() { return $this->id; } /** * Generated from protobuf field string id = 1; * @param string $var * @return $this */ public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; } /** * Generated from protobuf field string content_type = 2; * @return string */ public function getContentType() { return $this->content_type; } /** * Generated from protobuf field string content_type = 2; * @param string $var * @return $this */ public function setContentType($var) { GPBUtil::checkString($var, True); $this->content_type = $var; return $this; } /** * Generated from protobuf field bytes icon = 3; * @return string */ public function getIcon() { return $this->icon; } /** * Generated from protobuf field bytes icon = 3; * @param string $var * @return $this */ public function setIcon($var) { GPBUtil::checkString($var, False); $this->icon = $var; return $this; } }