Class ToolsStubSettings.Builder (0.66.0)

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

Builder for ToolsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ToolsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ToolsStubSettings settings)

protected Builder(ToolsStubSettings settings)
Parameter
Name Description
settings ToolsStubSettings

Methods

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

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

build()

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

createToolSettings()

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

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

Returns
Type Description
Builder<CreateToolRequest,Tool>

deleteToolSettings()

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

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

Returns
Type Description
Builder<DeleteToolRequest,Empty>

exportToolsOperationSettings()

public OperationCallSettings.Builder<ExportToolsRequest,ExportToolsResponse,ExportToolsMetadata> exportToolsOperationSettings()

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

Returns
Type Description
Builder<ExportToolsRequest,ExportToolsResponse,ExportToolsMetadata>

exportToolsSettings()

public UnaryCallSettings.Builder<ExportToolsRequest,Operation> exportToolsSettings()

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

Returns
Type Description
Builder<ExportToolsRequest,Operation>

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>

getToolSettings()

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

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

Returns
Type Description
Builder<GetToolRequest,Tool>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ToolsClient.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,ToolsClient.ListToolsPagedResponse> listToolsSettings()

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

Returns
Type Description
Builder<ListToolsRequest,ListToolsResponse,ListToolsPagedResponse>

unaryMethodSettingsBuilders()

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

updateToolSettings()

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

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

Returns
Type Description
Builder<UpdateToolRequest,Tool>