1<?php 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: helloworld.proto 4 5namespace Helloworld; 6 7use Google\Protobuf\Internal\GPBType; 8use Google\Protobuf\Internal\RepeatedField; 9use Google\Protobuf\Internal\GPBUtil; 10 11/** 12 * The response message containing the greetings 13 * 14 * Generated from protobuf message <code>helloworld.HelloReply</code> 15 */ 16class HelloReply extends \Google\Protobuf\Internal\Message 17{ 18 /** 19 * Generated from protobuf field <code>string message = 1;</code> 20 */ 21 protected $message = ''; 22 23 /** 24 * Constructor. 25 * 26 * @param array $data { 27 * Optional. Data for populating the Message object. 28 * 29 * @type string $message 30 * } 31 */ 32 public function __construct($data = NULL) { 33 \GPBMetadata\Helloworld::initOnce(); 34 parent::__construct($data); 35 } 36 37 /** 38 * Generated from protobuf field <code>string message = 1;</code> 39 * @return string 40 */ 41 public function getMessage() 42 { 43 return $this->message; 44 } 45 46 /** 47 * Generated from protobuf field <code>string message = 1;</code> 48 * @param string $var 49 * @return $this 50 */ 51 public function setMessage($var) 52 { 53 GPBUtil::checkString($var, True); 54 $this->message = $var; 55 56 return $this; 57 } 58 59} 60 61