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 * For reconnect interop test only. 13 * Client tells server what reconnection parameters it used. 14 * 15 * Generated from protobuf message <code>grpc.testing.ReconnectParams</code> 16 */ 17class ReconnectParams extends \Google\Protobuf\Internal\Message 18{ 19 /** 20 * Generated from protobuf field <code>int32 max_reconnect_backoff_ms = 1;</code> 21 */ 22 private $max_reconnect_backoff_ms = 0; 23 24 public function __construct() { 25 \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce(); 26 parent::__construct(); 27 } 28 29 /** 30 * Generated from protobuf field <code>int32 max_reconnect_backoff_ms = 1;</code> 31 * @return int 32 */ 33 public function getMaxReconnectBackoffMs() 34 { 35 return $this->max_reconnect_backoff_ms; 36 } 37 38 /** 39 * Generated from protobuf field <code>int32 max_reconnect_backoff_ms = 1;</code> 40 * @param int $var 41 * @return $this 42 */ 43 public function setMaxReconnectBackoffMs($var) 44 { 45 GPBUtil::checkInt32($var); 46 $this->max_reconnect_backoff_ms = $var; 47 48 return $this; 49 } 50 51} 52 53