• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #region Copyright notice and license
2 // Protocol Buffers - Google's data interchange format
3 // Copyright 2008 Google Inc.  All rights reserved.
4 //
5 // Use of this source code is governed by a BSD-style
6 // license that can be found in the LICENSE file or at
7 // https://developers.google.com/open-source/licenses/bsd
8 #endregion
9 
10 namespace Google.Protobuf.Reflection
11 {
12     /// <summary>
13     /// Interface implemented by all descriptor types.
14     /// </summary>
15     public interface IDescriptor
16     {
17         /// <summary>
18         /// Returns the name of the entity (message, field etc) being described.
19         /// </summary>
20         string Name { get; }
21 
22         /// <summary>
23         /// Returns the fully-qualified name of the entity being described.
24         /// </summary>
25         string FullName { get; }
26 
27         /// <summary>
28         /// Returns the descriptor for the .proto file that this entity is part of.
29         /// </summary>
30         FileDescriptor File { get; }
31     }
32 }