<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message\PeerDataOperationRequestMessage;

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




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


    protected $type = null;
    


    protected $flowId = null;
    


    protected $stanzaId = null;

    










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

    



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

    public function hasType()
    {
        return isset($this->type);
    }

    public function clearType()
    {
        unset($this->type);
    }

    




    public function setType($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\Message\PeerDataOperationRequestMessage\GalaxyFlowAction\GalaxyFlowActionType::class);
        $this->type = $var;

        return $this;
    }

    



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

    public function hasFlowId()
    {
        return isset($this->flowId);
    }

    public function clearFlowId()
    {
        unset($this->flowId);
    }

    




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

        return $this;
    }

    



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

    public function hasStanzaId()
    {
        return isset($this->stanzaId);
    }

    public function clearStanzaId()
    {
        unset($this->stanzaId);
    }

    




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

        return $this;
    }

}

