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(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<CreateKnowledgeBaseRequest,KnowledgeBase> |
createKnowledgeBaseSettings()
Returns the builder for the settings used for calls to createKnowledgeBase.
|
UnaryCallSettings.Builder<DeleteKnowledgeBaseRequest,Empty> |
deleteKnowledgeBaseSettings()
Returns the builder for the settings used for calls to deleteKnowledgeBase.
|
UnaryCallSettings.Builder<GetKnowledgeBaseRequest,KnowledgeBase> |
getKnowledgeBaseSettings()
Returns the builder for the settings used for calls to getKnowledgeBase.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
PagedCallSettings.Builder<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> |
listKnowledgeBasesSettings()
Returns the builder for the settings used for calls to listKnowledgeBases.
|
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.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateKnowledgeBaseRequest,KnowledgeBase> |
updateKnowledgeBaseSettings()
Returns the builder for the settings used for calls to updateKnowledgeBase.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(KnowledgeBasesStubSettings settings)
public KnowledgeBasesStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> listKnowledgeBasesSettings()
public UnaryCallSettings.Builder<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseSettings()
public UnaryCallSettings.Builder<CreateKnowledgeBaseRequest,KnowledgeBase> createKnowledgeBaseSettings()
public UnaryCallSettings.Builder<DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseSettings()
public UnaryCallSettings.Builder<UpdateKnowledgeBaseRequest,KnowledgeBase> updateKnowledgeBaseSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,KnowledgeBasesClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public KnowledgeBasesStubSettings build() throws IOException
build
in class StubSettings.Builder<KnowledgeBasesStubSettings,KnowledgeBasesStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.