3.33.0 (latest) 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

    public sealed class BigtableServiceApiClientBuilder : ClientBuilderBase<BigtableServiceApiClient>

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

Builder class for [BigtableServiceApiClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.BigtableServiceApiClient.md.txt) to provide simple configuration of credentials,
endpoint etc.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBuilderBase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt)[BigtableServiceApiClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.BigtableServiceApiClient.md.txt) \> BigtableServiceApiClientBuilder

## Inherited Members

[ClientBuilderBase\<BigtableServiceApiClient\>.Build(IServiceProvider)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_Build_System_IServiceProvider_) [ClientBuilderBase\<BigtableServiceApiClient\>.BuildAsync(IServiceProvider, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_BuildAsync_System_IServiceProvider_System_Threading_CancellationToken_) [ClientBuilderBase\<BigtableServiceApiClient\>.UniverseDomain](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_UniverseDomain) [ClientBuilderBase\<BigtableServiceApiClient\>.Endpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_Endpoint) [ClientBuilderBase\<BigtableServiceApiClient\>.Logger](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_Logger) [ClientBuilderBase\<BigtableServiceApiClient\>.Scopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_Scopes) [ClientBuilderBase\<BigtableServiceApiClient\>.ChannelCredentials](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_ChannelCredentials) [ClientBuilderBase\<BigtableServiceApiClient\>.CredentialsPath](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_CredentialsPath) [ClientBuilderBase\<BigtableServiceApiClient\>.JsonCredentials](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_JsonCredentials) [ClientBuilderBase\<BigtableServiceApiClient\>.GoogleCredential](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_GoogleCredential) [ClientBuilderBase\<BigtableServiceApiClient\>.Credential](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_Credential) [ClientBuilderBase\<BigtableServiceApiClient\>.TokenAccessMethod](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_TokenAccessMethod) [ClientBuilderBase\<BigtableServiceApiClient\>.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_CallInvoker) [ClientBuilderBase\<BigtableServiceApiClient\>.UserAgent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_UserAgent) [ClientBuilderBase\<BigtableServiceApiClient\>.GrpcAdapter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcAdapter) [ClientBuilderBase\<BigtableServiceApiClient\>.ApiKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_ApiKey) [ClientBuilderBase\<BigtableServiceApiClient\>.QuotaProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_QuotaProject) [ClientBuilderBase\<BigtableServiceApiClient\>.GrpcChannelOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcChannelOptions) [ClientBuilderBase\<BigtableServiceApiClient\>.LastCreatedChannel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_LastCreatedChannel) [ClientBuilderBase\<BigtableServiceApiClient\>.UseJwtAccessWithScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_UseJwtAccessWithScopes) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Bigtable.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.md.txt)

## Assembly

Google.Cloud.Bigtable.V2.dll

## Constructors

### BigtableServiceApiClientBuilder()

    public BigtableServiceApiClientBuilder()

Creates a new builder with default settings.

## Properties

### CanUseChannelPool

    protected override bool CanUseChannelPool { get; }

Returns whether or not a channel pool can be used if a channel is required. The default behavior is to return
true if and only if no quota project, scopes, credentials or token access method have been specified and
if UseJwtAccessWithScopes flag matches the flag in ChannelPool.
Derived classes should override this property if there are other reasons why the channel pool should not be used.

| **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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.EmulatorDetection.md.txt#Google_Api_Gax_EmulatorDetection_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()

Creates a call invoker synchronously. Override this method in a concrete builder type if more
call invoker mechanisms are supported.
This implementation calls [GetChannelCredentials()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_GetChannelCredentials) if no call invoker is specified.

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

Creates a call invoker asynchronously. Override this method in a concrete builder type if more
call invoker mechanisms are supported.
This implementation calls [GetChannelCredentialsAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_GetChannelCredentialsAsync_System_Threading_CancellationToken_) if no call
invoker is specified.

| **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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp.GcpCallInvoker.md.txt) 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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.Gcp.GcpCallInvoker.md.txt) 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 the options to use when creating a channel, taking [GrpcChannelOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.md.txt#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcChannelOptions)
into account.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GrpcChannelOptions` | The options to use when creating a channel. |

**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()