public static class KnowledgeBasesSettings.Builder extends ClientSettings.Builder<KnowledgeBasesSettings,KnowledgeBasesSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(KnowledgeBasesSettings settings) |
protected |
Builder(KnowledgeBasesStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
KnowledgeBasesSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
KnowledgeBasesSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest,com.google.cloud.dialogflow.v2beta1.KnowledgeBase> |
createKnowledgeBaseSettings()
Returns the builder for the settings used for calls to createKnowledgeBase.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest,Empty> |
deleteKnowledgeBaseSettings()
Returns the builder for the settings used for calls to deleteKnowledgeBase.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest,com.google.cloud.dialogflow.v2beta1.KnowledgeBase> |
getKnowledgeBaseSettings()
Returns the builder for the settings used for calls to getKnowledgeBase.
|
KnowledgeBasesStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest,com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> |
listKnowledgeBasesSettings()
Returns the builder for the settings used for calls to listKnowledgeBases.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest,com.google.cloud.dialogflow.v2beta1.KnowledgeBase> |
updateKnowledgeBaseSettings()
Returns the builder for the settings used for calls to updateKnowledgeBase.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(KnowledgeBasesSettings settings)
protected Builder(KnowledgeBasesStubSettings.Builder stubSettings)
public KnowledgeBasesStubSettings.Builder getStubSettingsBuilder()
public KnowledgeBasesSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest,com.google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> listKnowledgeBasesSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest,com.google.cloud.dialogflow.v2beta1.KnowledgeBase> getKnowledgeBaseSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest,com.google.cloud.dialogflow.v2beta1.KnowledgeBase> createKnowledgeBaseSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest,com.google.cloud.dialogflow.v2beta1.KnowledgeBase> updateKnowledgeBaseSettings()
public KnowledgeBasesSettings build() throws IOException
build
in class ClientSettings.Builder<KnowledgeBasesSettings,KnowledgeBasesSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.