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

namespace Google\Cloud\Asset\V1;

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

/**
 * A message to group impacts of moving the target resource.
 *
 * Generated from protobuf message <code>google.cloud.asset.v1.MoveImpact</code>
 */
class MoveImpact extends \Google\Protobuf\Internal\Message
{
    /**
     * User friendly impact detail in a free form message.
     *
     * Generated from protobuf field <code>string detail = 1;</code>
     */
    private $detail = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $detail
     *           User friendly impact detail in a free form message.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
        parent::__construct($data);
    }

    /**
     * User friendly impact detail in a free form message.
     *
     * Generated from protobuf field <code>string detail = 1;</code>
     * @return string
     */
    public function getDetail()
    {
        return $this->detail;
    }

    /**
     * User friendly impact detail in a free form message.
     *
     * Generated from protobuf field <code>string detail = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setDetail($var)
    {
        GPBUtil::checkString($var, True);
        $this->detail = $var;

        return $this;
    }

}

