Cloud Document AI v1 API - Class DocumentProcessorServiceClientBuilder (3.12.0)

public sealed class DocumentProcessorServiceClientBuilder : ClientBuilderBase<DocumentProcessorServiceClient>

Reference documentation and code samples for the Cloud Document AI v1 API class DocumentProcessorServiceClientBuilder.

Builder class for DocumentProcessorServiceClient to provide simple configuration of credentials, endpoint etc.

Inheritance

object > ClientBuilderBaseDocumentProcessorServiceClient > DocumentProcessorServiceClientBuilder

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.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
TypeDescription
DocumentProcessorServiceSettings

Methods

Build()

public override DocumentProcessorServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
DocumentProcessorServiceClient
Overrides

BuildAsync(CancellationToken)

public override Task<DocumentProcessorServiceClient> BuildAsync(CancellationToken cancellationToken = default)

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskDocumentProcessorServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
TypeDescription
ChannelPool
Overrides