<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v20/common/audience_insights_attribute.proto

namespace Google\Ads\GoogleAds\V20\Common;

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

/**
 * Metadata for a YouTube video attribute.
 *
 * Generated from protobuf message <code>google.ads.googleads.v20.common.YouTubeVideoAttributeMetadata</code>
 */
class YouTubeVideoAttributeMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * The URL of the video thumbnail, prefixed by "https://img.youtube.com/".
     *
     * Generated from protobuf field <code>string thumbnail_url = 1;</code>
     */
    protected $thumbnail_url = '';
    /**
     * The URL of the video, prefixed by "https://www.youtube.com/".
     *
     * Generated from protobuf field <code>string video_url = 2;</code>
     */
    protected $video_url = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $thumbnail_url
     *           The URL of the video thumbnail, prefixed by "https://img.youtube.com/".
     *     @type string $video_url
     *           The URL of the video, prefixed by "https://www.youtube.com/".
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V20\Common\AudienceInsightsAttribute::initOnce();
        parent::__construct($data);
    }

    /**
     * The URL of the video thumbnail, prefixed by "https://img.youtube.com/".
     *
     * Generated from protobuf field <code>string thumbnail_url = 1;</code>
     * @return string
     */
    public function getThumbnailUrl()
    {
        return $this->thumbnail_url;
    }

    /**
     * The URL of the video thumbnail, prefixed by "https://img.youtube.com/".
     *
     * Generated from protobuf field <code>string thumbnail_url = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setThumbnailUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->thumbnail_url = $var;

        return $this;
    }

    /**
     * The URL of the video, prefixed by "https://www.youtube.com/".
     *
     * Generated from protobuf field <code>string video_url = 2;</code>
     * @return string
     */
    public function getVideoUrl()
    {
        return $this->video_url;
    }

    /**
     * The URL of the video, prefixed by "https://www.youtube.com/".
     *
     * Generated from protobuf field <code>string video_url = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setVideoUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->video_url = $var;

        return $this;
    }

}

