src/Api/Distribution/Exemplar.php
public function setAttachments($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Any::class);
        $this->attachments = $arr;

        return $this;
    }
public function setAttachments($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Any::class);
        $this->attachments = $arr;

        return $this;
    }
Contextual information about the example value. Examples are:
Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace
Literal string: type.googleapis.com/google.protobuf.StringValue
Labels dropped during aggregation:
type.googleapis.com/google.monitoring.v3.DroppedLabels
There may be only a single attachment of any given message type in a
single exemplar, and this is enforced by the system.

Generated from protobuf field <code>repeated .google.protobuf.Any attachments = 3;</code>
@param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this