go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/grpc/discovery/service.proto (about)

     1  // Copyright 2016 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  syntax = "proto3";
     6  
     7  package discovery;
     8  
     9  option go_package = "go.chromium.org/luci/grpc/discovery";
    10  
    11  import "google/protobuf/descriptor.proto";
    12  
    13  // Discovery describes services.
    14  service Discovery {
    15    // Describe returns a list of services and a descriptor.FileDescriptorSet
    16    // that covers them all.
    17    rpc Describe (Void) returns (DescribeResponse) {}
    18  }
    19  
    20  // Void is an empty message.
    21  message Void {}
    22  
    23  // DescribeResponse describes services.
    24  message DescribeResponse {
    25    // Description contains descriptions of all services, their types and all
    26    // transitive dependencies.
    27    google.protobuf.FileDescriptorSet description = 1;
    28    // Services are service names provided by a server.
    29    repeated string services = 2;
    30  }