Class PlaybooksSettings.Builder (0.63.0)

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

Builder for PlaybooksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PlaybooksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext 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
Overrides
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>

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

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>

updatePlaybookSettings()

public UnaryCallSettings.Builder<UpdatePlaybookRequest,Playbook> updatePlaybookSettings()

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

Returns
Type Description
Builder<UpdatePlaybookRequest,Playbook>