1<?php 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: src/proto/grpc/testing/messages.proto 4 5namespace Grpc\Testing; 6 7use Google\Protobuf\Internal\GPBType; 8use Google\Protobuf\Internal\RepeatedField; 9use Google\Protobuf\Internal\GPBUtil; 10 11/** 12 * Client-streaming response. 13 * 14 * Generated from protobuf message <code>grpc.testing.StreamingInputCallResponse</code> 15 */ 16class StreamingInputCallResponse extends \Google\Protobuf\Internal\Message 17{ 18 /** 19 * Aggregated size of payloads received from the client. 20 * 21 * Generated from protobuf field <code>int32 aggregated_payload_size = 1;</code> 22 */ 23 private $aggregated_payload_size = 0; 24 25 public function __construct() { 26 \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce(); 27 parent::__construct(); 28 } 29 30 /** 31 * Aggregated size of payloads received from the client. 32 * 33 * Generated from protobuf field <code>int32 aggregated_payload_size = 1;</code> 34 * @return int 35 */ 36 public function getAggregatedPayloadSize() 37 { 38 return $this->aggregated_payload_size; 39 } 40 41 /** 42 * Aggregated size of payloads received from the client. 43 * 44 * Generated from protobuf field <code>int32 aggregated_payload_size = 1;</code> 45 * @param int $var 46 * @return $this 47 */ 48 public function setAggregatedPayloadSize($var) 49 { 50 GPBUtil::checkInt32($var); 51 $this->aggregated_payload_size = $var; 52 53 return $this; 54 } 55 56} 57 58