public static class CursorServiceStubSettings.Builder extends StubSettings.Builder<CursorServiceStubSettings,CursorServiceStubSettings.Builder>
Builder for CursorServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(CursorServiceStubSettings settings)
protected Builder(CursorServiceStubSettings settings)
Name | Description |
settings | CursorServiceStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CursorServiceStubSettings.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 |
CursorServiceStubSettings.Builder |
build()
public CursorServiceStubSettings build()
Type | Description |
CursorServiceStubSettings |
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> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |