public static class EntityServiceSettings.Builder extends ClientSettings.Builder<EntityServiceSettings,EntityServiceSettings.Builder>Builder for EntityServiceSettings.
Constructors
Builder()
protected Builder()Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)| Parameter | |
|---|---|
| Name | Description |
clientContext |
ClientContext |
Builder(EntityServiceSettings settings)
protected Builder(EntityServiceSettings settings)| Parameter | |
|---|---|
| Name | Description |
settings |
EntityServiceSettings |
Builder(EntityServiceStubSettings.Builder stubSettings)
protected Builder(EntityServiceStubSettings.Builder stubSettings)| Parameter | |
|---|---|
| Name | Description |
stubSettings |
EntityServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public EntityServiceSettings.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 |
EntityServiceSettings.Builder |
|
build()
public EntityServiceSettings build()| Returns | |
|---|---|
| Type | Description |
EntityServiceSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
createWatchlistSettings()
public UnaryCallSettings.Builder<CreateWatchlistRequest,Watchlist> createWatchlistSettings()Returns the builder for the settings used for calls to createWatchlist.
| Returns | |
|---|---|
| Type | Description |
Builder<CreateWatchlistRequest,Watchlist> |
|
deleteWatchlistSettings()
public UnaryCallSettings.Builder<DeleteWatchlistRequest,Empty> deleteWatchlistSettings()Returns the builder for the settings used for calls to deleteWatchlist.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteWatchlistRequest,Empty> |
|
getStubSettingsBuilder()
public EntityServiceStubSettings.Builder getStubSettingsBuilder()| Returns | |
|---|---|
| Type | Description |
EntityServiceStubSettings.Builder |
|
getWatchlistSettings()
public UnaryCallSettings.Builder<GetWatchlistRequest,Watchlist> getWatchlistSettings()Returns the builder for the settings used for calls to getWatchlist.
| Returns | |
|---|---|
| Type | Description |
Builder<GetWatchlistRequest,Watchlist> |
|
listWatchlistsSettings()
public PagedCallSettings.Builder<ListWatchlistsRequest,ListWatchlistsResponse,EntityServiceClient.ListWatchlistsPagedResponse> listWatchlistsSettings()Returns the builder for the settings used for calls to listWatchlists.
| Returns | |
|---|---|
| Type | Description |
Builder<ListWatchlistsRequest,ListWatchlistsResponse,ListWatchlistsPagedResponse> |
|
updateWatchlistSettings()
public UnaryCallSettings.Builder<UpdateWatchlistRequest,Watchlist> updateWatchlistSettings()Returns the builder for the settings used for calls to updateWatchlist.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateWatchlistRequest,Watchlist> |
|