Cloud Document AI v1beta3 API - Class DocumentProcessorServiceClientBuilder (2.0.0-beta17)

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 > DocumentProcessorServiceClientBuilder

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

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
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