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

namespace Google\Cloud\Compute\V1;

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

/**
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.NodeGroupsSetNodeTemplateRequest</code>
 */
class NodeGroupsSetNodeTemplateRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Full or partial URL of the node template resource to be updated for this node group.
     *
     * Generated from protobuf field <code>string node_template = 54718999;</code>
     */
    private $node_template = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $node_template
     *           Full or partial URL of the node template resource to be updated for this node group.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * Full or partial URL of the node template resource to be updated for this node group.
     *
     * Generated from protobuf field <code>string node_template = 54718999;</code>
     * @return string
     */
    public function getNodeTemplate()
    {
        return $this->node_template;
    }

    /**
     * Full or partial URL of the node template resource to be updated for this node group.
     *
     * Generated from protobuf field <code>string node_template = 54718999;</code>
     * @param string $var
     * @return $this
     */
    public function setNodeTemplate($var)
    {
        GPBUtil::checkString($var, True);
        $this->node_template = $var;

        return $this;
    }

}

