<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: WAProto.proto

namespace PhpWA\Protocol\Proto\AIRichResponseContentItemsMetadata;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * Generated from protobuf message <code>proto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem</code>
 */
class AIRichResponseReelItem extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string title = 1;</code>
     */
    protected $title = null;
    /**
     * Generated from protobuf field <code>optional string profileIconUrl = 2;</code>
     */
    protected $profileIconUrl = null;
    /**
     * Generated from protobuf field <code>optional string thumbnailUrl = 3;</code>
     */
    protected $thumbnailUrl = null;
    /**
     * Generated from protobuf field <code>optional string videoUrl = 4;</code>
     */
    protected $videoUrl = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $title
     *     @type string $profileIconUrl
     *     @type string $thumbnailUrl
     *     @type string $videoUrl
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional string title = 1;</code>
     * @return string
     */
    public function getTitle()
    {
        return isset($this->title) ? $this->title : '';
    }

    public function hasTitle()
    {
        return isset($this->title);
    }

    public function clearTitle()
    {
        unset($this->title);
    }

    /**
     * Generated from protobuf field <code>optional string title = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setTitle($var)
    {
        GPBUtil::checkString($var, True);
        $this->title = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string profileIconUrl = 2;</code>
     * @return string
     */
    public function getProfileIconUrl()
    {
        return isset($this->profileIconUrl) ? $this->profileIconUrl : '';
    }

    public function hasProfileIconUrl()
    {
        return isset($this->profileIconUrl);
    }

    public function clearProfileIconUrl()
    {
        unset($this->profileIconUrl);
    }

    /**
     * Generated from protobuf field <code>optional string profileIconUrl = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setProfileIconUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->profileIconUrl = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string thumbnailUrl = 3;</code>
     * @return string
     */
    public function getThumbnailUrl()
    {
        return isset($this->thumbnailUrl) ? $this->thumbnailUrl : '';
    }

    public function hasThumbnailUrl()
    {
        return isset($this->thumbnailUrl);
    }

    public function clearThumbnailUrl()
    {
        unset($this->thumbnailUrl);
    }

    /**
     * Generated from protobuf field <code>optional string thumbnailUrl = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setThumbnailUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->thumbnailUrl = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string videoUrl = 4;</code>
     * @return string
     */
    public function getVideoUrl()
    {
        return isset($this->videoUrl) ? $this->videoUrl : '';
    }

    public function hasVideoUrl()
    {
        return isset($this->videoUrl);
    }

    public function clearVideoUrl()
    {
        unset($this->videoUrl);
    }

    /**
     * Generated from protobuf field <code>optional string videoUrl = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setVideoUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->videoUrl = $var;

        return $this;
    }

}

