public static void BindService(grpc::ServiceBinderBase serviceBinder, SpecialistPoolServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_CreateSpecialistPool, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.AIPlatform.V1.CreateSpecialistPoolRequest, global::Google.LongRunning.Operation>(serviceImpl.CreateSpecialistPool)); serviceBinder.AddMethod(__Method_GetSpecialistPool, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.AIPlatform.V1.GetSpecialistPoolRequest, global::Google.Cloud.AIPlatform.V1.SpecialistPool>(serviceImpl.GetSpecialistPool)); serviceBinder.AddMethod(__Method_ListSpecialistPools, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.AIPlatform.V1.ListSpecialistPoolsRequest, global::Google.Cloud.AIPlatform.V1.ListSpecialistPoolsResponse>(serviceImpl.ListSpecialistPools)); serviceBinder.AddMethod(__Method_DeleteSpecialistPool, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.AIPlatform.V1.DeleteSpecialistPoolRequest, global::Google.LongRunning.Operation>(serviceImpl.DeleteSpecialistPool)); serviceBinder.AddMethod(__Method_UpdateSpecialistPool, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.AIPlatform.V1.UpdateSpecialistPoolRequest, global::Google.LongRunning.Operation>(serviceImpl.UpdateSpecialistPool)); }
public static grpc::ServerServiceDefinition BindService(SpecialistPoolServiceBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_CreateSpecialistPool, serviceImpl.CreateSpecialistPool) .AddMethod(__Method_GetSpecialistPool, serviceImpl.GetSpecialistPool) .AddMethod(__Method_ListSpecialistPools, serviceImpl.ListSpecialistPools) .AddMethod(__Method_DeleteSpecialistPool, serviceImpl.DeleteSpecialistPool) .AddMethod(__Method_UpdateSpecialistPool, serviceImpl.UpdateSpecialistPool).Build()); }