<?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;

/**
 * K8sBetaAPIConfig , configuration for beta APIs
 *
 * Generated from protobuf message <code>google.container.v1.K8sBetaAPIConfig</code>
 */
class K8sBetaAPIConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Enabled k8s beta APIs.
     *
     * Generated from protobuf field <code>repeated string enabled_apis = 1;</code>
     */
    private $enabled_apis;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $enabled_apis
     *           Enabled k8s beta APIs.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Container\V1\ClusterService::initOnce();
        parent::__construct($data);
    }

    /**
     * Enabled k8s beta APIs.
     *
     * Generated from protobuf field <code>repeated string enabled_apis = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getEnabledApis()
    {
        return $this->enabled_apis;
    }

    /**
     * Enabled k8s beta APIs.
     *
     * Generated from protobuf field <code>repeated string enabled_apis = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setEnabledApis($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->enabled_apis = $arr;

        return $this;
    }

}

