function InstrumentationLibrary::setVersion
Generated from protobuf field <code>string version = 2;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Common/ V1/ InstrumentationLibrary.php, line 89
Class
- InstrumentationLibrary
- InstrumentationLibrary is a message representing the instrumentation library information such as the fully qualified name and version. InstrumentationLibrary is wire-compatible with InstrumentationScope for binary Protobuf format. This message is…
Namespace
Opentelemetry\Proto\Common\V1Code
public function setVersion($var) {
GPBUtil::checkString($var, True);
$this->version = $var;
return $this;
}