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

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * A Video lineup criterion.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.VideoLineupInfo</code>
 */
class VideoLineupInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * ID for a Video lineup. Contact your Google business development
     * representative for details.
     *
     * Generated from protobuf field <code>optional int64 video_lineup_id = 1;</code>
     */
    protected $video_lineup_id = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $video_lineup_id
     *           ID for a Video lineup. Contact your Google business development
     *           representative for details.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\Criteria::initOnce();
        parent::__construct($data);
    }

    /**
     * ID for a Video lineup. Contact your Google business development
     * representative for details.
     *
     * Generated from protobuf field <code>optional int64 video_lineup_id = 1;</code>
     * @return int|string
     */
    public function getVideoLineupId()
    {
        return isset($this->video_lineup_id) ? $this->video_lineup_id : 0;
    }

    public function hasVideoLineupId()
    {
        return isset($this->video_lineup_id);
    }

    public function clearVideoLineupId()
    {
        unset($this->video_lineup_id);
    }

    /**
     * ID for a Video lineup. Contact your Google business development
     * representative for details.
     *
     * Generated from protobuf field <code>optional int64 video_lineup_id = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setVideoLineupId($var)
    {
        GPBUtil::checkInt64($var);
        $this->video_lineup_id = $var;

        return $this;
    }

}

