The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
<?php |
|
# Generated by the protocol buffer compiler. DO NOT EDIT! |
|
# source: math.proto |
|
|
|
namespace Math; |
|
|
|
use Google\Protobuf\Internal\GPBType; |
|
use Google\Protobuf\Internal\RepeatedField; |
|
use Google\Protobuf\Internal\GPBUtil; |
|
|
|
/** |
|
* Generated from protobuf message <code>math.FibArgs</code> |
|
*/ |
|
class FibArgs extends \Google\Protobuf\Internal\Message |
|
{ |
|
/** |
|
* Generated from protobuf field <code>int64 limit = 1;</code> |
|
*/ |
|
protected $limit = 0; |
|
|
|
/** |
|
* Constructor. |
|
* |
|
* @param array $data { |
|
* Optional. Data for populating the Message object. |
|
* |
|
* @type int|string $limit |
|
* } |
|
*/ |
|
public function __construct($data = NULL) { |
|
\GPBMetadata\Math::initOnce(); |
|
parent::__construct($data); |
|
} |
|
|
|
/** |
|
* Generated from protobuf field <code>int64 limit = 1;</code> |
|
* @return int|string |
|
*/ |
|
public function getLimit() |
|
{ |
|
return $this->limit; |
|
} |
|
|
|
/** |
|
* Generated from protobuf field <code>int64 limit = 1;</code> |
|
* @param int|string $var |
|
* @return $this |
|
*/ |
|
public function setLimit($var) |
|
{ |
|
GPBUtil::checkInt64($var); |
|
$this->limit = $var; |
|
|
|
return $this; |
|
} |
|
|
|
} |
|
|
|
|