<?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\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.NodeGroupsDeleteNodesRequest</code>
 */
class NodeGroupsDeleteNodesRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Names of the nodes to delete.
     *
     * Generated from protobuf field <code>repeated string nodes = 104993457;</code>
     */
    private $nodes;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $nodes
     *           Names of the nodes to delete.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * Names of the nodes to delete.
     *
     * Generated from protobuf field <code>repeated string nodes = 104993457;</code>
     * @return RepeatedField<string>
     */
    public function getNodes()
    {
        return $this->nodes;
    }

    /**
     * Names of the nodes to delete.
     *
     * Generated from protobuf field <code>repeated string nodes = 104993457;</code>
     * @param string[] $var
     * @return $this
     */
    public function setNodes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->nodes = $arr;

        return $this;
    }

}

