public static class PlaybooksSettings.Builder extends ClientSettings.Builder<PlaybooksSettings,PlaybooksSettings.Builder>Builder for PlaybooksSettings.
Constructors
Builder()
protected Builder()Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)| Parameter | |
|---|---|
| Name | Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext |
Builder(PlaybooksSettings settings)
protected Builder(PlaybooksSettings settings)| Parameter | |
|---|---|
| Name | Description |
settings |
PlaybooksSettings |
Builder(PlaybooksStubSettings.Builder stubSettings)
protected Builder(PlaybooksStubSettings.Builder stubSettings)| Parameter | |
|---|---|
| Name | Description |
stubSettings |
PlaybooksStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public PlaybooksSettings.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 |
PlaybooksSettings.Builder |
|
build()
public PlaybooksSettings build()| Returns | |
|---|---|
| Type | Description |
PlaybooksSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
createPlaybookSettings()
public UnaryCallSettings.Builder<CreatePlaybookRequest,Playbook> createPlaybookSettings()Returns the builder for the settings used for calls to createPlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<CreatePlaybookRequest,Playbook> |
|
createPlaybookVersionSettings()
public UnaryCallSettings.Builder<CreatePlaybookVersionRequest,PlaybookVersion> createPlaybookVersionSettings()Returns the builder for the settings used for calls to createPlaybookVersion.
| Returns | |
|---|---|
| Type | Description |
Builder<CreatePlaybookVersionRequest,PlaybookVersion> |
|
deletePlaybookSettings()
public UnaryCallSettings.Builder<DeletePlaybookRequest,Empty> deletePlaybookSettings()Returns the builder for the settings used for calls to deletePlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<DeletePlaybookRequest,Empty> |
|
deletePlaybookVersionSettings()
public UnaryCallSettings.Builder<DeletePlaybookVersionRequest,Empty> deletePlaybookVersionSettings()Returns the builder for the settings used for calls to deletePlaybookVersion.
| Returns | |
|---|---|
| Type | Description |
Builder<DeletePlaybookVersionRequest,Empty> |
|
exportPlaybookOperationSettings()
public OperationCallSettings.Builder<ExportPlaybookRequest,ExportPlaybookResponse,Struct> exportPlaybookOperationSettings()Returns the builder for the settings used for calls to exportPlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<ExportPlaybookRequest,ExportPlaybookResponse,Struct> |
|
exportPlaybookSettings()
public UnaryCallSettings.Builder<ExportPlaybookRequest,Operation> exportPlaybookSettings()Returns the builder for the settings used for calls to exportPlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<ExportPlaybookRequest,Operation> |
|
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()Returns the builder for the settings used for calls to getLocation.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getPlaybookSettings()
public UnaryCallSettings.Builder<GetPlaybookRequest,Playbook> getPlaybookSettings()Returns the builder for the settings used for calls to getPlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<GetPlaybookRequest,Playbook> |
|
getPlaybookVersionSettings()
public UnaryCallSettings.Builder<GetPlaybookVersionRequest,PlaybookVersion> getPlaybookVersionSettings()Returns the builder for the settings used for calls to getPlaybookVersion.
| Returns | |
|---|---|
| Type | Description |
Builder<GetPlaybookVersionRequest,PlaybookVersion> |
|
getStubSettingsBuilder()
public PlaybooksStubSettings.Builder getStubSettingsBuilder()| Returns | |
|---|---|
| Type | Description |
PlaybooksStubSettings.Builder |
|
importPlaybookOperationSettings()
public OperationCallSettings.Builder<ImportPlaybookRequest,ImportPlaybookResponse,Struct> importPlaybookOperationSettings()Returns the builder for the settings used for calls to importPlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<ImportPlaybookRequest,ImportPlaybookResponse,Struct> |
|
importPlaybookSettings()
public UnaryCallSettings.Builder<ImportPlaybookRequest,Operation> importPlaybookSettings()Returns the builder for the settings used for calls to importPlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<ImportPlaybookRequest,Operation> |
|
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,PlaybooksClient.ListLocationsPagedResponse> listLocationsSettings()Returns the builder for the settings used for calls to listLocations.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |
|
listPlaybookVersionsSettings()
public PagedCallSettings.Builder<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse,PlaybooksClient.ListPlaybookVersionsPagedResponse> listPlaybookVersionsSettings()Returns the builder for the settings used for calls to listPlaybookVersions.
| Returns | |
|---|---|
| Type | Description |
Builder<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse,ListPlaybookVersionsPagedResponse> |
|
listPlaybooksSettings()
public PagedCallSettings.Builder<ListPlaybooksRequest,ListPlaybooksResponse,PlaybooksClient.ListPlaybooksPagedResponse> listPlaybooksSettings()Returns the builder for the settings used for calls to listPlaybooks.
| Returns | |
|---|---|
| Type | Description |
Builder<ListPlaybooksRequest,ListPlaybooksResponse,ListPlaybooksPagedResponse> |
|
restorePlaybookVersionSettings()
public UnaryCallSettings.Builder<RestorePlaybookVersionRequest,RestorePlaybookVersionResponse> restorePlaybookVersionSettings()Returns the builder for the settings used for calls to restorePlaybookVersion.
| Returns | |
|---|---|
| Type | Description |
Builder<RestorePlaybookVersionRequest,RestorePlaybookVersionResponse> |
|
updatePlaybookSettings()
public UnaryCallSettings.Builder<UpdatePlaybookRequest,Playbook> updatePlaybookSettings()Returns the builder for the settings used for calls to updatePlaybook.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdatePlaybookRequest,Playbook> |
|