<?php
 
 
 

namespace PhpWA\Protocol\Proto\AIRichResponseMapMetadata;

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




class AIRichResponseMapAnnotation extends \Google\Protobuf\Internal\Message
{
    


    protected $annotationNumber = null;
    


    protected $latitude = null;
    


    protected $longitude = null;
    


    protected $title = null;
    


    protected $body = null;

    












    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    



    public function getAnnotationNumber()
    {
        return isset($this->annotationNumber) ? $this->annotationNumber : 0;
    }

    public function hasAnnotationNumber()
    {
        return isset($this->annotationNumber);
    }

    public function clearAnnotationNumber()
    {
        unset($this->annotationNumber);
    }

    




    public function setAnnotationNumber($var)
    {
        GPBUtil::checkUint32($var);
        $this->annotationNumber = $var;

        return $this;
    }

    



    public function getLatitude()
    {
        return isset($this->latitude) ? $this->latitude : 0.0;
    }

    public function hasLatitude()
    {
        return isset($this->latitude);
    }

    public function clearLatitude()
    {
        unset($this->latitude);
    }

    




    public function setLatitude($var)
    {
        GPBUtil::checkDouble($var);
        $this->latitude = $var;

        return $this;
    }

    



    public function getLongitude()
    {
        return isset($this->longitude) ? $this->longitude : 0.0;
    }

    public function hasLongitude()
    {
        return isset($this->longitude);
    }

    public function clearLongitude()
    {
        unset($this->longitude);
    }

    




    public function setLongitude($var)
    {
        GPBUtil::checkDouble($var);
        $this->longitude = $var;

        return $this;
    }

    



    public function getTitle()
    {
        return isset($this->title) ? $this->title : '';
    }

    public function hasTitle()
    {
        return isset($this->title);
    }

    public function clearTitle()
    {
        unset($this->title);
    }

    




    public function setTitle($var)
    {
        GPBUtil::checkString($var, True);
        $this->title = $var;

        return $this;
    }

    



    public function getBody()
    {
        return isset($this->body) ? $this->body : '';
    }

    public function hasBody()
    {
        return isset($this->body);
    }

    public function clearBody()
    {
        unset($this->body);
    }

    




    public function setBody($var)
    {
        GPBUtil::checkString($var, True);
        $this->body = $var;

        return $this;
    }

}

