<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/appengine/v1/app_yaml.proto

namespace Google\Cloud\AppEngine\V1;

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

/**
 * Uses Google Cloud Endpoints to handle requests.
 *
 * Generated from protobuf message <code>google.appengine.v1.ApiEndpointHandler</code>
 */
class ApiEndpointHandler extends \Google\Protobuf\Internal\Message
{
    /**
     * Path to the script from the application root directory.
     *
     * Generated from protobuf field <code>string script_path = 1;</code>
     */
    private $script_path = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $script_path
     *           Path to the script from the application root directory.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Appengine\V1\AppYaml::initOnce();
        parent::__construct($data);
    }

    /**
     * Path to the script from the application root directory.
     *
     * Generated from protobuf field <code>string script_path = 1;</code>
     * @return string
     */
    public function getScriptPath()
    {
        return $this->script_path;
    }

    /**
     * Path to the script from the application root directory.
     *
     * Generated from protobuf field <code>string script_path = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setScriptPath($var)
    {
        GPBUtil::checkString($var, True);
        $this->script_path = $var;

        return $this;
    }

}

