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.DivArgs</code> 13 */ 14class DivArgs extends \Google\Protobuf\Internal\Message 15{ 16 /** 17 * Generated from protobuf field <code>int64 dividend = 1;</code> 18 */ 19 protected $dividend = 0; 20 /** 21 * Generated from protobuf field <code>int64 divisor = 2;</code> 22 */ 23 protected $divisor = 0; 24 25 /** 26 * Constructor. 27 * 28 * @param array $data { 29 * Optional. Data for populating the Message object. 30 * 31 * @type int|string $dividend 32 * @type int|string $divisor 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 dividend = 1;</code> 42 * @return int|string 43 */ 44 public function getDividend() 45 { 46 return $this->dividend; 47 } 48 49 /** 50 * Generated from protobuf field <code>int64 dividend = 1;</code> 51 * @param int|string $var 52 * @return $this 53 */ 54 public function setDividend($var) 55 { 56 GPBUtil::checkInt64($var); 57 $this->dividend = $var; 58 59 return $this; 60 } 61 62 /** 63 * Generated from protobuf field <code>int64 divisor = 2;</code> 64 * @return int|string 65 */ 66 public function getDivisor() 67 { 68 return $this->divisor; 69 } 70 71 /** 72 * Generated from protobuf field <code>int64 divisor = 2;</code> 73 * @param int|string $var 74 * @return $this 75 */ 76 public function setDivisor($var) 77 { 78 GPBUtil::checkInt64($var); 79 $this->divisor = $var; 80 81 return $this; 82 } 83 84} 85 86