Class SiteSearchEngineServiceStubSettings.Builder (0.25.0)

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

Builder for SiteSearchEngineServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SiteSearchEngineServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SiteSearchEngineServiceStubSettings settings)

protected Builder(SiteSearchEngineServiceStubSettings settings)
Parameter
NameDescription
settingsSiteSearchEngineServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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