Class SiteSearchEngineServiceSettings.Builder (0.25.0)

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

Builder for SiteSearchEngineServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SiteSearchEngineServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SiteSearchEngineServiceSettings settings)

protected Builder(SiteSearchEngineServiceSettings settings)
Parameter
NameDescription
settingsSiteSearchEngineServiceSettings

Builder(SiteSearchEngineServiceStubSettings.Builder stubSettings)

protected Builder(SiteSearchEngineServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSiteSearchEngineServiceStubSettings.Builder

Methods

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

public SiteSearchEngineServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SiteSearchEngineServiceSettings.Builder

build()

public SiteSearchEngineServiceSettings build()
Returns
TypeDescription
SiteSearchEngineServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public SiteSearchEngineServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SiteSearchEngineServiceStubSettings.Builder

recrawlUrisOperationSettings()

public OperationCallSettings.Builder<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata> recrawlUrisOperationSettings()

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

Returns
TypeDescription
Builder<RecrawlUrisRequest,RecrawlUrisResponse,RecrawlUrisMetadata>

recrawlUrisSettings()

public UnaryCallSettings.Builder<RecrawlUrisRequest,Operation> recrawlUrisSettings()

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

Returns
TypeDescription
Builder<RecrawlUrisRequest,Operation>