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

namespace Google\Ads\GoogleAds\V23\Resources\AdGroup\VideoAdGroupSettings;

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

/**
 * The video ads sequence step settings containing step ID.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.resources.AdGroup.VideoAdGroupSettings.VideoAdSequenceStepSetting</code>
 */
class VideoAdSequenceStepSetting extends \Google\Protobuf\Internal\Message
{
    /**
     * The ID of this sequence step from an existing
     * `campaign.video_campaign_settings.video_ad_sequence` definition. Only
     * one Ad Group can point to a given `step_id`.
     *
     * Generated from protobuf field <code>int64 step_id = 1;</code>
     */
    protected $step_id = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $step_id
     *           The ID of this sequence step from an existing
     *           `campaign.video_campaign_settings.video_ad_sequence` definition. Only
     *           one Ad Group can point to a given `step_id`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Resources\AdGroup::initOnce();
        parent::__construct($data);
    }

    /**
     * The ID of this sequence step from an existing
     * `campaign.video_campaign_settings.video_ad_sequence` definition. Only
     * one Ad Group can point to a given `step_id`.
     *
     * Generated from protobuf field <code>int64 step_id = 1;</code>
     * @return int|string
     */
    public function getStepId()
    {
        return $this->step_id;
    }

    /**
     * The ID of this sequence step from an existing
     * `campaign.video_campaign_settings.video_ad_sequence` definition. Only
     * one Ad Group can point to a given `step_id`.
     *
     * Generated from protobuf field <code>int64 step_id = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setStepId($var)
    {
        GPBUtil::checkInt64($var);
        $this->step_id = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VideoAdSequenceStepSetting::class, \Google\Ads\GoogleAds\V23\Resources\AdGroup_VideoAdGroupSettings_VideoAdSequenceStepSetting::class);

