mirror of https://github.com/grpc/grpc.git
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.
61 lines
1.3 KiB
61 lines
1.3 KiB
4 years ago
|
<?php
|
||
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# source: helloworld.proto
|
||
|
|
||
|
namespace Helloworld;
|
||
|
|
||
|
use Google\Protobuf\Internal\GPBType;
|
||
|
use Google\Protobuf\Internal\RepeatedField;
|
||
|
use Google\Protobuf\Internal\GPBUtil;
|
||
|
|
||
|
/**
|
||
|
* The response message containing the greetings
|
||
|
*
|
||
|
* Generated from protobuf message <code>helloworld.HelloReply</code>
|
||
|
*/
|
||
|
class HelloReply extends \Google\Protobuf\Internal\Message
|
||
|
{
|
||
|
/**
|
||
|
* Generated from protobuf field <code>string message = 1;</code>
|
||
|
*/
|
||
|
protected $message = '';
|
||
|
|
||
|
/**
|
||
|
* Constructor.
|
||
|
*
|
||
|
* @param array $data {
|
||
|
* Optional. Data for populating the Message object.
|
||
|
*
|
||
|
* @type string $message
|
||
|
* }
|
||
|
*/
|
||
|
public function __construct($data = NULL) {
|
||
|
\GPBMetadata\Helloworld::initOnce();
|
||
|
parent::__construct($data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Generated from protobuf field <code>string message = 1;</code>
|
||
|
* @return string
|
||
|
*/
|
||
|
public function getMessage()
|
||
|
{
|
||
|
return $this->message;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Generated from protobuf field <code>string message = 1;</code>
|
||
|
* @param string $var
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setMessage($var)
|
||
|
{
|
||
|
GPBUtil::checkString($var, True);
|
||
|
$this->message = $var;
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|