<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: test.proto

namespace Tests;

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

/**
 * <pre>
 * A field path.
 * </pre>
 *
 * Protobuf type <code>tests.FieldPath</code>
 */
class FieldPath extends \Google\Protobuf\Internal\Message
{
    /**
     * <code>repeated string field = 1;</code>
     */
    private $field;

    public function __construct() {
        \GPBMetadata\Test::initOnce();
        parent::__construct();
    }

    /**
     * <code>repeated string field = 1;</code>
     */
    public function getField()
    {
        return $this->field;
    }

    /**
     * <code>repeated string field = 1;</code>
     */
    public function setField(&$var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->field = $arr;
    }

}

