public static class PagesStubSettings.Builder extends StubSettings.Builder<PagesStubSettings,PagesStubSettings.Builder>
Builder for PagesStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(PagesStubSettings settings)
protected Builder(PagesStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public PagesStubSettings.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 PagesStubSettings 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.
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> | |
getPageSettings()
public UnaryCallSettings.Builder<GetPageRequest,Page> getPageSettings()
Returns the builder for the settings used for calls to getPage.
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.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updatePageSettings()
public UnaryCallSettings.Builder<UpdatePageRequest,Page> updatePageSettings()
Returns the builder for the settings used for calls to updatePage.