public static class BigQueryReadStubSettings.Builder extends StubSettings.Builder<BigQueryReadStubSettings,BigQueryReadStubSettings.Builder>
Builder for BigQueryReadStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(BigQueryReadStubSettings settings)
protected Builder(BigQueryReadStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | BigQueryReadStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public BigQueryReadStubSettings.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 |
BigQueryReadStubSettings.Builder |
build()
public BigQueryReadStubSettings build()
Returns | |
---|---|
Type | Description |
BigQueryReadStubSettings |
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> |
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns | |
---|---|
Type | Description |
String |
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<?,?>> |