Class BigQueryReadStubSettings.Builder (3.3.1)

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.

Returns
TypeDescription
Builder<CreateReadSessionRequest,ReadSession>

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.

Returns
TypeDescription
Builder<ReadRowsRequest,ReadRowsResponse>

splitReadStreamSettings()

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

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

Returns
TypeDescription
Builder<SplitReadStreamRequest,SplitReadStreamResponse>

unaryMethodSettingsBuilders()

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