Google Bigtable v2 API - Class BigtableServiceApiClientBuilder (3.19.0)

public sealed class BigtableServiceApiClientBuilder : ClientBuilderBase<BigtableServiceApiClient>

Reference documentation and code samples for the Google Bigtable v2 API class BigtableServiceApiClientBuilder.

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

Inheritance

object > ClientBuilderBaseBigtableServiceApiClient > BigtableServiceApiClientBuilder

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

BigtableServiceApiClientBuilder()

public BigtableServiceApiClientBuilder()

Creates a new builder with default settings.

Properties

CanUseChannelPool

protected override bool CanUseChannelPool { get; }
Property Value
Type Description
bool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.CanUseChannelPool

EmulatorDetection

public EmulatorDetection EmulatorDetection { get; set; }

Specifies how the builder responds to the presence of emulator environment variables.

Property Value
Type Description
EmulatorDetection
Remarks

This property defaults to None, meaning that environment variables are ignored.

Settings

public BigtableServiceApiSettings Settings { get; set; }

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

Property Value
Type Description
BigtableServiceApiSettings

Methods

Build()

public override BigtableServiceApiClient Build()

Builds the resulting client.

Returns
Type Description
BigtableServiceApiClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskBigtableServiceApiClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.BuildAsync(System.Threading.CancellationToken)

CreateCallInvoker()

protected override CallInvoker CreateCallInvoker()
Returns
Type Description
CallInvoker
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.CreateCallInvoker()

CreateCallInvokerAsync(CancellationToken)

protected override Task<CallInvoker> CreateCallInvokerAsync(CancellationToken cancellationToken)
Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskCallInvoker
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.CreateCallInvokerAsync(System.Threading.CancellationToken)

CreateGcpCallInvoker()

public GcpCallInvoker CreateGcpCallInvoker()

Creates a GcpCallInvoker which is a call invoker that can distribute calls across different underlying channels based on request properties.

Returns
Type Description
GcpCallInvoker

CreateGcpCallInvokerAsync(CancellationToken)

public Task<GcpCallInvoker> CreateGcpCallInvokerAsync(CancellationToken cancellationToken)

Creates a GcpCallInvoker which is a call invoker that can distribute calls across different underlying channels based on request properties.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskGcpCallInvoker

GetChannelOptions()

protected override GrpcChannelOptions GetChannelOptions()
Returns
Type Description
GrpcChannelOptions
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.GetChannelOptions()

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableServiceApiClient>.GetChannelPool()