Class TablesServiceStubSettings.Builder (0.9.0)

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

Builder for TablesServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TablesServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TablesServiceStubSettings settings)

protected Builder(TablesServiceStubSettings settings)
Parameter
NameDescription
settingsTablesServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public TablesServiceStubSettings.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<?,?>,java.lang.Void>
Returns
TypeDescription
TablesServiceStubSettings.Builder

batchCreateRowsSettings()

public UnaryCallSettings.Builder<BatchCreateRowsRequest,BatchCreateRowsResponse> batchCreateRowsSettings()

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

Returns
TypeDescription
Builder<BatchCreateRowsRequest,BatchCreateRowsResponse>

batchDeleteRowsSettings()

public UnaryCallSettings.Builder<BatchDeleteRowsRequest,Empty> batchDeleteRowsSettings()

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

Returns
TypeDescription
Builder<BatchDeleteRowsRequest,Empty>

batchUpdateRowsSettings()

public UnaryCallSettings.Builder<BatchUpdateRowsRequest,BatchUpdateRowsResponse> batchUpdateRowsSettings()

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

Returns
TypeDescription
Builder<BatchUpdateRowsRequest,BatchUpdateRowsResponse>

build()

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

createRowSettings()

public UnaryCallSettings.Builder<CreateRowRequest,Row> createRowSettings()

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

Returns
TypeDescription
Builder<CreateRowRequest,Row>

deleteRowSettings()

public UnaryCallSettings.Builder<DeleteRowRequest,Empty> deleteRowSettings()

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

Returns
TypeDescription
Builder<DeleteRowRequest,Empty>

getRowSettings()

public UnaryCallSettings.Builder<GetRowRequest,Row> getRowSettings()

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

Returns
TypeDescription
Builder<GetRowRequest,Row>

getTableSettings()

public UnaryCallSettings.Builder<GetTableRequest,Table> getTableSettings()

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

Returns
TypeDescription
Builder<GetTableRequest,Table>

getWorkspaceSettings()

public UnaryCallSettings.Builder<GetWorkspaceRequest,Workspace> getWorkspaceSettings()

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

Returns
TypeDescription
Builder<GetWorkspaceRequest,Workspace>

listRowsSettings()

public PagedCallSettings.Builder<ListRowsRequest,ListRowsResponse,TablesServiceClient.ListRowsPagedResponse> listRowsSettings()

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

Returns
TypeDescription
Builder<ListRowsRequest,ListRowsResponse,ListRowsPagedResponse>

listTablesSettings()

public PagedCallSettings.Builder<ListTablesRequest,ListTablesResponse,TablesServiceClient.ListTablesPagedResponse> listTablesSettings()

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

Returns
TypeDescription
Builder<ListTablesRequest,ListTablesResponse,ListTablesPagedResponse>

listWorkspacesSettings()

public PagedCallSettings.Builder<ListWorkspacesRequest,ListWorkspacesResponse,TablesServiceClient.ListWorkspacesPagedResponse> listWorkspacesSettings()

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

Returns
TypeDescription
Builder<ListWorkspacesRequest,ListWorkspacesResponse,ListWorkspacesPagedResponse>

unaryMethodSettingsBuilders()

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

updateRowSettings()

public UnaryCallSettings.Builder<UpdateRowRequest,Row> updateRowSettings()

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

Returns
TypeDescription
Builder<UpdateRowRequest,Row>