<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: jobs/v1/jobs.proto

namespace RoadRunner\Jobs\DTO\V1;

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

/**
 * ---------------------------------------------
 * request to pause/resume/list/destroy/declare
 *
 * Generated from protobuf message <code>jobs.v1.Pipelines</code>
 */
class Pipelines extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>repeated string pipelines = 1;</code>
     */
    private $pipelines;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $pipelines
     * }
     */
    public function __construct($data = NULL) {
        \RoadRunner\Jobs\DTO\V1\GPBMetadata\Jobs::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>repeated string pipelines = 1;</code>
     * @return RepeatedField<string>
     */
    public function getPipelines()
    {
        return $this->pipelines;
    }

    /**
     * Generated from protobuf field <code>repeated string pipelines = 1;</code>
     * @param string[] $var
     * @return $this
     */
    public function setPipelines($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->pipelines = $arr;

        return $this;
    }

}

