Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / dialogflow / src / v2beta1 / doc / google / protobuf / doc_empty.js
1 // Copyright 2019 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Note: this file is purely for documentation. Any contents are not expected
16 // to be loaded as the JS file.
17
18 /**
19  * A generic empty message that you can re-use to avoid defining duplicated
20  * empty messages in your APIs. A typical example is to use it as the request
21  * or the response type of an API method. For instance:
22  *
23  *     service Foo {
24  *       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
25  *     }
26  *
27  * The JSON representation for `Empty` is empty JSON object `{}`.
28  * @typedef Empty
29  * @memberof google.protobuf
30  * @see [google.protobuf.Empty definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/empty.proto}
31  */
32 const Empty = {
33   // This is for documentation. Actual contents will be loaded by gRPC.
34 };