Class ConversionSourcesServiceSettings.Builder (0.4.0)

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

Builder for ConversionSourcesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConversionSourcesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversionSourcesServiceSettings settings)

protected Builder(ConversionSourcesServiceSettings settings)
Parameter
Name Description
settings ConversionSourcesServiceSettings

Builder(ConversionSourcesServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createConversionSourceSettings()

public UnaryCallSettings.Builder<CreateConversionSourceRequest,ConversionSource> createConversionSourceSettings()

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

Returns
Type Description
Builder<CreateConversionSourceRequest,ConversionSource>

deleteConversionSourceSettings()

public UnaryCallSettings.Builder<DeleteConversionSourceRequest,Empty> deleteConversionSourceSettings()

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

Returns
Type Description
Builder<DeleteConversionSourceRequest,Empty>

getConversionSourceSettings()

public UnaryCallSettings.Builder<GetConversionSourceRequest,ConversionSource> getConversionSourceSettings()

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

Returns
Type Description
Builder<GetConversionSourceRequest,ConversionSource>

getStubSettingsBuilder()

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

listConversionSourcesSettings()

public PagedCallSettings.Builder<ListConversionSourcesRequest,ListConversionSourcesResponse,ConversionSourcesServiceClient.ListConversionSourcesPagedResponse> listConversionSourcesSettings()

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

Returns
Type Description
Builder<ListConversionSourcesRequest,ListConversionSourcesResponse,ListConversionSourcesPagedResponse>

undeleteConversionSourceSettings()

public UnaryCallSettings.Builder<UndeleteConversionSourceRequest,ConversionSource> undeleteConversionSourceSettings()

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

Returns
Type Description
Builder<UndeleteConversionSourceRequest,ConversionSource>

updateConversionSourceSettings()

public UnaryCallSettings.Builder<UpdateConversionSourceRequest,ConversionSource> updateConversionSourceSettings()

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

Returns
Type Description
Builder<UpdateConversionSourceRequest,ConversionSource>