From cdd7ad020e165fe680703b6d3319b908b682fb7a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 20 Oct 2023 17:12:29 +0300 Subject: jaeger-client -> opentelemetry --- .../Opentelemetry/Proto/Common/V1/KeyValue.php | 98 ++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php (limited to 'vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php') diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php new file mode 100644 index 000000000..6dfbdeb40 --- /dev/null +++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php @@ -0,0 +1,98 @@ +opentelemetry.proto.common.v1.KeyValue + */ +class KeyValue extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field string key = 1; + */ + protected $key = ''; + /** + * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue value = 2; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $key + * @type \Opentelemetry\Proto\Common\V1\AnyValue $value + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field string key = 1; + * @return string + */ + public function getKey() + { + return $this->key; + } + + /** + * Generated from protobuf field string key = 1; + * @param string $var + * @return $this + */ + public function setKey($var) + { + GPBUtil::checkString($var, True); + $this->key = $var; + + return $this; + } + + /** + * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue value = 2; + * @return \Opentelemetry\Proto\Common\V1\AnyValue|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue value = 2; + * @param \Opentelemetry\Proto\Common\V1\AnyValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\AnyValue::class); + $this->value = $var; + + return $this; + } + +} + -- cgit v1.2.3