Class KnowledgeBasesSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<KnowledgeBasesSettings,KnowledgeBasesSettings.Builder>
-
- com.google.cloud.dialogflow.v2beta1.KnowledgeBasesSettings.Builder
-
- Enclosing class:
- KnowledgeBasesSettings
public static class KnowledgeBasesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<KnowledgeBasesSettings,KnowledgeBasesSettings.Builder>
Builder for KnowledgeBasesSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(KnowledgeBasesSettings settings)
protected
Builder(KnowledgeBasesStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnowledgeBasesSettings.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.KnowledgeBasesSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKnowledgeBaseRequest,KnowledgeBase>
createKnowledgeBaseSettings()
Returns the builder for the settings used for calls to createKnowledgeBase.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKnowledgeBaseRequest,com.google.protobuf.Empty>
deleteKnowledgeBaseSettings()
Returns the builder for the settings used for calls to deleteKnowledgeBase.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKnowledgeBaseRequest,KnowledgeBase>
getKnowledgeBaseSettings()
Returns the builder for the settings used for calls to getKnowledgeBase.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.KnowledgeBasesStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse>
listKnowledgeBasesSettings()
Returns the builder for the settings used for calls to listKnowledgeBases.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,KnowledgeBasesClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKnowledgeBaseRequest,KnowledgeBase>
updateKnowledgeBaseSettings()
Returns the builder for the settings used for calls to updateKnowledgeBase.-
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(KnowledgeBasesSettings settings)
-
Builder
protected Builder(KnowledgeBasesStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public KnowledgeBasesStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public KnowledgeBasesSettings.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.
-
listKnowledgeBasesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> listKnowledgeBasesSettings()
Returns the builder for the settings used for calls to listKnowledgeBases.
-
getKnowledgeBaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseSettings()
Returns the builder for the settings used for calls to getKnowledgeBase.
-
createKnowledgeBaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKnowledgeBaseRequest,KnowledgeBase> createKnowledgeBaseSettings()
Returns the builder for the settings used for calls to createKnowledgeBase.
-
deleteKnowledgeBaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKnowledgeBaseRequest,com.google.protobuf.Empty> deleteKnowledgeBaseSettings()
Returns the builder for the settings used for calls to deleteKnowledgeBase.
-
updateKnowledgeBaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKnowledgeBaseRequest,KnowledgeBase> updateKnowledgeBaseSettings()
Returns the builder for the settings used for calls to updateKnowledgeBase.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,KnowledgeBasesClient.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 KnowledgeBasesSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<KnowledgeBasesSettings,KnowledgeBasesSettings.Builder>
- Throws:
IOException
-
-