src/Api/Distribution.php
public function setBucketCounts($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
        $this->bucket_counts = $arr;

        return $this;
    }
public function setBucketCounts($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
        $this->bucket_counts = $arr;

        return $this;
    }
The number of values in each bucket of the histogram, as described in
`bucket_options`. If the distribution does not have a histogram, then omit
this field. If there is a histogram, then the sum of the values in
`bucket_counts` must equal the value in the `count` field of the
distribution.
If present, `bucket_counts` should contain N values, where N is the number
of buckets specified in `bucket_options`. If you supply fewer than N
values, the remaining values are assumed to be 0.
The order of the values in `bucket_counts` follows the bucket numbering
schemes described for the three bucket types. The first value must be the
count for the underflow bucket (number 0). The next N-2 values are the
counts for the finite buckets (number 1 through N-2). The N'th value in
`bucket_counts` is the count for the overflow bucket (number N-1).

Generated from protobuf field <code>repeated int64 bucket_counts = 7;</code>
@param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this