| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto3"; |
| 6 |
| 7 package discovery; |
| 8 |
| 9 // Describes services. |
| 10 service Discovery { |
| 11 // Returns a list of services and a |
| 12 // descriptor.FileDescriptorSet that covers them all. |
| 13 rpc Describe (Void) returns (DescribeResponse) {} |
| 14 } |
| 15 |
| 16 // Void is an empty message. |
| 17 message Void {} |
| 18 |
| 19 // DescribeResponse describes services. |
| 20 message DescribeResponse { |
| 21 // FileDescriptionSet is a binary-encoded FileDescriptorSet message. |
| 22 // Contains descriptions of all services, their types and all transitive |
| 23 // dependencies. |
| 24 bytes fileDescriptionSet = 1; |
| 25 // Services are service names provided by a server. |
| 26 repeated string services = 2; |
| 27 } |
| OLD | NEW |