function FieldMask::setPaths
The set of field mask paths.
Generated from protobuf field <code>repeated string paths = 1;</code>
Parameters
array<string>|\Google\Protobuf\Internal\RepeatedField $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ FieldMask.php, line 208
Class
- FieldMask
- `FieldMask` represents a set of symbolic field paths, for example: paths: "f.a" paths: "f.b.d" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the messageā¦
Namespace
Google\ProtobufCode
public function setPaths($var) {
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->paths = $arr;
return $this;
}