Class IntentsSettings.Builder (4.7.4)

See more code actions.
public static class IntentsSettings.Builder extends ClientSettings.Builder<IntentsSettings,IntentsSettings.Builder>

Builder for IntentsSettings.

java.lang.Object > ClientSettings.Builder > IntentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(IntentsSettings settings)

protected Builder(IntentsSettings settings)
Parameter
NameDescription
settingsIntentsSettings

Builder(IntentsStubSettings.Builder stubSettings)

protected Builder(IntentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsIntentsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public IntentsSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns

batchDeleteIntentsOperationSettings()

public OperationCallSettings.Builder<BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationSettings()

Returns the builder for the settings used for calls to batchDeleteIntents.

Returns

batchDeleteIntentsSettings()

public UnaryCallSettings.Builder<BatchDeleteIntentsRequest,Operation> batchDeleteIntentsSettings()

Returns the builder for the settings used for calls to batchDeleteIntents.

Returns

batchUpdateIntentsOperationSettings()

public OperationCallSettings.Builder<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationSettings()

Returns the builder for the settings used for calls to batchUpdateIntents.

Returns

batchUpdateIntentsSettings()

public UnaryCallSettings.Builder<BatchUpdateIntentsRequest,Operation> batchUpdateIntentsSettings()

Returns the builder for the settings used for calls to batchUpdateIntents.

Returns

build()

public IntentsSettings build()
Returns
TypeDescription
IntentsSettings
Overrides Exceptions
TypeDescription
IOException

createIntentSettings()

public UnaryCallSettings.Builder<CreateIntentRequest,Intent> createIntentSettings()

Returns the builder for the settings used for calls to createIntent.

Returns

deleteIntentSettings()

public UnaryCallSettings.Builder<DeleteIntentRequest,Empty> deleteIntentSettings()

Returns the builder for the settings used for calls to deleteIntent.

Returns

getIntentSettings()

public UnaryCallSettings.Builder<GetIntentRequest,Intent> getIntentSettings()

Returns the builder for the settings used for calls to getIntent.

Returns

getStubSettingsBuilder()

public IntentsStubSettings.Builder getStubSettingsBuilder()
Returns

listIntentsSettings()

public PagedCallSettings.Builder<ListIntentsRequest,ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> listIntentsSettings()

Returns the builder for the settings used for calls to listIntents.

Returns

updateIntentSettings()

public UnaryCallSettings.Builder<UpdateIntentRequest,Intent> updateIntentSettings()

Returns the builder for the settings used for calls to updateIntent.

Returns