Send feedback
Class FirestoreDbBuilder (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
public sealed class FirestoreDbBuilder : ClientBuilderBase<FirestoreDb>
Builder class for FirestoreDb , providing simple configuration of credentials,
endpoint, project ID etc.
Namespace
Google.Cloud.Firestore
Assembly
Google.Cloud.Firestore.dll
Properties
ConverterRegistry
public ConverterRegistry ConverterRegistry { get; set; }
A registry for custom converters. May be null.
DefaultGrpcAdapter
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Firestore.FirestoreDb>.DefaultGrpcAdapter
EmulatorDetection
public EmulatorDetection EmulatorDetection { get; set; }
Specifies how the builder responds to the presence of the FIRESTORE_EMULATOR_HOST emulator environment variable.
Remarks
ProjectId
public string ProjectId { get; set; }
The ID of the Google Cloud Platform project that contains the database. May be null, in which case
the project will be automatically detected if possible.
Property Value Type Description String
Settings
public FirestoreSettings Settings { get; set; }
The settings to use for RPCs, or null for the default settings.
Property Value Type Description Google.Cloud.Firestore.V1.FirestoreSettings
WarningLogger
public Action<string> WarningLogger { get; set; }
Action to receive warning messages. May be null, in which case warnings will be ignored.
Methods
Build()
public override FirestoreDb Build()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Firestore.FirestoreDb>.Build()
BuildAsync(CancellationToken)
public override Task<FirestoreDb> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Firestore.FirestoreDb>.BuildAsync(System.Threading.CancellationToken)
GetChannelPool()
protected override ChannelPool GetChannelPool()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Firestore.FirestoreDb>.GetChannelPool()
GetDefaultEndpoint()
protected override string GetDefaultEndpoint()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Firestore.FirestoreDb>.GetDefaultEndpoint()
GetDefaultScopes()
protected override IReadOnlyList<string> GetDefaultScopes()
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Firestore.FirestoreDb>.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 2024-11-26 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 2024-11-26 UTC."],[],[]]