public static class ToolsStubSettings.Builder extends StubSettings.Builder<ToolsStubSettings,ToolsStubSettings.Builder>
Builder for ToolsStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(ToolsStubSettings settings)
Methods
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.
public ToolsStubSettings build()
Overrides
public UnaryCallSettings.Builder<CreateToolRequest,Tool> createToolSettings()
Returns the builder for the settings used for calls to createTool.
public UnaryCallSettings.Builder<DeleteToolRequest,Empty> deleteToolSettings()
Returns the builder for the settings used for calls to deleteTool.
public OperationCallSettings.Builder<ExportToolsRequest,ExportToolsResponse,ExportToolsMetadata> exportToolsOperationSettings()
Returns the builder for the settings used for calls to exportTools.
public UnaryCallSettings.Builder<ExportToolsRequest,Operation> exportToolsSettings()
Returns the builder for the settings used for calls to exportTools.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns |
Type |
Description |
String |
|
Overrides
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> |
|
public UnaryCallSettings.Builder<GetToolRequest,Tool> getToolSettings()
Returns the builder for the settings used for calls to getTool.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ToolsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings.Builder<ListToolsRequest,ListToolsResponse,ToolsClient.ListToolsPagedResponse> listToolsSettings()
Returns the builder for the settings used for calls to listTools.
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
public UnaryCallSettings.Builder<UpdateToolRequest,Tool> updateToolSettings()
Returns the builder for the settings used for calls to updateTool.