public static class FirestoreStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<FirestoreStubSettings,FirestoreStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(FirestoreStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
FirestoreStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<BatchGetDocumentsRequest,BatchGetDocumentsResponse> |
batchGetDocumentsSettings()
Returns the builder for the settings used for calls to batchGetDocuments.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BeginTransactionRequest,BeginTransactionResponse> |
beginTransactionSettings()
Returns the builder for the settings used for calls to beginTransaction.
|
FirestoreStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitRequest,CommitResponse> |
commitSettings()
Returns the builder for the settings used for calls to commit.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentRequest,Document> |
createDocumentSettings()
Returns the builder for the settings used for calls to createDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentRequest,Empty> |
deleteDocumentSettings()
Returns the builder for the settings used for calls to deleteDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentRequest,Document> |
getDocumentSettings()
Returns the builder for the settings used for calls to getDocument.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCollectionIdsRequest,ListCollectionIdsResponse,FirestoreClient.ListCollectionIdsPagedResponse> |
listCollectionIdsSettings()
Returns the builder for the settings used for calls to listCollectionIds.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse,FirestoreClient.ListDocumentsPagedResponse> |
listDocumentsSettings()
Returns the builder for the settings used for calls to listDocuments.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<ListenRequest,ListenResponse> |
listenSettings()
Returns the builder for the settings used for calls to listen.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackRequest,Empty> |
rollbackSettings()
Returns the builder for the settings used for calls to rollback.
|
com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<RunQueryRequest,RunQueryResponse> |
runQuerySettings()
Returns the builder for the settings used for calls to runQuery.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentRequest,Document> |
updateDocumentSettings()
Returns the builder for the settings used for calls to updateDocument.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<WriteRequest,WriteResponse> |
writeSettings()
Returns the builder for the settings used for calls to write.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(FirestoreStubSettings settings)
public FirestoreStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentRequest,Document> getDocumentSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse,FirestoreClient.ListDocumentsPagedResponse> listDocumentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentRequest,Document> createDocumentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentRequest,Document> updateDocumentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentRequest,Empty> deleteDocumentSettings()
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BeginTransactionRequest,BeginTransactionResponse> beginTransactionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitRequest,CommitResponse> commitSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackRequest,Empty> rollbackSettings()
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<RunQueryRequest,RunQueryResponse> runQuerySettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<WriteRequest,WriteResponse> writeSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<ListenRequest,ListenResponse> listenSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCollectionIdsRequest,ListCollectionIdsResponse,FirestoreClient.ListCollectionIdsPagedResponse> listCollectionIdsSettings()
public FirestoreStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<FirestoreStubSettings,FirestoreStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.