public static class IntentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<IntentsSettings,IntentsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(IntentsSettings settings) |
protected |
Builder(IntentsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
IntentsSettings.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.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<BatchDeleteIntentsRequest,Empty,Struct> |
batchDeleteIntentsOperationSettings()
Returns the builder for the settings used for calls to batchDeleteIntents.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchDeleteIntentsRequest,com.google.longrunning.Operation> |
batchDeleteIntentsSettings()
Returns the builder for the settings used for calls to batchDeleteIntents.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> |
batchUpdateIntentsOperationSettings()
Returns the builder for the settings used for calls to batchUpdateIntents.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchUpdateIntentsRequest,com.google.longrunning.Operation> |
batchUpdateIntentsSettings()
Returns the builder for the settings used for calls to batchUpdateIntents.
|
IntentsSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateIntentRequest,Intent> |
createIntentSettings()
Returns the builder for the settings used for calls to createIntent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteIntentRequest,Empty> |
deleteIntentSettings()
Returns the builder for the settings used for calls to deleteIntent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIntentRequest,Intent> |
getIntentSettings()
Returns the builder for the settings used for calls to getIntent.
|
IntentsStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListIntentsRequest,ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> |
listIntentsSettings()
Returns the builder for the settings used for calls to listIntents.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateIntentRequest,Intent> |
updateIntentSettings()
Returns the builder for the settings used for calls to updateIntent.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(IntentsSettings settings)
protected Builder(IntentsStubSettings.Builder stubSettings)
public IntentsStubSettings.Builder getStubSettingsBuilder()
public IntentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListIntentsRequest,ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> listIntentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIntentRequest,Intent> getIntentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateIntentRequest,Intent> createIntentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateIntentRequest,Intent> updateIntentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteIntentRequest,Empty> deleteIntentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchUpdateIntentsRequest,com.google.longrunning.Operation> batchUpdateIntentsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchDeleteIntentsRequest,com.google.longrunning.Operation> batchDeleteIntentsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationSettings()
public IntentsSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<IntentsSettings,IntentsSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.