OpenTelemetry PHP

ArrayValue extends Message
in package

ArrayValue is a list of AnyValue messages. We need ArrayValue as a message since oneof in AnyValue does not allow repeated fields.

Generated from protobuf message opentelemetry.proto.common.v1.ArrayValue

Table of Contents

Properties

$values  : mixed
Array of values. The array may be empty (contain 0 elements).

Methods

__construct()  : mixed
Constructor.
getValues()  : RepeatedField
Array of values. The array may be empty (contain 0 elements).
setValues()  : $this
Array of values. The array may be empty (contain 0 elements).

Properties

$values

Array of values. The array may be empty (contain 0 elements).

private mixed $values

Generated from protobuf field repeated .opentelemetry.proto.common.v1.AnyValue values = 1;

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 \Opentelemetry\Proto\Common\V1\AnyValue[]|\Google\Protobuf\Internal\RepeatedField $values
      Array of values. The array may be empty (contain 0 elements).

}

getValues()

Array of values. The array may be empty (contain 0 elements).

public getValues() : RepeatedField

Generated from protobuf field repeated .opentelemetry.proto.common.v1.AnyValue values = 1;

Return values
RepeatedField

setValues()

Array of values. The array may be empty (contain 0 elements).

public setValues(array<string|int, AnyValue>|RepeatedField $var) : $this

Generated from protobuf field repeated .opentelemetry.proto.common.v1.AnyValue values = 1;

Parameters
$var : array<string|int, AnyValue>|RepeatedField
Return values
$this

        
On this page

Search results