Class PagesSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<PagesSettings,PagesSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3.PagesSettings.Builder
-
- Enclosing class:
- PagesSettings
public static class PagesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<PagesSettings,PagesSettings.Builder>
Builder for PagesSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(PagesSettings settings)
protected
Builder(PagesStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagesSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.PagesSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePageRequest,Page>
createPageSettings()
Returns the builder for the settings used for calls to createPage.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePageRequest,com.google.protobuf.Empty>
deletePageSettings()
Returns the builder for the settings used for calls to deletePage.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPageRequest,Page>
getPageSettings()
Returns the builder for the settings used for calls to getPage.PagesStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,PagesClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPagesRequest,ListPagesResponse,PagesClient.ListPagesPagedResponse>
listPagesSettings()
Returns the builder for the settings used for calls to listPages.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePageRequest,Page>
updatePageSettings()
Returns the builder for the settings used for calls to updatePage.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(PagesSettings settings)
-
Builder
protected Builder(PagesStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public PagesStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public PagesSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listPagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPagesRequest,ListPagesResponse,PagesClient.ListPagesPagedResponse> listPagesSettings()
Returns the builder for the settings used for calls to listPages.
-
getPageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPageRequest,Page> getPageSettings()
Returns the builder for the settings used for calls to getPage.
-
createPageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePageRequest,Page> createPageSettings()
Returns the builder for the settings used for calls to createPage.
-
updatePageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePageRequest,Page> updatePageSettings()
Returns the builder for the settings used for calls to updatePage.
-
deletePageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePageRequest,com.google.protobuf.Empty> deletePageSettings()
Returns the builder for the settings used for calls to deletePage.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,PagesClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public PagesSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<PagesSettings,PagesSettings.Builder>
- Throws:
IOException
-
-