public static class IntentsStubSettings.Builder extends StubSettings.Builder<IntentsStubSettings,IntentsStubSettings.Builder>
Builder for IntentsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(IntentsStubSettings settings)
protected Builder(IntentsStubSettings settings)
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.
batchDeleteIntentsOperationSettings()
public OperationCallSettings.Builder<BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationSettings()
Returns the builder for the settings used for calls to batchDeleteIntents.
batchDeleteIntentsSettings()
public UnaryCallSettings.Builder<BatchDeleteIntentsRequest,Operation> batchDeleteIntentsSettings()
Returns the builder for the settings used for calls to batchDeleteIntents.
batchUpdateIntentsOperationSettings()
public OperationCallSettings.Builder<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationSettings()
Returns the builder for the settings used for calls to batchUpdateIntents.
batchUpdateIntentsSettings()
public UnaryCallSettings.Builder<BatchUpdateIntentsRequest,Operation> batchUpdateIntentsSettings()
Returns the builder for the settings used for calls to batchUpdateIntents.
build()
public IntentsStubSettings build()
Overrides
createIntentSettings()
public UnaryCallSettings.Builder<CreateIntentRequest,Intent> createIntentSettings()
Returns the builder for the settings used for calls to createIntent.
deleteIntentSettings()
public UnaryCallSettings.Builder<DeleteIntentRequest,Empty> deleteIntentSettings()
Returns the builder for the settings used for calls to deleteIntent.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getIntentSettings()
public UnaryCallSettings.Builder<GetIntentRequest,Intent> getIntentSettings()
Returns the builder for the settings used for calls to getIntent.
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> | |
listIntentsSettings()
public PagedCallSettings.Builder<ListIntentsRequest,ListIntentsResponse,IntentsClient.ListIntentsPagedResponse> listIntentsSettings()
Returns the builder for the settings used for calls to listIntents.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,IntentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
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.