Class PagesSettings.Builder (0.13.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
NameDescription
clientContextClientContext

Builder(PagesSettings settings)

protected Builder(PagesSettings settings)
Parameter
NameDescription
settingsPagesSettings

Builder(PagesStubSettings.Builder stubSettings)

protected Builder(PagesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPagesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
PagesSettings.Builder

build()

public PagesSettings build()
Returns
TypeDescription
PagesSettings
Overrides Exceptions
TypeDescription
IOException

createPageSettings()

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

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

Returns
TypeDescription
Builder<CreatePageRequest,Page>

deletePageSettings()

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

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

Returns
TypeDescription
Builder<DeletePageRequest,Empty>

getPageSettings()

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

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

Returns
TypeDescription
Builder<GetPageRequest,Page>

getStubSettingsBuilder()

public PagesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
PagesStubSettings.Builder

listPagesSettings()

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

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

Returns
TypeDescription
Builder<ListPagesRequest,ListPagesResponse,ListPagesPagedResponse>

updatePageSettings()

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

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

Returns
TypeDescription
Builder<UpdatePageRequest,Page>