Debian Codegraph @

src/php/tests/qps/generated_code/Grpc/Testing/EmptyMessage.php

raw
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: src/proto/grpc/testing/empty.proto
4
5 namespace Grpc\Testing;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * An empty message that you can re-use to avoid defining duplicated empty
13 * messages in your project. A typical example is to use it as argument or the
14 * return value of a service API. For instance:
15 * service Foo {
16 * rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
17 * };
18 *
19 * Generated from protobuf message <code>grpc.testing.EmptyMessage</code>
20 */
21 class EmptyMessage extends \Google\Protobuf\Internal\Message
22 {
23
24 /**
25 * Constructor.
26 *
27 * @param array $data {
28 * Optional. Data for populating the Message object.
29 *
30 * }
31 */
32 public function __construct($data = NULL) {
33 \GPBMetadata\Src\Proto\Grpc\Testing\PBEmpty::initOnce();
34 parent::__construct($data);
35 }
36
37 }
38