rv.data.RecordRequest.Resi */ class Resi extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint32 gop = 1; */ protected $gop = 0; /** * Generated from protobuf field double segmentSize = 2; */ protected $segmentSize = 0.0; /** * Generated from protobuf field string destinationGroupId = 3; */ protected $destinationGroupId = ''; /** * Generated from protobuf field uint32 bufSize = 4; */ protected $bufSize = 0; /** * Generated from protobuf field uint32 minRate = 5; */ protected $minRate = 0; /** * Generated from protobuf field uint32 maxRate = 6; */ protected $maxRate = 0; /** * Generated from protobuf field string eventName = 7; */ protected $eventName = ''; /** * Generated from protobuf field string social_description = 8; */ 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 uint32 gop = 1; * @return int */ public function getGop() { return $this->gop; } /** * Generated from protobuf field uint32 gop = 1; * @param int $var * @return $this */ public function setGop($var) { GPBUtil::checkUint32($var); $this->gop = $var; return $this; } /** * Generated from protobuf field double segmentSize = 2; * @return float */ public function getSegmentSize() { return $this->segmentSize; } /** * Generated from protobuf field double segmentSize = 2; * @param float $var * @return $this */ public function setSegmentSize($var) { GPBUtil::checkDouble($var); $this->segmentSize = $var; return $this; } /** * Generated from protobuf field string destinationGroupId = 3; * @return string */ public function getDestinationGroupId() { return $this->destinationGroupId; } /** * Generated from protobuf field string destinationGroupId = 3; * @param string $var * @return $this */ public function setDestinationGroupId($var) { GPBUtil::checkString($var, True); $this->destinationGroupId = $var; return $this; } /** * Generated from protobuf field uint32 bufSize = 4; * @return int */ public function getBufSize() { return $this->bufSize; } /** * Generated from protobuf field uint32 bufSize = 4; * @param int $var * @return $this */ public function setBufSize($var) { GPBUtil::checkUint32($var); $this->bufSize = $var; return $this; } /** * Generated from protobuf field uint32 minRate = 5; * @return int */ public function getMinRate() { return $this->minRate; } /** * Generated from protobuf field uint32 minRate = 5; * @param int $var * @return $this */ public function setMinRate($var) { GPBUtil::checkUint32($var); $this->minRate = $var; return $this; } /** * Generated from protobuf field uint32 maxRate = 6; * @return int */ public function getMaxRate() { return $this->maxRate; } /** * Generated from protobuf field uint32 maxRate = 6; * @param int $var * @return $this */ public function setMaxRate($var) { GPBUtil::checkUint32($var); $this->maxRate = $var; return $this; } /** * Generated from protobuf field string eventName = 7; * @return string */ public function getEventName() { return $this->eventName; } /** * Generated from protobuf field string eventName = 7; * @param string $var * @return $this */ public function setEventName($var) { GPBUtil::checkString($var, True); $this->eventName = $var; return $this; } /** * Generated from protobuf field string social_description = 8; * @return string */ public function getSocialDescription() { return $this->social_description; } /** * Generated from protobuf field string social_description = 8; * @param string $var * @return $this */ public function setSocialDescription($var) { GPBUtil::checkString($var, True); $this->social_description = $var; return $this; } }