示例#1
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, FlexTemplatesServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_LaunchFlexTemplate, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateRequest, global::Google.Cloud.Dataflow.V1Beta3.LaunchFlexTemplateResponse>(serviceImpl.LaunchFlexTemplate));
 }
示例#2
0
 public static grpc::ServerServiceDefinition BindService(FlexTemplatesServiceBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_LaunchFlexTemplate, serviceImpl.LaunchFlexTemplate).Build());
 }