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

namespace Google\Cloud\GkeHub\V1beta1;

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

/**
 * The response of the exclusivity artifacts manifests for the client to apply.
 *
 * Generated from protobuf message <code>google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse</code>
 */
class GenerateExclusivityManifestResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The YAML manifest of the membership CRD to apply if a newer version of the
     * CRD is available. Empty if no update needs to be applied.
     *
     * Generated from protobuf field <code>string crd_manifest = 1;</code>
     */
    private $crd_manifest = '';
    /**
     * The YAML manifest of the membership CR to apply if a new version of the
     * CR is available. Empty if no update needs to be applied.
     *
     * Generated from protobuf field <code>string cr_manifest = 2;</code>
     */
    private $cr_manifest = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $crd_manifest
     *           The YAML manifest of the membership CRD to apply if a newer version of the
     *           CRD is available. Empty if no update needs to be applied.
     *     @type string $cr_manifest
     *           The YAML manifest of the membership CR to apply if a new version of the
     *           CR is available. Empty if no update needs to be applied.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkehub\V1Beta1\Membership::initOnce();
        parent::__construct($data);
    }

    /**
     * The YAML manifest of the membership CRD to apply if a newer version of the
     * CRD is available. Empty if no update needs to be applied.
     *
     * Generated from protobuf field <code>string crd_manifest = 1;</code>
     * @return string
     */
    public function getCrdManifest()
    {
        return $this->crd_manifest;
    }

    /**
     * The YAML manifest of the membership CRD to apply if a newer version of the
     * CRD is available. Empty if no update needs to be applied.
     *
     * Generated from protobuf field <code>string crd_manifest = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setCrdManifest($var)
    {
        GPBUtil::checkString($var, True);
        $this->crd_manifest = $var;

        return $this;
    }

    /**
     * The YAML manifest of the membership CR to apply if a new version of the
     * CR is available. Empty if no update needs to be applied.
     *
     * Generated from protobuf field <code>string cr_manifest = 2;</code>
     * @return string
     */
    public function getCrManifest()
    {
        return $this->cr_manifest;
    }

    /**
     * The YAML manifest of the membership CR to apply if a new version of the
     * CR is available. Empty if no update needs to be applied.
     *
     * Generated from protobuf field <code>string cr_manifest = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setCrManifest($var)
    {
        GPBUtil::checkString($var, True);
        $this->cr_manifest = $var;

        return $this;
    }

}

