context: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: google/protobuf/api.proto
  #pragma warning disable 1591, 0612, 3021
  #region Designer generated code
  
  using pb = global::Google.Protobuf;
  using pbc = global::Google.Protobuf.Collections;
  using pbr = global::Google.Protobuf.Reflection;
  using scg = global::System.Collections.Generic;
  namespace Google.Protobuf.WellKnownTypes {
  
    /// <summary>Holder for reflection information generated from google/protobuf/api.proto</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    public static partial class ApiReflection {
  
      #region Descriptor
      /// <summary>File descriptor for google/protobuf/api.proto</summary>
      public static pbr::FileDescriptor Descriptor {
        get { return descriptor; }
      }
      private static pbr::FileDescriptor descriptor;
  
      static ApiReflection() {
        byte[] descriptorData = global::System.Convert.FromBase64String(
            string.Concat(
              "Chlnb29nbGUvcHJvdG9idWYvYXBpLnByb3RvEg9nb29nbGUucHJvdG9idWYa",
              "JGdvb2dsZS9wcm90b2J1Zi9zb3VyY2VfY29udGV4dC5wcm90bxoaZ29vZ2xl",
              "L3Byb3RvYnVmL3R5cGUucHJvdG8igQIKA0FwaRIMCgRuYW1lGAEgASgJEigK",
              "B21ldGhvZHMYAiADKAsyFy5nb29nbGUucHJvdG9idWYuTWV0aG9kEigKB29w",
              "dGlvbnMYAyADKAsyFy5nb29nbGUucHJvdG9idWYuT3B0aW9uEg8KB3ZlcnNp",
              "b24YBCABKAkSNgoOc291cmNlX2NvbnRleHQYBSABKAsyHi5nb29nbGUucHJv",
              "dG9idWYuU291cmNlQ29udGV4dBImCgZtaXhpbnMYBiADKAsyFi5nb29nbGUu",
              "cHJvdG9idWYuTWl4aW4SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3Rv",
              "YnVmLlN5bnRheCLVAQoGTWV0aG9kEgwKBG5hbWUYASABKAkSGAoQcmVxdWVz",
              "dF90eXBlX3VybBgCIAEoCRIZChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCBIZ",
              "ChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1p",
              "bmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5P",
              "cHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRh",
              "eCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCSwoTY29t",
              "Lmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAaABAaICA0dQQqoCHkdvb2ds",
              "ZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"));
        descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
            new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.SourceContextReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TypeReflection.Descriptor, },
            new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
              new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Api), global::Google.Protobuf.WellKnownTypes.Api.Parser, new[]{ "Name", "Methods", "Options", "Version", "SourceContext", "Mixins", "Syntax" }, null, null, null),
              new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Method), global::Google.Protobuf.WellKnownTypes.Method.Parser, new[]{ "Name", "RequestTypeUrl", "RequestStreaming", "ResponseTypeUrl", "ResponseStreaming", "Options", "Syntax" }, null, null, null),
              new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Mixin), global::Google.Protobuf.WellKnownTypes.Mixin.Parser, new[]{ "Name", "Root" }, null, null, null)
            }));
      }
      #endregion
  
    }
    #region Messages
    /// <summary>
    ///  Api is a light-weight descriptor for a protocol buffer service.
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    public sealed partial class Api : pb::IMessage<Api> {
      private static readonly pb::MessageParser<Api> _parser = new pb::MessageParser<Api>(() => new Api());
      public static pb::MessageParser<Api> Parser { get { return _parser; } }
  
      public static pbr::MessageDescriptor Descriptor {
        get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descriptor.MessageTypes[0]; }
      }
  
      pbr::MessageDescriptor pb::IMessage.Descriptor {
        get { return Descriptor; }
      }
  
      public Api() {
        OnConstruction();
      }
  
      partial void OnConstruction();
  
      public Api(Api other) : this() {
        name_ = other.name_;
        methods_ = other.methods_.Clone();
        options_ = other.options_.Clone();
        version_ = other.version_;
        SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone() : null;
        mixins_ = other.mixins_.Clone();
        syntax_ = other.syntax_;
      }
  
      public Api Clone() {
        return new Api(this);
      }
  
      /// <summary>Field number for the "name" field.</summary>
      public const int NameFieldNumber = 1;
      private string name_ = "";
      /// <summary>
      ///  The fully qualified name of this api, including package name
      ///  followed by the api's simple name.
      /// </summary>
      public string Name {
        get { return name_; }
        set {
          name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
        }
      }
  
      /// <summary>Field number for the "methods" field.</summary>
      public const int MethodsFieldNumber = 2;
      private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Method> _repeated_methods_codec
          = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Method.Parser);
      private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> methods_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method>();
      /// <summary>
      ///  The methods of this api, in unspecified order.
      /// </summary>
      public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> Methods {
        get { return methods_; }
      }
  
      /// <summary>Field number for the "options" field.</summary>
      public const int OptionsFieldNumber = 3;
      private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Option> _repeated_options_codec
          = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.Option.Parser);
      private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option>();
      /// <summary>
      ///  Any metadata attached to the API.
      /// </summary>
      public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
        get { return options_; }
      }
  
      /// <summary>Field number for the "version" field.</summary>
      public const int VersionFieldNumber = 4;
      private string version_ = "";
      /// <summary>
      ///  A version string for this api. If specified, must have the form
      ///  `major-version.minor-version`, as in `1.10`. If the minor version
      ///  is omitted, it defaults to zero. If the entire version field is
      ///  empty, the major version is derived from the package name, as
      ///  outlined below. If the field is not empty, the version in the
      ///  package name will be verified to be consistent with what is
      ///  provided here.
      ///
      ///  The versioning schema uses [semantic
      ///  versioning](http://semver.org) where the major version number
      ///  indicates a breaking change and the minor version an additive,
      ///  non-breaking change. Both version numbers are signals to users
      ///  what to expect from different versions, and should be carefully
      ///  chosen based on the product plan.
      ///
      ///  The major version is also reflected in the package name of the
      ///  API, which must end in `v&lt;major-version>`, as in
      ///  `google.feature.v1`. For major versions 0 and 1, the suffix can
      ///  be omitted. Zero major versions must only be used for
      ///  experimental, none-GA apis.
      /// </summary>
      public string Version {
        get { return version_; }
        set {
          version_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
        }
      }
  
      /// <summary>Field number for the "source_context" field.</summary>
      public const int SourceContextFieldNumber = 5;
      private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContext_;
      /// <summary>
      ///  Source context for the protocol buffer service represented by this
      ///  message.
      /// </summary>
      public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext {
        get { return sourceContext_; }
        set {
          sourceContext_ = value;
        }
      }
  
      /// <summary>Field number for the "mixins" field.</summary>
      public const int MixinsFieldNumber = 6;
      private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Mixin> _repeated_mixins_codec
          = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.Mixin.Parser);
      private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> mixins_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin>();
      /// <summary>
      ///  Included APIs. See [Mixin][].
      /// </summary>
      public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> Mixins {
        get { return mixins_; }
      }
  
      /// <summary>Field number for the "syntax" field.</summary>
      public const int SyntaxFieldNumber = 7;
      private global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTypes.Syntax.SYNTAX_PROTO2;
      /// <summary>
      ///  The source syntax of the service.
      /// </summary>
      public global::Google.Protobuf.WellKnownTypes.Syntax Syntax {
        get { return syntax_; }
        set {
          syntax_ = value;
        }
      }
  
      public override bool Equals(object other) {
        return Equals(other as Api);
      }
  
      public bool Equals(Api other) {
        if (ReferenceEquals(other, null)) {
          return false;
        }
        if (ReferenceEquals(other, this)) {
          return true;
        }
        if (Name != other.Name) return false;
        if(!methods_.Equals(other.methods_)) return false;
        if(!options_.Equals(other.options_)) return false;
        if (Version != other.Version) return false;
        if (!object.Equals(SourceContext, other.SourceContext)) return false;
        if(!mixins_.Equals(other.mixins_)) return false;
        if (Syntax != other.Syntax) return false;
        return true;
      }
  
      public override int GetHashCode() {
        int hash = 1;
        if (Name.Length != 0) hash ^= Name.GetHashCode();
        hash ^= methods_.GetHashCode();
        hash ^= options_.GetHashCode();
  
gt:       if (Version.Length != 0) hash ^= Version.GetHashCode();