Exemplo n.º 1
0
 /// <summary>
 /// Creates a <see cref="ReportErrorsServiceClient"/> which uses the specified channel for remote operations.
 /// </summary>
 /// <param name="channel">The <see cref="Channel"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="ReportErrorsServiceSettings"/>.</param>
 /// <returns>The created <see cref="ReportErrorsServiceClient"/>.</returns>
 public static ReportErrorsServiceClient Create(Channel channel, ReportErrorsServiceSettings settings = null)
 {
     GaxPreconditions.CheckNotNull(channel, nameof(channel));
     ReportErrorsService.ReportErrorsServiceClient grpcClient = new ReportErrorsService.ReportErrorsServiceClient(channel);
     return(new ReportErrorsServiceClientImpl(grpcClient, settings));
 }