public static class KnowledgeBasesStubSettings.Builder extends StubSettings.Builder<KnowledgeBasesStubSettings,KnowledgeBasesStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(KnowledgeBasesStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
KnowledgeBasesStubSettings.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.
|
KnowledgeBasesStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(KnowledgeBasesStubSettings settings)
public KnowledgeBasesStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 KnowledgeBasesStubSettings build() throws IOException
build
in class StubSettings.Builder<KnowledgeBasesStubSettings,KnowledgeBasesStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.