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

namespace Google\Cloud\RapidMigrationAssessment\V1;

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

/**
 * Message describing a MC Source of type Guest OS Scan.
 *
 * Generated from protobuf message <code>google.cloud.rapidmigrationassessment.v1.GuestOsScan</code>
 */
class GuestOsScan extends \Google\Protobuf\Internal\Message
{
    /**
     * reference to the corresponding Guest OS Scan in MC Source.
     *
     * Generated from protobuf field <code>string core_source = 1;</code>
     */
    protected $core_source = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $core_source
     *           reference to the corresponding Guest OS Scan in MC Source.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Rapidmigrationassessment\V1\ApiEntities::initOnce();
        parent::__construct($data);
    }

    /**
     * reference to the corresponding Guest OS Scan in MC Source.
     *
     * Generated from protobuf field <code>string core_source = 1;</code>
     * @return string
     */
    public function getCoreSource()
    {
        return $this->core_source;
    }

    /**
     * reference to the corresponding Guest OS Scan in MC Source.
     *
     * Generated from protobuf field <code>string core_source = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setCoreSource($var)
    {
        GPBUtil::checkString($var, True);
        $this->core_source = $var;

        return $this;
    }

}

