ValueType
extends Message
in package
ValueType describes the type and units of a value, with an optional aggregation temporality.
Generated from protobuf message opentelemetry.proto.profiles.v1development.ValueType
Table of Contents
Properties
- $aggregation_temporality : mixed
- Generated from protobuf field <code>.opentelemetry.proto.profiles.v1development.AggregationTemporality aggregation_temporality = 3;</code>
- $type_strindex : mixed
- Index into string table.
- $unit_strindex : mixed
- Index into string table.
Methods
- __construct() : mixed
- Constructor.
- getAggregationTemporality() : int
- Generated from protobuf field <code>.opentelemetry.proto.profiles.v1development.AggregationTemporality aggregation_temporality = 3;</code>
- getTypeStrindex() : int
- Index into string table.
- getUnitStrindex() : int
- Index into string table.
- setAggregationTemporality() : $this
- Generated from protobuf field <code>.opentelemetry.proto.profiles.v1development.AggregationTemporality aggregation_temporality = 3;</code>
- setTypeStrindex() : $this
- Index into string table.
- setUnitStrindex() : $this
- Index into string table.
Properties
$aggregation_temporality
Generated from protobuf field <code>.opentelemetry.proto.profiles.v1development.AggregationTemporality aggregation_temporality = 3;</code>
protected
mixed
$aggregation_temporality
= 0
$type_strindex
Index into string table.
protected
mixed
$type_strindex
= 0
Generated from protobuf field int32 type_strindex = 1;
$unit_strindex
Index into string table.
protected
mixed
$unit_strindex
= 0
Generated from protobuf field int32 unit_strindex = 2;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type int $type_strindex Index into string table. @type int $unit_strindex Index into string table. @type int $aggregation_temporality
}
getAggregationTemporality()
Generated from protobuf field <code>.opentelemetry.proto.profiles.v1development.AggregationTemporality aggregation_temporality = 3;</code>
public
getAggregationTemporality() : int
Return values
intgetTypeStrindex()
Index into string table.
public
getTypeStrindex() : int
Generated from protobuf field int32 type_strindex = 1;
Return values
intgetUnitStrindex()
Index into string table.
public
getUnitStrindex() : int
Generated from protobuf field int32 unit_strindex = 2;
Return values
intsetAggregationTemporality()
Generated from protobuf field <code>.opentelemetry.proto.profiles.v1development.AggregationTemporality aggregation_temporality = 3;</code>
public
setAggregationTemporality(int $var) : $this
Parameters
- $var : int
Return values
$thissetTypeStrindex()
Index into string table.
public
setTypeStrindex(int $var) : $this
Generated from protobuf field int32 type_strindex = 1;
Parameters
- $var : int
Return values
$thissetUnitStrindex()
Index into string table.
public
setUnitStrindex(int $var) : $this
Generated from protobuf field int32 unit_strindex = 2;
Parameters
- $var : int