1<?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 * 19 * Generated from protobuf message <code>google.protobuf.Empty</code> 20 */ 21class GPBEmpty 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\Google\Protobuf\GPBEmpty::initOnce(); 34 parent::__construct($data); 35 } 36 37} 38 39