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