<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: WAProto.proto

namespace PhpWA\Protocol\Proto\BotFeedbackMessage\SideBySideSurveyMetadata\SidebySideSurveyMetaAiAnalyticsData;

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

/**
 * Generated from protobuf message <code>proto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData</code>
 */
class SideBySideSurveyResponseEventData extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string responseDwellTimeMsString = 1;</code>
     */
    protected $responseDwellTimeMsString = null;
    /**
     * Generated from protobuf field <code>optional string selectedResponseId = 2;</code>
     */
    protected $selectedResponseId = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $responseDwellTimeMsString
     *     @type string $selectedResponseId
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional string responseDwellTimeMsString = 1;</code>
     * @return string
     */
    public function getResponseDwellTimeMsString()
    {
        return isset($this->responseDwellTimeMsString) ? $this->responseDwellTimeMsString : '';
    }

    public function hasResponseDwellTimeMsString()
    {
        return isset($this->responseDwellTimeMsString);
    }

    public function clearResponseDwellTimeMsString()
    {
        unset($this->responseDwellTimeMsString);
    }

    /**
     * Generated from protobuf field <code>optional string responseDwellTimeMsString = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setResponseDwellTimeMsString($var)
    {
        GPBUtil::checkString($var, True);
        $this->responseDwellTimeMsString = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string selectedResponseId = 2;</code>
     * @return string
     */
    public function getSelectedResponseId()
    {
        return isset($this->selectedResponseId) ? $this->selectedResponseId : '';
    }

    public function hasSelectedResponseId()
    {
        return isset($this->selectedResponseId);
    }

    public function clearSelectedResponseId()
    {
        unset($this->selectedResponseId);
    }

    /**
     * Generated from protobuf field <code>optional string selectedResponseId = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setSelectedResponseId($var)
    {
        GPBUtil::checkString($var, True);
        $this->selectedResponseId = $var;

        return $this;
    }

}

