<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $centerLatitude = null;
    


    protected $centerLongitude = null;
    


    protected $latitudeDelta = null;
    


    protected $longitudeDelta = null;
    


    private $annotations;
    


    protected $showInfoList = null;

    













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

    



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

    public function hasCenterLatitude()
    {
        return isset($this->centerLatitude);
    }

    public function clearCenterLatitude()
    {
        unset($this->centerLatitude);
    }

    




    public function setCenterLatitude($var)
    {
        GPBUtil::checkDouble($var);
        $this->centerLatitude = $var;

        return $this;
    }

    



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

    public function hasCenterLongitude()
    {
        return isset($this->centerLongitude);
    }

    public function clearCenterLongitude()
    {
        unset($this->centerLongitude);
    }

    




    public function setCenterLongitude($var)
    {
        GPBUtil::checkDouble($var);
        $this->centerLongitude = $var;

        return $this;
    }

    



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

    public function hasLatitudeDelta()
    {
        return isset($this->latitudeDelta);
    }

    public function clearLatitudeDelta()
    {
        unset($this->latitudeDelta);
    }

    




    public function setLatitudeDelta($var)
    {
        GPBUtil::checkDouble($var);
        $this->latitudeDelta = $var;

        return $this;
    }

    



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

    public function hasLongitudeDelta()
    {
        return isset($this->longitudeDelta);
    }

    public function clearLongitudeDelta()
    {
        unset($this->longitudeDelta);
    }

    




    public function setLongitudeDelta($var)
    {
        GPBUtil::checkDouble($var);
        $this->longitudeDelta = $var;

        return $this;
    }

    



    public function getAnnotations()
    {
        return $this->annotations;
    }

    




    public function setAnnotations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \PhpWA\Protocol\Proto\AIRichResponseMapMetadata\AIRichResponseMapAnnotation::class);
        $this->annotations = $arr;

        return $this;
    }

    



    public function getShowInfoList()
    {
        return isset($this->showInfoList) ? $this->showInfoList : false;
    }

    public function hasShowInfoList()
    {
        return isset($this->showInfoList);
    }

    public function clearShowInfoList()
    {
        unset($this->showInfoList);
    }

    




    public function setShowInfoList($var)
    {
        GPBUtil::checkBool($var);
        $this->showInfoList = $var;

        return $this;
    }

}

