public static class EnhancedBigQueryReadStubSettings.Builder extends StubSettings.Builder<EnhancedBigQueryReadStubSettings,EnhancedBigQueryReadStubSettings.Builder>
Builder for EnhancedBigQueryReadStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(EnhancedBigQueryReadStubSettings settings)
protected Builder(EnhancedBigQueryReadStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
EnhancedBigQueryReadStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public EnhancedBigQueryReadStubSettings.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 |
EnhancedBigQueryReadStubSettings.Builder |
Exceptions | |
---|---|
Type | Description |
Exception |
build()
public EnhancedBigQueryReadStubSettings build()
Returns | |
---|---|
Type | Description |
EnhancedBigQueryReadStubSettings |
createReadSessionSettings()
public UnaryCallSettings.Builder<CreateReadSessionRequest,ReadSession> createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.
Returns | |
---|---|
Type | Description |
Builder<CreateReadSessionRequest,ReadSession> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |