public sealed class BigtableClientBuilder : ClientBuilderBase<BigtableClient>
Builder class for BigtableClient to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
BigtableClientBuilder()
public BigtableClientBuilder()
Creates a new builder with default settings.
Properties
DefaultGrpcAdapter
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Property Value | |
---|---|
Type | Description |
GrpcAdapter |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableClient>.DefaultGrpcAdapter
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 BigtableClient Build()
Returns | |
---|---|
Type | Description |
BigtableClient |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableClient>.Build()
BuildAsync(CancellationToken)
public override Task<BigtableClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
Task<BigtableClient> |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableClient>.BuildAsync(System.Threading.CancellationToken)
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns | |
---|---|
Type | Description |
ChannelPool |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableClient>.GetChannelPool()
GetDefaultEndpoint()
protected override string GetDefaultEndpoint()
Returns | |
---|---|
Type | Description |
String |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableClient>.GetDefaultEndpoint()
GetDefaultScopes()
protected override IReadOnlyList<string> GetDefaultScopes()
Returns | |
---|---|
Type | Description |
IReadOnlyList<String> |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Bigtable.V2.BigtableClient>.GetDefaultScopes()