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

Breadcrumb

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

function NumberDataPoint::setAsInt

Generated from protobuf field <code>sfixed64 as_int = 6;</code>

Parameters

int|string $var:

Return value

$this

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php, line 236

Class

NumberDataPoint
NumberDataPoint is a single data point in a timeseries that describes the time-varying scalar value of a metric.

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function setAsInt($var) {
    GPBUtil::checkInt64($var);
    $this->writeOneof(6, $var);
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal