Class AgentServiceSettings.Builder (0.1.0)

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

Builder for AgentServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AgentServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AgentServiceSettings settings)

protected Builder(AgentServiceSettings settings)
Parameter
Name Description
settings AgentServiceSettings

Builder(AgentServiceStubSettings.Builder stubSettings)

protected Builder(AgentServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AgentServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AgentServiceSettings.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
AgentServiceSettings.Builder

batchDeleteConversationsOperationSettings()

public OperationCallSettings.Builder<BatchDeleteConversationsRequest,BatchDeleteConversationsResponse,OperationMetadata> batchDeleteConversationsOperationSettings()

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

Returns
Type Description
Builder<BatchDeleteConversationsRequest,BatchDeleteConversationsResponse,OperationMetadata>

batchDeleteConversationsSettings()

public UnaryCallSettings.Builder<BatchDeleteConversationsRequest,Operation> batchDeleteConversationsSettings()

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

Returns
Type Description
Builder<BatchDeleteConversationsRequest,Operation>

build()

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

createAgentSettings()

public UnaryCallSettings.Builder<CreateAgentRequest,Agent> createAgentSettings()

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

Returns
Type Description
Builder<CreateAgentRequest,Agent>

createAppOperationSettings()

public OperationCallSettings.Builder<CreateAppRequest,App,OperationMetadata> createAppOperationSettings()

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

Returns
Type Description
Builder<CreateAppRequest,App,OperationMetadata>

createAppSettings()

public UnaryCallSettings.Builder<CreateAppRequest,Operation> createAppSettings()

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

Returns
Type Description
Builder<CreateAppRequest,Operation>

createAppVersionSettings()

public UnaryCallSettings.Builder<CreateAppVersionRequest,AppVersion> createAppVersionSettings()

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

Returns
Type Description
Builder<CreateAppVersionRequest,AppVersion>

createDeploymentSettings()

public UnaryCallSettings.Builder<CreateDeploymentRequest,Deployment> createDeploymentSettings()

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

Returns
Type Description
Builder<CreateDeploymentRequest,Deployment>

createExampleSettings()

public UnaryCallSettings.Builder<CreateExampleRequest,Example> createExampleSettings()

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

Returns
Type Description
Builder<CreateExampleRequest,Example>

createGuardrailSettings()

public UnaryCallSettings.Builder<CreateGuardrailRequest,Guardrail> createGuardrailSettings()

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

Returns
Type Description
Builder<CreateGuardrailRequest,Guardrail>

createToolSettings()

public UnaryCallSettings.Builder<CreateToolRequest,Tool> createToolSettings()

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

Returns
Type Description
Builder<CreateToolRequest,Tool>

createToolsetSettings()

public UnaryCallSettings.Builder<CreateToolsetRequest,Toolset> createToolsetSettings()

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

Returns
Type Description
Builder<CreateToolsetRequest,Toolset>

deleteAgentSettings()

public UnaryCallSettings.Builder<DeleteAgentRequest,Empty> deleteAgentSettings()

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

Returns
Type Description
Builder<DeleteAgentRequest,Empty>

deleteAppOperationSettings()

public OperationCallSettings.Builder<DeleteAppRequest,Empty,OperationMetadata> deleteAppOperationSettings()

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

Returns
Type Description
Builder<DeleteAppRequest,Empty,OperationMetadata>

deleteAppSettings()

public UnaryCallSettings.Builder<DeleteAppRequest,Operation> deleteAppSettings()

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

Returns
Type Description
Builder<DeleteAppRequest,Operation>

deleteAppVersionSettings()

public UnaryCallSettings.Builder<DeleteAppVersionRequest,Empty> deleteAppVersionSettings()

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

Returns
Type Description
Builder<DeleteAppVersionRequest,Empty>

deleteConversationSettings()

public UnaryCallSettings.Builder<DeleteConversationRequest,Empty> deleteConversationSettings()

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

Returns
Type Description
Builder<DeleteConversationRequest,Empty>

deleteDeploymentSettings()

public UnaryCallSettings.Builder<DeleteDeploymentRequest,Empty> deleteDeploymentSettings()

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

Returns
Type Description
Builder<DeleteDeploymentRequest,Empty>

deleteExampleSettings()

public UnaryCallSettings.Builder<DeleteExampleRequest,Empty> deleteExampleSettings()

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

Returns
Type Description
Builder<DeleteExampleRequest,Empty>

deleteGuardrailSettings()

public UnaryCallSettings.Builder<DeleteGuardrailRequest,Empty> deleteGuardrailSettings()

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

Returns
Type Description
Builder<DeleteGuardrailRequest,Empty>

deleteToolSettings()

public UnaryCallSettings.Builder<DeleteToolRequest,Empty> deleteToolSettings()

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

Returns
Type Description
Builder<DeleteToolRequest,Empty>

deleteToolsetSettings()

public UnaryCallSettings.Builder<DeleteToolsetRequest,Empty> deleteToolsetSettings()

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

Returns
Type Description
Builder<DeleteToolsetRequest,Empty>

exportAppOperationSettings()

public OperationCallSettings.Builder<ExportAppRequest,ExportAppResponse,OperationMetadata> exportAppOperationSettings()

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

Returns
Type Description
Builder<ExportAppRequest,ExportAppResponse,OperationMetadata>

exportAppSettings()

public UnaryCallSettings.Builder<ExportAppRequest,Operation> exportAppSettings()

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

Returns
Type Description
Builder<ExportAppRequest,Operation>

getAgentSettings()

public UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()

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

Returns
Type Description
Builder<GetAgentRequest,Agent>

getAppSettings()

public UnaryCallSettings.Builder<GetAppRequest,App> getAppSettings()

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

Returns
Type Description
Builder<GetAppRequest,App>

getAppVersionSettings()

public UnaryCallSettings.Builder<GetAppVersionRequest,AppVersion> getAppVersionSettings()

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

Returns
Type Description
Builder<GetAppVersionRequest,AppVersion>

getChangelogSettings()

public UnaryCallSettings.Builder<GetChangelogRequest,Changelog> getChangelogSettings()

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

Returns
Type Description
Builder<GetChangelogRequest,Changelog>

getConversationSettings()

public UnaryCallSettings.Builder<GetConversationRequest,Conversation> getConversationSettings()

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

Returns
Type Description
Builder<GetConversationRequest,Conversation>

getDeploymentSettings()

public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()

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

Returns
Type Description
Builder<GetDeploymentRequest,Deployment>

getExampleSettings()

public UnaryCallSettings.Builder<GetExampleRequest,Example> getExampleSettings()

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

Returns
Type Description
Builder<GetExampleRequest,Example>

getGuardrailSettings()

public UnaryCallSettings.Builder<GetGuardrailRequest,Guardrail> getGuardrailSettings()

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

Returns
Type Description
Builder<GetGuardrailRequest,Guardrail>

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 AgentServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AgentServiceStubSettings.Builder

getToolSettings()

public UnaryCallSettings.Builder<GetToolRequest,Tool> getToolSettings()

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

Returns
Type Description
Builder<GetToolRequest,Tool>

getToolsetSettings()

public UnaryCallSettings.Builder<GetToolsetRequest,Toolset> getToolsetSettings()

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

Returns
Type Description
Builder<GetToolsetRequest,Toolset>

importAppOperationSettings()

public OperationCallSettings.Builder<ImportAppRequest,ImportAppResponse,OperationMetadata> importAppOperationSettings()

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

Returns
Type Description
Builder<ImportAppRequest,ImportAppResponse,OperationMetadata>

importAppSettings()

public UnaryCallSettings.Builder<ImportAppRequest,Operation> importAppSettings()

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

Returns
Type Description
Builder<ImportAppRequest,Operation>

listAgentsSettings()

public PagedCallSettings.Builder<ListAgentsRequest,ListAgentsResponse,AgentServiceClient.ListAgentsPagedResponse> listAgentsSettings()

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

Returns
Type Description
Builder<ListAgentsRequest,ListAgentsResponse,ListAgentsPagedResponse>

listAppVersionsSettings()

public PagedCallSettings.Builder<ListAppVersionsRequest,ListAppVersionsResponse,AgentServiceClient.ListAppVersionsPagedResponse> listAppVersionsSettings()

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

Returns
Type Description
Builder<ListAppVersionsRequest,ListAppVersionsResponse,ListAppVersionsPagedResponse>

listAppsSettings()

public PagedCallSettings.Builder<ListAppsRequest,ListAppsResponse,AgentServiceClient.ListAppsPagedResponse> listAppsSettings()

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

Returns
Type Description
Builder<ListAppsRequest,ListAppsResponse,ListAppsPagedResponse>

listChangelogsSettings()

public PagedCallSettings.Builder<ListChangelogsRequest,ListChangelogsResponse,AgentServiceClient.ListChangelogsPagedResponse> listChangelogsSettings()

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

Returns
Type Description
Builder<ListChangelogsRequest,ListChangelogsResponse,ListChangelogsPagedResponse>

listConversationsSettings()

public PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,AgentServiceClient.ListConversationsPagedResponse> listConversationsSettings()

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

Returns
Type Description
Builder<ListConversationsRequest,ListConversationsResponse,ListConversationsPagedResponse>

listDeploymentsSettings()

public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,AgentServiceClient.ListDeploymentsPagedResponse> listDeploymentsSettings()

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

Returns
Type Description
Builder<ListDeploymentsRequest,ListDeploymentsResponse,ListDeploymentsPagedResponse>

listExamplesSettings()

public PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,AgentServiceClient.ListExamplesPagedResponse> listExamplesSettings()

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

Returns
Type Description
Builder<ListExamplesRequest,ListExamplesResponse,ListExamplesPagedResponse>

listGuardrailsSettings()

public PagedCallSettings.Builder<ListGuardrailsRequest,ListGuardrailsResponse,AgentServiceClient.ListGuardrailsPagedResponse> listGuardrailsSettings()

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

Returns
Type Description
Builder<ListGuardrailsRequest,ListGuardrailsResponse,ListGuardrailsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AgentServiceClient.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>

listToolsSettings()

public PagedCallSettings.Builder<ListToolsRequest,ListToolsResponse,AgentServiceClient.ListToolsPagedResponse> listToolsSettings()

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

Returns
Type Description
Builder<ListToolsRequest,ListToolsResponse,ListToolsPagedResponse>

listToolsetsSettings()

public PagedCallSettings.Builder<ListToolsetsRequest,ListToolsetsResponse,AgentServiceClient.ListToolsetsPagedResponse> listToolsetsSettings()

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

Returns
Type Description
Builder<ListToolsetsRequest,ListToolsetsResponse,ListToolsetsPagedResponse>

restoreAppVersionOperationSettings()

public OperationCallSettings.Builder<RestoreAppVersionRequest,RestoreAppVersionResponse,OperationMetadata> restoreAppVersionOperationSettings()

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

Returns
Type Description
Builder<RestoreAppVersionRequest,RestoreAppVersionResponse,OperationMetadata>

restoreAppVersionSettings()

public UnaryCallSettings.Builder<RestoreAppVersionRequest,Operation> restoreAppVersionSettings()

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

Returns
Type Description
Builder<RestoreAppVersionRequest,Operation>

updateAgentSettings()

public UnaryCallSettings.Builder<UpdateAgentRequest,Agent> updateAgentSettings()

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

Returns
Type Description
Builder<UpdateAgentRequest,Agent>

updateAppSettings()

public UnaryCallSettings.Builder<UpdateAppRequest,App> updateAppSettings()

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

Returns
Type Description
Builder<UpdateAppRequest,App>

updateDeploymentSettings()

public UnaryCallSettings.Builder<UpdateDeploymentRequest,Deployment> updateDeploymentSettings()

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

Returns
Type Description
Builder<UpdateDeploymentRequest,Deployment>

updateExampleSettings()

public UnaryCallSettings.Builder<UpdateExampleRequest,Example> updateExampleSettings()

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

Returns
Type Description
Builder<UpdateExampleRequest,Example>

updateGuardrailSettings()

public UnaryCallSettings.Builder<UpdateGuardrailRequest,Guardrail> updateGuardrailSettings()

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

Returns
Type Description
Builder<UpdateGuardrailRequest,Guardrail>

updateToolSettings()

public UnaryCallSettings.Builder<UpdateToolRequest,Tool> updateToolSettings()

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

Returns
Type Description
Builder<UpdateToolRequest,Tool>

updateToolsetSettings()

public UnaryCallSettings.Builder<UpdateToolsetRequest,Toolset> updateToolsetSettings()

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

Returns
Type Description
Builder<UpdateToolsetRequest,Toolset>