Class AssetServiceSettings.Builder (3.44.0)

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

Builder for AssetServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AssetServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AssetServiceSettings settings)

protected Builder(AssetServiceSettings settings)
Parameter
Name Description
settings AssetServiceSettings

Builder(AssetServiceStubSettings.Builder stubSettings)

protected Builder(AssetServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AssetServiceStubSettings.Builder

Methods

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

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

build()

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

createFeedSettings()

public UnaryCallSettings.Builder<CreateFeedRequest,Feed> createFeedSettings()

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

Returns
Type Description
Builder<CreateFeedRequest,Feed>

deleteFeedSettings()

public UnaryCallSettings.Builder<DeleteFeedRequest,Empty> deleteFeedSettings()

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

Returns
Type Description
Builder<DeleteFeedRequest,Empty>

getFeedSettings()

public UnaryCallSettings.Builder<GetFeedRequest,Feed> getFeedSettings()

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

Returns
Type Description
Builder<GetFeedRequest,Feed>

getStubSettingsBuilder()

public AssetServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AssetServiceStubSettings.Builder

listFeedsSettings()

public UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> listFeedsSettings()

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

Returns
Type Description
Builder<ListFeedsRequest,ListFeedsResponse>

updateFeedSettings()

public UnaryCallSettings.Builder<UpdateFeedRequest,Feed> updateFeedSettings()

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

Returns
Type Description
Builder<UpdateFeedRequest,Feed>