Class DataStoreServiceSettings.Builder (0.36.0)

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

Builder for DataStoreServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataStoreServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataStoreServiceSettings settings)

protected Builder(DataStoreServiceSettings settings)
Parameter
NameDescription
settingsDataStoreServiceSettings

Builder(DataStoreServiceStubSettings.Builder stubSettings)

protected Builder(DataStoreServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataStoreServiceStubSettings.Builder

Methods

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

public DataStoreServiceSettings.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
DataStoreServiceSettings.Builder

build()

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

createDataStoreOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDataStoreRequest,DataStore,CreateDataStoreMetadata>

createDataStoreSettings()

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

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

Returns
TypeDescription
Builder<CreateDataStoreRequest,Operation>

deleteDataStoreOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataStoreRequest,Empty,DeleteDataStoreMetadata>

deleteDataStoreSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataStoreRequest,Operation>

getDataStoreSettings()

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

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

Returns
TypeDescription
Builder<GetDataStoreRequest,DataStore>

getStubSettingsBuilder()

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

listDataStoresSettings()

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

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

Returns
TypeDescription
Builder<ListDataStoresRequest,ListDataStoresResponse,ListDataStoresPagedResponse>

updateDataStoreSettings()

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

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

Returns
TypeDescription
Builder<UpdateDataStoreRequest,DataStore>