<?php
 
 
 

namespace PhpWA\Protocol\Proto\InThreadSurveyMetadata;

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




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


    protected $stringValue = null;
    


    protected $numericValue = null;
    


    protected $textTranslated = null;

    










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

    



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

    public function hasStringValue()
    {
        return isset($this->stringValue);
    }

    public function clearStringValue()
    {
        unset($this->stringValue);
    }

    




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

        return $this;
    }

    



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

    public function hasNumericValue()
    {
        return isset($this->numericValue);
    }

    public function clearNumericValue()
    {
        unset($this->numericValue);
    }

    




    public function setNumericValue($var)
    {
        GPBUtil::checkUint32($var);
        $this->numericValue = $var;

        return $this;
    }

    



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

    public function hasTextTranslated()
    {
        return isset($this->textTranslated);
    }

    public function clearTextTranslated()
    {
        unset($this->textTranslated);
    }

    




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

        return $this;
    }

}

