Package com.google.cloud.datastore.v1
Class DatastoreSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<DatastoreSettings,DatastoreSettings.Builder>
com.google.cloud.datastore.v1.DatastoreSettings.Builder
- Direct Known Subclasses:
DatastoreRpc.DatastoreSettingsBuilder
- Enclosing class:
- DatastoreSettings
public static class DatastoreSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<DatastoreSettings,DatastoreSettings.Builder>
Builder for DatastoreSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) protectedBuilder(DatastoreSettings settings) protectedBuilder(DatastoreStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.rpc.UnaryCallSettings.Builder<AllocateIdsRequest,AllocateIdsResponse> Returns the builder for the settings used for calls to allocateIds.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.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<LookupRequest,LookupResponse> Returns the builder for the settings used for calls to lookup.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReserveIdsRequest,ReserveIdsResponse> Returns the builder for the settings used for calls to reserveIds.com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackRequest,RollbackResponse> Returns the builder for the settings used for calls to rollback.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAggregationQueryRequest,RunAggregationQueryResponse> Returns the builder for the settings used for calls to runAggregationQuery.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunQueryRequest,RunQueryResponse> Returns the builder for the settings used for calls to runQuery.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public DatastoreSettings.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.
-
lookupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupRequest,LookupResponse> lookupSettings()Returns the builder for the settings used for calls to lookup. -
runQuerySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunQueryRequest,RunQueryResponse> runQuerySettings()Returns the builder for the settings used for calls to runQuery. -
runAggregationQuerySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAggregationQueryRequest,RunAggregationQueryResponse> runAggregationQuerySettings()Returns the builder for the settings used for calls to runAggregationQuery. -
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,RollbackResponse> rollbackSettings()Returns the builder for the settings used for calls to rollback. -
allocateIdsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AllocateIdsRequest,AllocateIdsResponse> allocateIdsSettings()Returns the builder for the settings used for calls to allocateIds. -
reserveIdsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReserveIdsRequest,ReserveIdsResponse> reserveIdsSettings()Returns the builder for the settings used for calls to reserveIds. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<DatastoreSettings,DatastoreSettings.Builder> - Throws:
IOException
-