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

namespace Rv\Data\RecordRequest;

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

/**
 * Generated from protobuf message <code>rv.data.RecordRequest.Resi</code>
 */
class Resi extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint32 gop = 1;</code>
     */
    protected $gop = 0;
    /**
     * Generated from protobuf field <code>double segmentSize = 2;</code>
     */
    protected $segmentSize = 0.0;
    /**
     * Generated from protobuf field <code>string destinationGroupId = 3;</code>
     */
    protected $destinationGroupId = '';
    /**
     * Generated from protobuf field <code>uint32 bufSize = 4;</code>
     */
    protected $bufSize = 0;
    /**
     * Generated from protobuf field <code>uint32 minRate = 5;</code>
     */
    protected $minRate = 0;
    /**
     * Generated from protobuf field <code>uint32 maxRate = 6;</code>
     */
    protected $maxRate = 0;
    /**
     * Generated from protobuf field <code>string eventName = 7;</code>
     */
    protected $eventName = '';
    /**
     * Generated from protobuf field <code>string social_description = 8;</code>
     */
    protected $social_description = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $gop
     *     @type float $segmentSize
     *     @type string $destinationGroupId
     *     @type int $bufSize
     *     @type int $minRate
     *     @type int $maxRate
     *     @type string $eventName
     *     @type string $social_description
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>uint32 gop = 1;</code>
     * @return int
     */
    public function getGop()
    {
        return $this->gop;
    }

    /**
     * Generated from protobuf field <code>uint32 gop = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setGop($var)
    {
        GPBUtil::checkUint32($var);
        $this->gop = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double segmentSize = 2;</code>
     * @return float
     */
    public function getSegmentSize()
    {
        return $this->segmentSize;
    }

    /**
     * Generated from protobuf field <code>double segmentSize = 2;</code>
     * @param float $var
     * @return $this
     */
    public function setSegmentSize($var)
    {
        GPBUtil::checkDouble($var);
        $this->segmentSize = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string destinationGroupId = 3;</code>
     * @return string
     */
    public function getDestinationGroupId()
    {
        return $this->destinationGroupId;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint32 bufSize = 4;</code>
     * @return int
     */
    public function getBufSize()
    {
        return $this->bufSize;
    }

    /**
     * Generated from protobuf field <code>uint32 bufSize = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setBufSize($var)
    {
        GPBUtil::checkUint32($var);
        $this->bufSize = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint32 minRate = 5;</code>
     * @return int
     */
    public function getMinRate()
    {
        return $this->minRate;
    }

    /**
     * Generated from protobuf field <code>uint32 minRate = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setMinRate($var)
    {
        GPBUtil::checkUint32($var);
        $this->minRate = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint32 maxRate = 6;</code>
     * @return int
     */
    public function getMaxRate()
    {
        return $this->maxRate;
    }

    /**
     * Generated from protobuf field <code>uint32 maxRate = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setMaxRate($var)
    {
        GPBUtil::checkUint32($var);
        $this->maxRate = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string eventName = 7;</code>
     * @return string
     */
    public function getEventName()
    {
        return $this->eventName;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string social_description = 8;</code>
     * @return string
     */
    public function getSocialDescription()
    {
        return $this->social_description;
    }

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

        return $this;
    }

}

