<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: site/api_friend_profile.proto

namespace Zaly\Proto\Site;

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

/**
 * Generated from protobuf message <code>site.ApiFriendProfileResponse</code>
 */
class ApiFriendProfileResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.core.FriendUserProfile profile = 1;</code>
     */
    private $profile = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Zaly\Proto\Core\FriendUserProfile $profile
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Site\ApiFriendProfile::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.core.FriendUserProfile profile = 1;</code>
     * @return \Zaly\Proto\Core\FriendUserProfile
     */
    public function getProfile()
    {
        return $this->profile;
    }

    /**
     * Generated from protobuf field <code>.core.FriendUserProfile profile = 1;</code>
     * @param \Zaly\Proto\Core\FriendUserProfile $var
     * @return $this
     */
    public function setProfile($var)
    {
        GPBUtil::checkMessage($var, \Zaly\Proto\Core\FriendUserProfile::class);
        $this->profile = $var;

        return $this;
    }

}

