public static class IntentsStubSettings.Builder extends StubSettings.Builder<IntentsStubSettings,IntentsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(IntentsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
IntentsStubSettings.Builder |
applyToAllUnaryMethods(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.
|
IntentsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(IntentsStubSettings settings)
public IntentsStubSettings.Builder applyToAllUnaryMethods(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.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 use by generated code 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 use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationSettings()
public IntentsStubSettings build() throws IOException
build
in class StubSettings.Builder<IntentsStubSettings,IntentsStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.