Class DatastoreStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DatastoreStubSettings,DatastoreStubSettings.Builder>
com.google.cloud.datastore.v1.stub.DatastoreStubSettings.Builder
- Enclosing class:
- DatastoreStubSettings
public static class DatastoreStubSettings.Builder
extends com.google.api.gax.rpc.StubSettings.Builder<DatastoreStubSettings,DatastoreStubSettings.Builder>
Builder for DatastoreStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) protectedBuilder(DatastoreStubSettings settings) -
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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, 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 DatastoreStubSettings.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() -
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.StubSettings.Builder<DatastoreStubSettings,DatastoreStubSettings.Builder> - Throws:
IOException
-