File: artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net11.0\Proto\XmldocGrpc.cs
Project: src\src\Grpc\JsonTranscoding\test\Microsoft.AspNetCore.Grpc.Swagger.Tests\Microsoft.AspNetCore.Grpc.Swagger.Tests.csproj (Microsoft.AspNetCore.Grpc.Swagger.Tests)
// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: Proto/xmldoc.proto
// </auto-generated>
// Original file comments:
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
//
#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code

using grpc = global::Grpc.Core;

namespace Xmldoc {
  /// <summary>
  /// XmlDoc!
  /// </summary>
  public static partial class XmlDoc
  {
    static readonly string __ServiceName = "xmldoc.XmlDoc";

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
    {
      #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
      if (message is global::Google.Protobuf.IBufferMessage)
      {
        context.SetPayloadLength(message.CalculateSize());
        global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
        context.Complete();
        return;
      }
      #endif
      context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
    }

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static class __Helper_MessageCache<T>
    {
      public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
    }

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
    {
      #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
      if (__Helper_MessageCache<T>.IsBufferMessage)
      {
        return parser.ParseFrom(context.PayloadAsReadOnlySequence());
      }
      #endif
      return parser.ParseFrom(context.PayloadAsNewBuffer());
    }

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Xmldoc.StringRequest> __Marshaller_xmldoc_StringRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Xmldoc.StringRequest.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Xmldoc.StringReply> __Marshaller_xmldoc_StringReply = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Xmldoc.StringReply.Parser));
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Marshaller<global::Xmldoc.StringRequestWithDetail> __Marshaller_xmldoc_StringRequestWithDetail = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Xmldoc.StringRequestWithDetail.Parser));

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Xmldoc.StringRequest, global::Xmldoc.StringReply> __Method_BasicGet = new grpc::Method<global::Xmldoc.StringRequest, global::Xmldoc.StringReply>(
        grpc::MethodType.Unary,
        __ServiceName,
        "BasicGet",
        __Marshaller_xmldoc_StringRequest,
        __Marshaller_xmldoc_StringReply);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply> __Method_BodyRootPost = new grpc::Method<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply>(
        grpc::MethodType.Unary,
        __ServiceName,
        "BodyRootPost",
        __Marshaller_xmldoc_StringRequestWithDetail,
        __Marshaller_xmldoc_StringReply);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply> __Method_BodyPathPost = new grpc::Method<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply>(
        grpc::MethodType.Unary,
        __ServiceName,
        "BodyPathPost",
        __Marshaller_xmldoc_StringRequestWithDetail,
        __Marshaller_xmldoc_StringReply);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Xmldoc.StringRequest, global::Xmldoc.StringReply> __Method_BasicDelete = new grpc::Method<global::Xmldoc.StringRequest, global::Xmldoc.StringReply>(
        grpc::MethodType.Unary,
        __ServiceName,
        "BasicDelete",
        __Marshaller_xmldoc_StringRequest,
        __Marshaller_xmldoc_StringReply);

    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    static readonly grpc::Method<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply> __Method_QueryGet = new grpc::Method<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply>(
        grpc::MethodType.Unary,
        __ServiceName,
        "QueryGet",
        __Marshaller_xmldoc_StringRequestWithDetail,
        __Marshaller_xmldoc_StringReply);

    /// <summary>Service descriptor</summary>
    public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
    {
      get { return global::Xmldoc.XmldocReflection.Descriptor.Services[0]; }
    }

    /// <summary>Base class for server-side implementations of XmlDoc</summary>
    [grpc::BindServiceMethod(typeof(XmlDoc), "BindService")]
    public abstract partial class XmlDocBase
    {
      /// <summary>
      /// BasicGet!
      /// </summary>
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Xmldoc.StringReply> BasicGet(global::Xmldoc.StringRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      /// <summary>
      /// BodyRootPost!
      /// </summary>
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Xmldoc.StringReply> BodyRootPost(global::Xmldoc.StringRequestWithDetail request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      /// <summary>
      /// BodyPathPost!
      /// </summary>
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Xmldoc.StringReply> BodyPathPost(global::Xmldoc.StringRequestWithDetail request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      /// <summary>
      /// BasicDelete!
      /// </summary>
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Xmldoc.StringReply> BasicDelete(global::Xmldoc.StringRequest request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

      /// <summary>
      /// QueryGet!
      /// </summary>
      /// <param name="request">The request received from the client.</param>
      /// <param name="context">The context of the server-side call handler being invoked.</param>
      /// <returns>The response to send back to the client (wrapped by a task).</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::Xmldoc.StringReply> QueryGet(global::Xmldoc.StringRequestWithDetail request, grpc::ServerCallContext context)
      {
        throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
      }

    }

    /// <summary>Client for XmlDoc</summary>
    public partial class XmlDocClient : grpc::ClientBase<XmlDocClient>
    {
      /// <summary>Creates a new client for XmlDoc</summary>
      /// <param name="channel">The channel to use to make remote calls.</param>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public XmlDocClient(grpc::ChannelBase channel) : base(channel)
      {
      }
      /// <summary>Creates a new client for XmlDoc that uses a custom <c>CallInvoker</c>.</summary>
      /// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public XmlDocClient(grpc::CallInvoker callInvoker) : base(callInvoker)
      {
      }
      /// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      protected XmlDocClient() : base()
      {
      }
      /// <summary>Protected constructor to allow creation of configured clients.</summary>
      /// <param name="configuration">The client configuration.</param>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      protected XmlDocClient(ClientBaseConfiguration configuration) : base(configuration)
      {
      }

      /// <summary>
      /// BasicGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BasicGet(global::Xmldoc.StringRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BasicGet(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BasicGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BasicGet(global::Xmldoc.StringRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_BasicGet, null, options, request);
      }
      /// <summary>
      /// BasicGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BasicGetAsync(global::Xmldoc.StringRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BasicGetAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BasicGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BasicGetAsync(global::Xmldoc.StringRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_BasicGet, null, options, request);
      }
      /// <summary>
      /// BodyRootPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BodyRootPost(global::Xmldoc.StringRequestWithDetail request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BodyRootPost(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BodyRootPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BodyRootPost(global::Xmldoc.StringRequestWithDetail request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_BodyRootPost, null, options, request);
      }
      /// <summary>
      /// BodyRootPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BodyRootPostAsync(global::Xmldoc.StringRequestWithDetail request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BodyRootPostAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BodyRootPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BodyRootPostAsync(global::Xmldoc.StringRequestWithDetail request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_BodyRootPost, null, options, request);
      }
      /// <summary>
      /// BodyPathPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BodyPathPost(global::Xmldoc.StringRequestWithDetail request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BodyPathPost(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BodyPathPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BodyPathPost(global::Xmldoc.StringRequestWithDetail request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_BodyPathPost, null, options, request);
      }
      /// <summary>
      /// BodyPathPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BodyPathPostAsync(global::Xmldoc.StringRequestWithDetail request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BodyPathPostAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BodyPathPost!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BodyPathPostAsync(global::Xmldoc.StringRequestWithDetail request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_BodyPathPost, null, options, request);
      }
      /// <summary>
      /// BasicDelete!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BasicDelete(global::Xmldoc.StringRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BasicDelete(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BasicDelete!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply BasicDelete(global::Xmldoc.StringRequest request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_BasicDelete, null, options, request);
      }
      /// <summary>
      /// BasicDelete!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BasicDeleteAsync(global::Xmldoc.StringRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return BasicDeleteAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// BasicDelete!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> BasicDeleteAsync(global::Xmldoc.StringRequest request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_BasicDelete, null, options, request);
      }
      /// <summary>
      /// QueryGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply QueryGet(global::Xmldoc.StringRequestWithDetail request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return QueryGet(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// QueryGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The response received from the server.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::Xmldoc.StringReply QueryGet(global::Xmldoc.StringRequestWithDetail request, grpc::CallOptions options)
      {
        return CallInvoker.BlockingUnaryCall(__Method_QueryGet, null, options, request);
      }
      /// <summary>
      /// QueryGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
      /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
      /// <param name="cancellationToken">An optional token for canceling the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> QueryGetAsync(global::Xmldoc.StringRequestWithDetail request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
      {
        return QueryGetAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
      }
      /// <summary>
      /// QueryGet!
      /// </summary>
      /// <param name="request">The request to send to the server.</param>
      /// <param name="options">The options for the call.</param>
      /// <returns>The call object.</returns>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual grpc::AsyncUnaryCall<global::Xmldoc.StringReply> QueryGetAsync(global::Xmldoc.StringRequestWithDetail request, grpc::CallOptions options)
      {
        return CallInvoker.AsyncUnaryCall(__Method_QueryGet, null, options, request);
      }
      /// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      protected override XmlDocClient NewInstance(ClientBaseConfiguration configuration)
      {
        return new XmlDocClient(configuration);
      }
    }

    /// <summary>Creates service definition that can be registered with a server</summary>
    /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    public static grpc::ServerServiceDefinition BindService(XmlDocBase serviceImpl)
    {
      return grpc::ServerServiceDefinition.CreateBuilder()
          .AddMethod(__Method_BasicGet, serviceImpl.BasicGet)
          .AddMethod(__Method_BodyRootPost, serviceImpl.BodyRootPost)
          .AddMethod(__Method_BodyPathPost, serviceImpl.BodyPathPost)
          .AddMethod(__Method_BasicDelete, serviceImpl.BasicDelete)
          .AddMethod(__Method_QueryGet, serviceImpl.QueryGet).Build();
    }

    /// <summary>Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
    /// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
    /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
    /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
    [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
    public static void BindService(grpc::ServiceBinderBase serviceBinder, XmlDocBase serviceImpl)
    {
      serviceBinder.AddMethod(__Method_BasicGet, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Xmldoc.StringRequest, global::Xmldoc.StringReply>(serviceImpl.BasicGet));
      serviceBinder.AddMethod(__Method_BodyRootPost, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply>(serviceImpl.BodyRootPost));
      serviceBinder.AddMethod(__Method_BodyPathPost, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply>(serviceImpl.BodyPathPost));
      serviceBinder.AddMethod(__Method_BasicDelete, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Xmldoc.StringRequest, global::Xmldoc.StringReply>(serviceImpl.BasicDelete));
      serviceBinder.AddMethod(__Method_QueryGet, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Xmldoc.StringRequestWithDetail, global::Xmldoc.StringReply>(serviceImpl.QueryGet));
    }

  }
}
#endregion