<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: WAProto.proto

namespace PhpWA\Protocol\Proto\SyncActionValue;

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

/**
 * Generated from protobuf message <code>proto.SyncActionValue.LidContactAction</code>
 */
class LidContactAction extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string fullName = 1;</code>
     */
    protected $fullName = null;
    /**
     * Generated from protobuf field <code>optional string firstName = 2;</code>
     */
    protected $firstName = null;
    /**
     * Generated from protobuf field <code>optional string username = 3;</code>
     */
    protected $username = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $fullName
     *     @type string $firstName
     *     @type string $username
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional string fullName = 1;</code>
     * @return string
     */
    public function getFullName()
    {
        return isset($this->fullName) ? $this->fullName : '';
    }

    public function hasFullName()
    {
        return isset($this->fullName);
    }

    public function clearFullName()
    {
        unset($this->fullName);
    }

    /**
     * Generated from protobuf field <code>optional string fullName = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setFullName($var)
    {
        GPBUtil::checkString($var, True);
        $this->fullName = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string firstName = 2;</code>
     * @return string
     */
    public function getFirstName()
    {
        return isset($this->firstName) ? $this->firstName : '';
    }

    public function hasFirstName()
    {
        return isset($this->firstName);
    }

    public function clearFirstName()
    {
        unset($this->firstName);
    }

    /**
     * Generated from protobuf field <code>optional string firstName = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setFirstName($var)
    {
        GPBUtil::checkString($var, True);
        $this->firstName = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string username = 3;</code>
     * @return string
     */
    public function getUsername()
    {
        return isset($this->username) ? $this->username : '';
    }

    public function hasUsername()
    {
        return isset($this->username);
    }

    public function clearUsername()
    {
        unset($this->username);
    }

    /**
     * Generated from protobuf field <code>optional string username = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setUsername($var)
    {
        GPBUtil::checkString($var, True);
        $this->username = $var;

        return $this;
    }

}

