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;
public function __construct() {
\GPBMetadata\Google\Protobuf\FieldMask::initOnce();
parent::__construct();
}
/**
* 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;
}
}