Class PagesSettings.Builder (0.51.0)

public static class PagesSettings.Builder extends ClientSettings.Builder<PagesSettings,PagesSettings.Builder>

Builder for PagesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PagesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PagesSettings settings)

protected Builder(PagesSettings settings)
Parameter
Name Description
settings PagesSettings

Builder(PagesStubSettings.Builder stubSettings)

protected Builder(PagesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings PagesStubSettings.Builder

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
PagesSettings.Builder

build()

public PagesSettings build()
Returns
Type Description
PagesSettings
Overrides
Exceptions
Type Description
IOException

createPageSettings()

public UnaryCallSettings.Builder<CreatePageRequest,Page> createPageSettings()

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

Returns
Type Description
Builder<CreatePageRequest,Page>

deletePageSettings()

public UnaryCallSettings.Builder<DeletePageRequest,Empty> deletePageSettings()

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

Returns
Type Description
Builder<DeletePageRequest,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>

getPageSettings()

public UnaryCallSettings.Builder<GetPageRequest,Page> getPageSettings()

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

Returns
Type Description
Builder<GetPageRequest,Page>

getStubSettingsBuilder()

public PagesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
PagesStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,PagesClient.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>

listPagesSettings()

public PagedCallSettings.Builder<ListPagesRequest,ListPagesResponse,PagesClient.ListPagesPagedResponse> listPagesSettings()

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

Returns
Type Description
Builder<ListPagesRequest,ListPagesResponse,ListPagesPagedResponse>

updatePageSettings()

public UnaryCallSettings.Builder<UpdatePageRequest,Page> updatePageSettings()

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

Returns
Type Description
Builder<UpdatePageRequest,Page>