Class FirestoreStubSettings.Builder (3.7.3)

Stay organized with collections Save and categorize content based on your preferences.
public static class FirestoreStubSettings.Builder extends StubSettings.Builder<FirestoreStubSettings,FirestoreStubSettings.Builder>

Builder for FirestoreStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FirestoreStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FirestoreStubSettings settings)

protected Builder(FirestoreStubSettings settings)
Parameter
NameDescription
settingsFirestoreStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public FirestoreStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns
TypeDescription
FirestoreStubSettings.Builder

batchGetDocumentsSettings()

public ServerStreamingCallSettings.Builder<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsSettings()

Returns the builder for the settings used for calls to batchGetDocuments.

Returns
TypeDescription
Builder<BatchGetDocumentsRequest,BatchGetDocumentsResponse>

batchWriteSettings()

public UnaryCallSettings.Builder<BatchWriteRequest,BatchWriteResponse> batchWriteSettings()

Returns the builder for the settings used for calls to batchWrite.

Returns
TypeDescription
Builder<BatchWriteRequest,BatchWriteResponse>

beginTransactionSettings()

public UnaryCallSettings.Builder<BeginTransactionRequest,BeginTransactionResponse> beginTransactionSettings()

Returns the builder for the settings used for calls to beginTransaction.

Returns
TypeDescription
Builder<BeginTransactionRequest,BeginTransactionResponse>

build()

public FirestoreStubSettings build()
Returns
TypeDescription
FirestoreStubSettings
Overrid