Class AssistantServiceStubSettings.Builder (0.91.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class AssistantServiceStubSettings.Builder extends StubSettings.Builder<AssistantServiceStubSettings,AssistantServiceStubSettings.Builder>
Builder for AssistantServiceStubSettings.
Inherited Members
com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
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(AssistantServiceStubSettings settings)
protected Builder(AssistantServiceStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AssistantServiceStubSettings.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.
build()
public AssistantServiceStubSettings build()
Overrides
createAssistantSettings()
public UnaryCallSettings.Builder<CreateAssistantRequest,Assistant> createAssistantSettings()
Returns the builder for the settings used for calls to createAssistant.
deleteAssistantSettings()
public UnaryCallSettings.Builder<DeleteAssistantRequest,Empty> deleteAssistantSettings()
Returns the builder for the settings used for calls to deleteAssistant.
getAssistantSettings()
public UnaryCallSettings.Builder<GetAssistantRequest,Assistant> getAssistantSettings()
Returns the builder for the settings used for calls to getAssistant.
listAssistantsSettings()
public PagedCallSettings.Builder<ListAssistantsRequest,ListAssistantsResponse,AssistantServiceClient.ListAssistantsPagedResponse> listAssistantsSettings()
Returns the builder for the settings used for calls to listAssistants.
streamAssistSettings()
public ServerStreamingCallSettings.Builder<StreamAssistRequest,StreamAssistResponse> streamAssistSettings()
Returns the builder for the settings used for calls to streamAssist.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
| Returns |
| Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateAssistantSettings()
public UnaryCallSettings.Builder<UpdateAssistantRequest,Assistant> updateAssistantSettings()
Returns the builder for the settings used for calls to updateAssistant.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[null,null,["Last updated 2026-08-05 UTC."],[],[]]