<?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\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * 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 string[] $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 RepeatedField<string>
     */
    public function getEnabledApis()
    {
        return $this->enabled_apis;
    }

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

        return $this;
    }

}

