google.protobuf.FieldMask */ class FieldMask extends \Google\Protobuf\Internal\Message { /** * The set of field mask paths. * * Generated from protobuf field repeated string paths = 1; */ private $paths; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string[]|\Google\Protobuf\Internal\RepeatedField $paths * The set of field mask paths. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); parent::__construct($data); } /** * The set of field mask paths. * * Generated from protobuf field repeated string paths = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getPaths() { return $this->paths; } /** * The set of field mask paths. * * Generated from protobuf field repeated string paths = 1; * @param string[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setPaths($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->paths = $arr; return $this; } }