public sealed class DocumentProcessorServiceClientBuilder : ClientBuilderBase<DocumentProcessorServiceClient>
Reference documentation and code samples for the Cloud Document AI v1beta3 API class DocumentProcessorServiceClientBuilder.
Builder class for DocumentProcessorServiceClient to provide simple configuration of credentials, endpoint etc.
Inheritance
object > ClientBuilderBaseDocumentProcessorServiceClient > DocumentProcessorServiceClientBuilderNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Constructors
DocumentProcessorServiceClientBuilder()
public DocumentProcessorServiceClientBuilder()
Creates a new builder with default settings.
Properties
Settings
public DocumentProcessorServiceSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Property Value | |
---|---|
Type | Description |
DocumentProcessorServiceSettings |
Methods
Build()
public override DocumentProcessorServiceClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
DocumentProcessorServiceClient |
BuildAsync(CancellationToken)
public override Task<DocumentProcessorServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
TaskDocumentProcessorServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |