Class KnowledgeBasesStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<KnowledgeBasesStubSettings,KnowledgeBasesStubSettings.Builder>
-
- com.google.cloud.dialogflow.v2beta1.stub.KnowledgeBasesStubSettings.Builder
-
- Enclosing class:
- KnowledgeBasesStubSettings
public static class KnowledgeBasesStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<KnowledgeBasesStubSettings,KnowledgeBasesStubSettings.Builder>
Builder for KnowledgeBasesStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(KnowledgeBasesStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnowledgeBasesStubSettings.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.KnowledgeBasesStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(KnowledgeBasesStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public KnowledgeBasesStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 KnowledgeBasesStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<KnowledgeBasesStubSettings,KnowledgeBasesStubSettings.Builder>
- Throws:
IOException
-
-