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

namespace Google\Cloud\GkeHub\MultiClusterIngress\V1;

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

/**
 * **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
 * feature.
 *
 * Generated from protobuf message <code>google.cloud.gkehub.multiclusteringress.v1.FeatureSpec</code>
 */
class FeatureSpec extends \Google\Protobuf\Internal\Message
{
    /**
     * Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
     * Example: `projects/foo-proj/locations/global/memberships/bar`
     *
     * Generated from protobuf field <code>string config_membership = 1;</code>
     */
    private $config_membership = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $config_membership
     *           Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
     *           Example: `projects/foo-proj/locations/global/memberships/bar`
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkehub\V1\Multiclusteringress\Multiclusteringress::initOnce();
        parent::__construct($data);
    }

    /**
     * Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
     * Example: `projects/foo-proj/locations/global/memberships/bar`
     *
     * Generated from protobuf field <code>string config_membership = 1;</code>
     * @return string
     */
    public function getConfigMembership()
    {
        return $this->config_membership;
    }

    /**
     * Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
     * Example: `projects/foo-proj/locations/global/memberships/bar`
     *
     * Generated from protobuf field <code>string config_membership = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setConfigMembership($var)
    {
        GPBUtil::checkString($var, True);
        $this->config_membership = $var;

        return $this;
    }

}

