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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(CursorServiceStubSettings settings)
protected Builder(CursorServiceStubSettings settings)
Parameter | |
---|---|
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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Returns | |
---|---|
Type | Description |
CursorServiceStubSettings.Builder |
build()
public CursorServiceStubSettings build()
Returns | |
---|---|
Type | Description |
CursorServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
commitCursorSettings()
public UnaryCallSettings.Builder<CommitCursorRequest,CommitCursorResponse> commitCursorSettings()
Returns the builder for the settings used for calls to commitCursor.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<ListPartitionCursorsRequest,ListPartitionCursorsResponse,ListPartitionCursorsPagedResponse> |
streamingCommitCursorSettings()
public StreamingCallSettings.Builder<StreamingCommitCursorRequest,StreamingCommitCursorResponse> streamingCommitCursorSettings()
Returns the builder for the settings used for calls to streamingCommitCursor.
Returns | |
---|---|
Type | Description |
Builder<StreamingCommitCursorRequest,StreamingCommitCursorResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |