public function setConsumerDestinations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Billing\BillingDestination::class);
        $this->consumer_destinations = $arr;

        return $this;
    }
public function setConsumerDestinations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Billing\BillingDestination::class);
        $this->consumer_destinations = $arr;

        return $this;
    }
public function setConsumerDestinations ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Api \ Billing \ BillingDestination :: class ) ; $ this -> consumer_destinations = $ arr ; return $ this ; }
Billing configurations for sending metrics to the consumer project.
There can be multiple consumer destinations per service, each one must have
a different monitored resource type. A metric can be used in at most
one consumer destination.

Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code>
@param \Google\Api\Billing\BillingDestination[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Billing configurations for sending metrics to the consumer project . There can be multiple consumer destinations per service each one must have a different monitored resource type . A metric can be used in at most one consumer destination .