Class MerchantReviewsServiceSettings.Builder (0.1.0)

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

Builder for MerchantReviewsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MerchantReviewsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MerchantReviewsServiceSettings settings)

protected Builder(MerchantReviewsServiceSettings settings)
Parameter
Name Description
settings MerchantReviewsServiceSettings

Builder(MerchantReviewsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteMerchantReviewSettings()

public UnaryCallSettings.Builder<DeleteMerchantReviewRequest,Empty> deleteMerchantReviewSettings()

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

Returns
Type Description
Builder<DeleteMerchantReviewRequest,Empty>

getMerchantReviewSettings()

public UnaryCallSettings.Builder<GetMerchantReviewRequest,MerchantReview> getMerchantReviewSettings()

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

Returns
Type Description
Builder<GetMerchantReviewRequest,MerchantReview>

getStubSettingsBuilder()

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

insertMerchantReviewSettings()

public UnaryCallSettings.Builder<InsertMerchantReviewRequest,MerchantReview> insertMerchantReviewSettings()

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

Returns
Type Description
Builder<InsertMerchantReviewRequest,MerchantReview>

listMerchantReviewsSettings()

public PagedCallSettings.Builder<ListMerchantReviewsRequest,ListMerchantReviewsResponse,MerchantReviewsServiceClient.ListMerchantReviewsPagedResponse> listMerchantReviewsSettings()

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

Returns
Type Description
Builder<ListMerchantReviewsRequest,ListMerchantReviewsResponse,ListMerchantReviewsPagedResponse>