public static class IntentsStubSettings.Builder extends StubSettings.Builder<IntentsStubSettings,IntentsStubSettings.Builder>
Builder for IntentsStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(IntentsStubSettings settings)
protected Builder(IntentsStubSettings settings)
Name | Description |
settings | IntentsStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public IntentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
IntentsStubSettings.Builder |
build()
public IntentsStubSettings build()
Type | Description |
IntentsStubSettings |
Type | Description |
IOException |
createIntentSettings()
public UnaryCallSettings.Builder<CreateIntentRequest,Intent> createIntentSettings()
Returns the builder for the settings used for calls to createIntent.
Type | Description |
Builder<CreateIntentRequest,Intent> |
deleteIntentSettings()
public UnaryCallSettings.Builder<DeleteIntentRequest,Empty> deleteIntentSettings()
Returns the builder for the settings used for calls to deleteIntent.
Type | Description |
Builder<DeleteIntentRequest,Empty> |
getIntentSettings()
public UnaryCallSettings.Builder<GetIntentRequest,Intent> getIntentSettings()
Returns the builder for the settings used for calls to getIntent.
Type | Description |
Builder<GetIntentRequest,Intent> |
listIntentsSettings()
public PagedCallSettings.Builder<ListIntentsRequest,ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> listIntentsSettings()
Returns the builder for the settings used for calls to listIntents.
Type | Description |
Builder<ListIntentsRequest,ListIntentsResponse,ListIntentsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateIntentSettings()
public UnaryCallSettings.Builder<UpdateIntentRequest,Intent> updateIntentSettings()
Returns the builder for the settings used for calls to updateIntent.
Type | Description |
Builder<UpdateIntentRequest,Intent> |