Class PlaybooksSettings.Builder (0.50.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
NameDescription
clientContextClientContext

Builder(PlaybooksSettings settings)

protected Builder(PlaybooksSettings settings)
Parameter
NameDescription
settingsPlaybooksSettings

Builder(PlaybooksStubSettings.Builder stubSettings)

protected Builder(PlaybooksStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPlaybooksStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
PlaybooksSettings.Builder

build()

public PlaybooksSettings build()
Returns
TypeDescription
PlaybooksSettings
Overrides
Exceptions
TypeDescription
IOException

createPlaybookSettings()

public UnaryCallSettings.Builder<CreatePlaybookRequest,Playbook> createPlaybookSettings()

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

Returns
TypeDescription
Builder<CreatePlaybookRequest,Playbook>

createPlaybookVersionSettings()

public UnaryCallSettings.Builder<CreatePlaybookVersionRequest,PlaybookVersion> createPlaybookVersionSettings()

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

Returns
TypeDescription
Builder<CreatePlaybookVersionRequest,PlaybookVersion>

deletePlaybookSettings()

public UnaryCallSettings.Builder<DeletePlaybookRequest,Empty> deletePlaybookSettings()

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

Returns
TypeDescription
Builder<DeletePlaybookRequest,Empty>

deletePlaybookVersionSettings()

public UnaryCallSettings.Builder<DeletePlaybookVersionRequest,Empty> deletePlaybookVersionSettings()

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

Returns
TypeDescription
Builder<DeletePlaybookVersionRequest,Empty>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<GetPlaybookRequest,Playbook>

getPlaybookVersionSettings()

public UnaryCallSettings.Builder<GetPlaybookVersionRequest,PlaybookVersion> getPlaybookVersionSettings()

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

Returns
TypeDescription
Builder<GetPlaybookVersionRequest,PlaybookVersion>

getStubSettingsBuilder()

public PlaybooksStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
PlaybooksStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,PlaybooksClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListPlaybooksRequest,ListPlaybooksResponse,ListPlaybooksPagedResponse>

updatePlaybookSettings()

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

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

Returns
TypeDescription
Builder<UpdatePlaybookRequest,Playbook>