function NamePart::setNamePart
Generated from protobuf field <code>required string name_part = 1;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ UninterpretedOption/ NamePart.php, line 72
Class
- NamePart
- The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ ["foo", false],…
Namespace
Google\Protobuf\Internal\UninterpretedOptionCode
public function setNamePart($var) {
GPBUtil::checkString($var, True);
$this->name_part = $var;
return $this;
}