<?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 for client certificates on the cluster.
 *
 * Generated from protobuf message <code>google.container.v1.ClientCertificateConfig</code>
 */
class ClientCertificateConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Issue a client certificate.
     *
     * Generated from protobuf field <code>bool issue_client_certificate = 1;</code>
     */
    private $issue_client_certificate = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $issue_client_certificate
     *           Issue a client certificate.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Container\V1\ClusterService::initOnce();
        parent::__construct($data);
    }

    /**
     * Issue a client certificate.
     *
     * Generated from protobuf field <code>bool issue_client_certificate = 1;</code>
     * @return bool
     */
    public function getIssueClientCertificate()
    {
        return $this->issue_client_certificate;
    }

    /**
     * Issue a client certificate.
     *
     * Generated from protobuf field <code>bool issue_client_certificate = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIssueClientCertificate($var)
    {
        GPBUtil::checkBool($var);
        $this->issue_client_certificate = $var;

        return $this;
    }

}

