Class DataStoreServiceStubSettings.Builder (0.40.0)

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

Builder for DataStoreServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DataStoreServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataStoreServiceStubSettings settings)

protected Builder(DataStoreServiceStubSettings settings)
Parameter
Name Description
settings DataStoreServiceStubSettings

Methods

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

public DataStoreServiceStubSettings.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<?,?>,java.lang.Void>
Returns
Type Description
DataStoreServiceStubSettings.Builder

build()

public DataStoreServiceStubSettings build()
Returns
Type Description
DataStoreServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createDataStoreOperationSettings()

public OperationCallSettings.Builder<CreateDataStoreRequest,DataStore,CreateDataStoreMetadata> createDataStoreOperationSettings()

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

Returns
Type Description
Builder<CreateDataStoreRequest,DataStore,CreateDataStoreMetadata>

createDataStoreSettings()

public UnaryCallSettings.Builder<CreateDataStoreRequest,Operation> createDataStoreSettings()

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

Returns
Type Description
Builder<CreateDataStoreRequest,Operation>

deleteDataStoreOperationSettings()

public OperationCallSettings.Builder<DeleteDataStoreRequest,Empty,DeleteDataStoreMetadata> deleteDataStoreOperationSettings()

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

Returns
Type Description
Builder<DeleteDataStoreRequest,Empty,DeleteDataStoreMetadata>

deleteDataStoreSettings()

public UnaryCallSettings.Builder<DeleteDataStoreRequest,Operation> deleteDataStoreSettings()

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

Returns
Type Description
Builder<DeleteDataStoreRequest,Operation>

getDataStoreSettings()

public UnaryCallSettings.Builder<GetDataStoreRequest,DataStore> getDataStoreSettings()

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

Returns
Type Description
Builder<GetDataStoreRequest,DataStore>

listDataStoresSettings()

public PagedCallSettings.Builder<ListDataStoresRequest,ListDataStoresResponse,DataStoreServiceClient.ListDataStoresPagedResponse> listDataStoresSettings()

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

Returns
Type Description
Builder<ListDataStoresRequest,ListDataStoresResponse,ListDataStoresPagedResponse>

unaryMethodSettingsBuilders()

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

updateDataStoreSettings()

public UnaryCallSettings.Builder<UpdateDataStoreRequest,DataStore> updateDataStoreSettings()

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

Returns
Type Description
Builder<UpdateDataStoreRequest,DataStore>