public static class PlaybooksStubSettings.Builder extends StubSettings.Builder<PlaybooksStubSettings,PlaybooksStubSettings.Builder>
Builder for PlaybooksStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(PlaybooksStubSettings settings)
protected Builder(PlaybooksStubSettings settings)
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.
build()
public PlaybooksStubSettings build()
Overrides
createPlaybookSettings()
public UnaryCallSettings.Builder<CreatePlaybookRequest,Playbook> createPlaybookSettings()
Returns the builder for the settings used for calls to createPlaybook.
createPlaybookVersionSettings()
public UnaryCallSettings.Builder<CreatePlaybookVersionRequest,PlaybookVersion> createPlaybookVersionSettings()
Returns the builder for the settings used for calls to createPlaybookVersion.
deletePlaybookSettings()
public UnaryCallSettings.Builder<DeletePlaybookRequest,Empty> deletePlaybookSettings()
Returns the builder for the settings used for calls to deletePlaybook.
deletePlaybookVersionSettings()
public UnaryCallSettings.Builder<DeletePlaybookVersionRequest,Empty> deletePlaybookVersionSettings()
Returns the builder for the settings used for calls to deletePlaybookVersion.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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.
getPlaybookVersionSettings()
public UnaryCallSettings.Builder<GetPlaybookVersionRequest,PlaybookVersion> getPlaybookVersionSettings()
Returns the builder for the settings used for calls to getPlaybookVersion.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,PlaybooksClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listPlaybookVersionsSettings()
public PagedCallSettings.Builder<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse,PlaybooksClient.ListPlaybookVersionsPagedResponse> listPlaybookVersionsSettings()
Returns the builder for the settings used for calls to listPlaybookVersions.
listPlaybooksSettings()
public PagedCallSettings.Builder<ListPlaybooksRequest,ListPlaybooksResponse,PlaybooksClient.ListPlaybooksPagedResponse> listPlaybooksSettings()
Returns the builder for the settings used for calls to listPlaybooks.
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.