Send feedback
Class DatastoreDbBuilder (3.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
5.2.0 (latest)
5.1.0
5.0.0
4.17.0
4.16.0
4.15.0
4.14.0
4.13.0
4.12.0
4.11.0
4.10.0
4.9.0
4.8.0
4.7.0
4.6.0
4.5.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
3.5.0
3.4.0
3.3.0
3.2.0
public sealed class DatastoreDbBuilder : ClientBuilderBase<DatastoreDb>
Builder class for DatastoreDb to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.Datastore.V1
Assembly
Google.Cloud.Datastore.V1.dll
Properties
DefaultGrpcAdapter
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Datastore.V1.DatastoreDb>.DefaultGrpcAdapter
EmulatorDetection
public EmulatorDetection EmulatorDetection { get; set; }
Remarks
NamespaceId
public string NamespaceId { get; set; }
The namespace ID, or null to use the default.
Property Value
Type
Description
String
ProjectId
public string ProjectId { get; set; }
The project ID, or null if this has not yet been configured. Note that a project ID must be configured
(or detected via an emulator environment variable) before building the DatastoreDb .
Property Value
Type
Description
String
Settings
public DatastoreSettings Settings { get; set; }
The settings to use for RPCs, or null for the default settings.
Methods
Build()
public override DatastoreDb Build()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Datastore.V1.DatastoreDb>.Build()
BuildAsync(CancellationToken)
public override Task<DatastoreDb> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Datastore.V1.DatastoreDb>.BuildAsync(System.Threading.CancellationToken)
GetChannelPool()
protected override ChannelPool GetChannelPool()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Datastore.V1.DatastoreDb>.GetChannelPool()
GetDefaultEndpoint()
protected override string GetDefaultEndpoint()
Returns
Type
Description
String
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Datastore.V1.DatastoreDb>.GetDefaultEndpoint()
GetDefaultScopes()
protected override IReadOnlyList<string> GetDefaultScopes()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Datastore.V1.DatastoreDb>.GetDefaultScopes()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-30 UTC."],[],[]]