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

namespace Google\Cloud\Dataflow\V1beta3;

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

/**
 * Params which should be passed when launching a dynamic template.
 *
 * Generated from protobuf message <code>google.dataflow.v1beta3.DynamicTemplateLaunchParams</code>
 */
class DynamicTemplateLaunchParams extends \Google\Protobuf\Internal\Message
{
    /**
     * Path to dynamic template spec file on Cloud Storage.
     * The file must be a Json serialized DynamicTemplateFieSpec object.
     *
     * Generated from protobuf field <code>string gcs_path = 1;</code>
     */
    private $gcs_path = '';
    /**
     * Cloud Storage path for staging dependencies.
     * Must be a valid Cloud Storage URL, beginning with `gs://`.
     *
     * Generated from protobuf field <code>string staging_location = 2;</code>
     */
    private $staging_location = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $gcs_path
     *           Path to dynamic template spec file on Cloud Storage.
     *           The file must be a Json serialized DynamicTemplateFieSpec object.
     *     @type string $staging_location
     *           Cloud Storage path for staging dependencies.
     *           Must be a valid Cloud Storage URL, beginning with `gs://`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Dataflow\V1Beta3\Templates::initOnce();
        parent::__construct($data);
    }

    /**
     * Path to dynamic template spec file on Cloud Storage.
     * The file must be a Json serialized DynamicTemplateFieSpec object.
     *
     * Generated from protobuf field <code>string gcs_path = 1;</code>
     * @return string
     */
    public function getGcsPath()
    {
        return $this->gcs_path;
    }

    /**
     * Path to dynamic template spec file on Cloud Storage.
     * The file must be a Json serialized DynamicTemplateFieSpec object.
     *
     * Generated from protobuf field <code>string gcs_path = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setGcsPath($var)
    {
        GPBUtil::checkString($var, True);
        $this->gcs_path = $var;

        return $this;
    }

    /**
     * Cloud Storage path for staging dependencies.
     * Must be a valid Cloud Storage URL, beginning with `gs://`.
     *
     * Generated from protobuf field <code>string staging_location = 2;</code>
     * @return string
     */
    public function getStagingLocation()
    {
        return $this->staging_location;
    }

    /**
     * Cloud Storage path for staging dependencies.
     * Must be a valid Cloud Storage URL, beginning with `gs://`.
     *
     * Generated from protobuf field <code>string staging_location = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setStagingLocation($var)
    {
        GPBUtil::checkString($var, True);
        $this->staging_location = $var;

        return $this;
    }

}

