1<?php 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: math.proto 4 5namespace Math; 6 7use Google\Protobuf\Internal\GPBType; 8use Google\Protobuf\Internal\RepeatedField; 9use Google\Protobuf\Internal\GPBUtil; 10 11/** 12 * Generated from protobuf message <code>math.DivReply</code> 13 */ 14class DivReply extends \Google\Protobuf\Internal\Message 15{ 16 /** 17 * Generated from protobuf field <code>int64 quotient = 1;</code> 18 */ 19 protected $quotient = 0; 20 /** 21 * Generated from protobuf field <code>int64 remainder = 2;</code> 22 */ 23 protected $remainder = 0; 24 25 /** 26 * Constructor. 27 * 28 * @param array $data { 29 * Optional. Data for populating the Message object. 30 * 31 * @type int|string $quotient 32 * @type int|string $remainder 33 * } 34 */ 35 public function __construct($data = NULL) { 36 \GPBMetadata\Math::initOnce(); 37 parent::__construct($data); 38 } 39 40 /** 41 * Generated from protobuf field <code>int64 quotient = 1;</code> 42 * @return int|string 43 */ 44 public function getQuotient() 45 { 46 return $this->quotient; 47 } 48 49 /** 50 * Generated from protobuf field <code>int64 quotient = 1;</code> 51 * @param int|string $var 52 * @return $this 53 */ 54 public function setQuotient($var) 55 { 56 GPBUtil::checkInt64($var); 57 $this->quotient = $var; 58 59 return $this; 60 } 61 62 /** 63 * Generated from protobuf field <code>int64 remainder = 2;</code> 64 * @return int|string 65 */ 66 public function getRemainder() 67 { 68 return $this->remainder; 69 } 70 71 /** 72 * Generated from protobuf field <code>int64 remainder = 2;</code> 73 * @param int|string $var 74 * @return $this 75 */ 76 public function setRemainder($var) 77 { 78 GPBUtil::checkInt64($var); 79 $this->remainder = $var; 80 81 return $this; 82 } 83 84} 85 86