<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/dataflow/v1beta3/streaming.proto

namespace Google\Cloud\Dataflow\V1beta3;

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

/**
 * Identifies the location of a streaming computation stage, for
 * stage-to-stage communication.
 *
 * Generated from protobuf message <code>google.dataflow.v1beta3.StreamingStageLocation</code>
 */
class StreamingStageLocation extends \Google\Protobuf\Internal\Message
{
    /**
     * Identifies the particular stream within the streaming Dataflow
     * job.
     *
     * Generated from protobuf field <code>string stream_id = 1;</code>
     */
    private $stream_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $stream_id
     *           Identifies the particular stream within the streaming Dataflow
     *           job.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Dataflow\V1Beta3\Streaming::initOnce();
        parent::__construct($data);
    }

    /**
     * Identifies the particular stream within the streaming Dataflow
     * job.
     *
     * Generated from protobuf field <code>string stream_id = 1;</code>
     * @return string
     */
    public function getStreamId()
    {
        return $this->stream_id;
    }

    /**
     * Identifies the particular stream within the streaming Dataflow
     * job.
     *
     * Generated from protobuf field <code>string stream_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setStreamId($var)
    {
        GPBUtil::checkString($var, True);
        $this->stream_id = $var;

        return $this;
    }

}

