public static class CursorServiceSettings.Builder extends ClientSettings.Builder<CursorServiceSettings,CursorServiceSettings.Builder>
Builder for CursorServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(CursorServiceSettings settings)
protected Builder(CursorServiceSettings settings)
Name | Description |
settings | CursorServiceSettings |
Builder(CursorServiceStubSettings.Builder stubSettings)
protected Builder(CursorServiceStubSettings.Builder stubSettings)
Name | Description |
stubSettings | CursorServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CursorServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Type | Description |
CursorServiceSettings.Builder |
build()
public CursorServiceSettings build()
Type | Description |
CursorServiceSettings |
Type | Description |
IOException |
commitCursorSettings()
public UnaryCallSettings.Builder<CommitCursorRequest,CommitCursorResponse> commitCursorSettings()
Returns the builder for the settings used for calls to commitCursor.
Type | Description |
Builder<CommitCursorRequest,CommitCursorResponse> |
getStubSettingsBuilder()
public CursorServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
CursorServiceStubSettings.Builder |
listPartitionCursorsSettings()
public PagedCallSettings.Builder<ListPartitionCursorsRequest,ListPartitionCursorsResponse,CursorServiceClient.ListPartitionCursorsPagedResponse> listPartitionCursorsSettings()
Returns the builder for the settings used for calls to listPartitionCursors.
Type | Description |
Builder<ListPartitionCursorsRequest,ListPartitionCursorsResponse,ListPartitionCursorsPagedResponse> |
streamingCommitCursorSettings()
public StreamingCallSettings.Builder<StreamingCommitCursorRequest,StreamingCommitCursorResponse> streamingCommitCursorSettings()
Returns the builder for the settings used for calls to streamingCommitCursor.
Type | Description |
Builder<StreamingCommitCursorRequest,StreamingCommitCursorResponse> |