<?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 side input.
 *
 * Generated from protobuf message <code>google.dataflow.v1beta3.StreamingSideInputLocation</code>
 */
class StreamingSideInputLocation extends \Google\Protobuf\Internal\Message
{
    /**
     * Identifies the particular side input within the streaming Dataflow job.
     *
     * Generated from protobuf field <code>string tag = 1;</code>
     */
    private $tag = '';
    /**
     * Identifies the state family where this side input is stored.
     *
     * Generated from protobuf field <code>string state_family = 2;</code>
     */
    private $state_family = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $tag
     *           Identifies the particular side input within the streaming Dataflow job.
     *     @type string $state_family
     *           Identifies the state family where this side input is stored.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Dataflow\V1Beta3\Streaming::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Identifies the state family where this side input is stored.
     *
     * Generated from protobuf field <code>string state_family = 2;</code>
     * @return string
     */
    public function getStateFamily()
    {
        return $this->state_family;
    }

    /**
     * Identifies the state family where this side input is stored.
     *
     * Generated from protobuf field <code>string state_family = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setStateFamily($var)
    {
        GPBUtil::checkString($var, True);
        $this->state_family = $var;

        return $this;
    }

}

