Class BigQueryReadStubSettings.Builder (3.2.0)

public static class BigQueryReadStubSettings.Builder extends StubSettings.Builder<BigQueryReadStubSettings,BigQueryReadStubSettings.Builder>

Builder for BigQueryReadStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BigQueryReadStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BigQueryReadStubSettings settings)

protected Builder(BigQueryReadStubSettings settings)
Parameter
NameDescription
settingsBigQueryReadStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns
TypeDescription
BigQueryReadStubSettings.Builder

build()

public BigQueryReadStubSettings build()
Returns
TypeDescription
BigQueryReadStubSettings
Overrides
Exceptions
TypeDescription
IOException

createReadSessionSettings()

public UnaryCallSettings.Builder<CreateReadSessionRequest,ReadSession> createReadSessionSettings()

Returns the builder for the settings used for calls to createReadSession.

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

readRowsSettings()

public ServerStreamingCallSettings.Builder<ReadRowsRequest,ReadRowsResponse> readRowsSettings()

Returns the builder for the settings used for calls to readRows.

splitReadStreamSettings()

public UnaryCallSettings.Builder<SplitReadStreamRequest,SplitReadStreamResponse> splitReadStreamSettings()

Returns the builder for the settings used for calls to splitReadStream.

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>