public static class CursorServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CursorServiceSettings,CursorServiceSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(CursorServiceSettings settings) |
protected |
Builder(CursorServiceStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
CursorServiceSettings.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.
|
CursorServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitCursorRequest,CommitCursorResponse> |
commitCursorSettings()
Returns the builder for the settings used for calls to commitCursor.
|
CursorServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListPartitionCursorsRequest,ListPartitionCursorsResponse,CursorServiceClient.ListPartitionCursorsPagedResponse> |
listPartitionCursorsSettings()
Returns the builder for the settings used for calls to listPartitionCursors.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingCommitCursorRequest,StreamingCommitCursorResponse> |
streamingCommitCursorSettings()
Returns the builder for the settings used for calls to streamingCommitCursor.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(CursorServiceSettings settings)
protected Builder(CursorServiceStubSettings.Builder stubSettings)
public CursorServiceStubSettings.Builder getStubSettingsBuilder()
public CursorServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingCommitCursorRequest,StreamingCommitCursorResponse> streamingCommitCursorSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitCursorRequest,CommitCursorResponse> commitCursorSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPartitionCursorsRequest,ListPartitionCursorsResponse,CursorServiceClient.ListPartitionCursorsPagedResponse> listPartitionCursorsSettings()
public CursorServiceSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<CursorServiceSettings,CursorServiceSettings.Builder>IOExceptionCopyright © 2021 Google LLC. All rights reserved.