Container/src/V1/AddonsConfig.php
public function setHorizontalPodAutoscaling($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\HorizontalPodAutoscaling::class);
        $this->horizontal_pod_autoscaling = $var;

        return $this;
    }
public function setHorizontalPodAutoscaling($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\HorizontalPodAutoscaling::class);
        $this->horizontal_pod_autoscaling = $var;

        return $this;
    }
public function setHorizontalPodAutoscaling ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ HorizontalPodAutoscaling :: class ) ; $ this -> horizontal_pod_autoscaling = $ var ; return $ this ; }
Configuration for the horizontal pod autoscaling feature, which
increases or decreases the number of replica pods a replication controller
has based on the resource usage of the existing pods.

Generated from protobuf field <code>.google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;</code>
@param \Google\Cloud\Container\V1\HorizontalPodAutoscaling $var
@return $this
Configuration for the horizontal pod autoscaling feature which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods .