/// <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>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, AgentsBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_ListAgents, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.ListAgentsRequest, global::Google.Cloud.Dialogflow.Cx.V3.ListAgentsResponse>(serviceImpl.ListAgents));
     serviceBinder.AddMethod(__Method_GetAgent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.GetAgentRequest, global::Google.Cloud.Dialogflow.Cx.V3.Agent>(serviceImpl.GetAgent));
     serviceBinder.AddMethod(__Method_CreateAgent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.CreateAgentRequest, global::Google.Cloud.Dialogflow.Cx.V3.Agent>(serviceImpl.CreateAgent));
     serviceBinder.AddMethod(__Method_UpdateAgent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.UpdateAgentRequest, global::Google.Cloud.Dialogflow.Cx.V3.Agent>(serviceImpl.UpdateAgent));
     serviceBinder.AddMethod(__Method_DeleteAgent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.DeleteAgentRequest, global::Google.Protobuf.WellKnownTypes.Empty>(serviceImpl.DeleteAgent));
     serviceBinder.AddMethod(__Method_ExportAgent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.ExportAgentRequest, global::Google.LongRunning.Operation>(serviceImpl.ExportAgent));
     serviceBinder.AddMethod(__Method_RestoreAgent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.RestoreAgentRequest, global::Google.LongRunning.Operation>(serviceImpl.RestoreAgent));
 }
 /// <summary>Creates service definition that can be registered with a server</summary>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static grpc::ServerServiceDefinition BindService(AgentsBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_GetAgent, serviceImpl.GetAgent)
            .AddMethod(__Method_SearchAgents, serviceImpl.SearchAgents)
            .AddMethod(__Method_TrainAgent, serviceImpl.TrainAgent)
            .AddMethod(__Method_ExportAgent, serviceImpl.ExportAgent)
            .AddMethod(__Method_ImportAgent, serviceImpl.ImportAgent)
            .AddMethod(__Method_RestoreAgent, serviceImpl.RestoreAgent).Build());
 }
 /// <summary>Creates service definition that can be registered with a server</summary>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static grpc::ServerServiceDefinition BindService(AgentsBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_ListAgents, serviceImpl.ListAgents)
            .AddMethod(__Method_GetAgent, serviceImpl.GetAgent)
            .AddMethod(__Method_CreateAgent, serviceImpl.CreateAgent)
            .AddMethod(__Method_UpdateAgent, serviceImpl.UpdateAgent)
            .AddMethod(__Method_DeleteAgent, serviceImpl.DeleteAgent)
            .AddMethod(__Method_ExportAgent, serviceImpl.ExportAgent)
            .AddMethod(__Method_RestoreAgent, serviceImpl.RestoreAgent).Build());
 }