• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // <auto-generated>
2 //     Generated by the protocol buffer compiler.  DO NOT EDIT!
3 //     source: src/proto/grpc/testing/worker_service.proto
4 // </auto-generated>
5 // Original file comments:
6 // Copyright 2015 gRPC authors.
7 //
8 // Licensed under the Apache License, Version 2.0 (the "License");
9 // you may not use this file except in compliance with the License.
10 // You may obtain a copy of the License at
11 //
12 //     http://www.apache.org/licenses/LICENSE-2.0
13 //
14 // Unless required by applicable law or agreed to in writing, software
15 // distributed under the License is distributed on an "AS IS" BASIS,
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 // See the License for the specific language governing permissions and
18 // limitations under the License.
19 //
20 // An integration test service that covers all the method signature permutations
21 // of unary/streaming requests/responses.
22 #pragma warning disable 0414, 1591
23 #region Designer generated code
24 
25 using grpc = global::Grpc.Core;
26 
27 namespace Grpc.Testing {
28   public static partial class WorkerService
29   {
30     static readonly string __ServiceName = "grpc.testing.WorkerService";
31 
__Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)32     static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
33     {
34       #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
35       if (message is global::Google.Protobuf.IBufferMessage)
36       {
37         context.SetPayloadLength(message.CalculateSize());
38         global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
39         context.Complete();
40         return;
41       }
42       #endif
43       context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
44     }
45 
46     static class __Helper_MessageCache<T>
47     {
48       public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
49     }
50 
51     static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
52     {
53       #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
54       if (__Helper_MessageCache<T>.IsBufferMessage)
55       {
56         return parser.ParseFrom(context.PayloadAsReadOnlySequence());
57       }
58       #endif
59       return parser.ParseFrom(context.PayloadAsNewBuffer());
60     }
61 
62     static readonly grpc::Marshaller<global::Grpc.Testing.ServerArgs> __Marshaller_grpc_testing_ServerArgs = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.ServerArgs.Parser));
63     static readonly grpc::Marshaller<global::Grpc.Testing.ServerStatus> __Marshaller_grpc_testing_ServerStatus = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.ServerStatus.Parser));
64     static readonly grpc::Marshaller<global::Grpc.Testing.ClientArgs> __Marshaller_grpc_testing_ClientArgs = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.ClientArgs.Parser));
65     static readonly grpc::Marshaller<global::Grpc.Testing.ClientStatus> __Marshaller_grpc_testing_ClientStatus = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.ClientStatus.Parser));
66     static readonly grpc::Marshaller<global::Grpc.Testing.CoreRequest> __Marshaller_grpc_testing_CoreRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.CoreRequest.Parser));
67     static readonly grpc::Marshaller<global::Grpc.Testing.CoreResponse> __Marshaller_grpc_testing_CoreResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.CoreResponse.Parser));
68     static readonly grpc::Marshaller<global::Grpc.Testing.Void> __Marshaller_grpc_testing_Void = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Grpc.Testing.Void.Parser));
69 
70     static readonly grpc::Method<global::Grpc.Testing.ServerArgs, global::Grpc.Testing.ServerStatus> __Method_RunServer = new grpc::Method<global::Grpc.Testing.ServerArgs, global::Grpc.Testing.ServerStatus>(
71         grpc::MethodType.DuplexStreaming,
72         __ServiceName,
73         "RunServer",
74         __Marshaller_grpc_testing_ServerArgs,
75         __Marshaller_grpc_testing_ServerStatus);
76 
77     static readonly grpc::Method<global::Grpc.Testing.ClientArgs, global::Grpc.Testing.ClientStatus> __Method_RunClient = new grpc::Method<global::Grpc.Testing.ClientArgs, global::Grpc.Testing.ClientStatus>(
78         grpc::MethodType.DuplexStreaming,
79         __ServiceName,
80         "RunClient",
81         __Marshaller_grpc_testing_ClientArgs,
82         __Marshaller_grpc_testing_ClientStatus);
83 
84     static readonly grpc::Method<global::Grpc.Testing.CoreRequest, global::Grpc.Testing.CoreResponse> __Method_CoreCount = new grpc::Method<global::Grpc.Testing.CoreRequest, global::Grpc.Testing.CoreResponse>(
85         grpc::MethodType.Unary,
86         __ServiceName,
87         "CoreCount",
88         __Marshaller_grpc_testing_CoreRequest,
89         __Marshaller_grpc_testing_CoreResponse);
90 
91     static readonly grpc::Method<global::Grpc.Testing.Void, global::Grpc.Testing.Void> __Method_QuitWorker = new grpc::Method<global::Grpc.Testing.Void, global::Grpc.Testing.Void>(
92         grpc::MethodType.Unary,
93         __ServiceName,
94         "QuitWorker",
95         __Marshaller_grpc_testing_Void,
96         __Marshaller_grpc_testing_Void);
97 
98     /// <summary>Service descriptor</summary>
99     public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
100     {
101       get { return global::Grpc.Testing.WorkerServiceReflection.Descriptor.Services[0]; }
102     }
103 
104     /// <summary>Base class for server-side implementations of WorkerService</summary>
105     [grpc::BindServiceMethod(typeof(WorkerService), "BindService")]
106     public abstract partial class WorkerServiceBase
107     {
108       /// <summary>
109       /// Start server with specified workload.
110       /// First request sent specifies the ServerConfig followed by ServerStatus
111       /// response. After that, a "Mark" can be sent anytime to request the latest
112       /// stats. Closing the stream will initiate shutdown of the test server
113       /// and once the shutdown has finished, the OK status is sent to terminate
114       /// this RPC.
115       /// </summary>
116       /// <param name="requestStream">Used for reading requests from the client.</param>
117       /// <param name="responseStream">Used for sending responses back to the client.</param>
118       /// <param name="context">The context of the server-side call handler being invoked.</param>
119       /// <returns>A task indicating completion of the handler.</returns>
RunServer(grpc::IAsyncStreamReader<global::Grpc.Testing.ServerArgs> requestStream, grpc::IServerStreamWriter<global::Grpc.Testing.ServerStatus> responseStream, grpc::ServerCallContext context)120       public virtual global::System.Threading.Tasks.Task RunServer(grpc::IAsyncStreamReader<global::Grpc.Testing.ServerArgs> requestStream, grpc::IServerStreamWriter<global::Grpc.Testing.ServerStatus> responseStream, grpc::ServerCallContext context)
121       {
122         throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
123       }
124 
125       /// <summary>
126       /// Start client with specified workload.
127       /// First request sent specifies the ClientConfig followed by ClientStatus
128       /// response. After that, a "Mark" can be sent anytime to request the latest
129       /// stats. Closing the stream will initiate shutdown of the test client
130       /// and once the shutdown has finished, the OK status is sent to terminate
131       /// this RPC.
132       /// </summary>
133       /// <param name="requestStream">Used for reading requests from the client.</param>
134       /// <param name="responseStream">Used for sending responses back to the client.</param>
135       /// <param name="context">The context of the server-side call handler being invoked.</param>
136       /// <returns>A task indicating completion of the handler.</returns>
RunClient(grpc::IAsyncStreamReader<global::Grpc.Testing.ClientArgs> requestStream, grpc::IServerStreamWriter<global::Grpc.Testing.ClientStatus> responseStream, grpc::ServerCallContext context)137       public virtual global::System.Threading.Tasks.Task RunClient(grpc::IAsyncStreamReader<global::Grpc.Testing.ClientArgs> requestStream, grpc::IServerStreamWriter<global::Grpc.Testing.ClientStatus> responseStream, grpc::ServerCallContext context)
138       {
139         throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
140       }
141 
142       /// <summary>
143       /// Just return the core count - unary call
144       /// </summary>
145       /// <param name="request">The request received from the client.</param>
146       /// <param name="context">The context of the server-side call handler being invoked.</param>
147       /// <returns>The response to send back to the client (wrapped by a task).</returns>
CoreCount(global::Grpc.Testing.CoreRequest request, grpc::ServerCallContext context)148       public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.CoreResponse> CoreCount(global::Grpc.Testing.CoreRequest request, grpc::ServerCallContext context)
149       {
150         throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
151       }
152 
153       /// <summary>
154       /// Quit this worker
155       /// </summary>
156       /// <param name="request">The request received from the client.</param>
157       /// <param name="context">The context of the server-side call handler being invoked.</param>
158       /// <returns>The response to send back to the client (wrapped by a task).</returns>
QuitWorker(global::Grpc.Testing.Void request, grpc::ServerCallContext context)159       public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Void> QuitWorker(global::Grpc.Testing.Void request, grpc::ServerCallContext context)
160       {
161         throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
162       }
163 
164     }
165 
166     /// <summary>Client for WorkerService</summary>
167     public partial class WorkerServiceClient : grpc::ClientBase<WorkerServiceClient>
168     {
169       /// <summary>Creates a new client for WorkerService</summary>
170       /// <param name="channel">The channel to use to make remote calls.</param>
WorkerServiceClient(grpc::ChannelBase channel)171       public WorkerServiceClient(grpc::ChannelBase channel) : base(channel)
172       {
173       }
174       /// <summary>Creates a new client for WorkerService that uses a custom <c>CallInvoker</c>.</summary>
175       /// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
WorkerServiceClient(grpc::CallInvoker callInvoker)176       public WorkerServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
177       {
178       }
179       /// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
WorkerServiceClient()180       protected WorkerServiceClient() : base()
181       {
182       }
183       /// <summary>Protected constructor to allow creation of configured clients.</summary>
184       /// <param name="configuration">The client configuration.</param>
WorkerServiceClient(ClientBaseConfiguration configuration)185       protected WorkerServiceClient(ClientBaseConfiguration configuration) : base(configuration)
186       {
187       }
188 
189       /// <summary>
190       /// Start server with specified workload.
191       /// First request sent specifies the ServerConfig followed by ServerStatus
192       /// response. After that, a "Mark" can be sent anytime to request the latest
193       /// stats. Closing the stream will initiate shutdown of the test server
194       /// and once the shutdown has finished, the OK status is sent to terminate
195       /// this RPC.
196       /// </summary>
197       /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
198       /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
199       /// <param name="cancellationToken">An optional token for canceling the call.</param>
200       /// <returns>The call object.</returns>
RunServer(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))201       public virtual grpc::AsyncDuplexStreamingCall<global::Grpc.Testing.ServerArgs, global::Grpc.Testing.ServerStatus> RunServer(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
202       {
203         return RunServer(new grpc::CallOptions(headers, deadline, cancellationToken));
204       }
205       /// <summary>
206       /// Start server with specified workload.
207       /// First request sent specifies the ServerConfig followed by ServerStatus
208       /// response. After that, a "Mark" can be sent anytime to request the latest
209       /// stats. Closing the stream will initiate shutdown of the test server
210       /// and once the shutdown has finished, the OK status is sent to terminate
211       /// this RPC.
212       /// </summary>
213       /// <param name="options">The options for the call.</param>
214       /// <returns>The call object.</returns>
RunServer(grpc::CallOptions options)215       public virtual grpc::AsyncDuplexStreamingCall<global::Grpc.Testing.ServerArgs, global::Grpc.Testing.ServerStatus> RunServer(grpc::CallOptions options)
216       {
217         return CallInvoker.AsyncDuplexStreamingCall(__Method_RunServer, null, options);
218       }
219       /// <summary>
220       /// Start client with specified workload.
221       /// First request sent specifies the ClientConfig followed by ClientStatus
222       /// response. After that, a "Mark" can be sent anytime to request the latest
223       /// stats. Closing the stream will initiate shutdown of the test client
224       /// and once the shutdown has finished, the OK status is sent to terminate
225       /// this RPC.
226       /// </summary>
227       /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
228       /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
229       /// <param name="cancellationToken">An optional token for canceling the call.</param>
230       /// <returns>The call object.</returns>
RunClient(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))231       public virtual grpc::AsyncDuplexStreamingCall<global::Grpc.Testing.ClientArgs, global::Grpc.Testing.ClientStatus> RunClient(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
232       {
233         return RunClient(new grpc::CallOptions(headers, deadline, cancellationToken));
234       }
235       /// <summary>
236       /// Start client with specified workload.
237       /// First request sent specifies the ClientConfig followed by ClientStatus
238       /// response. After that, a "Mark" can be sent anytime to request the latest
239       /// stats. Closing the stream will initiate shutdown of the test client
240       /// and once the shutdown has finished, the OK status is sent to terminate
241       /// this RPC.
242       /// </summary>
243       /// <param name="options">The options for the call.</param>
244       /// <returns>The call object.</returns>
RunClient(grpc::CallOptions options)245       public virtual grpc::AsyncDuplexStreamingCall<global::Grpc.Testing.ClientArgs, global::Grpc.Testing.ClientStatus> RunClient(grpc::CallOptions options)
246       {
247         return CallInvoker.AsyncDuplexStreamingCall(__Method_RunClient, null, options);
248       }
249       /// <summary>
250       /// Just return the core count - unary call
251       /// </summary>
252       /// <param name="request">The request to send to the server.</param>
253       /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
254       /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
255       /// <param name="cancellationToken">An optional token for canceling the call.</param>
256       /// <returns>The response received from the server.</returns>
CoreCount(global::Grpc.Testing.CoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))257       public virtual global::Grpc.Testing.CoreResponse CoreCount(global::Grpc.Testing.CoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
258       {
259         return CoreCount(request, new grpc::CallOptions(headers, deadline, cancellationToken));
260       }
261       /// <summary>
262       /// Just return the core count - unary call
263       /// </summary>
264       /// <param name="request">The request to send to the server.</param>
265       /// <param name="options">The options for the call.</param>
266       /// <returns>The response received from the server.</returns>
CoreCount(global::Grpc.Testing.CoreRequest request, grpc::CallOptions options)267       public virtual global::Grpc.Testing.CoreResponse CoreCount(global::Grpc.Testing.CoreRequest request, grpc::CallOptions options)
268       {
269         return CallInvoker.BlockingUnaryCall(__Method_CoreCount, null, options, request);
270       }
271       /// <summary>
272       /// Just return the core count - unary call
273       /// </summary>
274       /// <param name="request">The request to send to the server.</param>
275       /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
276       /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
277       /// <param name="cancellationToken">An optional token for canceling the call.</param>
278       /// <returns>The call object.</returns>
CoreCountAsync(global::Grpc.Testing.CoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))279       public virtual grpc::AsyncUnaryCall<global::Grpc.Testing.CoreResponse> CoreCountAsync(global::Grpc.Testing.CoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
280       {
281         return CoreCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
282       }
283       /// <summary>
284       /// Just return the core count - unary call
285       /// </summary>
286       /// <param name="request">The request to send to the server.</param>
287       /// <param name="options">The options for the call.</param>
288       /// <returns>The call object.</returns>
CoreCountAsync(global::Grpc.Testing.CoreRequest request, grpc::CallOptions options)289       public virtual grpc::AsyncUnaryCall<global::Grpc.Testing.CoreResponse> CoreCountAsync(global::Grpc.Testing.CoreRequest request, grpc::CallOptions options)
290       {
291         return CallInvoker.AsyncUnaryCall(__Method_CoreCount, null, options, request);
292       }
293       /// <summary>
294       /// Quit this worker
295       /// </summary>
296       /// <param name="request">The request to send to the server.</param>
297       /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
298       /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
299       /// <param name="cancellationToken">An optional token for canceling the call.</param>
300       /// <returns>The response received from the server.</returns>
QuitWorker(global::Grpc.Testing.Void request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))301       public virtual global::Grpc.Testing.Void QuitWorker(global::Grpc.Testing.Void request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
302       {
303         return QuitWorker(request, new grpc::CallOptions(headers, deadline, cancellationToken));
304       }
305       /// <summary>
306       /// Quit this worker
307       /// </summary>
308       /// <param name="request">The request to send to the server.</param>
309       /// <param name="options">The options for the call.</param>
310       /// <returns>The response received from the server.</returns>
QuitWorker(global::Grpc.Testing.Void request, grpc::CallOptions options)311       public virtual global::Grpc.Testing.Void QuitWorker(global::Grpc.Testing.Void request, grpc::CallOptions options)
312       {
313         return CallInvoker.BlockingUnaryCall(__Method_QuitWorker, null, options, request);
314       }
315       /// <summary>
316       /// Quit this worker
317       /// </summary>
318       /// <param name="request">The request to send to the server.</param>
319       /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
320       /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
321       /// <param name="cancellationToken">An optional token for canceling the call.</param>
322       /// <returns>The call object.</returns>
QuitWorkerAsync(global::Grpc.Testing.Void request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))323       public virtual grpc::AsyncUnaryCall<global::Grpc.Testing.Void> QuitWorkerAsync(global::Grpc.Testing.Void request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
324       {
325         return QuitWorkerAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
326       }
327       /// <summary>
328       /// Quit this worker
329       /// </summary>
330       /// <param name="request">The request to send to the server.</param>
331       /// <param name="options">The options for the call.</param>
332       /// <returns>The call object.</returns>
QuitWorkerAsync(global::Grpc.Testing.Void request, grpc::CallOptions options)333       public virtual grpc::AsyncUnaryCall<global::Grpc.Testing.Void> QuitWorkerAsync(global::Grpc.Testing.Void request, grpc::CallOptions options)
334       {
335         return CallInvoker.AsyncUnaryCall(__Method_QuitWorker, null, options, request);
336       }
337       /// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
NewInstance(ClientBaseConfiguration configuration)338       protected override WorkerServiceClient NewInstance(ClientBaseConfiguration configuration)
339       {
340         return new WorkerServiceClient(configuration);
341       }
342     }
343 
344     /// <summary>Creates service definition that can be registered with a server</summary>
345     /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
BindService(WorkerServiceBase serviceImpl)346     public static grpc::ServerServiceDefinition BindService(WorkerServiceBase serviceImpl)
347     {
348       return grpc::ServerServiceDefinition.CreateBuilder()
349           .AddMethod(__Method_RunServer, serviceImpl.RunServer)
350           .AddMethod(__Method_RunClient, serviceImpl.RunClient)
351           .AddMethod(__Method_CoreCount, serviceImpl.CoreCount)
352           .AddMethod(__Method_QuitWorker, serviceImpl.QuitWorker).Build();
353     }
354 
355     /// <summary>Register service method with a service binder with or without implementation. Useful when customizing the  service binding logic.
356     /// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
357     /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
358     /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
BindService(grpc::ServiceBinderBase serviceBinder, WorkerServiceBase serviceImpl)359     public static void BindService(grpc::ServiceBinderBase serviceBinder, WorkerServiceBase serviceImpl)
360     {
361       serviceBinder.AddMethod(__Method_RunServer, serviceImpl == null ? null : new grpc::DuplexStreamingServerMethod<global::Grpc.Testing.ServerArgs, global::Grpc.Testing.ServerStatus>(serviceImpl.RunServer));
362       serviceBinder.AddMethod(__Method_RunClient, serviceImpl == null ? null : new grpc::DuplexStreamingServerMethod<global::Grpc.Testing.ClientArgs, global::Grpc.Testing.ClientStatus>(serviceImpl.RunClient));
363       serviceBinder.AddMethod(__Method_CoreCount, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Grpc.Testing.CoreRequest, global::Grpc.Testing.CoreResponse>(serviceImpl.CoreCount));
364       serviceBinder.AddMethod(__Method_QuitWorker, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Grpc.Testing.Void, global::Grpc.Testing.Void>(serviceImpl.QuitWorker));
365     }
366 
367   }
368 }
369 #endregion
370