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

namespace Google\Cloud\VMMigration\V1;

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

/**
 * Request message for 'RemoveMigration' request.
 *
 * Generated from protobuf message <code>google.cloud.vmmigration.v1.RemoveGroupMigrationRequest</code>
 */
class RemoveGroupMigrationRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The name of the Group.
     *
     * Generated from protobuf field <code>string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     */
    private $group = '';
    /**
     * The MigratingVm to remove.
     *
     * Generated from protobuf field <code>string migrating_vm = 2 [(.google.api.resource_reference) = {</code>
     */
    private $migrating_vm = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $group
     *           Required. The name of the Group.
     *     @type string $migrating_vm
     *           The MigratingVm to remove.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Vmmigration\V1\Vmmigration::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The name of the Group.
     *
     * Generated from protobuf field <code>string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getGroup()
    {
        return $this->group;
    }

    /**
     * Required. The name of the Group.
     *
     * Generated from protobuf field <code>string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setGroup($var)
    {
        GPBUtil::checkString($var, True);
        $this->group = $var;

        return $this;
    }

    /**
     * The MigratingVm to remove.
     *
     * Generated from protobuf field <code>string migrating_vm = 2 [(.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getMigratingVm()
    {
        return $this->migrating_vm;
    }

    /**
     * The MigratingVm to remove.
     *
     * Generated from protobuf field <code>string migrating_vm = 2 [(.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setMigratingVm($var)
    {
        GPBUtil::checkString($var, True);
        $this->migrating_vm = $var;

        return $this;
    }

}

