<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc/v1beta2/clusters.proto

namespace Google\Cloud\Dataproc\V1beta2;

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

/**
 * The GKE config for this cluster.
 *
 * Generated from protobuf message <code>google.cloud.dataproc.v1beta2.GkeClusterConfig</code>
 */
class GkeClusterConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. A target for the deployment.
     *
     * Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    private $namespaced_gke_deployment_target = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Dataproc\V1beta2\GkeClusterConfig\NamespacedGkeDeploymentTarget $namespaced_gke_deployment_target
     *           Optional. A target for the deployment.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataproc\V1Beta2\Clusters::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. A target for the deployment.
     *
     * Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Cloud\Dataproc\V1beta2\GkeClusterConfig\NamespacedGkeDeploymentTarget
     */
    public function getNamespacedGkeDeploymentTarget()
    {
        return $this->namespaced_gke_deployment_target;
    }

    /**
     * Optional. A target for the deployment.
     *
     * Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\Dataproc\V1beta2\GkeClusterConfig\NamespacedGkeDeploymentTarget $var
     * @return $this
     */
    public function setNamespacedGkeDeploymentTarget($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\GkeClusterConfig_NamespacedGkeDeploymentTarget::class);
        $this->namespaced_gke_deployment_target = $var;

        return $this;
    }

}

