Class IntentsSettings.Builder (4.101.0)

public static class IntentsSettings.Builder extends ClientSettings.Builder<IntentsSettings,IntentsSettings.Builder>

Builder for IntentsSettings.

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(IntentsSettings settings)

protected Builder(IntentsSettings settings)
Parameter
Name Description
settings IntentsSettings

Builder(IntentsStubSettings.Builder stubSettings)

protected Builder(IntentsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings IntentsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
IntentsSettings.Builder

batchDeleteIntentsOperationSettings()

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

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

Returns
Type Description
Builder<BatchDeleteIntentsRequest,Empty,Struct>

batchDeleteIntentsSettings()

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

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

Returns
Type Description
Builder<BatchDeleteIntentsRequest,Operation>

batchUpdateIntentsOperationSettings()

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

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

Returns
Type Description
Builder<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct>

batchUpdateIntentsSettings()

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

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

Returns
Type Description
Builder<BatchUpdateIntentsRequest,Operation>

build()

public IntentsSettings build()
Returns
Type Description
IntentsSettings
Overrides
Exceptions
Type Description
IOException

createIntentSettings()

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

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

Returns
Type Description
Builder<CreateIntentRequest,Intent>

deleteIntentSettings()

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

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

Returns
Type Description
Builder<DeleteIntentRequest,Empty>

getIntentSettings()

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

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

Returns
Type Description
Builder<GetIntentRequest,Intent>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public IntentsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
IntentsStubSettings.Builder

listIntentsSettings()

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

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

Returns
Type Description
Builder<ListIntentsRequest,ListIntentsResponse,ListIntentsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,IntentsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

updateIntentSettings()

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

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

Returns
Type Description
Builder<UpdateIntentRequest,Intent>