<?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.ForwardedAIBotMessageInfo</code>
 */
class ForwardedAIBotMessageInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string botName = 1;</code>
     */
    protected $botName = null;
    /**
     * Generated from protobuf field <code>optional string botJid = 2;</code>
     */
    protected $botJid = null;
    /**
     * Generated from protobuf field <code>optional string creatorName = 3;</code>
     */
    protected $creatorName = null;

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

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

    public function hasBotName()
    {
        return isset($this->botName);
    }

    public function clearBotName()
    {
        unset($this->botName);
    }

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

        return $this;
    }

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

    public function hasBotJid()
    {
        return isset($this->botJid);
    }

    public function clearBotJid()
    {
        unset($this->botJid);
    }

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

        return $this;
    }

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

    public function hasCreatorName()
    {
        return isset($this->creatorName);
    }

    public function clearCreatorName()
    {
        unset($this->creatorName);
    }

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

        return $this;
    }

}

