Class FirestoreStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<FirestoreStubSettings,FirestoreStubSettings.Builder>
com.google.cloud.firestore.v1.stub.FirestoreStubSettings.Builder
- Enclosing class:
- FirestoreStubSettings
public static class FirestoreStubSettings.Builder
extends com.google.api.gax.rpc.StubSettings.Builder<FirestoreStubSettings,FirestoreStubSettings.Builder>
Builder for FirestoreStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) protectedBuilder(FirestoreStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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> Returns the builder for the settings used for calls to batchGetDocuments.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchWriteRequest,BatchWriteResponse> Returns the builder for the settings used for calls to batchWrite.com.google.api.gax.rpc.UnaryCallSettings.Builder<BeginTransactionRequest,BeginTransactionResponse> Returns the builder for the settings used for calls to beginTransaction.build()com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitRequest,CommitResponse> Returns the builder for the settings used for calls to commit.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentRequest,Document> Returns the builder for the settings used for calls to createDocument.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDocument.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentRequest,Document> Returns the builder for the settings used for calls to getDocument.com.google.api.gax.rpc.PagedCallSettings.Builder<ListCollectionIdsRequest,ListCollectionIdsResponse, FirestoreClient.ListCollectionIdsPagedResponse> Returns the builder for the settings used for calls to listCollectionIds.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse, FirestoreClient.ListDocumentsPagedResponse> Returns the builder for the settings used for calls to listDocuments.com.google.api.gax.rpc.StreamingCallSettings.Builder<ListenRequest,ListenResponse> Returns the builder for the settings used for calls to listen.com.google.api.gax.rpc.PagedCallSettings.Builder<PartitionQueryRequest,PartitionQueryResponse, FirestoreClient.PartitionQueryPagedResponse> Returns the builder for the settings used for calls to partitionQuery.com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to rollback.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<RunAggregationQueryRequest,RunAggregationQueryResponse> Returns the builder for the settings used for calls to runAggregationQuery.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<RunQueryRequest,RunQueryResponse> Returns the builder for the settings used for calls to runQuery.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentRequest,Document> Returns the builder for the settings used for calls to updateDocument.com.google.api.gax.rpc.StreamingCallSettings.Builder<WriteRequest,WriteResponse> Returns the builder for the settings used for calls to write.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public 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.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
getDocumentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentRequest,Document> getDocumentSettings()Returns the builder for the settings used for calls to getDocument. -
listDocumentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse, listDocumentsSettings()FirestoreClient.ListDocumentsPagedResponse> Returns the builder for the settings used for calls to listDocuments. -
updateDocumentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentRequest,Document> updateDocumentSettings()Returns the builder for the settings used for calls to updateDocument. -
deleteDocumentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentRequest,com.google.protobuf.Empty> deleteDocumentSettings()Returns the builder for the settings used for calls to deleteDocument. -
batchGetDocumentsSettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsSettings()Returns the builder for the settings used for calls to batchGetDocuments. -
beginTransactionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BeginTransactionRequest,BeginTransactionResponse> beginTransactionSettings()Returns the builder for the settings used for calls to beginTransaction. -
commitSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitRequest,CommitResponse> commitSettings()Returns the builder for the settings used for calls to commit. -
rollbackSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackRequest,com.google.protobuf.Empty> rollbackSettings()Returns the builder for the settings used for calls to rollback. -
runQuerySettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<RunQueryRequest,RunQueryResponse> runQuerySettings()Returns the builder for the settings used for calls to runQuery. -
runAggregationQuerySettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<RunAggregationQueryRequest,RunAggregationQueryResponse> runAggregationQuerySettings()Returns the builder for the settings used for calls to runAggregationQuery. -
partitionQuerySettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<PartitionQueryRequest,PartitionQueryResponse, partitionQuerySettings()FirestoreClient.PartitionQueryPagedResponse> Returns the builder for the settings used for calls to partitionQuery. -
writeSettings
public com.google.api.gax.rpc.StreamingCallSettings.Builder<WriteRequest,WriteResponse> writeSettings()Returns the builder for the settings used for calls to write. -
listenSettings
public com.google.api.gax.rpc.StreamingCallSettings.Builder<ListenRequest,ListenResponse> listenSettings()Returns the builder for the settings used for calls to listen. -
listCollectionIdsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCollectionIdsRequest,ListCollectionIdsResponse, listCollectionIdsSettings()FirestoreClient.ListCollectionIdsPagedResponse> Returns the builder for the settings used for calls to listCollectionIds. -
batchWriteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchWriteRequest,BatchWriteResponse> batchWriteSettings()Returns the builder for the settings used for calls to batchWrite. -
createDocumentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentRequest,Document> createDocumentSettings()Returns the builder for the settings used for calls to createDocument. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<FirestoreStubSettings,FirestoreStubSettings.Builder> - Throws:
IOException
-