<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message;

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




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


    protected $scheduledTimestampMs = null;
    


    protected $callType = null;
    


    protected $title = null;

    










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

    



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

    public function hasScheduledTimestampMs()
    {
        return isset($this->scheduledTimestampMs);
    }

    public function clearScheduledTimestampMs()
    {
        unset($this->scheduledTimestampMs);
    }

    




    public function setScheduledTimestampMs($var)
    {
        GPBUtil::checkInt64($var);
        $this->scheduledTimestampMs = $var;

        return $this;
    }

    



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

    public function hasCallType()
    {
        return isset($this->callType);
    }

    public function clearCallType()
    {
        unset($this->callType);
    }

    




    public function setCallType($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\Message\ScheduledCallCreationMessage\CallType::class);
        $this->callType = $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;
    }

}

