<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/video/stitcher/v1/sessions.proto

namespace Google\Cloud\Video\Stitcher\V1\LiveSession;

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

/**
 * Defines fields related to Google Ad Manager (GAM). This should be set if
 * GAM
 * is being used for ads.
 *
 * Generated from protobuf message <code>google.cloud.video.stitcher.v1.LiveSession.GamSettings</code>
 */
class GamSettings extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The stream ID generated by Ad Manager.
     *
     * Generated from protobuf field <code>string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $stream_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $stream_id
     *           Required. The stream ID generated by Ad Manager.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Video\Stitcher\V1\Sessions::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The stream ID generated by Ad Manager.
     *
     * Generated from protobuf field <code>string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getStreamId()
    {
        return $this->stream_id;
    }

    /**
     * Required. The stream ID generated by Ad Manager.
     *
     * Generated from protobuf field <code>string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setStreamId($var)
    {
        GPBUtil::checkString($var, True);
        $this->stream_id = $var;

        return $this;
    }

}


