opentelemetry.proto.trace.v1.RateLimitingSampler
*/
class RateLimitingSampler extends \Google\Protobuf\Internal\Message
{
/**
* Rate per second.
*
* Generated from protobuf field int64 qps = 1;
*/
protected $qps = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $qps
* Rate per second.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce();
parent::__construct($data);
}
/**
* Rate per second.
*
* Generated from protobuf field int64 qps = 1;
* @return int|string
*/
public function getQps()
{
return $this->qps;
}
/**
* Rate per second.
*
* Generated from protobuf field int64 qps = 1;
* @param int|string $var
* @return $this
*/
public function setQps($var)
{
GPBUtil::checkInt64($var);
$this->qps = $var;
return $this;
}
}