public static class PagesSettings.Builder extends ClientSettings.Builder<PagesSettings,PagesSettings.Builder>
Builder for PagesSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(PagesSettings settings)
protected Builder(PagesSettings settings)
Builder(PagesStubSettings.Builder stubSettings)
protected Builder(PagesStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public PagesSettings.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 PagesSettings build()
Overrides
createPageSettings()
public UnaryCallSettings.Builder<CreatePageRequest,Page> createPageSettings()
Returns the builder for the settings used for calls to createPage.
deletePageSettings()
public UnaryCallSettings.Builder<DeletePageRequest,Empty> deletePageSettings()
Returns the builder for the settings used for calls to deletePage.
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> |
|
getPageSettings()
public UnaryCallSettings.Builder<GetPageRequest,Page> getPageSettings()
Returns the builder for the settings used for calls to getPage.
getStubSettingsBuilder()
public PagesStubSettings.Builder getStubSettingsBuilder()
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,PagesClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listPagesSettings()
public PagedCallSettings.Builder<ListPagesRequest,ListPagesResponse,PagesClient.ListPagesPagedResponse> listPagesSettings()
Returns the builder for the settings used for calls to listPages.
updatePageSettings()
public UnaryCallSettings.Builder<UpdatePageRequest,Page> updatePageSettings()
Returns the builder for the settings used for calls to updatePage.