<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/container/v1/cluster_service.proto

namespace Google\Cloud\Container\V1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Configuration options for the HTTP (L7) load balancing controller addon,
 * which makes it easy to set up HTTP load balancers for services in a cluster.
 *
 * Generated from protobuf message <code>google.container.v1.HttpLoadBalancing</code>
 */
class HttpLoadBalancing extends \Google\Protobuf\Internal\Message
{
    /**
     * Whether the HTTP Load Balancing controller is enabled in the cluster.
     * When enabled, it runs a small pod in the cluster that manages the load
     * balancers.
     *
     * Generated from protobuf field <code>bool disabled = 1;</code>
     */
    private $disabled = false;

    public function __construct() {
        \GPBMetadata\Google\Container\V1\ClusterService::initOnce();
        parent::__construct();
    }

    /**
     * Whether the HTTP Load Balancing controller is enabled in the cluster.
     * When enabled, it runs a small pod in the cluster that manages the load
     * balancers.
     *
     * Generated from protobuf field <code>bool disabled = 1;</code>
     * @return bool
     */
    public function getDisabled()
    {
        return $this->disabled;
    }

    /**
     * Whether the HTTP Load Balancing controller is enabled in the cluster.
     * When enabled, it runs a small pod in the cluster that manages the load
     * balancers.
     *
     * Generated from protobuf field <code>bool disabled = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setDisabled($var)
    {
        GPBUtil::checkBool($var);
        $this->disabled = $var;

        return $this;
    }

}

