<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/resourcemanager/v3/folders.proto

namespace Google\Cloud\ResourceManager\V3;

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

/**
 * Metadata pertaining to the folder move process.
 *
 * Generated from protobuf message <code>google.cloud.resourcemanager.v3.MoveFolderMetadata</code>
 */
class MoveFolderMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * The display name of the folder.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     */
    private $display_name = '';
    /**
     * The resource name of the folder's parent.
     *
     * Generated from protobuf field <code>string source_parent = 2;</code>
     */
    private $source_parent = '';
    /**
     * The resource name of the folder or organization to move the folder to.
     *
     * Generated from protobuf field <code>string destination_parent = 3;</code>
     */
    private $destination_parent = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $display_name
     *           The display name of the folder.
     *     @type string $source_parent
     *           The resource name of the folder's parent.
     *     @type string $destination_parent
     *           The resource name of the folder or organization to move the folder to.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Resourcemanager\V3\Folders::initOnce();
        parent::__construct($data);
    }

    /**
     * The display name of the folder.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     * @return string
     */
    public function getDisplayName()
    {
        return $this->display_name;
    }

    /**
     * The display name of the folder.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setDisplayName($var)
    {
        GPBUtil::checkString($var, True);
        $this->display_name = $var;

        return $this;
    }

    /**
     * The resource name of the folder's parent.
     *
     * Generated from protobuf field <code>string source_parent = 2;</code>
     * @return string
     */
    public function getSourceParent()
    {
        return $this->source_parent;
    }

    /**
     * The resource name of the folder's parent.
     *
     * Generated from protobuf field <code>string source_parent = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setSourceParent($var)
    {
        GPBUtil::checkString($var, True);
        $this->source_parent = $var;

        return $this;
    }

    /**
     * The resource name of the folder or organization to move the folder to.
     *
     * Generated from protobuf field <code>string destination_parent = 3;</code>
     * @return string
     */
    public function getDestinationParent()
    {
        return $this->destination_parent;
    }

    /**
     * The resource name of the folder or organization to move the folder to.
     *
     * Generated from protobuf field <code>string destination_parent = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setDestinationParent($var)
    {
        GPBUtil::checkString($var, True);
        $this->destination_parent = $var;

        return $this;
    }

}

