Class TablesServiceSettings.Builder (0.40.0)

public static class TablesServiceSettings.Builder extends ClientSettings.Builder<TablesServiceSettings,TablesServiceSettings.Builder>

Builder for TablesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TablesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TablesServiceSettings settings)

protected Builder(TablesServiceSettings settings)
Parameter
NameDescription
settingsTablesServiceSettings

Builder(TablesServiceStubSettings.Builder stubSettings)

protected Builder(TablesServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTablesServiceStubSettings.Builder

Methods

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

public TablesServiceSettings.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
TablesServiceSettings.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 TablesServiceSettings build()
Returns
TypeDescription
TablesServiceSettings
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>

getStubSettingsBuilder()

public TablesServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
TablesServiceStubSettings.Builder

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>

updateRowSettings()

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

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

Returns
TypeDescription
Builder<UpdateRowRequest,Row>