Class PlaybooksStubSettings.Builder (0.56.0)

public static class PlaybooksStubSettings.Builder extends StubSettings.Builder<PlaybooksStubSettings,PlaybooksStubSettings.Builder>

Builder for PlaybooksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PlaybooksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PlaybooksStubSettings settings)

protected Builder(PlaybooksStubSettings settings)
Parameter
Name Description
settings PlaybooksStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public PlaybooksStubSettings.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
PlaybooksStubSettings.Builder

build()

public PlaybooksStubSettings build()
Returns
Type Description
PlaybooksStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updatePlaybookSettings()

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

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

Returns
Type Description
Builder<UpdatePlaybookRequest,Playbook>