Send feedback
Class ApiHubPluginSettings.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.0 keyboard_arrow_down
public static class ApiHubPluginSettings . Builder extends ClientSettings . Builder<ApiHubPluginSettings , ApiHubPluginSettings . Builder >
Builder for ApiHubPluginSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(ApiHubPluginSettings settings)
protected Builder ( ApiHubPluginSettings settings )
Builder(ApiHubPluginStubSettings.Builder stubSettings)
protected Builder ( ApiHubPluginStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ApiHubPluginSettings . 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 ApiHubPluginSettings build ()
Overrides
disablePluginSettings()
public UnaryCallSettings . Builder<DisablePluginRequest , Plugin > disablePluginSettings ()
Returns the builder for the settings used for calls to disablePlugin.
enablePluginSettings()
public UnaryCallSettings . Builder<EnablePluginRequest , Plugin > enablePluginSettings ()
Returns the builder for the settings used for calls to enablePlugin.
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 >
getPluginSettings()
public UnaryCallSettings . Builder<GetPluginRequest , Plugin > getPluginSettings ()
Returns the builder for the settings used for calls to getPlugin.
getStubSettingsBuilder()
public ApiHubPluginStubSettings . Builder getStubSettingsBuilder ()
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , ApiHubPluginClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
Send feedback
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 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]