public static class FirestoreSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<FirestoreSettings,FirestoreSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(FirestoreSettings settings) |
protected |
Builder(FirestoreStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
FirestoreSettings.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<com.google.firestore.v1beta1.BatchGetDocumentsRequest,com.google.firestore.v1beta1.BatchGetDocumentsResponse> |
batchGetDocumentsSettings()
Returns the builder for the settings used for calls to batchGetDocuments.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.BeginTransactionRequest,com.google.firestore.v1beta1.BeginTransactionResponse> |
beginTransactionSettings()
Returns the builder for the settings used for calls to beginTransaction.
|
FirestoreSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.CommitRequest,com.google.firestore.v1beta1.CommitResponse> |
commitSettings()
Returns the builder for the settings used for calls to commit.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.CreateDocumentRequest,com.google.firestore.v1beta1.Document> |
createDocumentSettings()
Returns the builder for the settings used for calls to createDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.DeleteDocumentRequest,com.google.protobuf.Empty> |
deleteDocumentSettings()
Returns the builder for the settings used for calls to deleteDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.GetDocumentRequest,com.google.firestore.v1beta1.Document> |
getDocumentSettings()
Returns the builder for the settings used for calls to getDocument.
|
FirestoreStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.firestore.v1beta1.ListCollectionIdsRequest,com.google.firestore.v1beta1.ListCollectionIdsResponse,FirestoreClient.ListCollectionIdsPagedResponse> |
listCollectionIdsSettings()
Returns the builder for the settings used for calls to listCollectionIds.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.firestore.v1beta1.ListDocumentsRequest,com.google.firestore.v1beta1.ListDocumentsResponse,FirestoreClient.ListDocumentsPagedResponse> |
listDocumentsSettings()
Returns the builder for the settings used for calls to listDocuments.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.firestore.v1beta1.ListenRequest,com.google.firestore.v1beta1.ListenResponse> |
listenSettings()
Returns the builder for the settings used for calls to listen.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.RollbackRequest,com.google.protobuf.Empty> |
rollbackSettings()
Returns the builder for the settings used for calls to rollback.
|
com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<com.google.firestore.v1beta1.RunQueryRequest,com.google.firestore.v1beta1.RunQueryResponse> |
runQuerySettings()
Returns the builder for the settings used for calls to runQuery.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.UpdateDocumentRequest,com.google.firestore.v1beta1.Document> |
updateDocumentSettings()
Returns the builder for the settings used for calls to updateDocument.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.firestore.v1beta1.WriteRequest,com.google.firestore.v1beta1.WriteResponse> |
writeSettings()
Returns the builder for the settings used for calls to write.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(FirestoreSettings settings)
protected Builder(FirestoreStubSettings.Builder stubSettings)
public FirestoreStubSettings.Builder getStubSettingsBuilder()
public FirestoreSettings.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.
Exceptionpublic com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.GetDocumentRequest,com.google.firestore.v1beta1.Document> getDocumentSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.firestore.v1beta1.ListDocumentsRequest,com.google.firestore.v1beta1.ListDocumentsResponse,FirestoreClient.ListDocumentsPagedResponse> listDocumentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.CreateDocumentRequest,com.google.firestore.v1beta1.Document> createDocumentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.UpdateDocumentRequest,com.google.firestore.v1beta1.Document> updateDocumentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.DeleteDocumentRequest,com.google.protobuf.Empty> deleteDocumentSettings()
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<com.google.firestore.v1beta1.BatchGetDocumentsRequest,com.google.firestore.v1beta1.BatchGetDocumentsResponse> batchGetDocumentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.BeginTransactionRequest,com.google.firestore.v1beta1.BeginTransactionResponse> beginTransactionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.CommitRequest,com.google.firestore.v1beta1.CommitResponse> commitSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.firestore.v1beta1.RollbackRequest,com.google.protobuf.Empty> rollbackSettings()
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<com.google.firestore.v1beta1.RunQueryRequest,com.google.firestore.v1beta1.RunQueryResponse> runQuerySettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.firestore.v1beta1.WriteRequest,com.google.firestore.v1beta1.WriteResponse> writeSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.firestore.v1beta1.ListenRequest,com.google.firestore.v1beta1.ListenResponse> listenSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.firestore.v1beta1.ListCollectionIdsRequest,com.google.firestore.v1beta1.ListCollectionIdsResponse,FirestoreClient.ListCollectionIdsPagedResponse> listCollectionIdsSettings()
public FirestoreSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<FirestoreSettings,FirestoreSettings.Builder>IOExceptionCopyright © 2018 Google LLC. All rights reserved.