function ServiceOptions::getDeprecated
Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.
Generated from protobuf field <code>optional bool deprecated = 33 [default = false];</code>
Return value
bool
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ ServiceOptions.php, line 63
Class
- ServiceOptions
- Generated from protobuf message <code>google.protobuf.ServiceOptions</code>
Namespace
Google\Protobuf\InternalCode
public function getDeprecated() {
return isset($this->deprecated) ? $this->deprecated : false;
}