Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Buckets.php

function Buckets::setOffset

Offset is the bucket index of the first entry in the bucket_counts array.

Note: This uses a varint encoding as a simple form of compression.

Generated from protobuf field <code>sint32 offset = 1;</code>

Parameters

int $var:

Return value

$this

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php, line 89

Class

Buckets
Buckets are a set of bucket counts, encoded in a contiguous array of counts.

Namespace

Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint

Code

public function setOffset($var) {
    GPBUtil::checkInt32($var);
    $this->offset = $var;
    return $this;
}
RSS feed
Powered by Drupal