87 lines
1.9 KiB
PHP
87 lines
1.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Macro.proto
|
|
|
|
namespace Rv\Data\API_v1_Macro_Response;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_Macro_Response.MacroIcon</code>
|
|
*/
|
|
class MacroIcon extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string content_type = 1;</code>
|
|
*/
|
|
protected $content_type = '';
|
|
/**
|
|
* Generated from protobuf field <code>bytes icon = 2;</code>
|
|
*/
|
|
protected $icon = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $content_type
|
|
* @type string $icon
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Macro::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string content_type = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getContentType()
|
|
{
|
|
return $this->content_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string content_type = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setContentType($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->content_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bytes icon = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getIcon()
|
|
{
|
|
return $this->icon;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bytes icon = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setIcon($var)
|
|
{
|
|
GPBUtil::checkString($var, False);
|
|
$this->icon = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|