public static class BaseBigQueryReadSettings.Builder extends ClientSettings.Builder<BaseBigQueryReadSettings,BaseBigQueryReadSettings.Builder>
Builder for BaseBigQueryReadSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(BaseBigQueryReadSettings settings)
protected Builder(BaseBigQueryReadSettings settings)
Parameter | |
---|---|
Name | Description |
settings | BaseBigQueryReadSettings |
Builder(BigQueryReadStubSettings.Builder stubSettings)
protected Builder(BigQueryReadStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings | BigQueryReadStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public BaseBigQueryReadSettings.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 |
BaseBigQueryReadSettings.Builder |
build()
public BaseBigQueryReadSettings build()
Returns | |
---|---|
Type | Description |
BaseBigQueryReadSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createReadSessionSettings()
public UnaryCallSettings.Builder<CreateReadSessionRequest,ReadSession> createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.
Returns | |
---|---|
Type | Description |
Builder<CreateReadSessionRequest,ReadSession> |
getStubSettingsBuilder()
public BigQueryReadStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
BigQueryReadStubSettings.Builder |
readRowsSettings()
public ServerStreamingCallSettings.Builder<ReadRowsRequest,ReadRowsResponse> readRowsSettings()
Returns the builder for the settings used for calls to readRows.
Returns | |
---|---|
Type | Description |
Builder<ReadRowsRequest,ReadRowsResponse> |
splitReadStreamSettings()
public UnaryCallSettings.Builder<SplitReadStreamRequest,SplitReadStreamResponse> splitReadStreamSettings()
Returns the builder for the settings used for calls to splitReadStream.
Returns | |
---|---|
Type | Description |
Builder<SplitReadStreamRequest,SplitReadStreamResponse> |