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