blob: 2de9c3bc06529a52f6349791355500329a48c9ff [file] [log] [blame]
avm9996399bb77c2020-01-27 03:15:08 +01001<?php
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: google/protobuf/empty.proto
4
5namespace Google\Protobuf;
6
7use Google\Protobuf\Internal\GPBType;
8use Google\Protobuf\Internal\RepeatedField;
9use Google\Protobuf\Internal\GPBUtil;
10
11/**
12 * A generic empty message that you can re-use to avoid defining duplicated
13 * empty messages in your APIs. A typical example is to use it as the request
14 * or the response type of an API method. For instance:
15 * service Foo {
16 * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
17 * }
18 * The JSON representation for `Empty` is empty JSON object `{}`.
19 *
20 * Generated from protobuf message <code>google.protobuf.Empty</code>
21 */
22class GPBEmpty extends \Google\Protobuf\Internal\Message
23{
24
25 /**
26 * Constructor.
27 *
28 * @param array $data {
29 * Optional. Data for populating the Message object.
30 *
31 * }
32 */
33 public function __construct($data = NULL) {
34 \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce();
35 parent::__construct($data);
36 }
37
38}
39