Uses of Class
org.a2aproject.sdk.client.config.ClientConfig.Builder
Packages that use ClientConfig.Builder
-
Uses of ClientConfig.Builder in org.a2aproject.sdk.client.config
Methods in org.a2aproject.sdk.client.config that return ClientConfig.BuilderModifier and TypeMethodDescriptionstatic ClientConfig.BuilderClientConfig.builder()Create a new builder for constructing ClientConfig instances.ClientConfig.Builder.setAcceptedOutputModes(List<String> acceptedOutputModes) Set the accepted output modes.ClientConfig.Builder.setHistoryLength(Integer historyLength) Set the conversation history length.ClientConfig.Builder.setMetadata(Map<String, Object> metadata) Set custom metadata to be included in all requests.ClientConfig.Builder.setPolling(@Nullable Boolean polling) Enable or disable polling mode for task updates.ClientConfig.Builder.setStreaming(@Nullable Boolean streaming) Enable or disable streaming mode.ClientConfig.Builder.setTaskPushNotificationConfig(TaskPushNotificationConfig taskPushNotificationConfig) Set the default push notification configuration.ClientConfig.Builder.setUseClientPreference(@Nullable Boolean useClientPreference) Set whether to use client or server transport preference.