|
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Proto/parameters.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 Params {
public static partial class Parameters
{
static readonly string __ServiceName = "params.Parameters";
[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::Params.RequestOne> __Marshaller_params_RequestOne = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Params.RequestOne.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::Params.ParamResponse> __Marshaller_params_ParamResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Params.ParamResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::Params.RequestTwo> __Marshaller_params_RequestTwo = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Params.RequestTwo.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::Params.RequestThree> __Marshaller_params_RequestThree = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Params.RequestThree.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::Params.RequestFour> __Marshaller_params_RequestFour = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Params.RequestFour.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::Params.RequestFive> __Marshaller_params_RequestFive = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Params.RequestFive.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestOne, global::Params.ParamResponse> __Method_DemoParametersOne = new grpc::Method<global::Params.RequestOne, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersOne",
__Marshaller_params_RequestOne,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestOne, global::Params.ParamResponse> __Method_DemoParametersTwo = new grpc::Method<global::Params.RequestOne, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersTwo",
__Marshaller_params_RequestOne,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestTwo, global::Params.ParamResponse> __Method_DemoParametersThree = new grpc::Method<global::Params.RequestTwo, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersThree",
__Marshaller_params_RequestTwo,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestTwo, global::Params.ParamResponse> __Method_DemoParametersFour = new grpc::Method<global::Params.RequestTwo, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersFour",
__Marshaller_params_RequestTwo,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestTwo, global::Params.ParamResponse> __Method_DemoParametersFive = new grpc::Method<global::Params.RequestTwo, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersFive",
__Marshaller_params_RequestTwo,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestThree, global::Params.ParamResponse> __Method_DemoParametersSix = new grpc::Method<global::Params.RequestThree, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersSix",
__Marshaller_params_RequestThree,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestFour, global::Params.ParamResponse> __Method_DemoParametersSeven = new grpc::Method<global::Params.RequestFour, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersSeven",
__Marshaller_params_RequestFour,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestFour, global::Params.ParamResponse> __Method_DemoParametersEight = new grpc::Method<global::Params.RequestFour, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersEight",
__Marshaller_params_RequestFour,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestFive, global::Params.ParamResponse> __Method_DemoParametersNine = new grpc::Method<global::Params.RequestFive, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersNine",
__Marshaller_params_RequestFive,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestOne, global::Params.ParamResponse> __Method_DemoParametersTenOne = new grpc::Method<global::Params.RequestOne, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersTenOne",
__Marshaller_params_RequestOne,
__Marshaller_params_ParamResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::Params.RequestOne, global::Params.ParamResponse> __Method_DemoParametersTenTwo = new grpc::Method<global::Params.RequestOne, global::Params.ParamResponse>(
grpc::MethodType.Unary,
__ServiceName,
"DemoParametersTenTwo",
__Marshaller_params_RequestOne,
__Marshaller_params_ParamResponse);
/// <summary>Service descriptor</summary>
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::Params.ParametersReflection.Descriptor.Services[0]; }
}
/// <summary>Base class for server-side implementations of Parameters</summary>
[grpc::BindServiceMethod(typeof(Parameters), "BindService")]
public abstract partial class ParametersBase
{
/// <summary>
/// parameter_int & parameter_string should be query parameters
/// </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::Params.ParamResponse> DemoParametersOne(global::Params.RequestOne request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// parameter_string should be query parameters
/// </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::Params.ParamResponse> DemoParametersTwo(global::Params.RequestOne request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// parameter_two & parameter_three should be query parameters
/// </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::Params.ParamResponse> DemoParametersThree(global::Params.RequestTwo request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// no query parameters
/// </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::Params.ParamResponse> DemoParametersFour(global::Params.RequestTwo request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersFive(global::Params.RequestTwo request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersSix(global::Params.RequestThree request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
/// <summary>
/// parameter_two & parameter_one.nested_parameter_three & parameter_one.nested_parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersSeven(global::Params.RequestFour request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::System.Threading.Tasks.Task<global::Params.ParamResponse> DemoParametersEight(global::Params.RequestFour request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::System.Threading.Tasks.Task<global::Params.ParamResponse> DemoParametersNine(global::Params.RequestFive request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::System.Threading.Tasks.Task<global::Params.ParamResponse> DemoParametersTenOne(global::Params.RequestOne request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::System.Threading.Tasks.Task<global::Params.ParamResponse> DemoParametersTenTwo(global::Params.RequestOne request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// <summary>Client for Parameters</summary>
public partial class ParametersClient : grpc::ClientBase<ParametersClient>
{
/// <summary>Creates a new client for Parameters</summary>
/// <param name="channel">The channel to use to make remote calls.</param>
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public ParametersClient(grpc::ChannelBase channel) : base(channel)
{
}
/// <summary>Creates a new client for Parameters 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 ParametersClient(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 ParametersClient() : 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 ParametersClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
/// <summary>
/// parameter_int & parameter_string should be query parameters
/// </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::Params.ParamResponse DemoParametersOne(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersOne(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_int & parameter_string should be query parameters
/// </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::Params.ParamResponse DemoParametersOne(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersOne, null, options, request);
}
/// <summary>
/// parameter_int & parameter_string should be query parameters
/// </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::Params.ParamResponse> DemoParametersOneAsync(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersOneAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_int & parameter_string should be query parameters
/// </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::Params.ParamResponse> DemoParametersOneAsync(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersOne, null, options, request);
}
/// <summary>
/// parameter_string should be query parameters
/// </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::Params.ParamResponse DemoParametersTwo(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersTwo(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_string should be query parameters
/// </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::Params.ParamResponse DemoParametersTwo(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersTwo, null, options, request);
}
/// <summary>
/// parameter_string should be query parameters
/// </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::Params.ParamResponse> DemoParametersTwoAsync(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersTwoAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_string should be query parameters
/// </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::Params.ParamResponse> DemoParametersTwoAsync(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersTwo, null, options, request);
}
/// <summary>
/// parameter_two & parameter_three should be query parameters
/// </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::Params.ParamResponse DemoParametersThree(global::Params.RequestTwo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersThree(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_three should be query parameters
/// </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::Params.ParamResponse DemoParametersThree(global::Params.RequestTwo request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersThree, null, options, request);
}
/// <summary>
/// parameter_two & parameter_three should be query parameters
/// </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::Params.ParamResponse> DemoParametersThreeAsync(global::Params.RequestTwo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersThreeAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_three should be query parameters
/// </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::Params.ParamResponse> DemoParametersThreeAsync(global::Params.RequestTwo request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersThree, null, options, request);
}
/// <summary>
/// no query parameters
/// </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::Params.ParamResponse DemoParametersFour(global::Params.RequestTwo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersFour(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// no query parameters
/// </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::Params.ParamResponse DemoParametersFour(global::Params.RequestTwo request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersFour, null, options, request);
}
/// <summary>
/// no query parameters
/// </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::Params.ParamResponse> DemoParametersFourAsync(global::Params.RequestTwo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersFourAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// no query parameters
/// </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::Params.ParamResponse> DemoParametersFourAsync(global::Params.RequestTwo request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersFour, null, options, request);
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse DemoParametersFive(global::Params.RequestTwo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersFive(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse DemoParametersFive(global::Params.RequestTwo request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersFive, null, options, request);
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersFiveAsync(global::Params.RequestTwo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersFiveAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersFiveAsync(global::Params.RequestTwo request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersFive, null, options, request);
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse DemoParametersSix(global::Params.RequestThree request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersSix(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse DemoParametersSix(global::Params.RequestThree request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersSix, null, options, request);
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersSixAsync(global::Params.RequestThree request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersSixAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_three & parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersSixAsync(global::Params.RequestThree request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersSix, null, options, request);
}
/// <summary>
/// parameter_two & parameter_one.nested_parameter_three & parameter_one.nested_parameter_four should be query parameters
/// </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::Params.ParamResponse DemoParametersSeven(global::Params.RequestFour request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersSeven(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_one.nested_parameter_three & parameter_one.nested_parameter_four should be query parameters
/// </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::Params.ParamResponse DemoParametersSeven(global::Params.RequestFour request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersSeven, null, options, request);
}
/// <summary>
/// parameter_two & parameter_one.nested_parameter_three & parameter_one.nested_parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersSevenAsync(global::Params.RequestFour request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersSevenAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
/// <summary>
/// parameter_two & parameter_one.nested_parameter_three & parameter_one.nested_parameter_four should be query parameters
/// </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::Params.ParamResponse> DemoParametersSevenAsync(global::Params.RequestFour request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersSeven, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersEight(global::Params.RequestFour request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersEight(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersEight(global::Params.RequestFour request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersEight, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersEightAsync(global::Params.RequestFour request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersEightAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersEightAsync(global::Params.RequestFour request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersEight, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersNine(global::Params.RequestFive request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersNine(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersNine(global::Params.RequestFive request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersNine, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersNineAsync(global::Params.RequestFive request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersNineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersNineAsync(global::Params.RequestFive request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersNine, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersTenOne(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersTenOne(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersTenOne(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersTenOne, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersTenOneAsync(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersTenOneAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersTenOneAsync(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersTenOne, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersTenTwo(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersTenTwo(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::Params.ParamResponse DemoParametersTenTwo(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DemoParametersTenTwo, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersTenTwoAsync(global::Params.RequestOne request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DemoParametersTenTwoAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::Params.ParamResponse> DemoParametersTenTwoAsync(global::Params.RequestOne request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DemoParametersTenTwo, 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 ParametersClient NewInstance(ClientBaseConfiguration configuration)
{
return new ParametersClient(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(ParametersBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_DemoParametersOne, serviceImpl.DemoParametersOne)
.AddMethod(__Method_DemoParametersTwo, serviceImpl.DemoParametersTwo)
.AddMethod(__Method_DemoParametersThree, serviceImpl.DemoParametersThree)
.AddMethod(__Method_DemoParametersFour, serviceImpl.DemoParametersFour)
.AddMethod(__Method_DemoParametersFive, serviceImpl.DemoParametersFive)
.AddMethod(__Method_DemoParametersSix, serviceImpl.DemoParametersSix)
.AddMethod(__Method_DemoParametersSeven, serviceImpl.DemoParametersSeven)
.AddMethod(__Method_DemoParametersEight, serviceImpl.DemoParametersEight)
.AddMethod(__Method_DemoParametersNine, serviceImpl.DemoParametersNine)
.AddMethod(__Method_DemoParametersTenOne, serviceImpl.DemoParametersTenOne)
.AddMethod(__Method_DemoParametersTenTwo, serviceImpl.DemoParametersTenTwo).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, ParametersBase serviceImpl)
{
serviceBinder.AddMethod(__Method_DemoParametersOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestOne, global::Params.ParamResponse>(serviceImpl.DemoParametersOne));
serviceBinder.AddMethod(__Method_DemoParametersTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestOne, global::Params.ParamResponse>(serviceImpl.DemoParametersTwo));
serviceBinder.AddMethod(__Method_DemoParametersThree, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestTwo, global::Params.ParamResponse>(serviceImpl.DemoParametersThree));
serviceBinder.AddMethod(__Method_DemoParametersFour, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestTwo, global::Params.ParamResponse>(serviceImpl.DemoParametersFour));
serviceBinder.AddMethod(__Method_DemoParametersFive, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestTwo, global::Params.ParamResponse>(serviceImpl.DemoParametersFive));
serviceBinder.AddMethod(__Method_DemoParametersSix, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestThree, global::Params.ParamResponse>(serviceImpl.DemoParametersSix));
serviceBinder.AddMethod(__Method_DemoParametersSeven, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestFour, global::Params.ParamResponse>(serviceImpl.DemoParametersSeven));
serviceBinder.AddMethod(__Method_DemoParametersEight, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestFour, global::Params.ParamResponse>(serviceImpl.DemoParametersEight));
serviceBinder.AddMethod(__Method_DemoParametersNine, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestFive, global::Params.ParamResponse>(serviceImpl.DemoParametersNine));
serviceBinder.AddMethod(__Method_DemoParametersTenOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestOne, global::Params.ParamResponse>(serviceImpl.DemoParametersTenOne));
serviceBinder.AddMethod(__Method_DemoParametersTenTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Params.RequestOne, global::Params.ParamResponse>(serviceImpl.DemoParametersTenTwo));
}
}
}
#endregion
|