<?php
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v23/services/shareable_preview_service.proto

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * Message to hold a YouTube live preview result.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.YouTubeLivePreviewResult</code>
 */
class YouTubeLivePreviewResult extends \Google\Protobuf\Internal\Message
{
    /**
     * The shareable preview URL for YouTube videos.
     *
     * Generated from protobuf field <code>string youtube_preview_url = 1;</code>
     */
    protected $youtube_preview_url = '';
    /**
     * The shareable preview URL for YouTube TV.
     *
     * Generated from protobuf field <code>string youtube_tv_preview_url = 2;</code>
     */
    protected $youtube_tv_preview_url = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type string $youtube_preview_url
     *           The shareable preview URL for YouTube videos.
     * @type string $youtube_tv_preview_url
     *           The shareable preview URL for YouTube TV.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\ShareablePreviewService::initOnce();
        parent::__construct($data);
    }

    /**
     * The shareable preview URL for YouTube videos.
     *
     * Generated from protobuf field <code>string youtube_preview_url = 1;</code>
     *
     * @return string
     */
    public function getYoutubePreviewUrl()
    {
        return $this->youtube_preview_url;
    }

    /**
     * The shareable preview URL for YouTube videos.
     *
     * Generated from protobuf field <code>string youtube_preview_url = 1;</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setYoutubePreviewUrl($var)
    {
        GPBUtil::checkString($var, true);
        $this->youtube_preview_url = $var;

        return $this;
    }

    /**
     * The shareable preview URL for YouTube TV.
     *
     * Generated from protobuf field <code>string youtube_tv_preview_url = 2;</code>
     *
     * @return string
     */
    public function getYoutubeTvPreviewUrl()
    {
        return $this->youtube_tv_preview_url;
    }

    /**
     * The shareable preview URL for YouTube TV.
     *
     * Generated from protobuf field <code>string youtube_tv_preview_url = 2;</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setYoutubeTvPreviewUrl($var)
    {
        GPBUtil::checkString($var, true);
        $this->youtube_tv_preview_url = $var;

        return $this;
    }

}

