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

namespace PhpWA\Protocol\Proto;

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

/**
 * Generated from protobuf message <code>proto.LocalizedName</code>
 */
class LocalizedName extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string lg = 1;</code>
     */
    protected $lg = null;
    /**
     * Generated from protobuf field <code>optional string lc = 2;</code>
     */
    protected $lc = null;
    /**
     * Generated from protobuf field <code>optional string verifiedName = 3;</code>
     */
    protected $verifiedName = null;

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

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

    public function hasLg()
    {
        return isset($this->lg);
    }

    public function clearLg()
    {
        unset($this->lg);
    }

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

        return $this;
    }

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

    public function hasLc()
    {
        return isset($this->lc);
    }

    public function clearLc()
    {
        unset($this->lc);
    }

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

        return $this;
    }

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

    public function hasVerifiedName()
    {
        return isset($this->verifiedName);
    }

    public function clearVerifiedName()
    {
        unset($this->verifiedName);
    }

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

        return $this;
    }

}

