Tadah.Signal.Thumbnail */ class Thumbnail extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Tadah.AssetType type = 1; */ protected $type = 0; /** * Generated from protobuf field uint32 assetId = 2; */ protected $assetId = 0; /** * Generated from protobuf field string accessKey = 3; */ protected $accessKey = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $type * @type int $assetId * @type string $accessKey * } */ public function __construct($data = NULL) { \GPBMetadata\Resources\Tadah::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .Tadah.AssetType type = 1; * @return int */ public function getType() { return $this->type; } /** * Generated from protobuf field .Tadah.AssetType type = 1; * @param int $var * @return $this */ public function setType($var) { GPBUtil::checkEnum($var, \App\Proto\AssetType::class); $this->type = $var; return $this; } /** * Generated from protobuf field uint32 assetId = 2; * @return int */ public function getAssetId() { return $this->assetId; } /** * Generated from protobuf field uint32 assetId = 2; * @param int $var * @return $this */ public function setAssetId($var) { GPBUtil::checkUint32($var); $this->assetId = $var; return $this; } /** * Generated from protobuf field string accessKey = 3; * @return string */ public function getAccessKey() { return $this->accessKey; } /** * Generated from protobuf field string accessKey = 3; * @param string $var * @return $this */ public function setAccessKey($var) { GPBUtil::checkString($var, True); $this->accessKey = $var; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Thumbnail::class, \App\Proto\Signal_Thumbnail::class);