Show / Hide Table of Contents

Class DocumentUnderstandingServiceClientBuilder

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

Inheritance
System.Object
ClientBuilderBase<DocumentUnderstandingServiceClient>
DocumentUnderstandingServiceClientBuilder
Inherited Members
ClientBuilderBase<DocumentUnderstandingServiceClient>.CopyCommonSettings<TOther>(ClientBuilderBase<TOther>)
ClientBuilderBase<DocumentUnderstandingServiceClient>.Validate()
ClientBuilderBase<DocumentUnderstandingServiceClient>.GetEmulatorEnvironment(IEnumerable<String>, IEnumerable<String>, Func<String, String>)
ClientBuilderBase<DocumentUnderstandingServiceClient>.ValidateAtMostOneNotNull(String, Object[])
ClientBuilderBase<DocumentUnderstandingServiceClient>.ValidateOptionExcludesOthers(String, Object, Object[])
ClientBuilderBase<DocumentUnderstandingServiceClient>.CreateCallInvoker()
ClientBuilderBase<DocumentUnderstandingServiceClient>.CreateCallInvokerAsync(CancellationToken)
ClientBuilderBase<DocumentUnderstandingServiceClient>.GetChannelCredentials()
ClientBuilderBase<DocumentUnderstandingServiceClient>.GetChannelCredentialsAsync(CancellationToken)
ClientBuilderBase<DocumentUnderstandingServiceClient>.GetChannelOptions()
ClientBuilderBase<DocumentUnderstandingServiceClient>.Endpoint
ClientBuilderBase<DocumentUnderstandingServiceClient>.Scopes
ClientBuilderBase<DocumentUnderstandingServiceClient>.ChannelCredentials
ClientBuilderBase<DocumentUnderstandingServiceClient>.CredentialsPath
ClientBuilderBase<DocumentUnderstandingServiceClient>.JsonCredentials
ClientBuilderBase<DocumentUnderstandingServiceClient>.TokenAccessMethod
ClientBuilderBase<DocumentUnderstandingServiceClient>.CallInvoker
ClientBuilderBase<DocumentUnderstandingServiceClient>.UserAgent
ClientBuilderBase<DocumentUnderstandingServiceClient>.GrpcAdapter
ClientBuilderBase<DocumentUnderstandingServiceClient>.EmulatorDetection
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.QuotaProject
ClientBuilderBase<DocumentUnderstandingServiceClient>.CanUseChannelPool
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class DocumentUnderstandingServiceClientBuilder : ClientBuilderBase<DocumentUnderstandingServiceClient>

Properties

DefaultGrpcAdapter

Returns the default GrpcAdapterto use if not otherwise specified.

Declaration
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Property Value
Type Description
GrpcAdapter
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.DefaultGrpcAdapter

Settings

The settings to use for RPCs, or null for the default settings.

Declaration
public DocumentUnderstandingServiceSettings Settings { get; set; }
Property Value
Type Description
DocumentUnderstandingServiceSettings

Methods

Build()

Builds the resulting client.

Declaration
public override DocumentUnderstandingServiceClient Build()
Returns
Type Description
DocumentUnderstandingServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.Build()

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

Declaration
public override Task<DocumentUnderstandingServiceClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<DocumentUnderstandingServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

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

Declaration
protected override ChannelPool GetChannelPool()
Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.GetChannelPool()

GetDefaultEndpoint()

Returns the endpoint for this builder type, used if no endpoint is otherwise specified.

Declaration
protected override string GetDefaultEndpoint()
Returns
Type Description
System.String
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.GetDefaultEndpoint()

GetDefaultScopes()

Returns the default scopes for this builder type, used if no scopes are otherwise specified.

Declaration
protected override IReadOnlyList<string> GetDefaultScopes()
Returns
Type Description
System.Collections.Generic.IReadOnlyList<System.String>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DocumentAI.V1Beta2.DocumentUnderstandingServiceClient>.GetDefaultScopes()
Back to top