Class IntentsStubSettings.Builder (4.6.0)

public static class IntentsStubSettings.Builder extends StubSettings.Builder<IntentsStubSettings,IntentsStubSettings.Builder>

Builder for IntentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > IntentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(IntentsStubSettings settings)

protected Builder(IntentsStubSettings settings)
Parameter
NameDescription
settingsIntentsStubSettings

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.

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

batchDeleteIntentsOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchDeleteIntentsRequest,Empty,Struct>

batchDeleteIntentsSettings()

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

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

Returns
TypeDescription
Builder<BatchDeleteIntentsRequest,Operation>

batchUpdateIntentsOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct>

batchUpdateIntentsSettings()

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

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

Returns
TypeDescription
Builder<BatchUpdateIntentsRequest,Operation>

build()

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

createIntentSettings()

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

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

Returns
TypeDescription
Builder<CreateIntentRequest,Intent>

deleteIntentSettings()

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

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

Returns
TypeDescription
Builder<DeleteIntentRequest,Empty>

getIntentSettings()

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

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

Returns
TypeDescription
Builder<GetIntentRequest,Intent>

listIntentsSettings()

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

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

Returns
TypeDescription
Builder<ListIntentsRequest,ListIntentsResponse,ListIntentsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateIntentSettings()

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

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

Returns
TypeDescription
Builder<UpdateIntentRequest,Intent>