Class ConversionSourcesServiceStubSettings.Builder (0.10.0)

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

Builder for ConversionSourcesServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConversionSourcesServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversionSourcesServiceStubSettings settings)

protected Builder(ConversionSourcesServiceStubSettings settings)
Parameter
Name Description
settings ConversionSourcesServiceStubSettings

Methods

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

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

build()

public ConversionSourcesServiceStubSettings build()
Returns
Type Description
ConversionSourcesServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

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>