function NamePart::setIsExtension
Generated from protobuf field <code>required bool is_extension = 2;</code>
Parameters
bool $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ UninterpretedOption/ NamePart.php, line 104
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 setIsExtension($var) {
GPBUtil::checkBool($var);
$this->is_extension = $var;
return $this;
}