|  | @@ -0,0 +1,135 @@
 | 
	
		
			
				|  |  | +<?php
 | 
	
		
			
				|  |  | +# Generated by the protocol buffer compiler.  DO NOT EDIT!
 | 
	
		
			
				|  |  | +# source: src/proto/grpc/testing/messages.proto
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +namespace Grpc\Testing;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +use Google\Protobuf\Internal\GPBType;
 | 
	
		
			
				|  |  | +use Google\Protobuf\Internal\RepeatedField;
 | 
	
		
			
				|  |  | +use Google\Protobuf\Internal\GPBUtil;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +/**
 | 
	
		
			
				|  |  | + * Accumulated stats for RPCs sent by a test client.
 | 
	
		
			
				|  |  | + *
 | 
	
		
			
				|  |  | + * Generated from protobuf message <code>grpc.testing.LoadBalancerAccumulatedStatsResponse</code>
 | 
	
		
			
				|  |  | + */
 | 
	
		
			
				|  |  | +class LoadBalancerAccumulatedStatsResponse extends \Google\Protobuf\Internal\Message
 | 
	
		
			
				|  |  | +{
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever issued for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_started_by_method = 1;</code>
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    private $num_rpcs_started_by_method;
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever completed successfully for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_succeeded_by_method = 2;</code>
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    private $num_rpcs_succeeded_by_method;
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever failed for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_failed_by_method = 3;</code>
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    private $num_rpcs_failed_by_method;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * Constructor.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * @param array $data {
 | 
	
		
			
				|  |  | +     *     Optional. Data for populating the Message object.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     *     @type array|\Google\Protobuf\Internal\MapField $num_rpcs_started_by_method
 | 
	
		
			
				|  |  | +     *           The total number of RPCs have ever issued for each type.
 | 
	
		
			
				|  |  | +     *     @type array|\Google\Protobuf\Internal\MapField $num_rpcs_succeeded_by_method
 | 
	
		
			
				|  |  | +     *           The total number of RPCs have ever completed successfully for each type.
 | 
	
		
			
				|  |  | +     *     @type array|\Google\Protobuf\Internal\MapField $num_rpcs_failed_by_method
 | 
	
		
			
				|  |  | +     *           The total number of RPCs have ever failed for each type.
 | 
	
		
			
				|  |  | +     * }
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function __construct($data = NULL) {
 | 
	
		
			
				|  |  | +        \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce();
 | 
	
		
			
				|  |  | +        parent::__construct($data);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever issued for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_started_by_method = 1;</code>
 | 
	
		
			
				|  |  | +     * @return \Google\Protobuf\Internal\MapField
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function getNumRpcsStartedByMethod()
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        return $this->num_rpcs_started_by_method;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever issued for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_started_by_method = 1;</code>
 | 
	
		
			
				|  |  | +     * @param array|\Google\Protobuf\Internal\MapField $var
 | 
	
		
			
				|  |  | +     * @return $this
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function setNumRpcsStartedByMethod($var)
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT32);
 | 
	
		
			
				|  |  | +        $this->num_rpcs_started_by_method = $arr;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        return $this;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever completed successfully for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_succeeded_by_method = 2;</code>
 | 
	
		
			
				|  |  | +     * @return \Google\Protobuf\Internal\MapField
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function getNumRpcsSucceededByMethod()
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        return $this->num_rpcs_succeeded_by_method;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever completed successfully for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_succeeded_by_method = 2;</code>
 | 
	
		
			
				|  |  | +     * @param array|\Google\Protobuf\Internal\MapField $var
 | 
	
		
			
				|  |  | +     * @return $this
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function setNumRpcsSucceededByMethod($var)
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT32);
 | 
	
		
			
				|  |  | +        $this->num_rpcs_succeeded_by_method = $arr;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        return $this;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever failed for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_failed_by_method = 3;</code>
 | 
	
		
			
				|  |  | +     * @return \Google\Protobuf\Internal\MapField
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function getNumRpcsFailedByMethod()
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        return $this->num_rpcs_failed_by_method;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * The total number of RPCs have ever failed for each type.
 | 
	
		
			
				|  |  | +     *
 | 
	
		
			
				|  |  | +     * Generated from protobuf field <code>map<string, int32> num_rpcs_failed_by_method = 3;</code>
 | 
	
		
			
				|  |  | +     * @param array|\Google\Protobuf\Internal\MapField $var
 | 
	
		
			
				|  |  | +     * @return $this
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    public function setNumRpcsFailedByMethod($var)
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT32);
 | 
	
		
			
				|  |  | +        $this->num_rpcs_failed_by_method = $arr;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        return $this;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 |