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

namespace Google\Cloud\AdvisoryNotifications\V1\Csv;

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

/**
 * A representation of a single data row in a CSV file.
 *
 * Generated from protobuf message <code>google.cloud.advisorynotifications.v1.Csv.CsvRow</code>
 */
class CsvRow extends \Google\Protobuf\Internal\Message
{
    /**
     * The data entries in a CSV file row, as a string array rather than a
     * single comma-separated string.
     *
     * Generated from protobuf field <code>repeated string entries = 1;</code>
     */
    private $entries;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $entries
     *           The data entries in a CSV file row, as a string array rather than a
     *           single comma-separated string.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Advisorynotifications\V1\Service::initOnce();
        parent::__construct($data);
    }

    /**
     * The data entries in a CSV file row, as a string array rather than a
     * single comma-separated string.
     *
     * Generated from protobuf field <code>repeated string entries = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getEntries()
    {
        return $this->entries;
    }

    /**
     * The data entries in a CSV file row, as a string array rather than a
     * single comma-separated string.
     *
     * Generated from protobuf field <code>repeated string entries = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setEntries($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->entries = $arr;

        return $this;
    }

}


