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

namespace Google\Cloud\Talent\V4beta1;

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

/**
 * Parse resume response.
 *
 * Generated from protobuf message <code>google.cloud.talent.v4beta1.ParseResumeResponse</code>
 */
class ParseResumeResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The profile parsed from resume.
     *
     * Generated from protobuf field <code>.google.cloud.talent.v4beta1.Profile profile = 1;</code>
     */
    private $profile = null;
    /**
     * Raw text from resume.
     *
     * Generated from protobuf field <code>string raw_text = 2;</code>
     */
    private $raw_text = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Talent\V4beta1\Profile $profile
     *           The profile parsed from resume.
     *     @type string $raw_text
     *           Raw text from resume.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Talent\V4Beta1\ResumeService::initOnce();
        parent::__construct($data);
    }

    /**
     * The profile parsed from resume.
     *
     * Generated from protobuf field <code>.google.cloud.talent.v4beta1.Profile profile = 1;</code>
     * @return \Google\Cloud\Talent\V4beta1\Profile
     */
    public function getProfile()
    {
        return $this->profile;
    }

    /**
     * The profile parsed from resume.
     *
     * Generated from protobuf field <code>.google.cloud.talent.v4beta1.Profile profile = 1;</code>
     * @param \Google\Cloud\Talent\V4beta1\Profile $var
     * @return $this
     */
    public function setProfile($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Profile::class);
        $this->profile = $var;

        return $this;
    }

    /**
     * Raw text from resume.
     *
     * Generated from protobuf field <code>string raw_text = 2;</code>
     * @return string
     */
    public function getRawText()
    {
        return $this->raw_text;
    }

    /**
     * Raw text from resume.
     *
     * Generated from protobuf field <code>string raw_text = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setRawText($var)
    {
        GPBUtil::checkString($var, True);
        $this->raw_text = $var;

        return $this;
    }

}

