Class ProductReviewsServiceSettings.Builder (0.1.0)

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

Builder for ProductReviewsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProductReviewsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProductReviewsServiceSettings settings)

protected Builder(ProductReviewsServiceSettings settings)
Parameter
Name Description
settings ProductReviewsServiceSettings

Builder(ProductReviewsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteProductReviewSettings()

public UnaryCallSettings.Builder<DeleteProductReviewRequest,Empty> deleteProductReviewSettings()

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

Returns
Type Description
Builder<DeleteProductReviewRequest,Empty>

getProductReviewSettings()

public UnaryCallSettings.Builder<GetProductReviewRequest,ProductReview> getProductReviewSettings()

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

Returns
Type Description
Builder<GetProductReviewRequest,ProductReview>

getStubSettingsBuilder()

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

insertProductReviewSettings()

public UnaryCallSettings.Builder<InsertProductReviewRequest,ProductReview> insertProductReviewSettings()

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

Returns
Type Description
Builder<InsertProductReviewRequest,ProductReview>

listProductReviewsSettings()

public PagedCallSettings.Builder<ListProductReviewsRequest,ListProductReviewsResponse,ProductReviewsServiceClient.ListProductReviewsPagedResponse> listProductReviewsSettings()

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

Returns
Type Description
Builder<ListProductReviewsRequest,ListProductReviewsResponse,ListProductReviewsPagedResponse>