public static class DataStoreServiceStubSettings.Builder extends StubSettings.Builder<DataStoreServiceStubSettings,DataStoreServiceStubSettings.Builder>
Builder for DataStoreServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DataStoreServiceStubSettings settings)
protected Builder(DataStoreServiceStubSettings settings)
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.
build()
public DataStoreServiceStubSettings build()
Overrides
createDataStoreOperationSettings()
public OperationCallSettings.Builder<CreateDataStoreRequest,DataStore,CreateDataStoreMetadata> createDataStoreOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createDataStore.
createDataStoreSettings()
public UnaryCallSettings.Builder<CreateDataStoreRequest,Operation> createDataStoreSettings()
Returns the builder for the settings used for calls to createDataStore.
deleteDataStoreOperationSettings()
public OperationCallSettings.Builder<DeleteDataStoreRequest,Empty,DeleteDataStoreMetadata> deleteDataStoreOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteDataStore.
deleteDataStoreSettings()
public UnaryCallSettings.Builder<DeleteDataStoreRequest,Operation> deleteDataStoreSettings()
Returns the builder for the settings used for calls to deleteDataStore.
getDataStoreSettings()
public UnaryCallSettings.Builder<GetDataStoreRequest,DataStore> getDataStoreSettings()
Returns the builder for the settings used for calls to getDataStore.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
listDataStoresSettings()
public PagedCallSettings.Builder<ListDataStoresRequest,ListDataStoresResponse,DataStoreServiceClient.ListDataStoresPagedResponse> listDataStoresSettings()
Returns the builder for the settings used for calls to listDataStores.
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.