/// <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, KnowledgeBasesBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_ListKnowledgeBases, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.V2.ListKnowledgeBasesRequest, global::Google.Cloud.Dialogflow.V2.ListKnowledgeBasesResponse>(serviceImpl.ListKnowledgeBases));
     serviceBinder.AddMethod(__Method_GetKnowledgeBase, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.V2.GetKnowledgeBaseRequest, global::Google.Cloud.Dialogflow.V2.KnowledgeBase>(serviceImpl.GetKnowledgeBase));
     serviceBinder.AddMethod(__Method_CreateKnowledgeBase, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.V2.CreateKnowledgeBaseRequest, global::Google.Cloud.Dialogflow.V2.KnowledgeBase>(serviceImpl.CreateKnowledgeBase));
     serviceBinder.AddMethod(__Method_DeleteKnowledgeBase, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.V2.DeleteKnowledgeBaseRequest, global::Google.Protobuf.WellKnownTypes.Empty>(serviceImpl.DeleteKnowledgeBase));
     serviceBinder.AddMethod(__Method_UpdateKnowledgeBase, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.V2.UpdateKnowledgeBaseRequest, global::Google.Cloud.Dialogflow.V2.KnowledgeBase>(serviceImpl.UpdateKnowledgeBase));
 }
 /// <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(KnowledgeBasesBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_ListKnowledgeBases, serviceImpl.ListKnowledgeBases)
            .AddMethod(__Method_GetKnowledgeBase, serviceImpl.GetKnowledgeBase)
            .AddMethod(__Method_CreateKnowledgeBase, serviceImpl.CreateKnowledgeBase)
            .AddMethod(__Method_DeleteKnowledgeBase, serviceImpl.DeleteKnowledgeBase)
            .AddMethod(__Method_UpdateKnowledgeBase, serviceImpl.UpdateKnowledgeBase).Build());
 }