public static class IntentsSettings.Builder extends ClientSettings.Builder<IntentsSettings,IntentsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(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<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest,Empty,Struct> |
batchDeleteIntentsOperationSettings()
Returns the builder for the settings used for calls to batchDeleteIntents.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest,Operation> |
batchDeleteIntentsSettings()
Returns the builder for the settings used for calls to batchDeleteIntents.
|
OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest,com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse,Struct> |
batchUpdateIntentsOperationSettings()
Returns the builder for the settings used for calls to batchUpdateIntents.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest,Operation> |
batchUpdateIntentsSettings()
Returns the builder for the settings used for calls to batchUpdateIntents.
|
IntentsSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.CreateIntentRequest,com.google.cloud.dialogflow.v2beta1.Intent> |
createIntentSettings()
Returns the builder for the settings used for calls to createIntent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest,Empty> |
deleteIntentSettings()
Returns the builder for the settings used for calls to deleteIntent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetIntentRequest,com.google.cloud.dialogflow.v2beta1.Intent> |
getIntentSettings()
Returns the builder for the settings used for calls to getIntent.
|
IntentsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ListIntentsRequest,com.google.cloud.dialogflow.v2beta1.ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> |
listIntentsSettings()
Returns the builder for the settings used for calls to listIntents.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest,com.google.cloud.dialogflow.v2beta1.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(ClientContext clientContext)
protected Builder(IntentsSettings settings)
protected Builder(IntentsStubSettings.Builder stubSettings)
public IntentsStubSettings.Builder getStubSettingsBuilder()
public IntentsSettings.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.ListIntentsRequest,com.google.cloud.dialogflow.v2beta1.ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> listIntentsSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetIntentRequest,com.google.cloud.dialogflow.v2beta1.Intent> getIntentSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.CreateIntentRequest,com.google.cloud.dialogflow.v2beta1.Intent> createIntentSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest,com.google.cloud.dialogflow.v2beta1.Intent> updateIntentSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest,Empty> deleteIntentSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest,Operation> batchUpdateIntentsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest,com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest,Operation> batchDeleteIntentsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationSettings()
public IntentsSettings build() throws IOException
build
in class ClientSettings.Builder<IntentsSettings,IntentsSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.