public static class WebhooksSettings.Builder extends ClientSettings.Builder<WebhooksSettings,WebhooksSettings.Builder>
Builder for WebhooksSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(WebhooksSettings settings)
protected Builder(WebhooksSettings settings)
Name | Description |
settings | WebhooksSettings |
Builder(WebhooksStubSettings.Builder stubSettings)
protected Builder(WebhooksStubSettings.Builder stubSettings)
Name | Description |
stubSettings | WebhooksStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public WebhooksSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
WebhooksSettings.Builder |
build()
public WebhooksSettings build()
Type | Description |
WebhooksSettings |
Type | Description |
IOException |
createWebhookSettings()
public UnaryCallSettings.Builder<CreateWebhookRequest,Webhook> createWebhookSettings()
Returns the builder for the settings used for calls to createWebhook.
Type | Description |
Builder<CreateWebhookRequest,Webhook> |
deleteWebhookSettings()
public UnaryCallSettings.Builder<DeleteWebhookRequest,Empty> deleteWebhookSettings()
Returns the builder for the settings used for calls to deleteWebhook.
Type | Description |
Builder<DeleteWebhookRequest,Empty> |
getStubSettingsBuilder()
public WebhooksStubSettings.Builder getStubSettingsBuilder()
Type | Description |
WebhooksStubSettings.Builder |
getWebhookSettings()
public UnaryCallSettings.Builder<GetWebhookRequest,Webhook> getWebhookSettings()
Returns the builder for the settings used for calls to getWebhook.
Type | Description |
Builder<GetWebhookRequest,Webhook> |
listWebhooksSettings()
public PagedCallSettings.Builder<ListWebhooksRequest,ListWebhooksResponse,WebhooksClient.ListWebhooksPagedResponse> listWebhooksSettings()
Returns the builder for the settings used for calls to listWebhooks.
Type | Description |
Builder<ListWebhooksRequest,ListWebhooksResponse,ListWebhooksPagedResponse> |
updateWebhookSettings()
public UnaryCallSettings.Builder<UpdateWebhookRequest,Webhook> updateWebhookSettings()
Returns the builder for the settings used for calls to updateWebhook.
Type | Description |
Builder<UpdateWebhookRequest,Webhook> |